Home
last modified time | relevance | path

Searched refs:sc_evdev (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_ft5406.c121 struct evdev_dev *sc_evdev; member
162 evdev_push_event(sc->sc_evdev, EV_ABS, ABS_MT_SLOT, id); in ft5406ts_callout()
163 evdev_push_event(sc->sc_evdev, EV_ABS, ABS_MT_TRACKING_ID, id); in ft5406ts_callout()
164 evdev_push_event(sc->sc_evdev, EV_ABS, ABS_MT_POSITION_X, x); in ft5406ts_callout()
165 evdev_push_event(sc->sc_evdev, EV_ABS, ABS_MT_POSITION_Y, y); in ft5406ts_callout()
167 evdev_sync(sc->sc_evdev); in ft5406ts_callout()
235 sc->sc_evdev = evdev_alloc(); in ft5406ts_init()
236 evdev_set_name(sc->sc_evdev, device_get_desc(sc->sc_dev)); in ft5406ts_init()
237 evdev_set_phys(sc->sc_evdev, device_get_nameunit(sc->sc_dev)); in ft5406ts_init()
238 evdev_set_id(sc->sc_evdev, BUS_HOST, 0, 0, 0); in ft5406ts_init()
[all …]
/freebsd/sys/dev/hid/
H A Dbcm5974.c496 struct evdev_dev *sc_evdev;
729 sc->sc_evdev = evdev_alloc(); in bcm5974_attach()
730 evdev_set_name(sc->sc_evdev, device_get_desc(dev)); in bcm5974_attach()
731 evdev_set_phys(sc->sc_evdev, device_get_nameunit(dev)); in bcm5974_attach()
732 evdev_set_id(sc->sc_evdev, hw->idBus, hw->idVendor, hw->idProduct, in bcm5974_attach()
734 evdev_set_serial(sc->sc_evdev, hw->serial); in bcm5974_attach()
735 evdev_set_methods(sc->sc_evdev, sc, &bcm5974_evdev_methods); in bcm5974_attach()
736 evdev_support_prop(sc->sc_evdev, INPUT_PROP_POINTER); in bcm5974_attach()
737 evdev_support_event(sc->sc_evdev, EV_SYN); in bcm5974_attach()
738 evdev_support_event(sc->sc_evdev, EV_AB in bcm5974_attach()
494 struct evdev_dev *sc_evdev; global() member
[all...]
H A Dhkbd.c153 struct evdev_dev *sc_evdev; member
389 if (evdev_rcpt_mask & EVDEV_RCPT_HW_KBD && sc->sc_evdev != NULL) in hkbd_put_key()
390 evdev_push_event(sc->sc_evdev, EV_KEY, in hkbd_put_key()
392 if (sc->sc_evdev != NULL && evdev_is_grabbed(sc->sc_evdev)) in hkbd_put_key()
542 if (evdev_rcpt_mask & EVDEV_RCPT_HW_KBD && sc->sc_evdev != NULL) in hkbd_interrupt()
543 evdev_sync(sc->sc_evdev); in hkbd_interrupt()
544 if (sc->sc_evdev != NULL && evdev_is_grabbed(sc->sc_evdev)) in hkbd_interrupt()
995 sc->sc_evdev = evdev; in hkbd_attach()
1069 evdev_free(sc->sc_evdev); in hkbd_detach()
1572 if (sc->sc_evdev != NULL && !HID_IN_POLLING_MODE()) { in hkbd_ioctl_locked()
[all …]
/freebsd/sys/arm/allwinner/
H A Daw_cir.c158 struct evdev_dev *sc_evdev; member
369 evdev_push_event(sc->sc_evdev, in aw_ir_intr()
371 evdev_sync(sc->sc_evdev); in aw_ir_intr()
514 sc->sc_evdev = evdev_alloc(); in aw_ir_attach()
515 evdev_set_name(sc->sc_evdev, device_get_desc(sc->dev)); in aw_ir_attach()
516 evdev_set_phys(sc->sc_evdev, device_get_nameunit(sc->dev)); in aw_ir_attach()
517 evdev_set_id(sc->sc_evdev, BUS_HOST, 0, 0, 0); in aw_ir_attach()
518 evdev_support_event(sc->sc_evdev, EV_SYN); in aw_ir_attach()
519 evdev_support_event(sc->sc_evdev, EV_MSC); in aw_ir_attach()
520 evdev_support_msc(sc->sc_evdev, MSC_SCAN); in aw_ir_attach()
[all …]
/freebsd/sys/dev/usb/input/
H A Dums.c158 struct evdev_dev *sc_evdev; member
713 sc->sc_evdev = evdev_alloc(); in ums_attach()
714 evdev_set_name(sc->sc_evdev, device_get_desc(dev)); in ums_attach()
715 evdev_set_phys(sc->sc_evdev, device_get_nameunit(dev)); in ums_attach()
716 evdev_set_id(sc->sc_evdev, BUS_USB, uaa->info.idVendor, in ums_attach()
718 evdev_set_serial(sc->sc_evdev, usb_get_serial(uaa->device)); in ums_attach()
719 evdev_set_methods(sc->sc_evdev, sc, &ums_evdev_methods); in ums_attach()
720 evdev_support_prop(sc->sc_evdev, INPUT_PROP_POINTER); in ums_attach()
721 evdev_support_event(sc->sc_evdev, EV_SYN); in ums_attach()
722 evdev_support_event(sc->sc_evdev, EV_RE in ums_attach()
[all...]
H A Dwsp.c572 struct evdev_dev *sc_evdev; member
854 sc->sc_evdev = evdev_alloc(); in wsp_attach()
855 evdev_set_name(sc->sc_evdev, device_get_desc(dev)); in wsp_attach()
856 evdev_set_phys(sc->sc_evdev, device_get_nameunit(dev)); in wsp_attach()
857 evdev_set_id(sc->sc_evdev, BUS_USB, uaa->info.idVendor, in wsp_attach()
859 evdev_set_serial(sc->sc_evdev, usb_get_serial(uaa->device)); in wsp_attach()
860 evdev_set_methods(sc->sc_evdev, sc, &wsp_evdev_methods); in wsp_attach()
861 evdev_support_prop(sc->sc_evdev, INPUT_PROP_POINTER); in wsp_attach()
862 evdev_support_event(sc->sc_evdev, EV_SYN); in wsp_attach()
863 evdev_support_event(sc->sc_evdev, EV_ABS); in wsp_attach()
[all …]
H A Dukbd.c159 struct evdev_dev *sc_evdev; member
442 if (evdev_rcpt_mask & EVDEV_RCPT_HW_KBD && sc->sc_evdev != NULL) in ukbd_put_key()
443 evdev_push_event(sc->sc_evdev, EV_KEY, in ukbd_put_key()
445 if (sc->sc_evdev != NULL && evdev_is_grabbed(sc->sc_evdev)) in ukbd_put_key()
613 if (evdev_rcpt_mask & EVDEV_RCPT_HW_KBD && sc->sc_evdev != NULL) in ukbd_interrupt()
614 evdev_sync(sc->sc_evdev); in ukbd_interrupt()
615 if (sc->sc_evdev != NULL && evdev_is_grabbed(sc->sc_evdev)) in ukbd_interrupt()
1290 sc->sc_evdev = evdev; in ukbd_attach()
1365 evdev_free(sc->sc_evdev); in ukbd_detach()
1901 if (sc->sc_evdev != NULL) in ukbd_ioctl_locked()
[all …]
/freebsd/sys/arm/ti/
H A Dti_adc.c94 evdev_push_event(sc->sc_evdev, EV_ABS, ABS_X, sc->sc_x); in ti_adc_ev_report()
95 evdev_push_event(sc->sc_evdev, EV_ABS, ABS_Y, sc->sc_y); in ti_adc_ev_report()
96 evdev_push_event(sc->sc_evdev, EV_KEY, BTN_TOUCH, sc->sc_pen_down); in ti_adc_ev_report()
97 evdev_sync(sc->sc_evdev); in ti_adc_ev_report()
881 sc->sc_evdev = evdev_alloc(); in ti_adc_attach()
882 evdev_set_name(sc->sc_evdev, device_get_desc(dev)); in ti_adc_attach()
883 evdev_set_phys(sc->sc_evdev, device_get_nameunit(dev)); in ti_adc_attach()
884 evdev_set_id(sc->sc_evdev, BUS_VIRTUAL, 0, 0, 0); in ti_adc_attach()
885 evdev_support_prop(sc->sc_evdev, INPUT_PROP_DIRECT); in ti_adc_attach()
886 evdev_support_event(sc->sc_evdev, EV_SYN); in ti_adc_attach()
[all …]
H A Dti_adcvar.h59 struct evdev_dev *sc_evdev; member
/freebsd/sys/dev/gpio/
H A Dgpiokeys.c126 struct evdev_dev *sc_evdev; member
192 evdev_push_key(sc->sc_evdev, key->evcode, pressed); in gpiokeys_key_event()
193 evdev_sync(sc->sc_evdev); in gpiokeys_key_event()
195 if (evdev_is_grabbed(sc->sc_evdev)) { in gpiokeys_key_event()
322 evdev_support_key(sc->sc_evdev, code); in gpiokeys_attach_key()
461 sc->sc_evdev = evdev_alloc(); in gpiokeys_attach()
462 evdev_set_name(sc->sc_evdev, device_get_desc(dev)); in gpiokeys_attach()
465 evdev_set_phys(sc->sc_evdev, name != NULL ? name : "unknown"); in gpiokeys_attach()
468 evdev_set_id(sc->sc_evdev, BUS_VIRTUAL, 0, 0, 0); in gpiokeys_attach()
469 evdev_support_event(sc->sc_evdev, EV_SYN); in gpiokeys_attach()
[all …]