Searched refs:otg_regs (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/usb/cdns3/ |
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() 185 &cdns->otg_regs->cmd); in cdns_drd_host_on() 193 ret = readl_poll_timeout_atomic(&cdns->otg_regs->sts, val, 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() 244 ret = readl_poll_timeout_atomic(&cdns->otg_regs->sts, val, 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() [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 | 93 struct cdns_otg_common_regs __iomem *otg_regs; member
|