Searched refs:otg_regs (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.10/drivers/usb/cdns3/ |
| D | drd.c | 83 id = readl(&cdns->otg_regs->sts) & OTGSTS_ID_VALUE; in cdns3_get_id() 93 vbus = !!(readl(&cdns->otg_regs->sts) & OTGSTS_VBUS_VALID); in cdns3_get_vbus() 126 writel(0, &cdns->otg_regs->ien); in cdns3_otg_disable_irq() 136 OTGIEN_VBUSVALID_FALL_INT, &cdns->otg_regs->ien); in cdns3_otg_enable_irq() 152 &cdns->otg_regs->cmd); in cdns3_drd_host_on() 155 ret = readl_poll_timeout_atomic(&cdns->otg_regs->sts, val, in cdns3_drd_host_on() 175 &cdns->otg_regs->cmd); in cdns3_drd_host_off() 178 readl_poll_timeout_atomic(&cdns->otg_regs->state, val, in cdns3_drd_host_off() 196 writel(OTGCMD_DEV_BUS_REQ | reg, &cdns->otg_regs->cmd); in cdns3_drd_gadget_on() 200 ret = readl_poll_timeout_atomic(&cdns->otg_regs->sts, val, in cdns3_drd_gadget_on() [all …]
|
| D | cdns3-imx.c | 256 void __iomem *otg_regs = (void __iomem *)(cdns->otg_regs); in cdns_imx_platform_suspend() local 337 value = readl(otg_regs + OTGSTS); in cdns_imx_platform_suspend() 338 ret = readl_poll_timeout(otg_regs + OTGSTS, value, in cdns_imx_platform_suspend()
|
| D | core.h | 86 struct cdns3_otg_common_regs *otg_regs; member
|