Lines Matching refs:phy_reg
74 void __iomem *phy_reg; in usb_internal_phy_clock_gate() local
79 phy_reg = (void __iomem *)phy_bases[index]; in usb_internal_phy_clock_gate()
80 phy_reg += on ? USBPHY_CTRL_CLR : USBPHY_CTRL_SET; in usb_internal_phy_clock_gate()
81 writel(USBPHY_CTRL_CLKGATE, phy_reg); in usb_internal_phy_clock_gate()
130 void __iomem *phy_reg; in usb_phy_enable() local
138 phy_reg = (void __iomem *)phy_bases[index]; in usb_phy_enable()
139 phy_ctrl = (void __iomem *)(phy_reg + USBPHY_CTRL); in usb_phy_enable()
162 writel(0, phy_reg + USBPHY_PWD); in usb_phy_enable()
172 void __iomem *phy_reg; in usb_phy_mode() local
176 phy_reg = (void __iomem *)phy_bases[port]; in usb_phy_mode()
177 phy_ctrl = (void __iomem *)(phy_reg + USBPHY_CTRL); in usb_phy_mode()