Searched refs:devname (Results 1 – 3 of 3) sorted by relevance
85 static int usb_device_added(const char *devname, void* client_data) { in usb_device_added() argument92 struct usb_device *device = usb_device_open(devname); in usb_device_added()175 static int usb_device_removed(const char *devname, void* client_data) { in usb_device_removed() argument176 if (sDevice && !strcmp(usb_device_get_name(sDevice), devname)) { in usb_device_removed()
86 static int usb_device_added(const char *devname, void* client_data) { in usb_device_added() argument91 struct usb_device *device = usb_device_open(devname); in usb_device_added()197 static int usb_device_removed(const char *devname, void* client_data) { in usb_device_removed() argument200 if (current_device && !strcmp(usb_device_get_name(current_device), devname)) { in usb_device_removed()
1867 char devname[PATH_MAX]; in scanDirLocked() local1873 strcpy(devname, dirname); in scanDirLocked()1874 filename = devname + strlen(devname); in scanDirLocked()1881 openDeviceLocked(devname); in scanDirLocked()