Home
last modified time | relevance | path

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

/freebsd-12.1/lib/libusbhid/
H A Ddescr.c66 int kindset; in hid_get_report_id() local
72 kindset = 1 << hid_input | 1 << hid_output | 1 << hid_feature; in hid_get_report_id()
73 for (d = hid_start_parse(rep, kindset, -1); hid_get_item(d, &h); ) { in hid_get_report_id()
H A Dparse.c67 uint8_t kindset; /* we have 5 kinds so 8 bits are enough */ member
155 hid_start_parse(report_desc_t d, int kindset, int id) in hid_start_parse() argument
163 s->kindset = kindset; in hid_start_parse()
250 if (s->kindset & (1 << c->kind)) { in hid_get_item_raw()
H A Dusbhid.h93 hid_data_t hid_start_parse(report_desc_t d, int kindset, int id);
/freebsd-12.1/sys/dev/usb/
H A Dusb_hid.c97 uint8_t kindset; /* we have 5 kinds so 8 bits are enough */ member
182 hid_start_parse(const void *d, usb_size_t len, int kindset) in hid_start_parse() argument
186 if ((kindset-1) & kindset) { in hid_start_parse()
195 s->kindset = kindset; in hid_start_parse()
281 if (s->kindset & (1 << c->kind)) { in hid_get_item()
H A Dusbhid.h250 struct hid_data *hid_start_parse(const void *d, usb_size_t len, int kindset);