Home
last modified time | relevance | path

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

/external/libusb/libusb/os/
Dlinux_udev.c38 static struct udev_monitor *udev_monitor = NULL; variable
55 udev_monitor = udev_monitor_new_from_netlink(udev_ctx, "udev"); in linux_udev_start_event_monitor()
56 if (!udev_monitor) { in linux_udev_start_event_monitor()
61 r = udev_monitor_filter_add_match_subsystem_devtype(udev_monitor, "usb", "usb_device"); in linux_udev_start_event_monitor()
67 if (udev_monitor_enable_receiving(udev_monitor)) { in linux_udev_start_event_monitor()
72 udev_monitor_fd = udev_monitor_get_fd(udev_monitor); in linux_udev_start_event_monitor()
121 udev_monitor_unref(udev_monitor); in linux_udev_start_event_monitor()
122 udev_monitor = NULL; in linux_udev_start_event_monitor()
136 assert(udev_monitor != NULL); in linux_udev_stop_event_monitor()
150 udev_monitor_unref(udev_monitor); in linux_udev_stop_event_monitor()
[all …]
/external/libbrillo/brillo/udev/
Dudev_monitor.h13 struct udev_monitor;
28 explicit UdevMonitor(udev_monitor* monitor);
65 udev_monitor* monitor_;
Dudev_monitor.cc19 UdevMonitor::UdevMonitor(udev_monitor* monitor) : monitor_(monitor) { in UdevMonitor()
Dudev.cc108 udev_monitor* monitor = udev_monitor_new_from_netlink(udev_, name); in CreateMonitorFromNetlink()
/external/igt-gpu-tools/lib/
Digt_kms.h766 struct udev_monitor *igt_watch_hotplug(void);
767 bool igt_hotplug_detected(struct udev_monitor *mon,
769 bool igt_lease_change_detected(struct udev_monitor *mon,
771 void igt_flush_hotplugs(struct udev_monitor *mon);
772 void igt_cleanup_hotplug(struct udev_monitor *mon);
Digt_kms.c4227 struct udev_monitor *igt_watch_hotplug(void) in igt_watch_hotplug()
4230 struct udev_monitor *mon; in igt_watch_hotplug()
4259 static bool event_detected(struct udev_monitor *mon, int timeout_secs, in event_detected()
4297 bool igt_hotplug_detected(struct udev_monitor *mon, int timeout_secs) in igt_hotplug_detected()
4311 bool igt_lease_change_detected(struct udev_monitor *mon, int timeout_secs) in igt_lease_change_detected()
4322 void igt_flush_hotplugs(struct udev_monitor *mon) in igt_flush_hotplugs()
4336 void igt_cleanup_hotplug(struct udev_monitor *mon) in igt_cleanup_hotplug()
Digt_aux.c458 struct udev_monitor *mon = in hang_detector_process()
Digt_chamelium.c235 struct udev_monitor *mon;
/external/igt-gpu-tools/tools/
Dintel_l3_parity.h9 struct udev_monitor *uevent_monitor;
Dintel_dp_compliance_hotplug.c34 static struct udev_monitor *uevent_monitor;
Dintel_l3_udev_listener.c43 struct udev_monitor *uevent_monitor; in l3_uevent_setup()
/external/igt-gpu-tools/tests/
Dkms_content_protection.c115 static bool hdcp_event(struct udev_monitor *uevent_monitor, in hdcp_event()
159 static void hdcp_udev_fini(struct udev_monitor *uevent_monitor, in hdcp_udev_fini()
168 static int hdcp_udev_init(struct udev_monitor *uevent_monitor, in hdcp_udev_init()
211 struct udev_monitor *uevent_monitor = NULL; in wait_for_hdcp_event()
Dtestdisplay_hotplug.c36 static struct udev_monitor *uevent_monitor;
Dkms_chamelium.c248 struct udev_monitor *mon = igt_watch_hotplug(); in test_basic_hotplug()
326 static bool wait_for_hotplug(struct udev_monitor *mon, int *timeout) in wait_for_hotplug()
346 struct udev_monitor *mon, bool connected) in try_suspend_resume_hpd()
407 struct udev_monitor *mon = igt_watch_hotplug(); in test_suspend_resume_hpd()
424 struct udev_monitor *mon = igt_watch_hotplug(); in test_suspend_resume_hpd_common()
451 struct udev_monitor *mon = igt_watch_hotplug(); in test_suspend_resume_edid_change()
616 struct udev_monitor *mon; in test_link_status()
2465 struct udev_monitor *mon = igt_watch_hotplug(); in test_hpd_without_ddc()
2485 struct udev_monitor *mon; in test_hpd_storm_detect()
Dkms_lease.c1239 struct udev_monitor *uevent_monitor; in lease_uevent()
/external/adhd/cras/src/server/
Dcras_udev.c23 struct udev_monitor *mon;
/external/libbrillo/
DBUILD.gn204 "brillo/udev/udev_monitor.cc",