Lines Matching refs:ibase
130 void __iomem *ibase = ssusb->ippc_base; in ssusb_host_enable() local
139 mtu3_clrbits(ibase, U3D_SSUSB_IP_PW_CTRL1, SSUSB_IP_HOST_PDN); in ssusb_host_enable()
149 value = mtu3_readl(ibase, SSUSB_U3_CTRL(i)); in ssusb_host_enable()
152 mtu3_writel(ibase, SSUSB_U3_CTRL(i), value); in ssusb_host_enable()
160 value = mtu3_readl(ibase, SSUSB_U2_CTRL(i)); in ssusb_host_enable()
163 mtu3_writel(ibase, SSUSB_U2_CTRL(i), value); in ssusb_host_enable()
175 void __iomem *ibase = ssusb->ippc_base; in ssusb_host_disable() local
186 value = mtu3_readl(ibase, SSUSB_U3_CTRL(i)); in ssusb_host_disable()
188 mtu3_writel(ibase, SSUSB_U3_CTRL(i), value); in ssusb_host_disable()
196 value = mtu3_readl(ibase, SSUSB_U2_CTRL(i)); in ssusb_host_disable()
198 mtu3_writel(ibase, SSUSB_U2_CTRL(i), value); in ssusb_host_disable()
202 mtu3_setbits(ibase, U3D_SSUSB_IP_PW_CTRL1, SSUSB_IP_HOST_PDN); in ssusb_host_disable()
209 void __iomem *ibase = ssusb->ippc_base; in ssusb_host_resume() local
224 mtu3_clrbits(ibase, U3D_SSUSB_IP_PW_CTRL1, SSUSB_IP_HOST_PDN); in ssusb_host_resume()
231 value = mtu3_readl(ibase, SSUSB_U3_CTRL(i)); in ssusb_host_resume()
233 mtu3_writel(ibase, SSUSB_U3_CTRL(i), value); in ssusb_host_resume()
241 value = mtu3_readl(ibase, SSUSB_U2_CTRL(i)); in ssusb_host_resume()
243 mtu3_writel(ibase, SSUSB_U2_CTRL(i), value); in ssusb_host_resume()
252 void __iomem *ibase = ssusb->ippc_base; in ssusb_host_suspend() local
263 value = mtu3_readl(ibase, SSUSB_U3_CTRL(i)); in ssusb_host_suspend()
265 mtu3_writel(ibase, SSUSB_U3_CTRL(i), value); in ssusb_host_suspend()
273 value = mtu3_readl(ibase, SSUSB_U2_CTRL(i)); in ssusb_host_suspend()
275 mtu3_writel(ibase, SSUSB_U2_CTRL(i), value); in ssusb_host_suspend()
279 mtu3_setbits(ibase, U3D_SSUSB_IP_PW_CTRL1, SSUSB_IP_HOST_PDN); in ssusb_host_suspend()