Lines Matching refs:evdev
99 struct evdev_dev *evdev; member
217 evdev_push_abs(sc->evdev, ABS_X, x); in uep_process_pkt()
218 evdev_push_abs(sc->evdev, ABS_Y, y); in uep_process_pkt()
220 evdev_push_key(sc->evdev, BTN_TOUCH, touch); in uep_process_pkt()
221 evdev_sync(sc->evdev); in uep_process_pkt()
370 sc->evdev = evdev_alloc(); in uep_attach()
371 evdev_set_name(sc->evdev, device_get_desc(dev)); in uep_attach()
372 evdev_set_phys(sc->evdev, device_get_nameunit(dev)); in uep_attach()
373 evdev_set_id(sc->evdev, BUS_USB, uaa->info.idVendor, in uep_attach()
375 evdev_set_serial(sc->evdev, usb_get_serial(uaa->device)); in uep_attach()
376 evdev_set_methods(sc->evdev, sc, &uep_evdev_methods); in uep_attach()
377 evdev_support_prop(sc->evdev, INPUT_PROP_DIRECT); in uep_attach()
378 evdev_support_event(sc->evdev, EV_SYN); in uep_attach()
379 evdev_support_event(sc->evdev, EV_ABS); in uep_attach()
380 evdev_support_event(sc->evdev, EV_KEY); in uep_attach()
381 evdev_support_key(sc->evdev, BTN_TOUCH); in uep_attach()
382 evdev_support_abs(sc->evdev, ABS_X, 0, UEP_MAX_X, 0, 0, 0); in uep_attach()
383 evdev_support_abs(sc->evdev, ABS_Y, 0, UEP_MAX_Y, 0, 0, 0); in uep_attach()
385 error = evdev_register_mtx(sc->evdev, &sc->mtx); in uep_attach()
417 evdev_free(sc->evdev); in uep_detach()
432 uep_ev_close(struct evdev_dev *evdev) in uep_ev_close() argument
434 struct uep_softc *sc = evdev_get_softc(evdev); in uep_ev_close()
443 uep_ev_open(struct evdev_dev *evdev) in uep_ev_open() argument
445 struct uep_softc *sc = evdev_get_softc(evdev); in uep_ev_open()
534 MODULE_DEPEND(uep, evdev, 1, 1, 1);