Lines Matching refs:sc_evdev
145 struct evdev_dev *sc_evdev; member
166 evdev_push_key(sc->sc_evdev, sc->sc_current_key, 0); in appleir_keyup()
167 evdev_sync(sc->sc_evdev); in appleir_keyup()
220 evdev_push_key(sc->sc_evdev, sc->sc_current_key, 0); in appleir_intr()
221 evdev_sync(sc->sc_evdev); in appleir_intr()
244 evdev_push_key(sc->sc_evdev, new_key, 1); in appleir_intr()
245 evdev_sync(sc->sc_evdev); in appleir_intr()
270 evdev_push_key(sc->sc_evdev, repeat_key, 1); in appleir_intr()
271 evdev_sync(sc->sc_evdev); in appleir_intr()
298 evdev_push_key(sc->sc_evdev, in appleir_intr()
301 evdev_push_key(sc->sc_evdev, new_key, 1); in appleir_intr()
302 evdev_sync(sc->sc_evdev); in appleir_intr()
304 evdev_push_key(sc->sc_evdev, new_key, 1); in appleir_intr()
305 evdev_sync(sc->sc_evdev); in appleir_intr()
361 sc->sc_evdev = evdev_alloc(); in appleir_attach()
362 evdev_set_name(sc->sc_evdev, device_get_desc(dev)); in appleir_attach()
363 evdev_set_phys(sc->sc_evdev, device_get_nameunit(dev)); in appleir_attach()
364 evdev_set_id(sc->sc_evdev, hw->idBus, hw->idVendor, hw->idProduct, in appleir_attach()
366 evdev_set_serial(sc->sc_evdev, hw->serial); in appleir_attach()
367 evdev_support_event(sc->sc_evdev, EV_SYN); in appleir_attach()
368 evdev_support_event(sc->sc_evdev, EV_KEY); in appleir_attach()
369 evdev_support_event(sc->sc_evdev, EV_REP); in appleir_attach()
373 evdev_support_key(sc->sc_evdev, appleir_keymap[i]); in appleir_attach()
376 evdev_support_key(sc->sc_evdev, generic_keymap[i].key); in appleir_attach()
378 error = evdev_register_mtx(sc->sc_evdev, &sc->sc_mtx); in appleir_attach()
395 if (sc->sc_evdev != NULL) in appleir_attach()
396 evdev_free(sc->sc_evdev); in appleir_attach()
416 evdev_free(sc->sc_evdev); in appleir_detach()