Lines Matching refs:evdev
117 hidmap_ev_close(struct evdev_dev *evdev) in hidmap_ev_close() argument
119 return (hid_intr_stop(evdev_get_softc(evdev))); in hidmap_ev_close()
123 hidmap_ev_open(struct evdev_dev *evdev) in hidmap_ev_open() argument
125 return (hid_intr_start(evdev_get_softc(evdev))); in hidmap_ev_open()
134 evdev_support_event(hm->evdev, EV_KEY); in hidmap_support_key()
146 evdev_support_key(hm->evdev, key); in hidmap_support_key()
156 evdev_push_key(hm->evdev, key, value); in hidmap_push_key()
171 evdev_push_key(hm->evdev, i, press); in hidmap_sync_keys()
264 evdev_push_event(hm->evdev, hi->evtype, in hidmap_intr()
334 evdev_sync(hm->evdev); in hidmap_intr()
579 evdev_support_event(hm->evdev, EV_REL); in hidmap_parse_hid_item()
580 evdev_support_rel(hm->evdev, in hidmap_parse_hid_item()
584 evdev_support_event(hm->evdev, EV_ABS); in hidmap_parse_hid_item()
585 evdev_support_abs(hm->evdev, in hidmap_parse_hid_item()
594 evdev_support_event(hm->evdev, EV_SW); in hidmap_parse_hid_item()
595 evdev_support_sw(hm->evdev, in hidmap_parse_hid_item()
775 hm->evdev = evdev_alloc(); in hidmap_attach()
776 evdev_set_name(hm->evdev, device_get_desc(hm->dev)); in hidmap_attach()
777 evdev_set_phys(hm->evdev, device_get_nameunit(hm->dev)); in hidmap_attach()
778 evdev_set_id(hm->evdev, hw->idBus, hw->idVendor, hw->idProduct, in hidmap_attach()
780 evdev_set_serial(hm->evdev, hw->serial); in hidmap_attach()
781 evdev_set_flag(hm->evdev, EVDEV_FLAG_EXT_EPOCH); /* hidbus child */ in hidmap_attach()
782 evdev_support_event(hm->evdev, EV_SYN); in hidmap_attach()
790 evdev_set_methods(hm->evdev, hm->dev, &hm->evdev_methods); in hidmap_attach()
793 error = evdev_register(hm->evdev); in hidmap_attach()
812 evdev_free(hm->evdev); in hidmap_detach()
833 MODULE_DEPEND(hidmap, evdev, 1, 1, 1);