Home
last modified time | relevance | path

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

/freebsd-12-stable/lib/libusbhid/
Dparse.c98 hid_switch_rid(struct hid_data *s, struct hid_item *c, int32_t next_rID) in hid_switch_rid() argument
104 if (c->report_ID == next_rID) in hid_switch_rid()
127 c->report_ID = next_rID; in hid_switch_rid()
131 if (next_rID == 0) { in hid_switch_rid()
135 if (s->last_pos[i].rid == next_rID) in hid_switch_rid()
142 s->last_pos[i].rid = next_rID; in hid_switch_rid()
/freebsd-12-stable/sys/dev/usb/
Dusb_hid.c127 hid_switch_rid(struct hid_data *s, struct hid_item *c, int32_t next_rID) in hid_switch_rid() argument
133 if (c->report_ID == next_rID) in hid_switch_rid()
155 c->report_ID = next_rID; in hid_switch_rid()
159 if (next_rID == 0) { in hid_switch_rid()
163 if (s->last_pos[i].rid == next_rID) in hid_switch_rid()
170 s->last_pos[i].rid = next_rID; in hid_switch_rid()