Lines Matching refs:ibase
131 void __iomem *ibase = ssusb->ippc_base; in ssusb_host_enable() local
140 mtu3_clrbits(ibase, U3D_SSUSB_IP_PW_CTRL1, SSUSB_IP_HOST_PDN); in ssusb_host_enable()
150 value = mtu3_readl(ibase, SSUSB_U3_CTRL(i)); in ssusb_host_enable()
153 mtu3_writel(ibase, SSUSB_U3_CTRL(i), value); in ssusb_host_enable()
161 value = mtu3_readl(ibase, SSUSB_U2_CTRL(i)); in ssusb_host_enable()
164 mtu3_writel(ibase, SSUSB_U2_CTRL(i), value); in ssusb_host_enable()
176 void __iomem *ibase = ssusb->ippc_base; in ssusb_host_disable() local
187 value = mtu3_readl(ibase, SSUSB_U3_CTRL(i)); in ssusb_host_disable()
189 mtu3_writel(ibase, SSUSB_U3_CTRL(i), value); in ssusb_host_disable()
197 value = mtu3_readl(ibase, SSUSB_U2_CTRL(i)); in ssusb_host_disable()
199 mtu3_writel(ibase, SSUSB_U2_CTRL(i), value); in ssusb_host_disable()
203 mtu3_setbits(ibase, U3D_SSUSB_IP_PW_CTRL1, SSUSB_IP_HOST_PDN); in ssusb_host_disable()
210 void __iomem *ibase = ssusb->ippc_base; in ssusb_host_resume() local
225 mtu3_clrbits(ibase, U3D_SSUSB_IP_PW_CTRL1, SSUSB_IP_HOST_PDN); in ssusb_host_resume()
232 value = mtu3_readl(ibase, SSUSB_U3_CTRL(i)); in ssusb_host_resume()
234 mtu3_writel(ibase, SSUSB_U3_CTRL(i), value); in ssusb_host_resume()
242 value = mtu3_readl(ibase, SSUSB_U2_CTRL(i)); in ssusb_host_resume()
244 mtu3_writel(ibase, SSUSB_U2_CTRL(i), value); in ssusb_host_resume()
253 void __iomem *ibase = ssusb->ippc_base; in ssusb_host_suspend() local
264 value = mtu3_readl(ibase, SSUSB_U3_CTRL(i)); in ssusb_host_suspend()
266 mtu3_writel(ibase, SSUSB_U3_CTRL(i), value); in ssusb_host_suspend()
274 value = mtu3_readl(ibase, SSUSB_U2_CTRL(i)); in ssusb_host_suspend()
276 mtu3_writel(ibase, SSUSB_U2_CTRL(i), value); in ssusb_host_suspend()
280 mtu3_setbits(ibase, U3D_SSUSB_IP_PW_CTRL1, SSUSB_IP_HOST_PDN); in ssusb_host_suspend()