Searched refs:ggpio (Results 1 – 2 of 2) sorted by relevance
/drivers/usb/dwc2/ |
D | platform.c | 554 u32 ggpio; in dwc2_driver_probe() local 572 ggpio = dwc2_readl(hsotg, GGPIO); in dwc2_driver_probe() 573 ggpio |= GGPIO_STM32_OTG_GCCFG_IDEN; in dwc2_driver_probe() 574 ggpio |= GGPIO_STM32_OTG_GCCFG_VBDEN; in dwc2_driver_probe() 575 dwc2_writel(hsotg, ggpio, GGPIO); in dwc2_driver_probe() 677 u32 ggpio, gotgctl; in dwc2_suspend() local 698 ggpio = dwc2_readl(dwc2, GGPIO); in dwc2_suspend() 699 ggpio &= ~GGPIO_STM32_OTG_GCCFG_IDEN; in dwc2_suspend() 700 ggpio &= ~GGPIO_STM32_OTG_GCCFG_VBDEN; in dwc2_suspend() 701 dwc2_writel(dwc2, ggpio, GGPIO); in dwc2_suspend() [all …]
|
D | core.c | 1010 u32 usbcfg, ggpio, i2cctl; in dwc2_fs_phy_init() local 1036 ggpio = dwc2_readl(hsotg, GGPIO); in dwc2_fs_phy_init() 1037 if (!(ggpio & GGPIO_STM32_OTG_GCCFG_PWRDWN)) { in dwc2_fs_phy_init() 1043 ggpio |= GGPIO_STM32_OTG_GCCFG_PWRDWN; in dwc2_fs_phy_init() 1044 dwc2_writel(hsotg, ggpio, GGPIO); in dwc2_fs_phy_init()
|