Lines Matching refs:UsbDevice
58 struct UsbDevice *dev = (struct UsbDevice *)listEntry;
73 struct UsbDevice *dev = NULL;
82 dev = (struct UsbDevice *)HdfSListSearch(&session->usbDevs, (busNum << BUS_OFFSET) | usbAddr, OsDeviceCompare);
107 static struct UsbDevice *OsAllocDevice(struct UsbSession *session, struct UsbDeviceHandle *handle)
109 struct UsbDevice *dev = RawUsbMemCalloc(sizeof(*dev));
125 static int32_t GetMmapFd(struct UsbDevice *dev)
143 static int32_t GetUsbDevicePath(struct UsbDevice *dev, char *pathBuf, size_t length)
169 static int32_t OsGetUsbFd(struct UsbDevice *dev, mode_t mode)
214 static int32_t OsReadDescriptors(struct UsbDevice *dev)
244 static int32_t OsParseConfigDescriptors(struct UsbDevice *dev)
299 static int32_t OsInitDevice(struct UsbDevice *dev, uint8_t busNum, uint8_t devAddr)
340 static int32_t OsGetActiveConfig(struct UsbDevice *dev, int32_t fd)
936 struct UsbDevice *dev = NULL;
981 struct UsbDevice *dev = NULL;
1012 static int32_t AdapterGetConfigDescriptor(const struct UsbDevice *dev, uint8_t configIndex, void *buffer, size_t len)