Home
last modified time | relevance | path

Searched refs:directon (Results 1 – 15 of 15) sorted by relevance

/drivers/peripheral/usb/interfaces/ddk/host/
Dusb_ddk_interface.h233 UsbRequestDirection directon; member
253 UsbRequestDirection directon; member
/drivers/peripheral/usb/ddk/host/src/
Dusb_interface_pool.c445 if (ctrlReq.directon == USB_REQUEST_DIR_TO_DEVICE) { in IfFillControlRequest()
457 fillRequestData.endPoint = (((uint8_t)ctrlReq.directon) << USB_DIR_OFFSET); in IfFillControlRequest()
480 UsbRequestDirection dir = requestData.directon; in IfFillIsoRequest()
498 UsbRequestDirection dir = params->dataReq.directon; in IfFillBulkRequest()
501 if ((params->dataReq.directon == USB_REQUEST_DIR_TO_DEVICE) && (requestData.length > 0)) { in IfFillBulkRequest()
543 UsbRequestDirection dir = requestData.directon; in IfFillInterrupteRequest()
1581 UsbRequestDirection directon; in UsbFillRequest() local
1608 directon = (params->pipeAddress >> USB_DIR_OFFSET) & 0x01; in UsbFillRequest()
1609 if (directon == USB_REQUEST_DIR_TO_DEVICE) { in UsbFillRequest()
1611 } else if (directon == USB_REQUEST_DIR_FROM_DEVICE) { in UsbFillRequest()
[all …]
Dusb_protocol.c32 setupData->requestType = (((uint8_t)ctrlReq->directon) << USB_DIR_OFFSET) | in UsbProtocalFillControlSetup()
41 setupData->requestType = ((uint8_t)ctrlReq->directon << USB_DIR_OFFSET) | in UsbProtocalFillControlSetup()
/drivers/peripheral/usb/serial/include/
Dusb_serial.h144 UsbRequestDirection directon; member
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/
Dusb_test.c146 dr.directon = (UsbRequestDirection)((msgData.requestType >> USB_DIR_OFFSET) & DIRECTION_MASK); in UsbControlMsg()
1029 parmas.dataReq.directon = USB_REQUEST_DIR_TO_DEVICE; in CheckHostSdkIfFillIsoRequest001()
1055 parmas.dataReq.directon = USB_REQUEST_DIR_TO_DEVICE; in CheckHostSdkIfFillIsoRequest002()
1081 parmas.dataReq.directon = USB_REQUEST_DIR_TO_DEVICE; in CheckHostSdkIfFillIsoRequest003()
1101 parmas.dataReq.directon = USB_REQUEST_DIR_TO_DEVICE; in CheckHostSdkIfFillIsoRequest004()
1127 parmas.dataReq.directon = USB_REQUEST_DIR_TO_DEVICE; in CheckHostSdkIfFillIsoRequest005()
1147 parmas.dataReq.directon = USB_REQUEST_DIR_TO_DEVICE; in CheckHostSdkIfFillIsoRequest006()
1220 readParmas.dataReq.directon = in CheckHostSdkIfFillRequest001()
1253 parmas.dataReq.directon = USB_REQUEST_DIR_TO_DEVICE; in CheckHostSdkIfFillRequest002()
1275 intParmas.dataReq.directon = in CheckHostSdkIfFillRequest003()
[all …]
/drivers/peripheral/usb/hdi_service/include/
Dusbd.h126 UsbRequestDirection directon; member
/drivers/peripheral/usb/serial/src/
Dusb_serial.c231 dr.directon = controlParams->directon; in UsbControlSetUp()
256 controlParams.directon = USB_REQUEST_DIR_FROM_DEVICE; in UsbGetDescriptor()
314 controlParams.directon = USB_REQUEST_DIR_FROM_DEVICE; in UsbGetStatus()
362 controlParams.directon = USB_REQUEST_DIR_FROM_DEVICE; in UsbGetInterface()
401 controlParams.directon = USB_REQUEST_DIR_FROM_DEVICE; in UsbGetConfig()
448 controlParams.directon = USB_REQUEST_DIR_TO_DEVICE; in SerialCtrlMsg()
492 controlParams.directon = USB_REQUEST_DIR_FROM_DEVICE; in SerialCtrlAsyncMsg()
686 …readParmas.dataReq.directon = (((uint8_t)acm->dataInPipe->pipeDirection) >> USB_DIR_OFFSET) & DIRE… in UsbSerialReadSync()
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()
/drivers/peripheral/usb/test/unittest/host_sdk/
Dusb_host_sdk_if_test_io.cpp115 dr.directon = (UsbRequestDirection)((msgData.requestType >> USB_DIR_OFFSET) & DIRECTION_MASK); in UsbControlMsg()
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.cpp187 dr.directon = (UsbRequestDirection)((msgData.requestType >> USB_DIR_OFFSET) & DIRECTION_MASK); in UsbControlMsg()
1335 …readParmas.dataReq.directon = (UsbRequestDirection)((g_acm->dataInPipe->pipeDirection >> USB_DIR_O…
1400 intParmas.dataReq.directon =
1465 …readParmas.dataReq.directon = (UsbRequestDirection)((g_acm->dataInPipe->pipeDirection >> USB_DIR_O…
1530 intParmas.dataReq.directon =
/drivers/peripheral/usb/ddk_service/src/
Dusb_ddk_service.cpp259 params.ctrlReq.directon = static_cast<UsbRequestDirection>(GET_CTRL_REQ_DIR(setup.requestType)); in SendControlReadRequest()
309 params.ctrlReq.directon = static_cast<UsbRequestDirection>(GET_CTRL_REQ_DIR(setup.requestType)); in SendControlWriteRequest()
/drivers/peripheral/usb/hdi_service/src/
Dusbd_dispatcher.cpp88 controlReq->directon = controlParams->directon; in UsbControlSetUp()
258 …params->dataReq.directon = static_cast<UsbRequestDirection>((pipe->pipeDirection >> USB_DIR_OFFSET… in UsbRequestParamsWSyncInit()
348 pCtrParams->directon = static_cast<UsbRequestDirection>(direction); in CtrlTranParamGetReqType()
694 …params->dataReq.directon = static_cast<UsbRequestDirection>((pipe->pipeDirection >> USB_PIPE_DIR_O… in FillReqAyncParams()
1409 …params->dataReq.directon = static_cast<UsbRequestDirection>((pipe->pipeDirection >> USB_PIPE_DIR_O… in UsbdBulkASyncReqFillParams()
Dusb_impl.cpp109 controlParams->directon = USB_REQUEST_DIR_FROM_DEVICE; in MakeUsbControlParams()
127 controlParams->directon = USB_REQUEST_DIR_FROM_DEVICE; in MakeGetActiveUsbControlParams()
177 if (ctrParams->directon == USB_REQUEST_DIR_FROM_DEVICE) { in UsbControlTransferEx()
203 controlParams->directon = USB_REQUEST_DIR_FROM_DEVICE; in MakeSetActiveUsbControlParams()
1332 …controlParams.directon = (UsbRequestDirection)(((static_cast<uint32_t>(ctrl.requestType)) >> DIREC… in ControlTransferRead()
1375 …controlParams.directon = (UsbRequestDirection)(((static_cast<uint32_t>(ctrl.requestType)) >> DIREC… in ControlTransferWrite()
/drivers/peripheral/usb/net/src/
Dcdc_ether.c209 dr.directon = (controlParams->requestType >> USB_DIR_OFFSET) & DIRECTION_MASK; in EcmUsbControlMsg()
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/sample/host/src/
Dusbhost_sdkapi_speed.c402 parmas.dataReq.directon = (acm->dataPipe->pipeDirection >> USB_PIPE_DIR_OFFSET) & 0x1; in FillRequest()
/drivers/peripheral/usb/sample/host/liteos_test/src/
Dusbhost_sdkapi_speed.c436 …parmas.dataReq.directon = (((uint8_t)g_acm->dataPipe->pipeDirection) >> USB_PIPE_DIR_OFFSET) & 0x1; in UsbSpeedRequestHandle()