Home
last modified time | relevance | path

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

/openbsd/src/sys/dev/hid/
Dhid.c99 if (c->report_ID == nextid) in hid_switch_rid()
103 if (c->report_ID == 0) { in hid_switch_rid()
107 if (s->last_pos[i].rid == c->report_ID) in hid_switch_rid()
114 s->last_pos[i].rid = c->report_ID; in hid_switch_rid()
119 c->report_ID = nextid; in hid_switch_rid()
521 h.report_ID = 0; in hid_report_size()
527 h.kind, h.report_ID, h.loc.pos, h.loc.size, in hid_report_size()
529 if (h.report_ID == id && h.kind == k) { in hid_report_size()
554 h.report_ID = 0; in hid_locate()
558 h.usage, h.kind, h.report_ID, h.flags); in hid_locate()
[all …]
Dhid.h64 int32_t report_ID; member
Dhidkbd.c721 h.report_ID != id) in hidkbd_parse_desc()
746 h.report_ID != id) in hidkbd_parse_desc()
Dhidcc.c629 if (hi.report_ID == repid && in hidcc_match()
873 if (hi.report_ID != repid || hi.kind != hid_input) in hidcc_parse()
Dhidmt.c176 if (h.report_ID != mt->sc_rep_input) in hidmt_setup()
/openbsd/src/lib/libusbhid/
Dparse.c97 if (c->report_ID == next_rID) in hid_switch_rid()
102 if (c->report_ID == 0) { in hid_switch_rid()
106 if (s->last_pos[i].rid == c->report_ID) in hid_switch_rid()
113 s->last_pos[i].rid = c->report_ID; in hid_switch_rid()
120 c->report_ID = next_rID; in hid_switch_rid()
201 h->report_ID = c->report_ID; \
351 h->report_ID = nc.report_ID; in hid_get_item_raw()
529 if (r <= 0 || s->reportid == -1 || h->report_ID == s->reportid) in hid_get_item()
559 if (h.report_ID != 0) in hid_report_size()
Ddata.c46 if (h->report_ID > 0) in hid_get_data()
93 if (h->report_ID > 0) in hid_set_data()
94 *buf++ = h->report_ID & 0xff; in hid_set_data()
Dusbhid.h48 int32_t report_ID; member
/openbsd/src/sys/dev/usb/
Dupd.c169 uha->claimed[item.report_ID] = 1; in upd_match()
243 entry->usage_name, item.report_ID)); in upd_attach_sensor_tree()
244 if (item.report_ID < 0 || in upd_attach_sensor_tree()
245 item.report_ID >= sc->sc_max_repid) in upd_attach_sensor_tree()
264 report = &sc->sc_reports[item.report_ID]; in upd_attach_sensor_tree()
267 size, item.kind, item.report_ID); in upd_attach_sensor_tree()
315 repid = sensor->hitem.report_ID; in upd_request_children()
Dujoy.c80 hi.report_ID == id) { in ujoy_hid_is_collection()
Duhidev.c403 h.report_ID = 0; in uhidev_maxrepid()
405 if (h.report_ID > maxid) in uhidev_maxrepid()
406 maxid = h.report_ID; in uhidev_maxrepid()
/openbsd/src/usr.bin/usbhidctl/
Dusbhid.c621 if (reportid != -1 && hitem.report_ID != reportid) in devloop()
666 hitem.kind, hitem.report_ID, hitem.usage); in devshow()
690 if (reportid != -1 && hitem.report_ID != reportid) in devshow()
/openbsd/src/sys/dev/i2c/
Dihidev.c807 h.report_ID = 0; in ihidev_maxrepid()
809 if (h.report_ID > maxid) in ihidev_maxrepid()
810 maxid = h.report_ID; in ihidev_maxrepid()