/drivers/peripheral/usb/sample/host/src/ |
D | usbhost_sdkapi_speed.c | 210 …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/ |
D | usbhost_sdkapi_speed.c | 221 …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/ |
D | usb_interface_pool.c | 389 …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 …]
|
D | usb_protocol.c | 84 pipe->info.pipeType = USB_PIPE_TYPE_CONTROL; in CreateCtrPipe() 122 pipe->info.pipeType = ep->endpointDescriptor.bmAttributes & USB_DDK_ENDPOINT_XFERTYPE_MASK; in UsbPipeInit()
|
D | liteos_adapter.c | 707 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/ |
D | usb_host_sdk_if_test_io.cpp | 139 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()
|
D | usb_host_sdk_if_test.cpp | 804 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/ |
D | cdc_ether.c | 587 …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/ |
D | usb_ddk_interface.h | 134 UsbPipeType pipeType; member
|
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/ |
D | usb_test.c | 609 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/ |
D | usb_serial.c | 1131 …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/ |
D | usb_impl.cpp | 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()
|