Lines Matching defs:controlParams
80 int32_t UsbdDispatcher::UsbControlSetUp(UsbControlParams *controlParams, UsbControlRequest *controlReq)
82 if (controlParams == nullptr || controlReq == nullptr) {
83 HDF_LOGE("%{public}s:controlParams or controlReq is nullptr", __func__);
87 controlReq->target = controlParams->target;
88 controlReq->reqType = controlParams->reqType;
89 controlReq->directon = controlParams->directon;
90 controlReq->request = controlParams->request;
91 controlReq->value = controlParams->value;
92 controlReq->index = controlParams->index;
93 controlReq->buffer = controlParams->data;
94 controlReq->length = static_cast<uint32_t>(controlParams->size);