Lines Matching refs:hm
59 struct hidmap *hm, struct hidmap_hid_item *hi, union hidmap_cb_ctx ctx
64 ((hm == NULL) ? HIDMAP_CB_IS_PROBING : hm->cb_state)
66 (hm == NULL ? NULL : hm->dev)
68 (hm == NULL ? NULL : device_get_softc(hm->dev))
70 (hm == NULL ? NULL : hm->evdev)
76 hid_get_data(hm->intr_buf, hm->intr_len, (loc))
78 hid_get_udata(hm->intr_buf, hm->intr_len, (loc))
233 hidmap_set_dev(struct hidmap *hm, device_t dev) in hidmap_set_dev() argument
235 hm->dev = dev; in hidmap_set_dev()
244 void _hidmap_set_debug_var(struct hidmap *hm, int *debug_var);
245 #define HIDMAP_ADD_MAP(hm, map, caps) \ argument
246 hidmap_add_map((hm), (map), nitems(map), (caps))
247 uint32_t hidmap_add_map(struct hidmap *hm, const struct hidmap_item *map,
251 void hidmap_support_key(struct hidmap *hm, uint16_t key);
252 void hidmap_push_key(struct hidmap *hm, uint16_t key, int32_t value);
255 #define HIDMAP_PROBE(hm, dev, id, map, suffix) \ argument
256 hidmap_probe((hm), (dev), (id), nitems(id), (map), nitems(map), \
258 int hidmap_probe(struct hidmap* hm, device_t dev,
262 int hidmap_attach(struct hidmap *hm);
263 int hidmap_detach(struct hidmap *hm);