Searched refs:dataInEp (Results 1 – 12 of 12) sorted by relevance
/drivers/peripheral/usb/test/unittest/host_sdk/ |
D | usb_raw_sdk_if_test_io.cpp | 290 … acm->dataInEp = (struct UsbEndpoint *)OsalMemAlloc(sizeof(struct UsbEndpoint)); in UsbParseConfigDescriptor() 291 if (acm->dataInEp == nullptr) { in UsbParseConfigDescriptor() 295 acm->dataInEp->addr = endPoint->endpointDescriptor.bEndpointAddress; in UsbParseConfigDescriptor() 296 acm->dataInEp->interval = endPoint->endpointDescriptor.bInterval; in UsbParseConfigDescriptor() 297 acm->dataInEp->maxPacketSize = endPoint->endpointDescriptor.wMaxPacketSize; in UsbParseConfigDescriptor() 329 g_acm->readReq[i] = UsbRawAllocRequest(g_acm->devHandle, 0, g_acm->dataInEp->maxPacketSize); in AcmRawAllocRequest() 382 uint32_t size = g_acm->dataInEp->maxPacketSize; in AcmRawFillReadReq() 385 reqData.endPoint = g_acm->dataInEp->addr; in AcmRawFillReadReq() 685 uint32_t size = g_acm->dataInEp->maxPacketSize; 688 reqData.endPoint = g_acm->dataInEp->addr; [all …]
|
D | usb_raw_sdk_if_test.cpp | 340 acm->dataInEp = (UsbEndpoint *)OsalMemAlloc(sizeof(struct UsbEndpoint)); in UsbParseConfigDescriptor() 341 if (acm->dataInEp == nullptr) { in UsbParseConfigDescriptor() 345 acm->dataInEp->addr = endPoint->endpointDescriptor.bEndpointAddress; in UsbParseConfigDescriptor() 346 acm->dataInEp->interval = endPoint->endpointDescriptor.bInterval; in UsbParseConfigDescriptor() 347 acm->dataInEp->maxPacketSize = endPoint->endpointDescriptor.wMaxPacketSize; in UsbParseConfigDescriptor() 1195 g_acm->readReq[i] = UsbRawAllocRequest(NULL, 0, g_acm->dataInEp->maxPacketSize); 1211 g_acm->readReq[i] = UsbRawAllocRequest(g_acm->devHandle, 0, g_acm->dataInEp->maxPacketSize); 1362 g_acm->readReq[i] = UsbRawAllocRequest(g_acm->devHandle, 0, g_acm->dataInEp->maxPacketSize); 1683 uint32_t size = g_acm->dataInEp->maxPacketSize; 1686 reqData.endPoint = g_acm->dataInEp->addr; [all …]
|
D | usb_raw_sdk_if_test.h | 89 struct UsbEndpoint *dataInEp; member
|
/drivers/peripheral/usb/serial/src/ |
D | usb_serial_rawapi.c | 179 acm->dataInEp = OsalMemAlloc(sizeof(struct UsbEndpoint)); in UsbGetBulkEndpoint() 180 if (acm->dataInEp == NULL) { in UsbGetBulkEndpoint() 184 acm->dataInEp->addr = endPoint->endpointDescriptor.bEndpointAddress; in UsbGetBulkEndpoint() 185 acm->dataInEp->interval = endPoint->endpointDescriptor.bInterval; in UsbGetBulkEndpoint() 186 acm->dataInEp->maxPacketSize = endPoint->endpointDescriptor.wMaxPacketSize; in UsbGetBulkEndpoint() 273 if (acm->dataInEp) { in UsbReleaseInterfaces() 274 OsalMemFree(acm->dataInEp); in UsbReleaseInterfaces() 275 acm->dataInEp = NULL; in UsbReleaseInterfaces() 854 g_syncRequest = UsbRawAllocRequest(acm->devHandle, 0, acm->dataInEp->maxPacketSize); in UsbSerialReadSync() 862 requestData.endPoint = acm->dataInEp->addr; in UsbSerialReadSync() [all …]
|
/drivers/peripheral/usb/sample/host/src/ |
D | usbhost_sdkraw_speed.c | 232 acm->dataInEp = OsalMemAlloc(sizeof(struct UsbEndpoint)); in UsbGetBulkEndpoint() 233 if (acm->dataInEp == NULL) { in UsbGetBulkEndpoint() 237 acm->dataInEp->addr = endPoint->endpointDescriptor.bEndpointAddress; in UsbGetBulkEndpoint() 238 acm->dataInEp->interval = endPoint->endpointDescriptor.bInterval; in UsbGetBulkEndpoint() 239 acm->dataInEp->maxPacketSize = endPoint->endpointDescriptor.wMaxPacketSize; in UsbGetBulkEndpoint() 632 g_acm->dataEp = (g_writeOrRead == TEST_WRITE) ? g_acm->dataOutEp : g_acm->dataInEp; in InitUsbDdk()
|
/drivers/peripheral/usb/sample/host/liteos_test/src/ |
D | usbhost_sdkraw_speed.c | 237 acm->dataInEp = OsalMemAlloc(sizeof(struct UsbEndpoint)); in UsbSpeedGetBulkEndpoint() 238 if (acm->dataInEp == NULL) { in UsbSpeedGetBulkEndpoint() 242 acm->dataInEp->addr = endPoint->endpointDescriptor.bEndpointAddress; in UsbSpeedGetBulkEndpoint() 243 acm->dataInEp->interval = endPoint->endpointDescriptor.bInterval; in UsbSpeedGetBulkEndpoint() 244 acm->dataInEp->maxPacketSize = endPoint->endpointDescriptor.wMaxPacketSize; in UsbSpeedGetBulkEndpoint() 626 g_acm->dataEp = (g_writeOrRead == TEST_WRITE) ? g_acm->dataOutEp : g_acm->dataInEp; in UsbSpeedDdkInit()
|
/drivers/peripheral/usb/sample/host/liteos_test/include/ |
D | usbhost_sdkraw_speed.h | 98 struct UsbEndpoint *dataInEp; member
|
/drivers/peripheral/usb/sample/host/include/ |
D | usbhost_sdkraw_speed.h | 103 struct UsbEndpoint *dataInEp; member
|
/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() 207 … rawAcm->readReq[i] = UsbRawAllocRequest(rawAcm->devHandle, 0, rawAcm->dataInEp.maxPacketSize); in CheckRawSdkIfAllocRequest004() 521 … rawAcm->readReq[i] = UsbRawAllocRequest(rawAcm->devHandle, 0, rawAcm->dataInEp.maxPacketSize); in CheckRawSdkIfAllocRequest009() 924 uint32_t size = rawAcm->dataInEp.maxPacketSize; in CheckRawSdkIfFillBulkRequest002() 926 reqData.endPoint = rawAcm->dataInEp.addr; in CheckRawSdkIfFillBulkRequest002() 1451 uint32_t size = rawAcm->dataInEp.maxPacketSize; in CheckRawSdkIfSendBulkRequest002() 1453 reqData.endPoint = rawAcm->dataInEp.addr; in CheckRawSdkIfSendBulkRequest002() 1471 uint32_t size = rawAcm->dataInEp.maxPacketSize; in CheckRawSdkIfSendBulkRequest003() 1473 reqData.endPoint = rawAcm->dataInEp.addr; in CheckRawSdkIfSendBulkRequest003() 1491 uint32_t size = rawAcm->dataInEp.maxPacketSize; in CheckRawSdkIfSendBulkRequest004() [all …]
|
D | usb_raw_io.c | 291 acm->dataInEp.addr = endPoint->endpointDescriptor.bEndpointAddress; in AcmParaseInterfaceClass() 292 acm->dataInEp.interval = endPoint->endpointDescriptor.bInterval; in AcmParaseInterfaceClass() 293 acm->dataInEp.maxPacketSize = endPoint->endpointDescriptor.wMaxPacketSize; in AcmParaseInterfaceClass()
|
/drivers/peripheral/usb/serial/include/ |
D | usb_serial_rawapi.h | 113 struct UsbEndpoint *dataInEp; member
|
/drivers/hdf_core/framework/test/unittest/model/usb/host/include/ |
D | usb_raw_test.h | 222 struct UsbEndpoint dataInEp; member
|