Lines Matching defs:connection
36 struct gb_connection *connection;
60 ret = gb_operation_sync(ggc->connection, GB_GPIO_TYPE_LINE_COUNT,
78 ret = gb_operation_sync(ggc->connection, GB_GPIO_TYPE_ACTIVATE,
99 ret = gb_operation_sync(ggc->connection, GB_GPIO_TYPE_DEACTIVATE,
122 ret = gb_operation_sync(ggc->connection, GB_GPIO_TYPE_GET_DIRECTION,
144 ret = gb_operation_sync(ggc->connection, GB_GPIO_TYPE_DIRECTION_IN,
159 ret = gb_operation_sync(ggc->connection, GB_GPIO_TYPE_DIRECTION_OUT,
176 ret = gb_operation_sync(ggc->connection, GB_GPIO_TYPE_GET_VALUE,
208 ret = gb_operation_sync(ggc->connection, GB_GPIO_TYPE_SET_VALUE,
226 ret = gb_operation_sync(ggc->connection, GB_GPIO_TYPE_SET_DEBOUNCE,
240 ret = gb_operation_sync(ggc->connection,
254 ret = gb_operation_sync(ggc->connection,
271 ret = gb_operation_sync(ggc->connection,
368 struct gb_connection *connection = op->connection;
369 struct gb_gpio_controller *ggc = gb_connection_get_data(connection);
508 struct gb_connection *connection;
519 connection =
523 if (IS_ERR(connection)) {
524 ret = PTR_ERR(connection);
528 ggc->connection = connection;
529 gb_connection_set_data(connection, ggc);
533 ret = gb_connection_enable_tx(connection);
578 ret = gb_connection_enable(connection);
594 gb_connection_disable(connection);
596 gb_connection_destroy(connection);
605 struct gb_connection *connection = ggc->connection;
612 gb_connection_disable_rx(connection);
614 gb_connection_disable(connection);
615 gb_connection_destroy(connection);