Searched refs:sDevice (Results 1 – 2 of 2) sorted by relevance
32 struct usb_device *sDevice = NULL; variable38 while (sDevice && ret >= 0) { in read_thread()41 ret = usb_device_bulk_transfer(sDevice, endpoint, buffer, sizeof(buffer), 1000); in read_thread()61 if (!line || !sDevice) in write_thread()63 ret = usb_device_bulk_transfer(sDevice, endpoint, line, strlen(line), 1000); in write_thread()102 if (!sDevice && (productId == 0x2D00 || productId == 0x2D01)) { in usb_device_added()110 sDevice = device; in usb_device_added()169 if (device != sDevice) in usb_device_added()176 if (sDevice && !strcmp(usb_device_get_name(sDevice), devname)) { in usb_device_removed()177 usb_device_close(sDevice); in usb_device_removed()[all …]
67 private static UiDevice sDevice; field in UiDevice117 if (sDevice == null) { in getInstance()118 sDevice = new UiDevice(); in getInstance()120 return sDevice; in getInstance()