Home
last modified time | relevance | path

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

/drivers/peripheral/usb/sample/host/src/
Dusbhost_sdkapi_speed.c210 …const struct AcmDevice *acm, uint8_t interfaceIndex, UsbPipeType pipeType, UsbPipeDirection pipeDi… in EnumePipe() argument
214 if (USB_PIPE_TYPE_CONTROL == pipeType) { in EnumePipe()
228 if ((p.pipeDirection == pipeDirection) && (p.pipeType == pipeType)) { in EnumePipe()
242 static struct UsbPipeInfo *GetPipe(const struct AcmDevice *acm, UsbPipeType pipeType, UsbPipeDirect… in GetPipe() argument
254 p = EnumePipe(acm, i, pipeType, pipeDirection); in GetPipe()
/drivers/peripheral/usb/sample/host/liteos_test/src/
Dusbhost_sdkapi_speed.c221 …const struct AcmDevice *acm, uint8_t interfaceIndex, UsbPipeType pipeType, UsbPipeDirection pipeDi… in EnumePipe() argument
225 if (USB_PIPE_TYPE_CONTROL == pipeType) { in EnumePipe()
239 if ((p.pipeDirection == pipeDirection) && (p.pipeType == pipeType)) { in EnumePipe()
253 static struct UsbPipeInfo *GetPipe(const struct AcmDevice *acm, UsbPipeType pipeType, UsbPipeDirect… in GetPipe() argument
265 p = EnumePipe(acm, i, pipeType, pipeDirection); in GetPipe()
/drivers/peripheral/usb/ddk/host/src/
Dusb_interface_pool.c389 …onst struct UsbDeviceHandle *devHandle, uint8_t interfaceId, uint8_t pipeId, UsbPipeType *pipeType) in IfGetRequestPipeType() argument
397 if (pipeType == NULL) { in IfGetRequestPipeType()
427 *pipeType = pipeObj->info.pipeType; in IfGetRequestPipeType()
605 static int32_t IfFillRequestByPipeType(struct UsbIfRequest *requestObj, UsbPipeType pipeType, in IfFillRequestByPipeType() argument
610 switch (pipeType) { in IfFillRequestByPipeType()
657 static int32_t IfFillRequestByPipeTypeByMmap(struct UsbIfRequest *requestObj, UsbPipeType pipeType, in IfFillRequestByPipeTypeByMmap() argument
662 switch (pipeType) { in IfFillRequestByPipeTypeByMmap()
1580 UsbPipeType pipeType; in UsbFillRequest() local
1600 ret = IfGetRequestPipeType(ifaceHdl->devHandle, interfaceId, params->pipeId, &pipeType); in UsbFillRequest()
1606 ret = IfFillRequestByPipeType(requestObj, pipeType, hostRequest, ifaceHdl->devHandle, params); in UsbFillRequest()
[all …]
Dusb_protocol.c84 pipe->info.pipeType = USB_PIPE_TYPE_CONTROL; in CreateCtrPipe()
122 pipe->info.pipeType = ep->endpointDescriptor.bmAttributes & USB_DDK_ENDPOINT_XFERTYPE_MASK; in UsbPipeInit()
Dliteos_adapter.c707 UsbPipeType pipeType = request->requestType; in OsAllocIsoUrbs() local
714 uhe = usb_find_host_endpoint(adapterDevice, pipeType, endPoint); in OsAllocIsoUrbs()
/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()
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)) {
/drivers/peripheral/usb/net/src/
Dcdc_ether.c587 …struct EcmDevice *ecm, uint8_t interfaceIndex, UsbPipeType pipeType, UsbPipeDirection pipeDirectio… in EcmEnumePipe() argument
591 if (pipeType == USB_PIPE_TYPE_CONTROL) { in EcmEnumePipe()
605 if ((p.pipeDirection == pipeDirection) && (p.pipeType == pipeType)) { in EcmEnumePipe()
619 static struct UsbPipeInfo *EcmGetPipe(struct EcmDevice *ecm, UsbPipeType pipeType, UsbPipeDirection… in EcmGetPipe() argument
631 p = EcmEnumePipe(ecm, i, pipeType, pipeDirection); in EcmGetPipe()
/drivers/peripheral/usb/interfaces/ddk/host/
Dusb_ddk_interface.h134 UsbPipeType pipeType; 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()
/drivers/peripheral/usb/serial/src/
Dusb_serial.c1131 …const struct AcmDevice *acm, uint8_t interfaceIndex, UsbPipeType pipeType, UsbPipeDirection pipeDi… in EnumePipe() argument
1135 if (pipeType == USB_PIPE_TYPE_CONTROL) { in EnumePipe()
1149 if ((p.pipeDirection == pipeDirection) && (p.pipeType == pipeType)) { in EnumePipe()
1163 static struct UsbPipeInfo *GetPipe(const struct AcmDevice *acm, UsbPipeType pipeType, UsbPipeDirect… in GetPipe() argument
1175 p = EnumePipe(acm, i, pipeType, pipeDirection); in GetPipe()
/drivers/peripheral/usb/hdi_service/src/
Dusb_impl.cpp1271 …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()