usbcfg 1051 drivers/usb/dwc2/core.c u32 usbcfg, ggpio, i2cctl; usbcfg 1061 drivers/usb/dwc2/core.c usbcfg = dwc2_readl(hsotg, GUSBCFG); usbcfg 1062 drivers/usb/dwc2/core.c if (!(usbcfg & GUSBCFG_PHYSEL)) { usbcfg 1063 drivers/usb/dwc2/core.c usbcfg |= GUSBCFG_PHYSEL; usbcfg 1064 drivers/usb/dwc2/core.c dwc2_writel(hsotg, usbcfg, GUSBCFG); usbcfg 1102 drivers/usb/dwc2/core.c usbcfg = dwc2_readl(hsotg, GUSBCFG); usbcfg 1103 drivers/usb/dwc2/core.c usbcfg |= GUSBCFG_OTG_UTMI_FS_SEL; usbcfg 1104 drivers/usb/dwc2/core.c dwc2_writel(hsotg, usbcfg, GUSBCFG); usbcfg 1121 drivers/usb/dwc2/core.c u32 usbcfg, usbcfg_old; usbcfg 1127 drivers/usb/dwc2/core.c usbcfg = dwc2_readl(hsotg, GUSBCFG); usbcfg 1128 drivers/usb/dwc2/core.c usbcfg_old = usbcfg; usbcfg 1139 drivers/usb/dwc2/core.c usbcfg |= GUSBCFG_ULPI_UTMI_SEL; usbcfg 1140 drivers/usb/dwc2/core.c usbcfg &= ~(GUSBCFG_PHYIF16 | GUSBCFG_DDRSEL); usbcfg 1142 drivers/usb/dwc2/core.c usbcfg |= GUSBCFG_DDRSEL; usbcfg 1146 drivers/usb/dwc2/core.c usbcfg |= (GUSBCFG_ULPI_INT_VBUS_IND | usbcfg 1152 drivers/usb/dwc2/core.c usbcfg &= ~(GUSBCFG_ULPI_UTMI_SEL | GUSBCFG_PHYIF16); usbcfg 1154 drivers/usb/dwc2/core.c usbcfg |= GUSBCFG_PHYIF16; usbcfg 1158 drivers/usb/dwc2/core.c usbcfg &= ~GUSBCFG_USBTRDTIM_MASK; usbcfg 1160 drivers/usb/dwc2/core.c usbcfg |= 5 << GUSBCFG_USBTRDTIM_SHIFT; usbcfg 1162 drivers/usb/dwc2/core.c usbcfg |= 9 << GUSBCFG_USBTRDTIM_SHIFT; usbcfg 1170 drivers/usb/dwc2/core.c if (usbcfg != usbcfg_old) { usbcfg 1171 drivers/usb/dwc2/core.c dwc2_writel(hsotg, usbcfg, GUSBCFG); usbcfg 1187 drivers/usb/dwc2/core.c u32 usbcfg; usbcfg 1208 drivers/usb/dwc2/core.c usbcfg = dwc2_readl(hsotg, GUSBCFG); usbcfg 1209 drivers/usb/dwc2/core.c usbcfg |= GUSBCFG_ULPI_FS_LS; usbcfg 1210 drivers/usb/dwc2/core.c usbcfg |= GUSBCFG_ULPI_CLK_SUSP_M; usbcfg 1211 drivers/usb/dwc2/core.c dwc2_writel(hsotg, usbcfg, GUSBCFG); usbcfg 1213 drivers/usb/dwc2/core.c usbcfg = dwc2_readl(hsotg, GUSBCFG); usbcfg 1214 drivers/usb/dwc2/core.c usbcfg &= ~GUSBCFG_ULPI_FS_LS; usbcfg 1215 drivers/usb/dwc2/core.c usbcfg &= ~GUSBCFG_ULPI_CLK_SUSP_M; usbcfg 1216 drivers/usb/dwc2/core.c dwc2_writel(hsotg, usbcfg, GUSBCFG); usbcfg 3332 drivers/usb/dwc2/gadget.c u32 usbcfg; usbcfg 3358 drivers/usb/dwc2/gadget.c usbcfg = dwc2_readl(hsotg, GUSBCFG); usbcfg 3359 drivers/usb/dwc2/gadget.c usbcfg &= ~GUSBCFG_TOUTCAL_MASK; usbcfg 3360 drivers/usb/dwc2/gadget.c usbcfg |= GUSBCFG_TOUTCAL(7); usbcfg 3363 drivers/usb/dwc2/gadget.c usbcfg &= ~(GUSBCFG_SRPCAP | GUSBCFG_HNPCAP); usbcfg 3364 drivers/usb/dwc2/gadget.c dwc2_writel(hsotg, usbcfg, GUSBCFG); usbcfg 136 drivers/usb/dwc2/hcd.c u32 usbcfg; usbcfg 138 drivers/usb/dwc2/hcd.c usbcfg = dwc2_readl(hsotg, GUSBCFG); usbcfg 139 drivers/usb/dwc2/hcd.c usbcfg &= ~(GUSBCFG_HNPCAP | GUSBCFG_SRPCAP); usbcfg 145 drivers/usb/dwc2/hcd.c usbcfg |= GUSBCFG_HNPCAP; usbcfg 148 drivers/usb/dwc2/hcd.c usbcfg |= GUSBCFG_SRPCAP; usbcfg 156 drivers/usb/dwc2/hcd.c usbcfg |= GUSBCFG_SRPCAP; usbcfg 166 drivers/usb/dwc2/hcd.c dwc2_writel(hsotg, usbcfg, GUSBCFG); usbcfg 363 drivers/usb/dwc2/hcd.c u32 usbcfg; usbcfg 367 drivers/usb/dwc2/hcd.c usbcfg = dwc2_readl(hsotg, GUSBCFG); usbcfg 370 drivers/usb/dwc2/hcd.c if (!(usbcfg & GUSBCFG_PHYSEL) && (usbcfg & GUSBCFG_ULPI_UTMI_SEL) && usbcfg 371 drivers/usb/dwc2/hcd.c !(usbcfg & GUSBCFG_PHYIF16)) usbcfg 373 drivers/usb/dwc2/hcd.c if ((usbcfg & GUSBCFG_PHYSEL) && hsotg->hw_params.fs_phy_type == usbcfg 376 drivers/usb/dwc2/hcd.c if (!(usbcfg & GUSBCFG_PHY_LP_CLK_SEL) && !(usbcfg & GUSBCFG_PHYSEL) && usbcfg 377 drivers/usb/dwc2/hcd.c !(usbcfg & GUSBCFG_ULPI_UTMI_SEL) && (usbcfg & GUSBCFG_PHYIF16)) usbcfg 379 drivers/usb/dwc2/hcd.c if (!(usbcfg & GUSBCFG_PHY_LP_CLK_SEL) && !(usbcfg & GUSBCFG_PHYSEL) && usbcfg 380 drivers/usb/dwc2/hcd.c !(usbcfg & GUSBCFG_ULPI_UTMI_SEL) && !(usbcfg & GUSBCFG_PHYIF16)) usbcfg 382 drivers/usb/dwc2/hcd.c if ((usbcfg & GUSBCFG_PHY_LP_CLK_SEL) && !(usbcfg & GUSBCFG_PHYSEL) && usbcfg 383 drivers/usb/dwc2/hcd.c !(usbcfg & GUSBCFG_ULPI_UTMI_SEL) && (usbcfg & GUSBCFG_PHYIF16)) usbcfg 385 drivers/usb/dwc2/hcd.c if ((usbcfg & GUSBCFG_PHYSEL) && !(usbcfg & GUSBCFG_PHYIF16) && usbcfg 388 drivers/usb/dwc2/hcd.c if ((usbcfg & GUSBCFG_PHYSEL) && usbcfg 2077 drivers/usb/dwc2/hcd.c u32 usbcfg, otgctl; usbcfg 2082 drivers/usb/dwc2/hcd.c usbcfg = dwc2_readl(hsotg, GUSBCFG); usbcfg 2085 drivers/usb/dwc2/hcd.c usbcfg &= ~GUSBCFG_ULPI_EXT_VBUS_DRV; usbcfg 2087 drivers/usb/dwc2/hcd.c usbcfg |= GUSBCFG_ULPI_EXT_VBUS_DRV; usbcfg 2090 drivers/usb/dwc2/hcd.c usbcfg &= ~GUSBCFG_TERMSELDLPULSE; usbcfg 2092 drivers/usb/dwc2/hcd.c usbcfg |= GUSBCFG_TERMSELDLPULSE; usbcfg 2094 drivers/usb/dwc2/hcd.c dwc2_writel(hsotg, usbcfg, GUSBCFG); usbcfg 2165 drivers/usb/dwc2/hcd.c u32 hcfg, hfir, otgctl, usbcfg; usbcfg 2177 drivers/usb/dwc2/hcd.c usbcfg = dwc2_readl(hsotg, GUSBCFG); usbcfg 2178 drivers/usb/dwc2/hcd.c usbcfg |= GUSBCFG_TOUTCAL(7); usbcfg 2179 drivers/usb/dwc2/hcd.c dwc2_writel(hsotg, usbcfg, GUSBCFG); usbcfg 268 drivers/usb/dwc2/hcd_intr.c u32 usbcfg; usbcfg 290 drivers/usb/dwc2/hcd_intr.c usbcfg = dwc2_readl(hsotg, GUSBCFG); usbcfg 295 drivers/usb/dwc2/hcd_intr.c if (!(usbcfg & GUSBCFG_PHY_LP_CLK_SEL)) { usbcfg 297 drivers/usb/dwc2/hcd_intr.c usbcfg |= GUSBCFG_PHY_LP_CLK_SEL; usbcfg 298 drivers/usb/dwc2/hcd_intr.c dwc2_writel(hsotg, usbcfg, GUSBCFG); usbcfg 332 drivers/usb/dwc2/hcd_intr.c if (usbcfg & GUSBCFG_PHY_LP_CLK_SEL) { usbcfg 333 drivers/usb/dwc2/hcd_intr.c usbcfg &= ~GUSBCFG_PHY_LP_CLK_SEL; usbcfg 334 drivers/usb/dwc2/hcd_intr.c dwc2_writel(hsotg, usbcfg, GUSBCFG);