Home
last modified time | relevance | path

Searched refs:ggpio (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/dwc2/
Dplatform.c523 u32 ggpio; in dwc2_driver_probe() local
541 ggpio = dwc2_readl(hsotg, GGPIO); in dwc2_driver_probe()
542 ggpio |= GGPIO_STM32_OTG_GCCFG_IDEN; in dwc2_driver_probe()
543 ggpio |= GGPIO_STM32_OTG_GCCFG_VBDEN; in dwc2_driver_probe()
544 dwc2_writel(hsotg, ggpio, GGPIO); in dwc2_driver_probe()
646 u32 ggpio, gotgctl; in dwc2_suspend() local
667 ggpio = dwc2_readl(dwc2, GGPIO); in dwc2_suspend()
668 ggpio &= ~GGPIO_STM32_OTG_GCCFG_IDEN; in dwc2_suspend()
669 ggpio &= ~GGPIO_STM32_OTG_GCCFG_VBDEN; in dwc2_suspend()
670 dwc2_writel(dwc2, ggpio, GGPIO); in dwc2_suspend()
[all …]
Dcore.c1066 u32 usbcfg, ggpio, i2cctl; in dwc2_fs_phy_init() local
1092 ggpio = dwc2_readl(hsotg, GGPIO); in dwc2_fs_phy_init()
1093 if (!(ggpio & GGPIO_STM32_OTG_GCCFG_PWRDWN)) { in dwc2_fs_phy_init()
1099 ggpio |= GGPIO_STM32_OTG_GCCFG_PWRDWN; in dwc2_fs_phy_init()
1100 dwc2_writel(hsotg, ggpio, GGPIO); in dwc2_fs_phy_init()