Searched refs:otg_regs (Results 1 – 3 of 3) sorted by relevance
90 id = readl(&cdns->otg_regs->sts) & OTGSTS_ID_VALUE; in cdns_get_id()100 vbus = !!(readl(&cdns->otg_regs->sts) & OTGSTS_VBUS_VALID); in cdns_get_vbus()185 &cdns->otg_regs->cmd); in cdns_drd_host_on()213 &cdns->otg_regs->cmd); in cdns_drd_host_off()216 readl_poll_timeout_atomic(&cdns->otg_regs->state, val, in cdns_drd_host_off()235 writel(OTGCMD_DEV_BUS_REQ | reg, &cdns->otg_regs->cmd); in cdns_drd_gadget_on()271 &cdns->otg_regs->cmd); in cdns_drd_gadget_off()273 readl_poll_timeout_atomic(&cdns->otg_regs->state, val, in cdns_drd_gadget_off()408 cdns->otg_regs = regs; in cdns_drd_init()437 state = OTGSTS_STRAP(readl(&cdns->otg_regs->sts)); in cdns_drd_init()[all …]
256 void __iomem *otg_regs = (void __iomem *)(cdns->otg_regs); in cdns_imx_platform_suspend() local337 value = readl(otg_regs + OTGSTS); in cdns_imx_platform_suspend()338 ret = readl_poll_timeout(otg_regs + OTGSTS, value, in cdns_imx_platform_suspend()
93 struct cdns_otg_common_regs __iomem *otg_regs; member
Completed in 6 milliseconds