Lines Matching defs:connection
20 struct gb_connection *connection;
38 return gb_operation_sync(ghid->connection, GB_HID_TYPE_GET_DESC, NULL,
50 ret = gb_operation_sync(ghid->connection, GB_HID_TYPE_GET_REPORT_DESC,
67 ret = gb_operation_sync(ghid->connection, type, NULL, 0, NULL, 0);
87 ret = gb_operation_sync(ghid->connection, GB_HID_TYPE_GET_REPORT,
106 operation = gb_operation_create(ghid->connection,
121 dev_err(&operation->connection->bundle->dev,
135 struct gb_connection *connection = op->connection;
136 struct gb_hid *ghid = gb_connection_get_data(connection);
140 dev_err(&connection->bundle->dev,
365 dev_err(&ghid->connection->bundle->dev,
410 hid->dev.parent = &ghid->connection->bundle->dev;
415 dev_name(&ghid->connection->bundle->dev),
425 struct gb_connection *connection;
441 connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id),
443 if (IS_ERR(connection)) {
444 ret = PTR_ERR(connection);
448 gb_connection_set_data(connection, ghid);
449 ghid->connection = connection;
462 ret = gb_connection_enable(connection);
481 gb_connection_disable(connection);
485 gb_connection_destroy(connection);
500 gb_connection_disable(ghid->connection);
501 gb_connection_destroy(ghid->connection);