Lines Matching refs:hm
116 struct hidmap hm; member
133 struct hidmap *hm = context; in hms_intr() local
134 struct hms_softc *sc = device_get_softc(hm->dev); in hms_intr()
185 hidbus_set_intr(sc->hm.dev, hms_intr, &sc->hm); in hms_final_cb()
223 hidmap_set_dev(&sc->hm, dev); in hms_probe()
226 error = HIDMAP_ADD_MAP(&sc->hm, hms_map, sc->caps); in hms_probe()
271 HIDMAP_ADD_MAP(&sc->hm, hms_map_wheel_rev, cap_wheel); in hms_attach()
273 HIDMAP_ADD_MAP(&sc->hm, hms_map_wheel, cap_wheel); in hms_attach()
276 HIDMAP_ADD_MAP(&sc->hm, hms_map_kensington_slimblade, NULL); in hms_attach()
293 error = hidmap_attach(&sc->hm); in hms_attach()
298 for (hi = sc->hm.hid_items; in hms_attach()
299 hi < sc->hm.hid_items + sc->hm.nhid_items; in hms_attach()
331 sc->hm.hid_items[0].id); in hms_attach()
342 error = hidmap_detach(&sc->hm); in hms_detach()