• Home
  • Raw
  • Download

Lines Matching full:ippc

78 	struct mu3c_ippc_regs __iomem *ippc = mtk->ippc_regs;  in xhci_mtk_host_enable()  local
88 value = readl(&ippc->ip_pw_ctr1); in xhci_mtk_host_enable()
90 writel(value, &ippc->ip_pw_ctr1); in xhci_mtk_host_enable()
99 value = readl(&ippc->u3_ctrl_p[i]); in xhci_mtk_host_enable()
102 writel(value, &ippc->u3_ctrl_p[i]); in xhci_mtk_host_enable()
107 value = readl(&ippc->u2_ctrl_p[i]); in xhci_mtk_host_enable()
110 writel(value, &ippc->u2_ctrl_p[i]); in xhci_mtk_host_enable()
123 ret = readl_poll_timeout(&ippc->ip_pw_sts1, value, in xhci_mtk_host_enable()
135 struct mu3c_ippc_regs __iomem *ippc = mtk->ippc_regs; in xhci_mtk_host_disable() local
148 value = readl(&ippc->u3_ctrl_p[i]); in xhci_mtk_host_disable()
150 writel(value, &ippc->u3_ctrl_p[i]); in xhci_mtk_host_disable()
155 value = readl(&ippc->u2_ctrl_p[i]); in xhci_mtk_host_disable()
157 writel(value, &ippc->u2_ctrl_p[i]); in xhci_mtk_host_disable()
161 value = readl(&ippc->ip_pw_ctr1); in xhci_mtk_host_disable()
163 writel(value, &ippc->ip_pw_ctr1); in xhci_mtk_host_disable()
166 ret = readl_poll_timeout(&ippc->ip_pw_sts1, value, in xhci_mtk_host_disable()
177 struct mu3c_ippc_regs __iomem *ippc = mtk->ippc_regs; in xhci_mtk_ssusb_config() local
184 value = readl(&ippc->ip_pw_ctr0); in xhci_mtk_ssusb_config()
186 writel(value, &ippc->ip_pw_ctr0); in xhci_mtk_ssusb_config()
188 value = readl(&ippc->ip_pw_ctr0); in xhci_mtk_ssusb_config()
190 writel(value, &ippc->ip_pw_ctr0); in xhci_mtk_ssusb_config()
196 value = readl(&ippc->ip_pw_ctr2); in xhci_mtk_ssusb_config()
198 writel(value, &ippc->ip_pw_ctr2); in xhci_mtk_ssusb_config()
200 value = readl(&ippc->ip_xhci_cap); in xhci_mtk_ssusb_config()
525 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "ippc"); in xhci_mtk_probe()
526 if (res) { /* ippc register is optional */ in xhci_mtk_probe()