DWC3_GCTL_PRTCAP_DEVICE
dwc3_set_prtcap(dwc, DWC3_GCTL_PRTCAP_DEVICE, false);
dwc3_set_prtcap(dwc, DWC3_GCTL_PRTCAP_DEVICE, true);
case DWC3_GCTL_PRTCAP_DEVICE:
case DWC3_GCTL_PRTCAP_DEVICE:
case DWC3_GCTL_PRTCAP_DEVICE:
dwc3_set_prtcap(dwc, DWC3_GCTL_PRTCAP_DEVICE, true);
case DWC3_GCTL_PRTCAP_DEVICE:
case DWC3_GCTL_PRTCAP_DEVICE:
case DWC3_GCTL_PRTCAP_DEVICE:
case DWC3_GCTL_PRTCAP_DEVICE:
if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_DEVICE &&
case DWC3_GCTL_PRTCAP_DEVICE:
case DWC3_GCTL_PRTCAP_DEVICE:
mode = DWC3_GCTL_PRTCAP_DEVICE;
DWC3_GCTL_PRTCAP_DEVICE);
u32 mode = event ? DWC3_GCTL_PRTCAP_HOST : DWC3_GCTL_PRTCAP_DEVICE;
mode = DWC3_GCTL_PRTCAP_DEVICE;
mode = DWC3_GCTL_PRTCAP_DEVICE;
case DWC3_GCTL_PRTCAP_DEVICE:
mode = DWC3_GCTL_PRTCAP_DEVICE;
case DWC3_GCTL_PRTCAP_DEVICE:
dwc3_apple_set_ptrcap(appledwc, DWC3_GCTL_PRTCAP_DEVICE);
else if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_DEVICE)
if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_DEVICE) {