Searched refs:udev (Results 1 – 10 of 10) sorted by relevance
/AliOS-Things-master/components/SDL2/src/core/linux/ |
A D | SDL_udev.h | 74 struct udev_device *(*udev_device_new_from_syspath)(struct udev *, const char *); 79 struct udev_enumerate *(*udev_enumerate_new)(struct udev *); 87 struct udev_monitor *(*udev_monitor_new_from_netlink)(struct udev *, const char *); 90 struct udev *(*udev_new)(void); 91 void (*udev_unref)(struct udev *); 92 struct udev_device * (*udev_device_new_from_devnum)(struct udev *udev, char type, dev_t devnum); 100 struct udev *udev; member
|
A D | SDL_udev.c | 134 _this->udev = _this->syms.udev_new(); in SDL_UDEV_Init() 135 if (_this->udev == NULL) { in SDL_UDEV_Init() 140 _this->udev_mon = _this->syms.udev_monitor_new_from_netlink(_this->udev, "udev"); in SDL_UDEV_Init() 177 if (_this->udev != NULL) { in SDL_UDEV_Quit() 178 _this->syms.udev_unref(_this->udev); in SDL_UDEV_Quit() 179 _this->udev = NULL; in SDL_UDEV_Quit() 206 enumerate = _this->syms.udev_enumerate_new(_this->udev); in SDL_UDEV_Scan() 220 struct udev_device *dev = _this->syms.udev_device_new_from_syspath(_this->udev, path); in SDL_UDEV_Scan()
|
/AliOS-Things-master/components/SDL2/src/hidapi/linux/ |
A D | hid.c | 274 struct udev *udev; in is_bluetooth() local 280 udev = udev_new(); in is_bluetooth() 281 if (!udev) { in is_bluetooth() 289 udev_unref(udev); in is_bluetooth() 325 udev_unref(udev); in is_bluetooth() 333 struct udev *udev; in get_device_string() local 342 udev = udev_new(); in get_device_string() 343 if (!udev) { in get_device_string() 438 udev_unref(udev); in get_device_string() 466 struct udev *udev; in hid_enumerate() local [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/ |
A D | hcd.h | 98 int (*alloc_streams)(struct usb_hcd *hcd, struct usb_device *udev, 104 int (*free_streams)(struct usb_hcd *hcd, struct usb_device *udev, 139 int (*address_device)(struct usb_hcd *, struct usb_device *udev);
|
A D | usb.h | 1986 extern unsigned short usb_maxpacket(struct usb_device *udev, int pipe, int is_out);
|
/AliOS-Things-master/components/SDL2/docs/ |
A D | README-linux.md | 41 If you compiled or are using a version of SDL with udev support (and you should!) 56 If you get a permission error, you need to set a udev rule to change the mode of 64 you need to set up an udev rule to force this variable. 80 On other systems which ship with an older udev (such as CentOS), you may need
|
/AliOS-Things-master/components/SDL2/src/hidapi/udev/ |
A D | 99-hid.rules | 1 # This is a sample udev file for HIDAPI devices which changes the permissions 23 # /etc/udev/rules.d and unplug and re-plug your device. This is all that is
|
/AliOS-Things-master/components/SDL2/src/hidapi/ |
A D | Makefile.am | 48 EXTRA_DIST = udev doxygen
|
/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_config.h.in | 423 /* Enable dynamic udev support */
|
/AliOS-Things-master/components/SDL2/src/joystick/hidapi/ |
A D | SDL_hidapijoystick.c | 114 struct udev *m_pUdev;
|
Completed in 23 milliseconds