/freebsd/sys/dev/hid/ |
H A D | hidbus.h | 145 #define HIDBUS_FOREACH_ITEM(hd, hi, tlc_index) \ argument 147 _iter <= (tlc_index) && hid_get_item((hd), (hi)); \ 149 if (_iter == (tlc_index)) 152 enum hid_kind k, uint8_t tlc_index, uint8_t index,
|
H A D | hconf.c | 210 hconf_parse_feature(struct feature_control *fc, uint8_t tlc_index, in hconf_parse_feature() argument 216 hid_feature, tlc_index, 0, &fc->loc, &flags, &fc->rid, NULL)) in hconf_parse_feature() 248 uint8_t tlc_index; in hconf_attach() local 262 tlc_index = hidbus_get_index(dev); in hconf_attach() 264 (void)hconf_parse_feature(&sc->feature_controls[i], tlc_index, in hconf_attach()
|
H A D | hidmap.c | 443 hidmap_probe_hid_descr(void *d_ptr, hid_size_t d_len, uint8_t tlc_index, in hidmap_probe_hid_descr() argument 460 HIDBUS_FOREACH_ITEM(hd, &hi, tlc_index) { in hidmap_probe_hid_descr() 507 uint8_t tlc_index = hidbus_get_index(hm->dev); in hidmap_add_map() local 522 items = hidmap_probe_hid_descr(d_ptr, d_len, tlc_index, map, in hidmap_add_map() 656 hidmap_parse_hid_descr(struct hidmap *hm, uint8_t tlc_index) in hidmap_parse_hid_descr() argument 675 HIDBUS_FOREACH_ITEM(hd, &hi, tlc_index) { in hidmap_parse_hid_descr()
|
H A D | hkbd.c | 768 uint8_t tlc_index) in hkbd_parse_hid() argument 787 hid_input, tlc_index, 0, &sc->sc_loc_apple_eject, &flags, in hkbd_parse_hid() 796 hid_input, tlc_index, 0, &sc->sc_loc_apple_fn, &flags, in hkbd_parse_hid() 806 hid_input, tlc_index, 0, &sc->sc_loc_key[0], &flags, in hkbd_parse_hid() 820 hid_input, tlc_index, 0, &sc->sc_loc_key[key], &flags, in hkbd_parse_hid() 832 hid_output, tlc_index, 0, &sc->sc_loc_numlock, &flags, in hkbd_parse_hid() 840 hid_output, tlc_index, 0, &sc->sc_loc_capslock, &flags, in hkbd_parse_hid() 850 hid_output, tlc_index, 0, &sc->sc_loc_scrolllock, &flags, in hkbd_parse_hid() 877 uint8_t tlc_index = hidbus_get_index(dev); in hkbd_attach() local 930 hkbd_parse_hid(sc, hid_ptr, hid_len, tlc_index); in hkbd_attach()
|
H A D | hmt.c | 656 uint32_t tlc_usage, uint8_t tlc_index) in hmt_hid_parse() argument 705 tlc_index, 0, &sc->cont_max_loc, &flags, &sc->cont_max_rid, &ai) || in hmt_hid_parse() 714 tlc_index, 0, &sc->btn_type_loc, &flags, &sc->btn_type_rid, NULL) in hmt_hid_parse() 720 hid_feature, tlc_index, 0, NULL, NULL, &sc->thqa_cert_rid, NULL); in hmt_hid_parse() 724 HIDBUS_FOREACH_ITEM(hd, &hi, tlc_index) { in hmt_hid_parse()
|
H A D | hidbus.c | 132 uint8_t tlc_index, uint8_t index, struct hid_location *loc, in hidbus_locate() argument 140 HIDBUS_FOREACH_ITEM(d, &h, tlc_index) { in hidbus_locate() 174 uint8_t tlc_index) in hidbus_is_collection() argument 181 HIDBUS_FOREACH_ITEM(d, &h, tlc_index) { in hidbus_is_collection()
|