Lines Matching defs:connection
18 struct gb_connection *connection;
39 * Note: gb_i2c_dev->connection is assumed to have been valid.
47 ret = gb_operation_sync(gb_i2c_dev->connection,
78 gb_i2c_operation_create(struct gb_connection *connection,
81 struct gb_i2c_device *gb_i2c_dev = gb_connection_get_data(connection);
116 operation = gb_operation_create(connection, GB_I2C_TYPE_TRANSFER,
176 struct gb_connection *connection = gb_i2c_dev->connection;
181 operation = gb_i2c_operation_create(connection, msgs, msg_count);
233 struct gb_connection *connection;
242 connection =
246 if (IS_ERR(connection)) {
247 ret = PTR_ERR(connection);
251 gb_i2c_dev->connection = connection;
252 gb_connection_set_data(connection, gb_i2c_dev);
256 ret = gb_connection_enable(connection);
282 gb_connection_disable(connection);
284 gb_connection_destroy(connection);
294 struct gb_connection *connection = gb_i2c_dev->connection;
302 gb_connection_disable(connection);
303 gb_connection_destroy(connection);