Home
last modified time | relevance | path

Searched refs:dataInEp (Results 1 – 12 of 12) sorted by relevance

/drivers/peripheral/usb/test/unittest/host_sdk/
Dusb_raw_sdk_if_test_io.cpp290 … 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 …]
Dusb_raw_sdk_if_test.cpp340 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 …]
Dusb_raw_sdk_if_test.h89 struct UsbEndpoint *dataInEp; member
/drivers/peripheral/usb/serial/src/
Dusb_serial_rawapi.c179 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/
Dusbhost_sdkraw_speed.c232 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/
Dusbhost_sdkraw_speed.c237 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/
Dusbhost_sdkraw_speed.h98 struct UsbEndpoint *dataInEp; member
/drivers/peripheral/usb/sample/host/include/
Dusbhost_sdkraw_speed.h103 struct UsbEndpoint *dataInEp; member
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/
Dusb_raw_test.c191 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 …]
Dusb_raw_io.c291 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/
Dusb_serial_rawapi.h113 struct UsbEndpoint *dataInEp; member
/drivers/hdf_core/framework/test/unittest/model/usb/host/include/
Dusb_raw_test.h222 struct UsbEndpoint dataInEp; member