Home
last modified time | relevance | path

Searched refs:pipeDirection (Results 1 – 13 of 13) sorted by relevance

/drivers/peripheral/usb/sample/host/src/
Dusbhost_sdkapi_speed.c210 …truct AcmDevice *acm, uint8_t interfaceIndex, UsbPipeType pipeType, UsbPipeDirection pipeDirection) in EnumePipe() argument
228 if ((p.pipeDirection == pipeDirection) && (p.pipeType == pipeType)) { in EnumePipe()
242 …ipeInfo *GetPipe(const struct AcmDevice *acm, UsbPipeType pipeType, UsbPipeDirection pipeDirection) in GetPipe() argument
254 p = EnumePipe(acm, i, pipeType, pipeDirection); in GetPipe()
402 parmas.dataReq.directon = (acm->dataPipe->pipeDirection >> USB_PIPE_DIR_OFFSET) & 0x1; in FillRequest()
/drivers/peripheral/usb/sample/host/liteos_test/src/
Dusbhost_sdkapi_speed.c221 …truct AcmDevice *acm, uint8_t interfaceIndex, UsbPipeType pipeType, UsbPipeDirection pipeDirection) in EnumePipe() argument
239 if ((p.pipeDirection == pipeDirection) && (p.pipeType == pipeType)) { in EnumePipe()
253 …ipeInfo *GetPipe(const struct AcmDevice *acm, UsbPipeType pipeType, UsbPipeDirection pipeDirection) in GetPipe() argument
265 p = EnumePipe(acm, i, pipeType, pipeDirection); in GetPipe()
436 …parmas.dataReq.directon = (((uint8_t)g_acm->dataPipe->pipeDirection) >> USB_PIPE_DIR_OFFSET) & 0x1; in UsbSpeedRequestHandle()
/drivers/peripheral/usb/test/unittest/host_sdk/
Dusb_host_sdk_if_test_io.cpp139 if ((p.pipeDirection == USB_PIPE_DIRECTION_IN) && (p.pipeType == USB_PIPE_TYPE_BULK)) { in AcmGetPipe()
146 if ((p.pipeDirection == USB_PIPE_DIRECTION_OUT) && (p.pipeType == USB_PIPE_TYPE_BULK)) { in AcmGetPipe()
159 if ((p.pipeDirection == USB_PIPE_DIRECTION_IN) && (p.pipeType == USB_PIPE_TYPE_INTERRUPT)) { in AcmGetPipe()
173 if ((p.pipeDirection == USB_PIPE_DIRECTION_OUT) && (p.pipeType == USB_PIPE_TYPE_CONTROL)) { in AcmGetPipe()
225 …readParmas.dataReq.directon = (UsbRequestDirection)((g_acm->dataInPipe->pipeDirection >> USB_DIR_O… in AcmFillReadRequest()
283 …intParmas.dataReq.directon = (UsbRequestDirection)((g_acm->intPipe->pipeDirection >> USB_PIPE_DIR_… in AcmFillIntRequest()
Dusb_host_sdk_if_test.cpp804 if ((p.pipeDirection == USB_PIPE_DIRECTION_IN) && (p.pipeType == USB_PIPE_TYPE_BULK)) {
833 if ((p.pipeDirection == USB_PIPE_DIRECTION_IN) && (p.pipeType == USB_PIPE_TYPE_BULK)) {
862 if ((p.pipeDirection == USB_PIPE_DIRECTION_OUT) && (p.pipeType == USB_PIPE_TYPE_BULK)) {
891 if ((p.pipeDirection == USB_PIPE_DIRECTION_OUT) && (p.pipeType == USB_PIPE_TYPE_BULK)) {
920 if ((p.pipeDirection == USB_PIPE_DIRECTION_IN) && (p.pipeType == USB_PIPE_TYPE_INTERRUPT)) {
948 if ((p.pipeDirection == USB_PIPE_DIRECTION_IN) && (p.pipeType == USB_PIPE_TYPE_INTERRUPT)) {
978 if ((p.pipeDirection == USB_PIPE_DIRECTION_OUT) && (p.pipeType == USB_PIPE_TYPE_CONTROL)) {
1008 if ((p.pipeDirection == USB_PIPE_DIRECTION_OUT) && (p.pipeType == USB_PIPE_TYPE_CONTROL)) {
1335 …readParmas.dataReq.directon = (UsbRequestDirection)((g_acm->dataInPipe->pipeDirection >> USB_DIR_O…
1401 … (UsbRequestDirection)((g_acm->intPipe->pipeDirection >> USB_PIPE_DIR_OFFSET) & DIRECTION_MASK);
[all …]
/drivers/peripheral/usb/ddk/host/include/
Dusb_interface_pool.h88 UsbPipeDirection pipeDirection; member
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/
Dusb_test.c609 if ((p.pipeDirection == USB_PIPE_DIRECTION_IN) && (p.pipeType == USB_PIPE_TYPE_BULK)) { in CheckHostSdkIfGetPipe001()
639 if ((p.pipeDirection == USB_PIPE_DIRECTION_IN) && (p.pipeType == USB_PIPE_TYPE_BULK)) { in CheckHostSdkIfGetPipe002()
666 if ((p.pipeDirection == USB_PIPE_DIRECTION_OUT) && (p.pipeType == USB_PIPE_TYPE_BULK)) { in CheckHostSdkIfGetPipe003()
696 if ((p.pipeDirection == USB_PIPE_DIRECTION_OUT) && (p.pipeType == USB_PIPE_TYPE_BULK)) { in CheckHostSdkIfGetPipe004()
723 if ((p.pipeDirection == USB_PIPE_DIRECTION_IN) && (p.pipeType == USB_PIPE_TYPE_INTERRUPT)) { in CheckHostSdkIfGetPipe005()
752 if ((p.pipeDirection == USB_PIPE_DIRECTION_IN) && (p.pipeType == USB_PIPE_TYPE_INTERRUPT)) { in CheckHostSdkIfGetPipe006()
780 if ((p.pipeDirection == USB_PIPE_DIRECTION_OUT) && (p.pipeType == USB_PIPE_TYPE_CONTROL)) { in CheckHostSdkIfGetPipe007()
810 if ((p.pipeDirection == USB_PIPE_DIRECTION_OUT) && (p.pipeType == USB_PIPE_TYPE_CONTROL)) { in CheckHostSdkIfGetPipe008()
1221 …(UsbRequestDirection)(((uint32_t)g_acm->dataInPipe->pipeDirection >> USB_DIR_OFFSET) & DIRECTION_M… in CheckHostSdkIfFillRequest001()
1276 …(UsbRequestDirection)(((uint32_t)g_acm->intPipe->pipeDirection >> USB_PIPE_DIR_OFFSET) & DIRECTION… in CheckHostSdkIfFillRequest003()
[all …]
/drivers/peripheral/usb/hdi_service/src/
Dusbd_dispatcher.cpp138 …if (ret == HDF_SUCCESS && ((pipeTmp.pipeAddress | static_cast<uint8_t>(pipeTmp.pipeDirection)) == … in GetInterfacePipe()
217 …ipe.interfaceId == interfaceId && ((req->pipe.pipeAddress | req->pipe.pipeDirection) == pipeAddr))… in UsbdFindRequestSync()
253 params->pipeAddress = pipe->pipeDirection | pipe->pipeAddress; in UsbRequestParamsWSyncInit()
258 …params->dataReq.directon = static_cast<UsbRequestDirection>((pipe->pipeDirection >> USB_DIR_OFFSET… in UsbRequestParamsWSyncInit()
685 bool bWrite = (pipe->pipeDirection == USB_PIPE_DIRECTION_OUT); in FillReqAyncParams()
687 params->pipeAddress = pipe->pipeDirection | pipe->pipeAddress; in FillReqAyncParams()
694 …params->dataReq.directon = static_cast<UsbRequestDirection>((pipe->pipeDirection >> USB_PIPE_DIR_O… in FillReqAyncParams()
1404 params->pipeAddress = pipe->pipeDirection | pipe->pipeAddress; in UsbdBulkASyncReqFillParams()
1409 …params->dataReq.directon = static_cast<UsbRequestDirection>((pipe->pipeDirection >> USB_PIPE_DIR_O… in UsbdBulkASyncReqFillParams()
1412 if (pipe->pipeDirection == USB_PIPE_DIRECTION_OUT) { in UsbdBulkASyncReqFillParams()
Dusb_impl.cpp495 …ipe.interfaceId == interfaceId && ((req->pipe.pipeAddress | req->pipe.pipeDirection) == pipeAddr))… in UsbdFindRequestASync()
1271 …if (requestSync->pipe.pipeDirection != USB_PIPE_DIRECTION_IN || requestSync->pipe.pipeType != USB_… in BulkTransferRead()
1302 …if (requestSync->pipe.pipeDirection != USB_PIPE_DIRECTION_OUT || requestSync->pipe.pipeType != USB… in BulkTransferWrite()
1406 …if (requestSync->pipe.pipeDirection != USB_PIPE_DIRECTION_IN || requestSync->pipe.pipeType != USB_… in InterruptTransferRead()
1437 …if (requestSync->pipe.pipeDirection != USB_PIPE_DIRECTION_OUT || requestSync->pipe.pipeType != USB… in InterruptTransferWrite()
1463 …if (requestSync->pipe.pipeDirection != USB_PIPE_DIRECTION_IN || requestSync->pipe.pipeType != USB_… in IsoTransferRead()
1496 …if (requestSync->pipe.pipeDirection != USB_PIPE_DIRECTION_OUT || requestSync->pipe.pipeType != USB… in IsoTransferWrite()
/drivers/peripheral/usb/net/src/
Dcdc_ether.c587 …truct EcmDevice *ecm, uint8_t interfaceIndex, UsbPipeType pipeType, UsbPipeDirection pipeDirection) in EcmEnumePipe() argument
605 if ((p.pipeDirection == pipeDirection) && (p.pipeType == pipeType)) { in EcmEnumePipe()
619 …sbPipeInfo *EcmGetPipe(struct EcmDevice *ecm, UsbPipeType pipeType, UsbPipeDirection pipeDirection) in EcmGetPipe() argument
631 p = EcmEnumePipe(ecm, i, pipeType, pipeDirection); in EcmGetPipe()
885 … intParmas.dataReq.directon = (((uint32_t)(ecm->intPipe->pipeDirection)) >> USB_DIR_OFFSET) & 0x1; in EcmAllocIntReq()
912 …readParmas.dataReq.directon = (((uint32_t)(ecm->dataInPipe->pipeDirection)) >> USB_DIR_OFFSET) & 0… in EcmAllocReadReq()
/drivers/peripheral/usb/ddk/host/src/
Dusb_protocol.c83 pipe->info.pipeDirection = USB_PIPE_DIRECTION_OUT; in CreateCtrPipe()
124 pipe->info.pipeDirection = ep->endpointDescriptor.bEndpointAddress & USB_DDK_ENDPOINT_DIR_MASK; in UsbPipeInit()
Dusb_interface_pool.c259 if (pipePos->info.pipeDirection == queryPara.pipeDirection) { in IfFindPipeObj()
/drivers/peripheral/usb/interfaces/ddk/host/
Dusb_ddk_interface.h136 UsbPipeDirection pipeDirection; member
/drivers/peripheral/usb/serial/src/
Dusb_serial.c686 …readParmas.dataReq.directon = (((uint8_t)acm->dataInPipe->pipeDirection) >> USB_DIR_OFFSET) & DIRE… in UsbSerialReadSync()
1131 …truct AcmDevice *acm, uint8_t interfaceIndex, UsbPipeType pipeType, UsbPipeDirection pipeDirection) in EnumePipe() argument
1149 if ((p.pipeDirection == pipeDirection) && (p.pipeType == pipeType)) { in EnumePipe()
1163 …ipeInfo *GetPipe(const struct AcmDevice *acm, UsbPipeType pipeType, UsbPipeDirection pipeDirection) in GetPipe() argument
1175 p = EnumePipe(acm, i, pipeType, pipeDirection); in GetPipe()
1448 …readParmas.dataReq.directon = (((uint8_t)acm->dataInPipe->pipeDirection) >> USB_PIPE_DIR_OFFSET) &… in AcmAllocReadRequests()
1480 …intParmas.dataReq.directon = (((uint8_t)acm->intPipe->pipeDirection) >> USB_PIPE_DIR_OFFSET) & DIR… in AcmAllocNotifyRequest()