Lines Matching refs:ctrl
508 static int32_t EcmSetup(const struct UsbEcmDevice *ecm, const struct UsbFnCtrlRequest *ctrl)
512 uint16_t index = LE16_TO_CPU(ctrl->index);
513 uint16_t value = LE16_TO_CPU(ctrl->value);
514 uint16_t length = LE16_TO_CPU(ctrl->length);
516 switch ((ctrl->reqType << 0x08) | ctrl->request) {
529 ctrl->reqType, ctrl->request, value, index, length);
534 ctrl->reqType, ctrl->request, value, index, length);
538 HDF_LOGD("ecm req %{public}02x.%{public}02x response err %{public}d", ctrl->reqType, ctrl->request, ret);