Searched refs:uref (Results 1 – 2 of 2) sorted by relevance
129 hiddev_lookup_usage(struct hid_device *hid, struct hiddev_usage_ref *uref) in hiddev_lookup_usage() argument136 if (uref->report_type < HID_REPORT_TYPE_MIN || in hiddev_lookup_usage()137 uref->report_type > HID_REPORT_TYPE_MAX) in hiddev_lookup_usage()141 (uref->report_type - HID_REPORT_TYPE_MIN); in hiddev_lookup_usage()147 if (field->usage[j].hid == uref->usage_code) { in hiddev_lookup_usage()148 uref->report_id = report->id; in hiddev_lookup_usage()149 uref->field_index = i; in hiddev_lookup_usage()150 uref->usage_index = j; in hiddev_lookup_usage()161 struct hiddev_usage_ref *uref) in hiddev_send_event() argument169 if (uref->field_index != HID_FIELD_INDEX_NONE || in hiddev_send_event()[all …]
133 struct hiddev_usage_ref uref; member