/freebsd/sys/dev/evdev/ |
H A D | evdev.c | 49 #define debugf(evdev, fmt, args...) printf("evdev: " fmt "\n", ##args) argument 51 #define debugf(evdev, fmt, args...) argument 102 evdev_free(struct evdev_dev *evdev) in evdev_free() 128 evdev_set_report_size(struct evdev_dev *evdev, size_t report_size) in evdev_set_report_size() 139 evdev_estimate_report_size(struct evdev_dev *evdev) in evdev_estimate_report_size() 200 evdev_sysctl_create(struct evdev_dev *evdev) in evdev_sysctl_create() 282 evdev_register_common(struct evdev_dev *evdev) in evdev_register_common() 335 evdev_register(struct evdev_dev *evdev) in evdev_register() 354 evdev_register_mtx(struct evdev_dev *evdev, struct mtx *mtx) in evdev_register_mtx() 363 evdev_unregister(struct evdev_dev *evdev) in evdev_unregister() [all …]
|
H A D | evdev_mt.c | 100 ffc_slot(struct evdev_dev *evdev, slotset_t slots) in ffc_slot() 106 evdev_mt_init(struct evdev_dev *evdev) in evdev_mt_init() 150 evdev_mt_free(struct evdev_dev *evdev) in evdev_mt_free() 156 evdev_mt_sync_frame(struct evdev_dev *evdev) in evdev_mt_sync_frame() 169 evdev_mt_send_slot(struct evdev_dev *evdev, int slot, in evdev_mt_send_slot() 194 evdev_mt_push_slot(struct evdev_dev *evdev, int slot, in evdev_mt_push_slot() 314 evdev_mt_match_frame(struct evdev_dev *evdev, union evdev_mt_slot *pt, in evdev_mt_match_frame() 369 evdev_mt_send_frame(struct evdev_dev *evdev, union evdev_mt_slot *pt, int size) in evdev_mt_send_frame() 390 evdev_mt_push_frame(struct evdev_dev *evdev, union evdev_mt_slot *pt, int size) in evdev_mt_push_frame() 403 evdev_mt_record_event(struct evdev_dev *evdev, uint16_t type, uint16_t code, in evdev_mt_record_event() [all …]
|
H A D | evdev_utils.c | 222 evdev_support_all_known_keys(struct evdev_dev *evdev) in evdev_support_all_known_keys() 278 evdev_push_mouse_btn(struct evdev_dev *evdev, int buttons) in evdev_push_mouse_btn() 288 evdev_push_leds(struct evdev_dev *evdev, int leds) in evdev_push_leds() 301 evdev_push_repeats(struct evdev_dev *evdev, keyboard_t *kbd) in evdev_push_repeats() 312 evdev_support_nfingers(struct evdev_dev *evdev, int nfingers) in evdev_support_nfingers() 321 evdev_send_nfingers(struct evdev_dev *evdev, int nfingers) in evdev_send_nfingers() 336 evdev_push_nfingers(struct evdev_dev *evdev, int nfingers) in evdev_push_nfingers()
|
H A D | evdev_private.h | 61 #define CURRENT_MT_SLOT(evdev) ((evdev)->ev_absinfo[ABS_MT_SLOT].value) argument 62 #define MAXIMAL_MT_SLOT(evdev) ((evdev)->ev_absinfo[ABS_MT_SLOT].maximum) argument 172 #define EVDEV_LOCK(evdev) mtx_lock((evdev)->ev_state_lock) argument 173 #define EVDEV_UNLOCK(evdev) mtx_unlock((evdev)->ev_state_lock) argument 174 #define EVDEV_LOCK_ASSERT(evdev) do { \ argument 178 #define EVDEV_ENTER(evdev) do { \ argument 184 #define EVDEV_EXIT(evdev) do { \ argument 189 #define EVDEV_LIST_LOCK(evdev) do { \ argument 195 #define EVDEV_LIST_UNLOCK(evdev) do { \ argument 201 #define EVDEV_LIST_LOCK_ASSERT(evdev) do { \ argument [all …]
|
H A D | evdev.h | 177 evdev_sync(struct evdev_dev *evdev) in evdev_sync() 184 evdev_mt_sync(struct evdev_dev *evdev) in evdev_mt_sync() 191 evdev_push_key(struct evdev_dev *evdev, uint16_t code, int32_t value) in evdev_push_key() 198 evdev_push_rel(struct evdev_dev *evdev, uint16_t code, int32_t value) in evdev_push_rel() 205 evdev_push_abs(struct evdev_dev *evdev, uint16_t code, int32_t value) in evdev_push_abs() 212 evdev_push_msc(struct evdev_dev *evdev, uint16_t code, int32_t value) in evdev_push_msc() 219 evdev_push_led(struct evdev_dev *evdev, uint16_t code, int32_t value) in evdev_push_led() 226 evdev_push_snd(struct evdev_dev *evdev, uint16_t code, int32_t value) in evdev_push_snd() 233 evdev_push_sw(struct evdev_dev *evdev, uint16_t code, int32_t value) in evdev_push_sw()
|
H A D | cdev.c | 104 struct evdev_dev *evdev = dev->si_drv1; in evdev_open() local 255 struct evdev_dev *evdev = dev->si_drv1; in evdev_write() local 395 struct evdev_dev *evdev = dev->si_drv1; in evdev_ioctl() local 672 evdev_ioctl_eviocgbit(struct evdev_dev *evdev, int type, int len, caddr_t data, in evdev_ioctl_eviocgbit() 766 evdev_cdev_create(struct evdev_dev *evdev) in evdev_cdev_create() 791 evdev_cdev_destroy(struct evdev_dev *evdev) in evdev_cdev_destroy()
|
H A D | uinput.c | 156 uinput_ev_event(struct evdev_dev *evdev, uint16_t type, uint16_t code, in uinput_ev_event()
|
/freebsd/sys/dev/hid/ |
H A D | hgame.c | 89 struct evdev_dev *evdev = HIDMAP_CB_GET_EVDEV(); in hgame_hat_switch_cb() local 120 struct evdev_dev *evdev = HIDMAP_CB_GET_EVDEV(); in hgame_dpad_cb() local 171 struct evdev_dev *evdev = HIDMAP_CB_GET_EVDEV(); in hgame_final_cb() local
|
H A D | hpen.c | 114 struct evdev_dev *evdev = HIDMAP_CB_GET_EVDEV(); in hpen_battery_strenght_cb() local 134 struct evdev_dev *evdev = HIDMAP_CB_GET_EVDEV(); in hpen_final_pen_cb() local
|
H A D | ps4dshock.c | 791 struct evdev_dev *evdev = HIDMAP_CB_GET_EVDEV(); in ps4dshock_final_cb() local 803 struct evdev_dev *evdev = HIDMAP_CB_GET_EVDEV(); in ps4dsacc_data_cb() local 840 struct evdev_dev *evdev = HIDMAP_CB_GET_EVDEV(); in ps4dsacc_tstamp_cb() local 868 struct evdev_dev *evdev = HIDMAP_CB_GET_EVDEV(); in ps4dsacc_final_cb() local 906 ps4dsmtp_push_packet(struct ps4dsmtp_softc *sc, struct evdev_dev *evdev, in ps4dsmtp_push_packet() 954 struct evdev_dev *evdev = HIDMAP_CB_GET_EVDEV(); in ps4dsmtp_final_cb() local
|
H A D | hcons.c | 234 struct evdev_dev *evdev = HIDMAP_CB_GET_EVDEV(); in hcons_rel_volume_cb() local
|
H A D | ietp.c | 104 struct evdev_dev *evdev; member 218 ietp_ev_open(struct evdev_dev *evdev) in ietp_ev_open() 224 ietp_ev_close(struct evdev_dev *evdev) in ietp_ev_close()
|
H A D | hmt.c | 195 struct evdev_dev *evdev; member 251 hmt_ev_close(struct evdev_dev *evdev) in hmt_ev_close() 257 hmt_ev_open(struct evdev_dev *evdev) in hmt_ev_open()
|
H A D | bcm5974.c | 740 BCM5974_ABS(evdev,code,param) bcm5974_attach() argument 902 bcm5974_ev_open(struct evdev_dev * evdev) bcm5974_ev_open() argument 926 bcm5974_ev_close(struct evdev_dev * evdev) bcm5974_ev_close() argument [all...] |
H A D | hidmap.c | 117 hidmap_ev_close(struct evdev_dev *evdev) in hidmap_ev_close() 123 hidmap_ev_open(struct evdev_dev *evdev) in hidmap_ev_open()
|
H A D | hms.c | 174 struct evdev_dev *evdev = HIDMAP_CB_GET_EVDEV(); in hms_final_cb() local
|
/freebsd/sys/dev/usb/input/ |
H A D | uep.c | 99 struct evdev_dev *evdev; member 432 uep_ev_close(struct evdev_dev *evdev) in uep_ev_close() 443 uep_ev_open(struct evdev_dev *evdev) in uep_ev_open()
|
H A D | wmt.c | 219 struct evdev_dev *evdev; member 691 wmt_ev_close_11(struct evdev_dev *evdev, void *ev_softc) in wmt_ev_close_11() 700 wmt_ev_open_11(struct evdev_dev *evdev, void *ev_softc) in wmt_ev_open_11() 711 wmt_ev_close(struct evdev_dev *evdev) in wmt_ev_close() 721 wmt_ev_open(struct evdev_dev *evdev) in wmt_ev_open()
|
H A D | ums.c | 953 ums_ev_open(struct evdev_dev * evdev) ums_ev_open() argument 970 ums_ev_close(struct evdev_dev * evdev) ums_ev_close() argument
|
H A D | wsp.c | 866 #define WSP_SUPPORT_ABS(evdev, code, param) \ in wsp_attach() argument 1460 wsp_ev_open(struct evdev_dev *evdev) in wsp_ev_open() 1478 wsp_ev_close(struct evdev_dev *evdev) in wsp_ev_close()
|
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_ft5406.c | 173 ft5406ts_ev_close(struct evdev_dev *evdev) in ft5406ts_ev_close() 185 ft5406ts_ev_open(struct evdev_dev *evdev) in ft5406ts_ev_open()
|
/freebsd/sys/dev/hyperv/input/ |
H A D | hv_kbd.c | 704 hvkbd_ev_event(struct evdev_dev *evdev, uint16_t type, uint16_t code, in hvkbd_ev_event() 782 struct evdev_dev *evdev; in hv_kbd_drv_attach() local
|
/freebsd/sys/dev/acpica/ |
H A D | acpi_video.c | 70 struct evdev_dev *evdev; member 82 struct evdev_dev *evdev; member 226 acpi_video_push_evdev_event(struct evdev_dev *evdev, UINT32 notify) in acpi_video_push_evdev_event() argument [all...] |
/freebsd/sys/dev/kbdmux/ |
H A D | kbdmux.c | 392 struct evdev_dev *evdev; in kbdmux_init() local 1348 kbdmux_ev_event(struct evdev_dev *evdev, uint16_t type, uint16_t code, in kbdmux_ev_event()
|
/freebsd/sys/dev/atkbdc/ |
H A D | atkbd.c | 383 struct evdev_dev *evdev; in atkbd_init() local 1206 atkbd_ev_event(struct evdev_dev *evdev, uint16_t type, uint16_t code, in atkbd_ev_event()
|