/freebsd-13-stable/sys/dev/hid/ |
H A D | hidbus.h | 143 * Walk through all HID items hi belonging Top Level Collection #tlc_index 145 #define HIDBUS_FOREACH_ITEM(hd, hi, tlc_index) \ 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 | 214 hconf_parse_feature(struct feature_control *fc, uint8_t tlc_index, argument 220 hid_feature, tlc_index, 0, &fc->loc, &flags, &fc->rid, NULL)) 252 uint8_t tlc_index; local 266 tlc_index = hidbus_get_index(dev); 268 (void)hconf_parse_feature(&sc->feature_controls[i], tlc_index,
|
H A D | hidmap.c | 445 hidmap_probe_hid_descr(void *d_ptr, hid_size_t d_len, uint8_t tlc_index, argument 461 HIDBUS_FOREACH_ITEM(hd, &hi, tlc_index) { 505 uint8_t tlc_index = hidbus_get_index(hm->dev); local 520 items = hidmap_probe_hid_descr(d_ptr, d_len, tlc_index, map, 654 hidmap_parse_hid_descr(struct hidmap *hm, uint8_t tlc_index) argument 673 HIDBUS_FOREACH_ITEM(hd, &hi, tlc_index) {
|
H A D | hkbd.c | 787 uint8_t tlc_index) 806 hid_input, tlc_index, 0, &sc->sc_loc_apple_eject, &flags, 815 hid_input, tlc_index, 0, &sc->sc_loc_apple_fn, &flags, 825 hid_input, tlc_index, 0, &sc->sc_loc_key[0], &flags, 839 hid_input, tlc_index, 0, &sc->sc_loc_key[key], &flags, 852 hid_output, tlc_index, 0, &sc->sc_loc_numlock, &flags, 860 hid_output, tlc_index, 0, &sc->sc_loc_capslock, &flags, 870 hid_output, tlc_index, 0, &sc->sc_loc_scrolllock, &flags, 897 uint8_t tlc_index = hidbus_get_index(dev); local 950 hkbd_parse_hid(sc, hid_ptr, hid_len, tlc_index); 786 hkbd_parse_hid(struct hkbd_softc *sc, const uint8_t *ptr, uint32_t len, uint8_t tlc_index) argument [all...] |
H A D | hmt.c | 654 uint32_t tlc_usage, uint8_t tlc_index) 703 tlc_index, 0, &sc->cont_max_loc, &flags, &sc->cont_max_rid, &ai) || 712 tlc_index, 0, &sc->btn_type_loc, &flags, &sc->btn_type_rid, NULL) 718 hid_feature, tlc_index, 0, NULL, NULL, &sc->thqa_cert_rid, NULL); 722 HIDBUS_FOREACH_ITEM(hd, &hi, tlc_index) { 653 hmt_hid_parse(struct hmt_softc *sc, const void *d_ptr, hid_size_t d_len, uint32_t tlc_usage, uint8_t tlc_index) argument
|
H A D | hidbus.c | 134 uint8_t tlc_index, uint8_t index, struct hid_location *loc, 142 HIDBUS_FOREACH_ITEM(d, &h, tlc_index) { 133 hidbus_locate(const void *desc, hid_size_t size, int32_t u, enum hid_kind k, uint8_t tlc_index, uint8_t index, struct hid_location *loc, uint32_t *flags, uint8_t *id, struct hid_absinfo *ai) argument
|