Home
last modified time | relevance | path

Searched refs:dataOutEp (Results 1 - 15 of 15) sorted by relevance

/drivers/peripheral/usb/serial/src/
H A Dusb_serial_rawapi.c190 acm->dataOutEp = OsalMemAlloc(sizeof(struct UsbEndpoint)); in UsbGetBulkEndpoint()
191 if (acm->dataOutEp == NULL) { in UsbGetBulkEndpoint()
192 HDF_LOGE("%{public}s:%{public}d allocate dataOutEp failed", __func__, __LINE__); in UsbGetBulkEndpoint()
195 acm->dataOutEp->addr = endPoint->endpointDescriptor.bEndpointAddress; in UsbGetBulkEndpoint()
196 acm->dataOutEp->interval = endPoint->endpointDescriptor.bInterval; in UsbGetBulkEndpoint()
197 acm->dataOutEp->maxPacketSize = endPoint->endpointDescriptor.wMaxPacketSize; in UsbGetBulkEndpoint()
278 if (acm->dataOutEp) { in UsbReleaseInterfaces()
279 OsalMemFree(acm->dataOutEp); in UsbReleaseInterfaces()
280 acm->dataOutEp = NULL; in UsbReleaseInterfaces()
290 snd->request = UsbRawAllocRequest(acm->devHandle, 0, acm->dataOutEp in UsbAllocWriteRequests()
[all...]
/drivers/peripheral/usb/test/unittest/host_sdk/
H A Dusb_raw_sdk_if_test_io.cpp234 wb->buf = (uint8_t *)OsalMemCalloc(acm->dataOutEp->maxPacketSize); in AcmWriteBufAlloc()
299 acm->dataOutEp = (struct UsbEndpoint *)OsalMemAlloc(sizeof(struct UsbEndpoint)); in UsbParseConfigDescriptor()
300 if (acm->dataOutEp == nullptr) { in UsbParseConfigDescriptor()
301 HDF_LOGE("%{public}s:%{public}d allocate dataOutEp failed", __func__, __LINE__); in UsbParseConfigDescriptor()
304 acm->dataOutEp->addr = endPoint->endpointDescriptor.bEndpointAddress; in UsbParseConfigDescriptor()
305 acm->dataOutEp->interval = endPoint->endpointDescriptor.bInterval; in UsbParseConfigDescriptor()
306 acm->dataOutEp->maxPacketSize = endPoint->endpointDescriptor.wMaxPacketSize; in UsbParseConfigDescriptor()
324 g_acm->wb[i].request = UsbRawAllocRequest(g_acm->devHandle, 0, g_acm->dataOutEp->maxPacketSize); in AcmRawAllocRequest()
350 size = (size > g_acm->dataOutEp->maxPacketSize) ? g_acm->dataOutEp in AcmRawFillWriteReq()
[all...]
H A Dusb_raw_sdk_if_test.cpp288 wb->buf = (uint8_t *)OsalMemCalloc(acm->dataOutEp->maxPacketSize); in AcmWriteBufAlloc()
349 acm->dataOutEp = (UsbEndpoint *)OsalMemAlloc(sizeof(struct UsbEndpoint)); in UsbParseConfigDescriptor()
350 if (acm->dataOutEp == nullptr) { in UsbParseConfigDescriptor()
351 printf("%s:%d allocate dataOutEp failed\n", __func__, __LINE__); in UsbParseConfigDescriptor()
354 acm->dataOutEp->addr = endPoint->endpointDescriptor.bEndpointAddress; in UsbParseConfigDescriptor()
355 acm->dataOutEp->interval = endPoint->endpointDescriptor.bInterval; in UsbParseConfigDescriptor()
356 acm->dataOutEp->maxPacketSize = endPoint->endpointDescriptor.wMaxPacketSize; in UsbParseConfigDescriptor()
1156 g_acm->wb[i].request = UsbRawAllocRequest(NULL, 0, g_acm->dataOutEp->maxPacketSize); in HWTEST_F()
1177 g_acm->wb[i].request = UsbRawAllocRequest(g_acm->devHandle, 0, g_acm->dataOutEp->maxPacketSize); in HWTEST_F()
1356 g_acm->wb[i].request = UsbRawAllocRequest(g_acm->devHandle, 0, g_acm->dataOutEp in HWTEST_F()
[all...]
H A Dusb_raw_sdk_if_test.h90 struct UsbEndpoint *dataOutEp; member
/drivers/peripheral/usb/net/src/
H A Dusb_net_host.c169 (usbNet->dataOutEp == NULL) || in UsbnetHostStartWb()
179 reqData.endPoint = usbNet->dataOutEp->addr; in UsbnetHostStartWb()
271 HARCH_INFO_PRINT("buf size = %{public}d, usbNet->dataOutEp->maxPacketSize = %{public}d", in UsbnetHostSnedbufToUrb()
272 bufSize, usbNet->dataOutEp->maxPacketSize); in UsbnetHostSnedbufToUrb()
276 if (usbNet->dataOutEp != NULL) { in UsbnetHostSnedbufToUrb()
277 size = (size > usbNet->dataOutEp->maxPacketSize) ? usbNet->dataOutEp->maxPacketSize : size; in UsbnetHostSnedbufToUrb()
278 if (memcpy_s(wb->buf, usbNet->dataOutEp->maxPacketSize, buf, size) != EOK) { in UsbnetHostSnedbufToUrb()
298 wb->buf = OsalMemCalloc(usbNet->dataOutEp->maxPacketSize); in UsbnetHostWriteBufAlloc()
317 snd->request = UsbRawAllocRequest(usbNet->devHandle, 0, usbNet->dataOutEp in UsbnetHostAllocWriteRequests()
[all...]
H A Drndis_rawapi.c89 (*ppUsbNet)->dataOutEp = OsalMemAlloc(sizeof(struct UsbEndpoint)); in UsbGetBulkEndpoint()
90 if ((*ppUsbNet)->dataOutEp == NULL) { in UsbGetBulkEndpoint()
91 HDF_LOGE("%{public}s:%{public}d allocate dataOutEp failed", __func__, __LINE__); in UsbGetBulkEndpoint()
94 (*ppUsbNet)->dataOutEp->addr = endPoint->endpointDescriptor.bEndpointAddress; in UsbGetBulkEndpoint()
95 (*ppUsbNet)->dataOutEp->interval = endPoint->endpointDescriptor.bInterval; in UsbGetBulkEndpoint()
96 (*ppUsbNet)->dataOutEp->maxPacketSize = endPoint->endpointDescriptor.wMaxPacketSize; in UsbGetBulkEndpoint()
97 HARCH_INFO_PRINT("usbNet->dataOutEp=[addr:%{public}#x, interval:%{public}d, maxPacketSize:%{public}hu]", in UsbGetBulkEndpoint()
98 (*ppUsbNet)->dataOutEp->addr, (*ppUsbNet)->dataOutEp->interval, (*ppUsbNet)->dataOutEp in UsbGetBulkEndpoint()
[all...]
/drivers/peripheral/usb/sample/host/src/
H A Dusbhost_sdkraw_speed.c242 acm->dataOutEp = OsalMemAlloc(sizeof(struct UsbEndpoint)); in UsbGetBulkEndpoint()
243 if (acm->dataOutEp == NULL) { in UsbGetBulkEndpoint()
244 HDF_LOGE("%{public}s:%{public}d allocate dataOutEp failed", __func__, __LINE__); in UsbGetBulkEndpoint()
247 acm->dataOutEp->addr = endPoint->endpointDescriptor.bEndpointAddress; in UsbGetBulkEndpoint()
248 acm->dataOutEp->interval = endPoint->endpointDescriptor.bInterval; in UsbGetBulkEndpoint()
249 acm->dataOutEp->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/
H A Dusbhost_sdkraw_speed.c247 acm->dataOutEp = OsalMemAlloc(sizeof(struct UsbEndpoint)); in UsbSpeedGetBulkEndpoint()
248 if (acm->dataOutEp == NULL) { in UsbSpeedGetBulkEndpoint()
249 HDF_LOGE("%{public}s:%{public}d allocate dataOutEp failed", __func__, __LINE__); in UsbSpeedGetBulkEndpoint()
252 acm->dataOutEp->addr = endPoint->endpointDescriptor.bEndpointAddress; in UsbSpeedGetBulkEndpoint()
253 acm->dataOutEp->interval = endPoint->endpointDescriptor.bInterval; in UsbSpeedGetBulkEndpoint()
254 acm->dataOutEp->maxPacketSize = endPoint->endpointDescriptor.wMaxPacketSize; in UsbSpeedGetBulkEndpoint()
626 g_acm->dataEp = (g_writeOrRead == TEST_WRITE) ? g_acm->dataOutEp : g_acm->dataInEp; in UsbSpeedDdkInit()
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/
H A Dusb_raw_test.c149 rawAcm->wb[i].request = UsbRawAllocRequest(NULL, 0, rawAcm->dataOutEp.maxPacketSize); in CheckRawSdkIfAllocRequest001()
173 rawAcm->wb[i].request = UsbRawAllocRequest(rawAcm->devHandle, 0, rawAcm->dataOutEp.maxPacketSize); in CheckRawSdkIfAllocRequest002()
512 rawAcm->wb[i].request = UsbRawAllocRequest(rawAcm->devHandle, 0, rawAcm->dataOutEp.maxPacketSize); in CheckRawSdkIfAllocRequest009()
895 size = (size > rawAcm->dataOutEp.maxPacketSize) ? rawAcm->dataOutEp.maxPacketSize : size; in CheckRawSdkIfFillBulkRequest001()
898 int32_t ret = memcpy_s(snd->buf, rawAcm->dataOutEp.maxPacketSize, sendData, size); in CheckRawSdkIfFillBulkRequest001()
904 reqData.endPoint = rawAcm->dataOutEp.addr; in CheckRawSdkIfFillBulkRequest001()
911 printf("maxPacketSize:%d\n", rawAcm->dataOutEp.maxPacketSize); in CheckRawSdkIfFillBulkRequest001()
1415 size = (size > rawAcm->dataOutEp.maxPacketSize) ? rawAcm->dataOutEp in CheckRawSdkIfSendBulkRequest001()
[all...]
H A Dusb_raw_io.c219 wb->buf = OsalMemCalloc(acm->dataOutEp.maxPacketSize); in AcmWriteBufAllocHandle()
295 acm->dataOutEp.addr = endPoint->endpointDescriptor.bEndpointAddress; in AcmParaseInterfaceClass()
296 acm->dataOutEp.interval = endPoint->endpointDescriptor.bInterval; in AcmParaseInterfaceClass()
297 acm->dataOutEp.maxPacketSize = endPoint->endpointDescriptor.wMaxPacketSize; in AcmParaseInterfaceClass()
/drivers/peripheral/usb/sample/host/include/
H A Dusbhost_sdkraw_speed.h104 struct UsbEndpoint *dataOutEp; member
/drivers/peripheral/usb/sample/host/liteos_test/include/
H A Dusbhost_sdkraw_speed.h99 struct UsbEndpoint *dataOutEp; member
/drivers/peripheral/usb/serial/include/
H A Dusb_serial_rawapi.h114 struct UsbEndpoint *dataOutEp; member
/drivers/peripheral/usb/net/include/
H A Dusb_net_host.h95 struct UsbEndpoint *dataOutEp; member
/drivers/hdf_core/framework/test/unittest/model/usb/host/include/
H A Dusb_raw_test.h223 struct UsbEndpoint dataOutEp; member

Completed in 15 milliseconds