Lines Matching refs:ippc

170 	struct mu3c_ippc_regs __iomem *ippc = mtk->ippc_regs;  in xhci_mtk_host_enable()  local
180 value = readl(&ippc->ip_pw_ctr1); in xhci_mtk_host_enable()
182 writel(value, &ippc->ip_pw_ctr1); in xhci_mtk_host_enable()
191 value = readl(&ippc->u3_ctrl_p[i]); in xhci_mtk_host_enable()
194 writel(value, &ippc->u3_ctrl_p[i]); in xhci_mtk_host_enable()
202 value = readl(&ippc->u2_ctrl_p[i]); in xhci_mtk_host_enable()
205 writel(value, &ippc->u2_ctrl_p[i]); in xhci_mtk_host_enable()
218 ret = readl_poll_timeout(&ippc->ip_pw_sts1, value, in xhci_mtk_host_enable()
230 struct mu3c_ippc_regs __iomem *ippc = mtk->ippc_regs; in xhci_mtk_host_disable() local
243 value = readl(&ippc->u3_ctrl_p[i]); in xhci_mtk_host_disable()
245 writel(value, &ippc->u3_ctrl_p[i]); in xhci_mtk_host_disable()
253 value = readl(&ippc->u2_ctrl_p[i]); in xhci_mtk_host_disable()
255 writel(value, &ippc->u2_ctrl_p[i]); in xhci_mtk_host_disable()
259 value = readl(&ippc->ip_pw_ctr1); in xhci_mtk_host_disable()
261 writel(value, &ippc->ip_pw_ctr1); in xhci_mtk_host_disable()
264 ret = readl_poll_timeout(&ippc->ip_pw_sts1, value, in xhci_mtk_host_disable()
276 struct mu3c_ippc_regs __iomem *ippc = mtk->ippc_regs; in xhci_mtk_ssusb_config() local
283 value = readl(&ippc->ip_pw_ctr0); in xhci_mtk_ssusb_config()
285 writel(value, &ippc->ip_pw_ctr0); in xhci_mtk_ssusb_config()
287 value = readl(&ippc->ip_pw_ctr0); in xhci_mtk_ssusb_config()
289 writel(value, &ippc->ip_pw_ctr0); in xhci_mtk_ssusb_config()
295 value = readl(&ippc->ip_pw_ctr2); in xhci_mtk_ssusb_config()
297 writel(value, &ippc->ip_pw_ctr2); in xhci_mtk_ssusb_config()
299 value = readl(&ippc->ip_xhci_cap); in xhci_mtk_ssusb_config()