Home
last modified time | relevance | path

Searched refs:udev_monitor (Results 1 – 5 of 5) sorted by relevance

/third_party/libinput/src/
Dudev-seat.c223 udev_device = udev_monitor_receive_device(input->udev_monitor); in evdev_udev_handler()
264 if (!input->udev_monitor) in udev_input_disable()
267 udev_monitor_unref(input->udev_monitor); in udev_input_disable()
268 input->udev_monitor = NULL; in udev_input_disable()
282 if (input->udev_monitor || !input->seat_id) in udev_input_enable()
285 input->udev_monitor = udev_monitor_new_from_netlink(udev, "udev"); in udev_input_enable()
286 if (!input->udev_monitor) { in udev_input_enable()
293 input->udev_monitor, "input", NULL)) { in udev_input_enable()
298 if (udev_monitor_enable_receiving(input->udev_monitor)) { in udev_input_enable()
300 udev_monitor_unref(input->udev_monitor); in udev_input_enable()
[all …]
Dudev-seat.h39 struct udev_monitor *udev_monitor; member
/third_party/libinput/test/
Dlitest.c1855 static struct udev_monitor *
1859 struct udev_monitor *udev_monitor; in udev_setup_monitor() local
1864 udev_monitor = udev_monitor_new_from_netlink(udev, "udev"); in udev_setup_monitor()
1865 litest_assert_notnull(udev_monitor); in udev_setup_monitor()
1866 udev_monitor_filter_add_match_subsystem_devtype(udev_monitor, "input", in udev_setup_monitor()
1871 rc = fcntl(udev_monitor_get_fd(udev_monitor), F_SETFL, 0); in udev_setup_monitor()
1873 litest_assert_int_eq(udev_monitor_enable_receiving(udev_monitor), in udev_setup_monitor()
1877 return udev_monitor; in udev_setup_monitor()
1881 udev_wait_for_device_event(struct udev_monitor *udev_monitor, in udev_wait_for_device_event() argument
1892 udev_device = udev_monitor_receive_device(udev_monitor); in udev_wait_for_device_event()
[all …]
/third_party/pulseaudio/src/modules/
Dmodule-udev-detect.c77 struct udev_monitor *monitor;
/third_party/mesa3d/src/vulkan/wsi/
Dwsi_common_display.c2065 struct udev_monitor *mon = in udev_event_listener_thread()