/drivers/hdf_core/framework/test/unittest/model/usb/host/src/ |
H A D | usb_test.c | 833 g_acm->readReq[i] = UsbAllocRequest(NULL, 0, g_acm->readSize); in CheckHostSdkIfAllocRequest001() 847 g_acm->readReq[i] = UsbAllocRequest(g_acm->data_devHandle, 0, g_acm->readSize); in CheckHostSdkIfAllocRequest002() 878 g_acm->wb[i].request = UsbAllocRequest(NULL, 0, g_acm->writeSize); in CheckHostSdkIfAllocRequest003() 898 g_acm->wb[i].request = UsbAllocRequest(g_acm->data_devHandle, 0, g_acm->writeSize); in CheckHostSdkIfAllocRequest004() 925 g_acm->notifyReq = UsbAllocRequest(NULL, 0, g_acm->intSize); in CheckHostSdkIfAllocRequest005() 936 g_acm->notifyReq = UsbAllocRequest(g_acm->int_devHandle, 0, g_acm->intSize); in CheckHostSdkIfAllocRequest006() 958 g_acm->ctrlReq = UsbAllocRequest(NULL, 0, g_acm->ctrlSize); in CheckHostSdkIfAllocRequest007() 969 g_acm->ctrlReq = UsbAllocRequest(g_acm->ctrl_devHandle, 0, g_acm->ctrlSize); in CheckHostSdkIfAllocRequest008() 980 g_acm->isoReq = UsbAllocRequest(NULL, USB_ISO_PACKAT_CNT, size); in CheckHostSdkIfAllocRequest010() 990 g_acm->isoReq = UsbAllocRequest(g_ac in CheckHostSdkIfAllocRequest011() [all...] |
/drivers/peripheral/usb/test/unittest/host_sdk/ |
H A D | usb_host_sdk_if_test.cpp | 1076 g_acm->readReq[i] = UsbAllocRequest(NULL, 0, g_acm->readSize); in HWTEST_F() 1094 g_acm->readReq[i] = UsbAllocRequest(g_acm->data_devHandle, 0, g_acm->readSize); in HWTEST_F() 1132 g_acm->wb[i].request = UsbAllocRequest(NULL, 0, g_acm->writeSize); in HWTEST_F() 1154 g_acm->wb[i].request = UsbAllocRequest(g_acm->data_devHandle, 0, g_acm->writeSize); in HWTEST_F() 1186 g_acm->notifyReq = UsbAllocRequest(NULL, 0, g_acm->intSize); in HWTEST_F() 1199 g_acm->notifyReq = UsbAllocRequest(g_acm->int_devHandle, 0, g_acm->intSize); in HWTEST_F() 1226 g_acm->ctrlReq = UsbAllocRequest(NULL, 0, g_acm->ctrlSize); in HWTEST_F() 1239 g_acm->ctrlReq = UsbAllocRequest(g_acm->ctrl_devHandle, 0, g_acm->ctrlSize); in HWTEST_F() 1283 g_acm->readReq[i] = UsbAllocRequest(g_acm->data_devHandle, 0, g_acm->readSize); in HWTEST_F() 1289 g_acm->wb[i].request = UsbAllocRequest(g_ac in HWTEST_F() [all...] |
H A D | usb_host_sdk_if_test_io.cpp | 188 g_acm->readReq[i] = UsbAllocRequest(g_acm->data_devHandle, 0, g_acm->readSize); in AcmGetRequest() 197 g_acm->wb[i].request = UsbAllocRequest(g_acm->data_devHandle, 0, g_acm->writeSize); in AcmGetRequest() 203 g_acm->notifyReq = UsbAllocRequest(g_acm->int_devHandle, 0, g_acm->intSize); in AcmGetRequest() 207 g_acm->ctrlReq = UsbAllocRequest(g_acm->ctrl_devHandle, 0, g_acm->ctrlSize); in AcmGetRequest()
|
/drivers/peripheral/usb/interfaces/ddk/host/ |
H A D | usb_ddk_interface.h | 463 struct UsbRequest *UsbAllocRequest(const UsbInterfaceHandle *interfaceHandle, int32_t isoPackets, int32_t length);
|
/drivers/peripheral/usb/ddk_service/src/ |
H A D | usb_ddk_service.cpp | 303 struct UsbRequest *request = UsbAllocRequest(handleConvert, 0, static_cast<int32_t>(length)); in SendControlReadRequest() 356 struct UsbRequest *request = UsbAllocRequest(handleConvert, 0, MAX_CONTROL_BUFF_SIZE); in SendControlWriteRequest()
|
/drivers/peripheral/usb/net/src/ |
H A D | cdc_ether.c | 237 usbRequest = UsbAllocRequest(ecm->ctrDevHandle, 0, len); in EcmCtrlMsg() 239 HDF_LOGE("%{public}s: UsbAllocRequest failed", __func__); in EcmCtrlMsg() 856 snd->request = UsbAllocRequest(InterfaceIdToHandle(ecm, ecm->dataOutPipe->interfaceId), 0, ecm->writeSize); in EcmAllocWriteReq() 889 ecm->notifyReq = UsbAllocRequest(InterfaceIdToHandle(ecm, ecm->intPipe->interfaceId), 0, ecm->intSize); in EcmAllocIntReq() 916 ecm->readReq[i] = UsbAllocRequest(InterfaceIdToHandle(ecm, ecm->dataInPipe->interfaceId), 0, ecm->readSize); in EcmAllocReadReq()
|
/drivers/peripheral/usb/serial/src/ |
H A D | usb_serial.c | 439 acm->ctrlReq = UsbAllocRequest(acm->ctrDevHandle, 0, len); in SerialCtrlMsg() 441 HDF_LOGE("%{public}s: UsbAllocRequest failed", __func__); in SerialCtrlMsg() 680 g_syncRequest = UsbAllocRequest(InterfaceIdToHandle(acm, acm->dataInPipe->interfaceId), 0, acm->readSize); in UsbSerialReadSync() 742 g_ctrlCmdRequest = UsbAllocRequest(acm->ctrDevHandle, 0, acm->readSize); in UsbStdCtrlCmd() 1454 acm->readReq[i] = UsbAllocRequest(InterfaceIdToHandle(acm, acm->dataInPipe->interfaceId), 0, acm->readSize); in AcmAllocReadRequests() 1486 acm->notifyReq = UsbAllocRequest(InterfaceIdToHandle(acm, acm->intPipe->interfaceId), 0, acm->intSize); in AcmAllocNotifyRequest() 1649 snd->request = UsbAllocRequest( in AcmAllocRequests()
|
/drivers/peripheral/usb/hdi_service/src/ |
H A D | usbd_dispatcher.cpp | 278 requestSync->request = UsbAllocRequest(requestSync->ifHandle, 0, requestSync->pipe.maxPacketSize);
in UsbdRequestSyncInit() 306 requestSync->request = UsbAllocRequest(requestSync->ifHandle, 0, length);
in UsbdRequestSyncInitwithLength() 762 request->reqMsg.request = UsbAllocRequest(request->ifHandle, 0, request->pipe.maxPacketSize);
in UsbdRequestASyncInit() 1053 list->node[i].request = UsbAllocRequest(pList->ifHandle, 0, pList->pipe.maxPacketSize);
in UsbdBulkASyncReqInit()
|
H A D | usb_impl.cpp | 171 request = UsbAllocRequest(dev->ctrDevHandle, 0, MAX_CONTROL_BUFF_SIZE);
in UsbControlTransferEx()
|
/drivers/peripheral/usb/sample/host/liteos_test/src/ |
H A D | usbhost_sdkapi_speed.c | 420 snd->request = UsbAllocRequest(InterfaceIdToHandle(g_acm, g_acm->dataPipe->interfaceId), 0, g_acm->dataSize); in UsbSpeedRequestHandle()
|
/drivers/peripheral/usb/sample/host/src/ |
H A D | usbhost_sdkapi_speed.c | 385 snd->request = UsbAllocRequest(InterfaceIdToHandle(acm, acm->dataPipe->interfaceId), 0, acm->dataSize); in FillRequest()
|
/drivers/peripheral/usb/ddk/host/src/ |
H A D | usb_interface_pool.c | 1611 struct UsbRequest *UsbAllocRequest(const UsbInterfaceHandle *interfaceHandle, int32_t isoPackets, int32_t length) in UsbAllocRequest() function
|