Home
last modified time | relevance | path

Searched refs:ghid (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/staging/greybus/
Dhid.c36 static int gb_hid_get_desc(struct gb_hid *ghid) in gb_hid_get_desc() argument
38 return gb_operation_sync(ghid->connection, GB_HID_TYPE_GET_DESC, NULL, in gb_hid_get_desc()
39 0, &ghid->hdesc, sizeof(ghid->hdesc)); in gb_hid_get_desc()
42 static int gb_hid_get_report_desc(struct gb_hid *ghid, char *rdesc) in gb_hid_get_report_desc() argument
46 ret = gb_pm_runtime_get_sync(ghid->bundle); in gb_hid_get_report_desc()
50 ret = gb_operation_sync(ghid->connection, GB_HID_TYPE_GET_REPORT_DESC, in gb_hid_get_report_desc()
52 le16_to_cpu(ghid->hdesc.wReportDescLength)); in gb_hid_get_report_desc()
54 gb_pm_runtime_put_autosuspend(ghid->bundle); in gb_hid_get_report_desc()
59 static int gb_hid_set_power(struct gb_hid *ghid, int type) in gb_hid_set_power() argument
63 ret = gb_pm_runtime_get_sync(ghid->bundle); in gb_hid_set_power()
[all …]