Lines Matching refs:evdev
119 hidmap_ev_close(struct evdev_dev *evdev) in hidmap_ev_close() argument
121 return (hidbus_intr_stop(evdev_get_softc(evdev))); in hidmap_ev_close()
125 hidmap_ev_open(struct evdev_dev *evdev) in hidmap_ev_open() argument
127 return (hidbus_intr_start(evdev_get_softc(evdev))); in hidmap_ev_open()
136 evdev_support_event(hm->evdev, EV_KEY); in hidmap_support_key()
148 evdev_support_key(hm->evdev, key); in hidmap_support_key()
158 evdev_push_key(hm->evdev, key, value); in hidmap_push_key()
173 evdev_push_key(hm->evdev, i, press); in hidmap_sync_keys()
266 evdev_push_event(hm->evdev, hi->evtype, in hidmap_intr()
336 evdev_sync(hm->evdev); in hidmap_intr()
581 evdev_support_event(hm->evdev, EV_REL); in hidmap_parse_hid_item()
582 evdev_support_rel(hm->evdev, in hidmap_parse_hid_item()
586 evdev_support_event(hm->evdev, EV_ABS); in hidmap_parse_hid_item()
587 evdev_support_abs(hm->evdev, in hidmap_parse_hid_item()
596 evdev_support_event(hm->evdev, EV_SW); in hidmap_parse_hid_item()
597 evdev_support_sw(hm->evdev, in hidmap_parse_hid_item()
777 hm->evdev = evdev_alloc(); in hidmap_attach()
778 evdev_set_name(hm->evdev, device_get_desc(hm->dev)); in hidmap_attach()
779 evdev_set_phys(hm->evdev, device_get_nameunit(hm->dev)); in hidmap_attach()
780 evdev_set_id(hm->evdev, hw->idBus, hw->idVendor, hw->idProduct, in hidmap_attach()
782 evdev_set_serial(hm->evdev, hw->serial); in hidmap_attach()
783 evdev_set_flag(hm->evdev, EVDEV_FLAG_EXT_EPOCH); /* hidbus child */ in hidmap_attach()
784 evdev_support_event(hm->evdev, EV_SYN); in hidmap_attach()
792 evdev_set_methods(hm->evdev, hm->dev, &hm->evdev_methods); in hidmap_attach()
795 error = evdev_register(hm->evdev); in hidmap_attach()
814 evdev_free(hm->evdev); in hidmap_detach()
835 MODULE_DEPEND(hidmap, evdev, 1, 1, 1);