Searched refs:ghid (Results 1 – 1 of 1) sorted by relevance
37 static int gb_hid_get_desc(struct gb_hid *ghid) in gb_hid_get_desc() argument39 return gb_operation_sync(ghid->connection, GB_HID_TYPE_GET_DESC, NULL, in gb_hid_get_desc()40 0, &ghid->hdesc, sizeof(ghid->hdesc)); in gb_hid_get_desc()43 static int gb_hid_get_report_desc(struct gb_hid *ghid, char *rdesc) in gb_hid_get_report_desc() argument47 ret = gb_pm_runtime_get_sync(ghid->bundle); in gb_hid_get_report_desc()51 ret = gb_operation_sync(ghid->connection, GB_HID_TYPE_GET_REPORT_DESC, in gb_hid_get_report_desc()53 le16_to_cpu(ghid->hdesc.wReportDescLength)); in gb_hid_get_report_desc()55 gb_pm_runtime_put_autosuspend(ghid->bundle); in gb_hid_get_report_desc()60 static int gb_hid_set_power(struct gb_hid *ghid, int type) in gb_hid_set_power() argument64 ret = gb_pm_runtime_get_sync(ghid->bundle); in gb_hid_set_power()[all …]