Lines Matching defs:device
92 // set mark flag to indicate this device is still alive
107 // kick any devices in the device list that were not found in the device scan
156 struct usb_device_descriptor* device;
180 // should have device and configuration descriptors, and atleast two endpoints
187 device = (struct usb_device_descriptor*)bufptr;
190 if((device->bLength != USB_DT_DEVICE_SIZE) || (device->bDescriptorType != USB_DT_DEVICE)) {
195 vid = device->idVendor;
196 pid = device->idProduct;
272 // Determine the device path
292 interface->bInterfaceNumber, device->iSerialNumber, zero_mask);
568 /* Since Linux will not reassign the device ID (and dev_name)
569 ** as long as the device is open, we can add to the list here
585 D("[ usb located new device %s (%d/%d/%d) ]\n",
596 /* initialize mark to 1 so we don't get garbage collected after the device scan */
613 /* read the device's serial number */
686 D("Created device thread\n");