Lines Matching refs:sDevice
32 struct usb_device *sDevice = NULL;
38 while (sDevice && ret >= 0) {
41 ret = usb_device_bulk_transfer(sDevice, endpoint, buffer, sizeof(buffer), 1000);
61 if (!line || !sDevice)
63 ret = usb_device_bulk_transfer(sDevice, endpoint, line, strlen(line), 1000);
102 if (!sDevice && (productId == 0x2D00 || productId == 0x2D01)) {
110 sDevice = device;
169 if (device != sDevice)
176 if (sDevice && !strcmp(usb_device_get_name(sDevice), devname)) {
177 usb_device_close(sDevice);
178 sDevice = NULL;