Home
last modified time | relevance | path

Searched refs:udev_mon (Results 1 – 2 of 2) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/
DSDL_udev.c99 if (_this->udev_mon != NULL) { in SDL_UDEV_hotplug_update_available()
100 const int fd = _this->udev_monitor_get_fd(_this->udev_mon); in SDL_UDEV_hotplug_update_available()
143 _this->udev_mon = _this->udev_monitor_new_from_netlink(_this->udev, "udev"); in SDL_UDEV_Init()
144 if (_this->udev_mon == NULL) { in SDL_UDEV_Init()
149 _this->udev_monitor_filter_add_match_subsystem_devtype(_this->udev_mon, "input", NULL); in SDL_UDEV_Init()
150 _this->udev_monitor_filter_add_match_subsystem_devtype(_this->udev_mon, "sound", NULL); in SDL_UDEV_Init()
151 _this->udev_monitor_enable_receiving(_this->udev_mon); in SDL_UDEV_Init()
176 if (_this->udev_mon != NULL) { in SDL_UDEV_Quit()
177 _this->udev_monitor_unref(_this->udev_mon); in SDL_UDEV_Quit()
178 _this->udev_mon = NULL; in SDL_UDEV_Quit()
[all …]
DSDL_udev.h72 struct udev_monitor *udev_mon; member