Searched refs:otg_regs (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/usb/cdns3/ |
H A D | drd.c | 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() 186 &cdns->otg_regs->cmd); in cdns_drd_host_on() 194 ret = readl_poll_timeout_atomic(&cdns->otg_regs->sts, val, in cdns_drd_host_on() 215 &cdns->otg_regs->cmd); in cdns_drd_host_off() 218 readl_poll_timeout_atomic(&cdns->otg_regs->state, val, in cdns_drd_host_off() 238 writel(OTGCMD_DEV_BUS_REQ | reg, &cdns->otg_regs->cmd); in cdns_drd_gadget_on() 247 ret = readl_poll_timeout_atomic(&cdns->otg_regs->sts, val, in cdns_drd_gadget_on() 275 &cdns->otg_regs->cmd); in cdns_drd_gadget_off() 277 readl_poll_timeout_atomic(&cdns->otg_regs->state, val, in cdns_drd_gadget_off() [all …]
|
H A D | cdns3-imx.c | 254 void __iomem *otg_regs = (void __iomem *)(cdns->otg_regs); in cdns_imx_platform_suspend() local 335 value = readl(otg_regs + OTGSTS); in cdns_imx_platform_suspend() 336 ret = readl_poll_timeout(otg_regs + OTGSTS, value, in cdns_imx_platform_suspend()
|
H A D | core.h | 94 struct cdns_otg_common_regs __iomem *otg_regs; member
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | ohci-lpc32xx.c | 31 struct otg_regs { struct 82 static struct otg_regs *otg = (struct otg_regs *)USB_BASE;
|