/drivers/peripheral/usb/test/unittest/host_sdk/ |
D | usb_host_sdk_if_test_io.cpp | 188 g_acm->readReq[i] = UsbAllocRequest(g_acm->data_devHandle, 0, g_acm->readSize); in AcmGetRequest() 189 EXPECT_NE(nullptr, g_acm->readReq[i]); in AcmGetRequest() 228 ret = UsbFillRequest(g_acm->readReq[i], g_acm->data_devHandle, &readParmas); in AcmFillReadRequest() 372 ret = UsbSubmitRequestSync(g_acm->readReq[i]); 439 ret = UsbSubmitRequestAsync(g_acm->readReq[i]); 455 ret = UsbCancelRequest(g_acm->readReq[i]); 530 ret = UsbSubmitRequestAsync(g_acm->readReq[0]); 545 ret = UsbSubmitRequestAsync(g_acm->readReq[0]);
|
D | usb_raw_sdk_if_test_io.cpp | 329 g_acm->readReq[i] = UsbRawAllocRequest(g_acm->devHandle, 0, g_acm->dataInEp->maxPacketSize); in AcmRawAllocRequest() 330 EXPECT_NE(nullptr, g_acm->readReq[i]); in AcmRawAllocRequest() 392 ret = UsbRawFillBulkRequest(g_acm->readReq[i], g_acm->devHandle, &reqData); in AcmRawFillReadReq() 691 reqData.data = ((UsbRawRequest *)g_acm->readReq[i])->buffer; 697 ret = UsbRawSendBulkRequest(g_acm->readReq[i], g_acm->devHandle, &reqData); 719 reqData.data = ((UsbRawRequest *)g_acm->readReq[i])->buffer; 747 reqData.data = ((UsbRawRequest *)g_acm->readReq[i])->buffer; 753 ret = UsbRawSendBulkRequest(g_acm->readReq[i], NULL, &reqData); 771 ret = UsbRawSendBulkRequest(g_acm->readReq[i], g_acm->devHandle, NULL); 917 ret = UsbRawFillBulkRequest(g_acm->readReq[i], g_acm->devHandle, &reqData); [all …]
|
D | usb_host_sdk_if_test.h | 94 struct UsbRequest *readReq[ACM_NR]; member
|
D | usb_raw_sdk_if_test.cpp | 1195 g_acm->readReq[i] = UsbRawAllocRequest(NULL, 0, g_acm->dataInEp->maxPacketSize); 1196 EXPECT_EQ(nullptr, g_acm->readReq[i]); 1211 g_acm->readReq[i] = UsbRawAllocRequest(g_acm->devHandle, 0, g_acm->dataInEp->maxPacketSize); 1212 …((struct UsbHostRequest *)(g_acm->readReq[i]))->devHandle = (struct UsbDeviceHandle *)g_acm->devHa… 1213 EXPECT_NE(nullptr, g_acm->readReq[i]); 1298 ret = UsbRawFreeRequest(g_acm->readReq[i]); 1362 g_acm->readReq[i] = UsbRawAllocRequest(g_acm->devHandle, 0, g_acm->dataInEp->maxPacketSize); 1363 EXPECT_NE(nullptr, g_acm->readReq[i]); 1693 ret = UsbRawFillBulkRequest(g_acm->readReq[i], g_acm->devHandle, &reqData); 2065 ret = UsbRawFillBulkRequest(g_acm->readReq[i], g_acm->devHandle, &reqData);
|
D | usb_raw_sdk_if_test.h | 97 struct UsbRawRequest *readReq[ACM_NR]; member
|
D | usb_host_sdk_if_test.cpp | 1076 g_acm->readReq[i] = UsbAllocRequest(NULL, 0, g_acm->readSize); 1077 EXPECT_EQ(nullptr, g_acm->readReq[i]); 1094 g_acm->readReq[i] = UsbAllocRequest(g_acm->data_devHandle, 0, g_acm->readSize); 1095 EXPECT_NE(nullptr, g_acm->readReq[i]); 1111 ret = UsbFreeRequest(g_acm->readReq[i]); 1283 g_acm->readReq[i] = UsbAllocRequest(g_acm->data_devHandle, 0, g_acm->readSize); 1284 EXPECT_NE(nullptr, g_acm->readReq[i]); 1337 ret = UsbFillRequest(g_acm->readReq[i], g_acm->data_devHandle, &readParmas); 1467 ret = UsbFillRequest(g_acm->readReq[i], g_acm->data_devHandle, &readParmas);
|
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/ |
D | usb_raw_test.c | 191 rawAcm->readReq[i] = UsbRawAllocRequest(NULL, 0, rawAcm->dataInEp.maxPacketSize); in CheckRawSdkIfAllocRequest003() 192 if (rawAcm->readReq[i]) { in CheckRawSdkIfAllocRequest003() 207 … rawAcm->readReq[i] = UsbRawAllocRequest(rawAcm->devHandle, 0, rawAcm->dataInEp.maxPacketSize); in CheckRawSdkIfAllocRequest004() 208 if (rawAcm->readReq[i] == NULL) { in CheckRawSdkIfAllocRequest004() 212 …((struct UsbHostRequest *)(rawAcm->readReq[i]))->devHandle = (struct UsbDeviceHandle *)rawAcm->dev… in CheckRawSdkIfAllocRequest004() 449 int32_t ret = UsbRawFreeRequest(rawAcm->readReq[i]); in CheckRawSdkIfFreeRequest002() 454 rawAcm->readReq[i] = NULL; in CheckRawSdkIfFreeRequest002() 521 … rawAcm->readReq[i] = UsbRawAllocRequest(rawAcm->devHandle, 0, rawAcm->dataInEp.maxPacketSize); in CheckRawSdkIfAllocRequest009() 522 if (rawAcm->readReq[i] == NULL) { in CheckRawSdkIfAllocRequest009() 933 int32_t ret = UsbRawFillBulkRequest(rawAcm->readReq[0], rawAcm->devHandle, &reqData); in CheckRawSdkIfFillBulkRequest002() [all …]
|
D | usb_test.c | 833 g_acm->readReq[i] = UsbAllocRequest(NULL, 0, g_acm->readSize); in CheckHostSdkIfAllocRequest001() 834 if (g_acm->readReq[i] == NULL) { in CheckHostSdkIfAllocRequest001() 847 g_acm->readReq[i] = UsbAllocRequest(g_acm->data_devHandle, 0, g_acm->readSize); in CheckHostSdkIfAllocRequest002() 848 if (g_acm->readReq[i] == NULL) { in CheckHostSdkIfAllocRequest002() 859 int32_t ret = UsbFreeRequest(g_acm->readReq[i]); in CheckHostSdkIfFreeRequest001() 864 g_acm->readReq[i] = NULL; in CheckHostSdkIfFreeRequest001() 1173 g_acm->readReq[i] = UsbAllocRequest(g_acm->data_devHandle, 0, g_acm->readSize); in CheckHostSdkIfAllocRequest009() 1174 if (g_acm->readReq[i] == NULL) { in CheckHostSdkIfAllocRequest009() 1223 int32_t ret = UsbFillRequest(g_acm->readReq[0], g_acm->data_devHandle, &readParmas); in CheckHostSdkIfFillRequest001() 1321 int32_t ret = UsbSubmitRequestSync(g_acm->readReq[0]); in CheckHostSdkIfSubmitRequestSync001() [all …]
|
/drivers/peripheral/usb/sample/host/liteos_test/include/ |
D | usbhost_sdkraw_speed.h | 106 struct UsbRawRequest *readReq[ACM_NR]; member
|
D | usbhost_sdkapi_speed.h | 106 struct UsbRequest *readReq[ACM_NR]; member
|
D | usbhost_nosdk_speed.h | 103 struct UsbRequest *readReq[ACM_NR]; member
|
/drivers/peripheral/usb/sample/host/include/ |
D | usbhost_sdkraw_speed.h | 111 struct UsbRawRequest *readReq[ACM_NR]; member
|
D | usbhost_sdkapi_speed.h | 109 struct UsbRequest *readReq[ACM_NR]; member
|
/drivers/peripheral/usb/net/include/ |
D | cdc_ether.h | 98 struct UsbRequest *readReq[ECM_NR]; member
|
/drivers/peripheral/usb/serial/include/ |
D | usb_serial_rawapi.h | 121 struct UsbRawRequest *readReq[ACM_NR]; member
|
D | usb_serial.h | 113 struct UsbRequest *readReq[ACM_NR]; member
|
/drivers/peripheral/usb/serial/src/ |
D | usb_serial_rawapi.c | 545 if (acm->readReq[i]->status != USB_REQUEST_COMPLETED) { in UsbSerialRead() 546 HDF_LOGE("%s:%d i=%d status=%d!", __func__, __LINE__, i, acm->readReq[i]->status); in UsbSerialRead() 669 ret = UsbRawSubmitRequest(acm->readReq[i]); in SerialOpen() 1154 acm->readReq[i] = UsbRawAllocRequest(acm->devHandle, 0, size); in UsbAllocReadRequests() 1155 if (!acm->readReq[i]) { in UsbAllocReadRequests() 1167 int32_t ret = UsbRawFillBulkRequest(acm->readReq[i], acm->devHandle, &reqData); in UsbAllocReadRequests() 1187 if (acm->readReq[i]) { in UsbFreeReadRequests() 1188 UsbRawFreeRequest(acm->readReq[i]); in UsbFreeReadRequests() 1189 acm->readReq[i] = NULL; in UsbFreeReadRequests()
|
D | usb_serial.c | 570 if (acm->readReq[i]->compInfo.status != USB_REQUEST_COMPLETED) { in UsbSerialRead() 571 … HDF_LOGE("%s:%d i=%d status=%d!", __func__, __LINE__, i, acm->readReq[i]->compInfo.status); in UsbSerialRead() 906 ret = UsbSubmitRequestAsync(acm->readReq[i]); in SerialOpen() 1397 int32_t ret = UsbCancelRequest(acm->readReq[i]); in AcmFreeReadRequests() 1403 if (acm->readReq[i]) { in AcmFreeReadRequests() 1404 UsbFreeRequest(acm->readReq[i]); in AcmFreeReadRequests() 1405 acm->readReq[i] = NULL; in AcmFreeReadRequests() 1435 …acm->readReq[i] = UsbAllocRequest(InterfaceIdToHandle(acm, acm->dataInPipe->interfaceId), 0, acm->… in AcmAllocReadRequests() 1436 if (!acm->readReq[i]) { in AcmAllocReadRequests() 1450 …ret = UsbFillRequest(acm->readReq[i], InterfaceIdToHandle(acm, acm->dataInPipe->interfaceId), &rea… in AcmAllocReadRequests()
|
/drivers/peripheral/usb/net/src/ |
D | cdc_ether.c | 280 if (ecm->readReq[i]->compInfo.status != USB_REQUEST_COMPLETED) { in EcmRead() 281 … HDF_LOGE("%s:%d i=%d status=%d!", __func__, __LINE__, i, ecm->readReq[i]->compInfo.status); in EcmRead() 352 ret = UsbSubmitRequestAsync(ecm->readReq[i]); in EcmOpen() 378 ret = UsbCancelRequest(ecm->readReq[i]); in EcmClostRelease() 899 …ecm->readReq[i] = UsbAllocRequest(InterfaceIdToHandle(ecm, ecm->dataInPipe->interfaceId), 0, ecm->… in EcmAllocReadReq() 900 if (!ecm->readReq[i]) { in EcmAllocReadReq() 915 …UsbFillRequest(ecm->readReq[i], InterfaceIdToHandle(ecm, ecm->dataInPipe->interfaceId), &readParma… in EcmAllocReadReq() 927 ret = UsbFreeRequest(ecm->readReq[i]); in EcmFreeReadReq()
|
/drivers/hdf_core/framework/test/unittest/model/usb/host/include/ |
D | usb_test.h | 177 struct UsbRequest *readReq[ACM_NR]; member
|
D | usb_raw_test.h | 231 struct UsbRawRequest *readReq[ACM_NR]; member
|