Lines Matching refs:evdev
101 struct evdev_dev *evdev; member
219 evdev_push_abs(sc->evdev, ABS_X, x); in uep_process_pkt()
220 evdev_push_abs(sc->evdev, ABS_Y, y); in uep_process_pkt()
222 evdev_push_key(sc->evdev, BTN_TOUCH, touch); in uep_process_pkt()
223 evdev_sync(sc->evdev); in uep_process_pkt()
372 sc->evdev = evdev_alloc(); in uep_attach()
373 evdev_set_name(sc->evdev, device_get_desc(dev)); in uep_attach()
374 evdev_set_phys(sc->evdev, device_get_nameunit(dev)); in uep_attach()
375 evdev_set_id(sc->evdev, BUS_USB, uaa->info.idVendor, in uep_attach()
377 evdev_set_serial(sc->evdev, usb_get_serial(uaa->device)); in uep_attach()
378 evdev_set_methods(sc->evdev, sc, &uep_evdev_methods); in uep_attach()
379 evdev_support_prop(sc->evdev, INPUT_PROP_DIRECT); in uep_attach()
380 evdev_support_event(sc->evdev, EV_SYN); in uep_attach()
381 evdev_support_event(sc->evdev, EV_ABS); in uep_attach()
382 evdev_support_event(sc->evdev, EV_KEY); in uep_attach()
383 evdev_support_key(sc->evdev, BTN_TOUCH); in uep_attach()
384 evdev_support_abs(sc->evdev, ABS_X, 0, UEP_MAX_X, 0, 0, 0); in uep_attach()
385 evdev_support_abs(sc->evdev, ABS_Y, 0, UEP_MAX_Y, 0, 0, 0); in uep_attach()
387 error = evdev_register_mtx(sc->evdev, &sc->mtx); in uep_attach()
419 evdev_free(sc->evdev); in uep_detach()
434 uep_ev_close(struct evdev_dev *evdev) in uep_ev_close() argument
436 struct uep_softc *sc = evdev_get_softc(evdev); in uep_ev_close()
445 uep_ev_open(struct evdev_dev *evdev) in uep_ev_open() argument
447 struct uep_softc *sc = evdev_get_softc(evdev); in uep_ev_open()
538 MODULE_DEPEND(uep, evdev, 1, 1, 1);