Lines Matching full:ippc

152 	struct mu3c_ippc_regs __iomem *ippc = mtk->ippc_regs;  in xhci_mtk_host_enable()  local
162 value = readl(&ippc->ip_pw_ctr1); in xhci_mtk_host_enable()
164 writel(value, &ippc->ip_pw_ctr1); in xhci_mtk_host_enable()
173 value = readl(&ippc->u3_ctrl_p[i]); in xhci_mtk_host_enable()
176 writel(value, &ippc->u3_ctrl_p[i]); in xhci_mtk_host_enable()
184 value = readl(&ippc->u2_ctrl_p[i]); in xhci_mtk_host_enable()
187 writel(value, &ippc->u2_ctrl_p[i]); in xhci_mtk_host_enable()
200 ret = readl_poll_timeout(&ippc->ip_pw_sts1, value, in xhci_mtk_host_enable()
212 struct mu3c_ippc_regs __iomem *ippc = mtk->ippc_regs; in xhci_mtk_host_disable() local
225 value = readl(&ippc->u3_ctrl_p[i]); in xhci_mtk_host_disable()
227 writel(value, &ippc->u3_ctrl_p[i]); in xhci_mtk_host_disable()
235 value = readl(&ippc->u2_ctrl_p[i]); in xhci_mtk_host_disable()
237 writel(value, &ippc->u2_ctrl_p[i]); in xhci_mtk_host_disable()
241 value = readl(&ippc->ip_pw_ctr1); in xhci_mtk_host_disable()
243 writel(value, &ippc->ip_pw_ctr1); in xhci_mtk_host_disable()
246 ret = readl_poll_timeout(&ippc->ip_pw_sts1, value, in xhci_mtk_host_disable()
257 struct mu3c_ippc_regs __iomem *ippc = mtk->ippc_regs; in xhci_mtk_ssusb_config() local
264 value = readl(&ippc->ip_pw_ctr0); in xhci_mtk_ssusb_config()
266 writel(value, &ippc->ip_pw_ctr0); in xhci_mtk_ssusb_config()
268 value = readl(&ippc->ip_pw_ctr0); in xhci_mtk_ssusb_config()
270 writel(value, &ippc->ip_pw_ctr0); in xhci_mtk_ssusb_config()
276 value = readl(&ippc->ip_pw_ctr2); in xhci_mtk_ssusb_config()
278 writel(value, &ippc->ip_pw_ctr2); in xhci_mtk_ssusb_config()
280 value = readl(&ippc->ip_xhci_cap); in xhci_mtk_ssusb_config()
562 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "ippc"); in xhci_mtk_probe()
563 if (res) { /* ippc register is optional */ in xhci_mtk_probe()