Searched refs:otg_regs (Results 1 - 3 of 3) sorted by relevance

/linux-master/drivers/usb/cdns3/
H A Ddrd.c90 id = readl(&cdns->otg_regs->sts) & OTGSTS_ID_VALUE;
100 vbus = !!(readl(&cdns->otg_regs->sts) & OTGSTS_VBUS_VALID);
186 &cdns->otg_regs->cmd);
194 ret = readl_poll_timeout_atomic(&cdns->otg_regs->sts, val,
215 &cdns->otg_regs->cmd);
218 readl_poll_timeout_atomic(&cdns->otg_regs->state, val,
238 writel(OTGCMD_DEV_BUS_REQ | reg, &cdns->otg_regs->cmd);
247 ret = readl_poll_timeout_atomic(&cdns->otg_regs->sts, val,
275 &cdns->otg_regs->cmd);
277 readl_poll_timeout_atomic(&cdns->otg_regs
[all...]
H A Dcore.h59 * @otg_regs: pointer to base of otg registers
93 struct cdns_otg_common_regs __iomem *otg_regs; member in struct:cdns
H A Dcdns3-imx.c254 void __iomem *otg_regs = (void __iomem *)(cdns->otg_regs); local
335 value = readl(otg_regs + OTGSTS);
336 ret = readl_poll_timeout(otg_regs + OTGSTS, value,

Completed in 239 milliseconds