Home
last modified time | relevance | path

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

/freebsd-13-stable/lib/libusbhid/
HDdata.c52 if (h->report_ID > 0) in hid_get_data()
97 if (h->report_ID > 0) in hid_set_data()
98 *buf++ = h->report_ID & 0xff; in hid_set_data()
HDparse.c102 if (c->report_ID == next_rID) in hid_switch_rid()
107 if (c->report_ID == 0) { in hid_switch_rid()
111 if (s->last_pos[i].rid == c->report_ID) in hid_switch_rid()
118 s->last_pos[i].rid = c->report_ID; in hid_switch_rid()
125 c->report_ID = next_rID; in hid_switch_rid()
522 if (r <= 0 || s->reportid == -1 || h->report_ID == s->reportid) in hid_get_item()
552 if (h.report_ID != 0) in hid_report_size()
HDdescr.c73 if (h.report_ID != 0) { in hid_get_report_id()
74 temp = h.report_ID; in hid_get_report_id()
HDusbhid.h55 int32_t report_ID; member
/freebsd-13-stable/sys/dev/hid/
HDhid.c130 if (c->report_ID == next_rID) in hid_switch_rid()
135 if (c->report_ID == 0) { in hid_switch_rid()
139 if (s->last_pos[i].rid == c->report_ID) in hid_switch_rid()
146 s->last_pos[i].rid = c->report_ID; in hid_switch_rid()
152 c->report_ID = next_rID; in hid_switch_rid()
591 if (h.kind == k && h.report_ID == id) { in hid_report_size()
600 if (h.report_ID != 0) in hid_report_size()
634 if ((h.report_ID != 0) && !any_id) { in hid_report_size_max()
636 *id = h.report_ID; in hid_report_size_max()
688 *id = h.report_ID; in hid_locate()
HDhid.h246 uint32_t report_ID; member
HDhmt.c742 (report_id == 0 || report_id == hi.report_ID)) in hmt_hid_parse()
743 report_id = hi.report_ID; in hmt_hid_parse()
HDhidmap.c642 item->id = hi->report_ID; in hidmap_parse_hid_item()
649 hi->usage, hi->report_ID, hi->loc.pos, hi->loc.size, item->type, in hidmap_parse_hid_item()
HDhidbus.c150 *id = h.report_ID; in hidbus_locate()
/freebsd-13-stable/usr.bin/usbhidctl/
HDusbhid.c205 h->report_ID, h->pos, h->report_size, h->report_count, in dumpitem()
320 if (rid == var->h.report_ID && in dumpdata()
361 if (var->h.report_ID != 0 && in dumpdata()
362 dbuf[0] != var->h.report_ID) in dumpdata()
390 if (rid == var->h.report_ID && kind == var->h.kind) in writedata()
422 if (rid != var->h.report_ID || kind != var->h.kind) in writedata()
/freebsd-13-stable/usr.sbin/bluetooth/bthidd/
HDkbd.c567 report_id = h.report_ID; in kbd_status_changed()
568 else if (h.report_ID != report_id) in kbd_status_changed()
573 h.report_ID, report_id); in kbd_status_changed()
HDhid.c206 if ((h.flags & HIO_CONST) || (h.report_ID != report_id) || in hid_interrupt()
/freebsd-13-stable/sys/dev/usb/input/
HDwmt.c776 sc->thqa_cert_rid = hi.report_ID; in wmt_hid_parse()
782 sc->cont_max_rid = hi.report_ID; in wmt_hid_parse()
788 sc->btn_type_rid = hi.report_ID; in wmt_hid_parse()
815 (report_id == 0 || report_id == hi.report_ID) && in wmt_hid_parse()
832 (report_id == 0 || report_id == hi.report_ID)) in wmt_hid_parse()
833 report_id = hi.report_ID; in wmt_hid_parse()
/freebsd-13-stable/contrib/netbsd-tests/dev/usb/
HDt_hid.c89 h.report_ID = 0; in locate_item()
92 (/*XXX*/uint32_t)h.usage == u && h.report_ID == id) { in locate_item()
/freebsd-13-stable/usr.sbin/bluetooth/bthidcontrol/
HDhid.c165 label, (uint8_t) h->report_ID, h->report_size, h->report_count, in hid_dump_item()
/freebsd-13-stable/usr.bin/usbhidaction/
HDusbhidaction.c202 if (cmd->item.report_ID != 0 && in main()
203 buf[0] != cmd->item.report_ID) in main()