Searched refs:msgData (Results 1 – 3 of 3) sorted by relevance
110 static struct UsbControlRequest UsbControlMsg(struct TestControlMsgData msgData) in UsbControlMsg() argument113 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 …]
182 static struct UsbControlRequest UsbControlMsg(struct TestControlMsgData msgData) in UsbControlMsg() argument185 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 …]
141 static struct UsbControlRequest UsbControlMsg(struct TestControlMsgData msgData) in UsbControlMsg() argument144 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 …]