Home
last modified time | relevance | path

Searched refs:msgData (Results 1 – 3 of 3) sorted by relevance

/drivers/peripheral/usb/test/unittest/host_sdk/
Dusb_host_sdk_if_test_io.cpp110 static struct UsbControlRequest UsbControlMsg(struct TestControlMsgData msgData) in UsbControlMsg() argument
113 dr.target = (UsbRequestTargetType)(msgData.requestType & TARGET_MASK); in UsbControlMsg()
114 …dr.reqType = (UsbControlRequestType)((msgData.requestType >> USB_TYPE_OFFSET) & REQUEST_TYPE_MASK); in UsbControlMsg()
115 dr.directon = (UsbRequestDirection)((msgData.requestType >> USB_DIR_OFFSET) & DIRECTION_MASK); in UsbControlMsg()
116 dr.request = msgData.request; in UsbControlMsg()
117 dr.value = CPU_TO_LE16(msgData.value); in UsbControlMsg()
118 dr.index = CPU_TO_LE16(msgData.index); in UsbControlMsg()
119 dr.buffer = msgData.data; in UsbControlMsg()
120 dr.length = CPU_TO_LE16(msgData.size); in UsbControlMsg()
296 struct TestControlMsgData msgData = {0}; in AcmFillCtrlRequest() local
[all …]
Dusb_host_sdk_if_test.cpp182 static struct UsbControlRequest UsbControlMsg(struct TestControlMsgData msgData) in UsbControlMsg() argument
185 dr.target = (UsbRequestTargetType)(msgData.requestType & TARGET_MASK); in UsbControlMsg()
186 …dr.reqType = (UsbControlRequestType)((msgData.requestType >> USB_TYPE_OFFSET) & REQUEST_TYPE_MASK); in UsbControlMsg()
187 dr.directon = (UsbRequestDirection)((msgData.requestType >> USB_DIR_OFFSET) & DIRECTION_MASK); in UsbControlMsg()
188 dr.request = msgData.request; in UsbControlMsg()
189 dr.value = CPU_TO_LE16(msgData.value); in UsbControlMsg()
190 dr.index = CPU_TO_LE16(msgData.index); in UsbControlMsg()
191 dr.buffer = msgData.data; in UsbControlMsg()
192 dr.length = CPU_TO_LE16(msgData.size); in UsbControlMsg()
1419 struct TestControlMsgData msgData = {0}; variable
[all …]
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/
Dusb_test.c141 static struct UsbControlRequest UsbControlMsg(struct TestControlMsgData msgData) in UsbControlMsg() argument
144 dr.target = (UsbRequestTargetType)(msgData.requestType & TARGET_MASK); in UsbControlMsg()
145 …dr.reqType = (UsbControlRequestType)((msgData.requestType >> USB_TYPE_OFFSET) & REQUEST_TYPE_MASK); in UsbControlMsg()
146 dr.directon = (UsbRequestDirection)((msgData.requestType >> USB_DIR_OFFSET) & DIRECTION_MASK); in UsbControlMsg()
147 dr.request = msgData.request; in UsbControlMsg()
148 dr.value = CPU_TO_LE16(msgData.value); in UsbControlMsg()
149 dr.index = CPU_TO_LE16(msgData.index); in UsbControlMsg()
150 dr.buffer = msgData.data; in UsbControlMsg()
151 dr.length = CPU_TO_LE16(msgData.size); in UsbControlMsg()
1292 struct TestControlMsgData msgData; in CheckHostSdkIfFillRequest004() local
[all …]