Lines Matching refs:otg_v1_regs
44 override_reg = &cdns->otg_v1_regs->override; in cdns_set_mode()
65 reg = readl(&cdns->otg_v1_regs->phyrst_cfg); in cdns_set_mode()
67 writel(reg, &cdns->otg_v1_regs->phyrst_cfg); in cdns_set_mode()
411 cdns->otg_v1_regs = NULL; in cdns_drd_init()
421 cdns->otg_v1_regs = regs; in cdns_drd_init()
424 cdns->otg_regs = (void __iomem *)&cdns->otg_v1_regs->cmd; in cdns_drd_init()
434 &cdns->otg_v1_regs->ien; in cdns_drd_init()
435 writel(1, &cdns->otg_v1_regs->simulate); in cdns_drd_init()
439 reg = readl(&cdns->otg_v1_regs->susp_ctrl); in cdns_drd_init()
441 writel(reg, &cdns->otg_v1_regs->susp_ctrl); in cdns_drd_init()
451 readl(&cdns->otg_v1_regs->did), in cdns_drd_init()
452 readl(&cdns->otg_v1_regs->rid)); in cdns_drd_init()
507 if (!(readl(&cdns->otg_v1_regs->simulate) & BIT(0))) in cdns_power_is_lost()