Searched refs:interfacePool (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/drivers/peripheral/usb/ddk/host/src/ |
H A D | usb_io_manage.c | 105 if (!interfacePool->ioProcessTid) { in InitializeIoProcess() 124 InitializeIoProcess(interfacePool); in IoAsyncReceiveProcess() 125 if (interfacePool->device == NULL) { in IoAsyncReceiveProcess() 171 if (interfacePool == NULL) { in UsbIoCreateQueue() 185 if (interfacePool == NULL) { in UsbIoDestroyQueue() 267 if (interfacePool == NULL) { in UsbIoStart() 275 OsalSemInit(&interfacePool->ioSem, 0); in UsbIoStart() 288 …ret = OsalThreadCreate(&interfacePool->ioSendProcess, (OsalThreadEntry)IoSendProcess, (void *)inte… in UsbIoStart() 330 …if ((interfacePool == NULL) || (interfacePool->device == NULL) || (interfacePool->device->devHandl… in UsbIoRecvProcessStop() 345 …if ((interfacePool == NULL) || (interfacePool->device == NULL) || (interfacePool->device->devHandl… in UsbIoStop() [all …]
|
H A D | usb_interface_pool.c | 195 if (interfacePool == NULL || interfacePool->session == NULL) { in IfDestroyInterfacePool() 810 if (interfacePool == NULL || interfacePool->device == NULL) { in IfGetInterfacePool() 1001 if (interfacePool == NULL || interfacePool->device == NULL) { in UsbGetDeviceMemMapFd() 1003 if (interfacePool == NULL || interfacePool->device == NULL) { in UsbGetDeviceMemMapFd() 1031 if (interfacePool == NULL || interfacePool->device == NULL) { in ClaimInterface() 1033 if (interfacePool == NULL || interfacePool->device == NULL) { in ClaimInterface() 1087 if (interfacePool == NULL || interfacePool->device == NULL) { in UsbManageInterface() 1089 if (interfacePool == NULL || interfacePool->device == NULL) { in UsbManageInterface() 1173 if (interfacePool == NULL || interfacePool->session == NULL) { in UsbReleaseInterface() 1273 …if (interfacePool == NULL || interfacePool->device == NULL || interfacePool->device->devHandle == … in UsbOpenInterface() [all …]
|
H A D | usb_protocol.c | 187 const struct UsbInterfacePool *interfacePool) in UsbProtocalCreatInterfaceObj() argument 209 ret = UsbIfCreatInterfaceObj(interfacePool, &interfaceObj); in UsbProtocalCreatInterfaceObj() 235 struct UsbInterfacePool *interfacePool = NULL; in UsbProtocalParseDescriptor() local 243 ret = UsbIfCreatInterfacePool(devHandle->dev->session, busNum, devAddr, &interfacePool); in UsbProtocalParseDescriptor() 248 interfacePool->session = devHandle->dev->session; in UsbProtocalParseDescriptor() 249 interfacePool->device = devHandle->dev; in UsbProtocalParseDescriptor() 250 devHandle->dev->privateObject = (void *)interfacePool; in UsbProtocalParseDescriptor() 252 ret = CreateCtrPipe(interfacePool); in UsbProtocalParseDescriptor() 267 ret = UsbProtocalCreatInterfaceObj(config, interfacePool); in UsbProtocalParseDescriptor() 284 (void)UsbIfDestroyInterfaceObj(interfacePool, NULL); in UsbProtocalParseDescriptor()
|
/ohos5.0/drivers/peripheral/usb/ddk/host/include/ |
H A D | usb_io_manage.h | 30 HDF_STATUS UsbIoCreateQueue(const struct UsbInterfacePool *interfacePool); 31 HDF_STATUS UsbIoDestroyQueue(const struct UsbInterfacePool *interfacePool); 34 HDF_STATUS UsbIoStart(struct UsbInterfacePool *interfacePool); 35 HDF_STATUS UsbIoStop(struct UsbInterfacePool *interfacePool); 36 HDF_STATUS UsbIoRecvProcessStop(struct UsbInterfacePool *interfacePool);
|
H A D | usb_interface_pool.h | 118 int32_t UsbIfCreatInterfaceObj(const struct UsbInterfacePool *interfacePool, struct UsbSdkInterface… 120 const struct UsbInterfacePool *interfacePool, const struct UsbSdkInterface *interfaceObj); 122 struct UsbInterfacePool **interfacePool);
|