Home
last modified time | relevance | path

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

/drivers/peripheral/usb/sample/host/liteos_test/src/
H A Dusbhost_sdkapi_speed.c221 const struct AcmDevice *acm, uint8_t interfaceIndex, UsbPipeType pipeType, UsbPipeDirection pipeDirection) in EnumePipe()
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, UsbPipeDirection pipeDirection) in GetPipe() argument
265 p = EnumePipe(acm, i, pipeType, pipeDirection); in GetPipe()
220 EnumePipe( const struct AcmDevice *acm, uint8_t interfaceIndex, UsbPipeType pipeType, UsbPipeDirection pipeDirection) EnumePipe() argument
/drivers/peripheral/usb/sample/host/src/
H A Dusbhost_sdkapi_speed.c210 const struct AcmDevice *acm, uint8_t interfaceIndex, UsbPipeType pipeType, UsbPipeDirection pipeDirection) in EnumePipe()
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, UsbPipeDirection pipeDirection) in GetPipe() argument
254 p = EnumePipe(acm, i, pipeType, pipeDirection); in GetPipe()
209 EnumePipe( const struct AcmDevice *acm, uint8_t interfaceIndex, UsbPipeType pipeType, UsbPipeDirection pipeDirection) EnumePipe() argument
/drivers/peripheral/usb/ddk/host/src/
H A Dusb_interface_pool.c430 const struct UsbDeviceHandle *devHandle, uint8_t interfaceId, uint8_t pipeId, UsbPipeType *pipeType) in IfGetRequestPipeType()
438 if (pipeType == NULL) { in IfGetRequestPipeType()
439 HDF_LOGE("%{public}s:%{public}d pipeType is null", __func__, __LINE__); in IfGetRequestPipeType()
468 *pipeType = pipeObj->info.pipeType; in IfGetRequestPipeType()
646 static int32_t IfFillRequestByPipeType(struct UsbIfRequest *requestObj, UsbPipeType pipeType, in IfFillRequestByPipeType() argument
651 switch (pipeType) { in IfFillRequestByPipeType()
698 static int32_t IfFillRequestByPipeTypeByMmap(struct UsbIfRequest *requestObj, UsbPipeType pipeType, in IfFillRequestByPipeTypeByMmap() argument
703 switch (pipeType) { in IfFillRequestByPipeTypeByMmap()
1810 UsbPipeType pipeType; in UsbFillRequest() local
429 IfGetRequestPipeType( const struct UsbDeviceHandle *devHandle, uint8_t interfaceId, uint8_t pipeId, UsbPipeType *pipeType) IfGetRequestPipeType() argument
1855 UsbPipeType pipeType; UsbFillRequestByMmap() local
[all...]
H A Dusb_protocol.c67 pipe->info.pipeType = USB_PIPE_TYPE_CONTROL; in CreateCtrPipe()
105 pipe->info.pipeType = ep->endpointDescriptor.bmAttributes & USB_DDK_ENDPOINT_XFERTYPE_MASK; in UsbPipeInit()
H A Dliteos_adapter.c711 UsbPipeType pipeType = request->requestType; in OsAllocIsoUrbs() local
718 uhe = usb_find_host_endpoint(adapterDevice, pipeType, endPoint); in OsAllocIsoUrbs()
/drivers/peripheral/usb/test/unittest/host_sdk/
H A 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()
H A Dusb_host_sdk_if_test.cpp804 if ((p.pipeDirection == USB_PIPE_DIRECTION_IN) && (p.pipeType == USB_PIPE_TYPE_BULK)) { in HWTEST_F()
833 if ((p.pipeDirection == USB_PIPE_DIRECTION_IN) && (p.pipeType == USB_PIPE_TYPE_BULK)) { in HWTEST_F()
862 if ((p.pipeDirection == USB_PIPE_DIRECTION_OUT) && (p.pipeType == USB_PIPE_TYPE_BULK)) { in HWTEST_F()
891 if ((p.pipeDirection == USB_PIPE_DIRECTION_OUT) && (p.pipeType == USB_PIPE_TYPE_BULK)) { in HWTEST_F()
920 if ((p.pipeDirection == USB_PIPE_DIRECTION_IN) && (p.pipeType == USB_PIPE_TYPE_INTERRUPT)) { in HWTEST_F()
948 if ((p.pipeDirection == USB_PIPE_DIRECTION_IN) && (p.pipeType == USB_PIPE_TYPE_INTERRUPT)) { in HWTEST_F()
978 if ((p.pipeDirection == USB_PIPE_DIRECTION_OUT) && (p.pipeType == USB_PIPE_TYPE_CONTROL)) { in HWTEST_F()
1008 if ((p.pipeDirection == USB_PIPE_DIRECTION_OUT) && (p.pipeType == USB_PIPE_TYPE_CONTROL)) { in HWTEST_F()
/drivers/peripheral/usb/interfaces/ddk/host/
H A Dusb_ddk_interface.h134 UsbPipeType pipeType; member
/drivers/peripheral/usb/net/src/
H A Dcdc_ether.c596 struct EcmDevice *ecm, uint8_t interfaceIndex, UsbPipeType pipeType, UsbPipeDirection pipeDirection) in EcmEnumePipe()
600 if (pipeType == USB_PIPE_TYPE_CONTROL) { in EcmEnumePipe()
614 if ((p.pipeDirection == pipeDirection) && (p.pipeType == pipeType)) { in EcmEnumePipe()
628 static struct UsbPipeInfo *EcmGetPipe(struct EcmDevice *ecm, UsbPipeType pipeType, UsbPipeDirection pipeDirection) in EcmGetPipe() argument
640 p = EcmEnumePipe(ecm, i, pipeType, pipeDirection); in EcmGetPipe()
595 EcmEnumePipe( struct EcmDevice *ecm, uint8_t interfaceIndex, UsbPipeType pipeType, UsbPipeDirection pipeDirection) EcmEnumePipe() argument
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/
H A 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/hdi_service/src/
H A Dusb_impl.cpp1487 (requestSync->pipe.pipeType != USB_PIPE_TYPE_BULK && requestSync->pipe.pipeType != USB_PIPE_TYPE_INTERRUPT)) { in BulkTransferRead()
1533 (requestSync->pipe.pipeType != USB_PIPE_TYPE_BULK && requestSync->pipe.pipeType != USB_PIPE_TYPE_INTERRUPT)) { in BulkTransferReadwithLength()
1569 (requestSync->pipe.pipeType != USB_PIPE_TYPE_BULK && requestSync->pipe.pipeType != USB_PIPE_TYPE_INTERRUPT)) { in BulkTransferWrite()
1715 if (requestSync->pipe.pipeDirection != USB_PIPE_DIRECTION_IN || requestSync->pipe.pipeType != USB_PIPE_TYPE_BULK) { in InterruptTransferRead()
1746 if (requestSync->pipe.pipeDirection != USB_PIPE_DIRECTION_OUT || requestSync->pipe.pipeType != USB_PIPE_TYPE_BULK) { in InterruptTransferWrite()
1772 if (requestSync->pipe.pipeDirection != USB_PIPE_DIRECTION_IN || requestSync->pipe.pipeType != USB_PIPE_TYPE_BULK) { in IsoTransferRead()
1805 if (requestSync->pipe.pipeDirection != USB_PIPE_DIRECTION_OUT || requestSync->pipe.pipeType ! in IsoTransferWrite()
[all...]
/drivers/peripheral/usb/serial/src/
H A Dusb_serial.c1147 const struct AcmDevice *acm, uint8_t interfaceIndex, UsbPipeType pipeType, UsbPipeDirection pipeDirection) in EnumePipe()
1151 if (pipeType == USB_PIPE_TYPE_CONTROL) { in EnumePipe()
1165 if ((p.pipeDirection == pipeDirection) && (p.pipeType == pipeType)) { in EnumePipe()
1179 static struct UsbPipeInfo *GetPipe(const struct AcmDevice *acm, UsbPipeType pipeType, UsbPipeDirection pipeDirection) in GetPipe() argument
1191 p = EnumePipe(acm, i, pipeType, pipeDirection); in GetPipe()
1146 EnumePipe( const struct AcmDevice *acm, uint8_t interfaceIndex, UsbPipeType pipeType, UsbPipeDirection pipeDirection) EnumePipe() argument

Completed in 23 milliseconds