Home
last modified time | relevance | path

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

/freebsd/lib/libusbhid/
H A Ddescr.c63 int kindset; in hid_get_report_id() local
69 kindset = 1 << hid_input | 1 << hid_output | 1 << hid_feature; in hid_get_report_id()
70 for (d = hid_start_parse(rep, kindset, -1); hid_get_item(d, &h); ) { in hid_get_report_id()
H A Dparse.c65 uint8_t kindset; /* we have 5 kinds so 8 bits are enough */ member
153 hid_start_parse(report_desc_t d, int kindset, int id) in hid_start_parse() argument
161 s->kindset = kindset; in hid_start_parse()
248 if (s->kindset & (1 << c->kind)) { in hid_get_item_raw()
H A Dusbhid.h94 hid_data_t hid_start_parse(report_desc_t d, int kindset, int id);
/freebsd/sys/dev/hid/
H A Dhid.c89 uint8_t kindset; /* we have 5 kinds so 8 bits are enough */ member
175 hid_start_parse(const void *d, hid_size_t len, int kindset) in hid_start_parse() argument
179 if ((kindset-1) & kindset) { in hid_start_parse()
188 s->kindset = kindset; in hid_start_parse()
285 if (s->kindset & (1 << c->kind)) { in hid_get_item()
H A Dhid.h310 struct hid_data *hid_start_parse(const void *d, hid_size_t len, int kindset);