Lines Matching refs:ippc
205 struct mu3c_ippc_regs __iomem *ippc = mtk->ippc_regs; in xhci_mtk_host_enable() local
215 value = readl(&ippc->ip_pw_ctr1); in xhci_mtk_host_enable()
217 writel(value, &ippc->ip_pw_ctr1); in xhci_mtk_host_enable()
226 value = readl(&ippc->u3_ctrl_p[i]); in xhci_mtk_host_enable()
229 writel(value, &ippc->u3_ctrl_p[i]); in xhci_mtk_host_enable()
237 value = readl(&ippc->u2_ctrl_p[i]); in xhci_mtk_host_enable()
240 writel(value, &ippc->u2_ctrl_p[i]); in xhci_mtk_host_enable()
253 ret = readl_poll_timeout(&ippc->ip_pw_sts1, value, in xhci_mtk_host_enable()
265 struct mu3c_ippc_regs __iomem *ippc = mtk->ippc_regs; in xhci_mtk_host_disable() local
278 value = readl(&ippc->u3_ctrl_p[i]); in xhci_mtk_host_disable()
280 writel(value, &ippc->u3_ctrl_p[i]); in xhci_mtk_host_disable()
288 value = readl(&ippc->u2_ctrl_p[i]); in xhci_mtk_host_disable()
290 writel(value, &ippc->u2_ctrl_p[i]); in xhci_mtk_host_disable()
294 value = readl(&ippc->ip_pw_ctr1); in xhci_mtk_host_disable()
296 writel(value, &ippc->ip_pw_ctr1); in xhci_mtk_host_disable()
299 ret = readl_poll_timeout(&ippc->ip_pw_sts1, value, in xhci_mtk_host_disable()
311 struct mu3c_ippc_regs __iomem *ippc = mtk->ippc_regs; in xhci_mtk_ssusb_config() local
318 value = readl(&ippc->ip_pw_ctr0); in xhci_mtk_ssusb_config()
320 writel(value, &ippc->ip_pw_ctr0); in xhci_mtk_ssusb_config()
322 value = readl(&ippc->ip_pw_ctr0); in xhci_mtk_ssusb_config()
324 writel(value, &ippc->ip_pw_ctr0); in xhci_mtk_ssusb_config()
330 value = readl(&ippc->ip_pw_ctr2); in xhci_mtk_ssusb_config()
332 writel(value, &ippc->ip_pw_ctr2); in xhci_mtk_ssusb_config()
334 value = readl(&ippc->ip_xhci_cap); in xhci_mtk_ssusb_config()