Searched refs:otg_regs (Results 1 – 3 of 3) sorted by relevance
74 id = readl(&cdns->otg_regs->sts) & OTGSTS_ID_VALUE; in cdns3_get_id()138 &cdns->otg_regs->cmd); in cdns3_drd_switch_host()140 readl_poll_timeout_atomic(&cdns->otg_regs->state, val, in cdns3_drd_switch_host()162 writel(OTGCMD_DEV_BUS_REQ | reg, &cdns->otg_regs->cmd); in cdns3_drd_switch_gadget()181 &cdns->otg_regs->cmd); in cdns3_drd_switch_gadget()183 readl_poll_timeout_atomic(&cdns->otg_regs->state, val, in cdns3_drd_switch_gadget()202 writel(~0, &cdns->otg_regs->ivect); in cdns3_init_otg_mode()263 cdns->otg_regs = regs; in cdns3_drd_init()270 cdns->otg_regs = (void *)&cdns->otg_v1_regs->cmd; in cdns3_drd_init()278 state = OTGSTS_STRAP(readl(&cdns->otg_regs->sts)); in cdns3_drd_init()[all …]
80 struct cdns3_otg_common_regs *otg_regs; member
33 struct otg_regs { struct84 static struct otg_regs *otg = (struct otg_regs *)USB_BASE;
Completed in 6 milliseconds