Lines Matching refs:icfgdrd_regs
52 void __iomem *icfgdrd_regs; member
83 return readl_poll_timeout_atomic(driver->icfgdrd_regs + usb_reg, in pll_lock_stat()
94 val = readl(driver->icfgdrd_regs + ICFG_FSM_CTRL); in ns2_drd_phy_init()
103 writel(val, driver->icfgdrd_regs + ICFG_FSM_CTRL); in ns2_drd_phy_init()
123 val = readl(driver->icfgdrd_regs + ICFG_FSM_CTRL); in ns2_drd_phy_poweroff()
125 writel(val, driver->icfgdrd_regs + ICFG_FSM_CTRL); in ns2_drd_phy_poweroff()
139 writel(DRD_DEV_VAL, driver->icfgdrd_regs + ICFG_DRD_P0CTL); in ns2_drd_phy_poweron()
160 writel(DRD_HOST_VAL, driver->icfgdrd_regs + ICFG_DRD_P0CTL); in ns2_drd_phy_poweron()
191 val = readl(driver->icfgdrd_regs + ICFG_FSM_CTRL); in connect_change()
196 writel(val, driver->icfgdrd_regs + ICFG_FSM_CTRL); in connect_change()
199 writel(val, driver->icfgdrd_regs + ICFG_FSM_CTRL); in connect_change()
201 val = readl(driver->icfgdrd_regs + ICFG_DRD_P0CTL); in connect_change()
203 writel(val, driver->icfgdrd_regs + ICFG_DRD_P0CTL); in connect_change()
208 writel(val, driver->icfgdrd_regs + ICFG_FSM_CTRL); in connect_change()
211 writel(val, driver->icfgdrd_regs + ICFG_FSM_CTRL); in connect_change()
217 val = readl(driver->icfgdrd_regs + ICFG_DRD_P0CTL); in connect_change()
219 writel(val, driver->icfgdrd_regs + ICFG_DRD_P0CTL); in connect_change()
299 driver->icfgdrd_regs = devm_platform_ioremap_resource_byname(pdev, "icfg"); in ns2_drd_phy_probe()
300 if (IS_ERR(driver->icfgdrd_regs)) in ns2_drd_phy_probe()
301 return PTR_ERR(driver->icfgdrd_regs); in ns2_drd_phy_probe()