Lines Matching defs:UsbOsAdapterOps
122 struct UsbOsAdapterOps { struct
123 int32_t (*init)(const struct UsbSession *session);
124 void (*exit)(const struct UsbSession *session);
125 …struct UsbDeviceHandle *(*openDevice)(struct UsbSession *session, uint8_t busNum, uint8_t usbAddr);
126 void (*closeDevice)(struct UsbDeviceHandle *devHandle);
127 …etConfigDescriptor)(const struct UsbDevice *device, uint8_t configIndex, void *buffer, size_t len);
128 int32_t (*getConfiguration)(const struct UsbDeviceHandle *devHandle, uint8_t *activeConfig);
129 int32_t (*setConfiguration)(struct UsbDeviceHandle *devHandle, int32_t activeConfig);
130 … int32_t (*claimInterface)(const struct UsbDeviceHandle *devHandle, unsigned int interfaceNumber);
131 …int32_t (*releaseInterface)(const struct UsbDeviceHandle *devHandle, unsigned int interfaceNumber);
155 struct UsbOsAdapterOps *UsbAdapterGetOps(void); argument