Home
last modified time | relevance | path

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

/u-boot/drivers/usb/cdns3/
A Ddrd.c74 id = readl(&cdns->otg_regs->sts) & OTGSTS_ID_VALUE; in cdns3_get_id()
138 &cdns->otg_regs->cmd); in cdns3_drd_switch_host()
140 readl_poll_timeout_atomic(&cdns->otg_regs->state, val, in cdns3_drd_switch_host()
162 writel(OTGCMD_DEV_BUS_REQ | reg, &cdns->otg_regs->cmd); in cdns3_drd_switch_gadget()
181 &cdns->otg_regs->cmd); in cdns3_drd_switch_gadget()
183 readl_poll_timeout_atomic(&cdns->otg_regs->state, val, in cdns3_drd_switch_gadget()
202 writel(~0, &cdns->otg_regs->ivect); in cdns3_init_otg_mode()
263 cdns->otg_regs = regs; in cdns3_drd_init()
270 cdns->otg_regs = (void *)&cdns->otg_v1_regs->cmd; in cdns3_drd_init()
278 state = OTGSTS_STRAP(readl(&cdns->otg_regs->sts)); in cdns3_drd_init()
[all …]
A Dcore.h80 struct cdns3_otg_common_regs *otg_regs; member
/u-boot/drivers/usb/host/
A Dohci-lpc32xx.c33 struct otg_regs { struct
84 static struct otg_regs *otg = (struct otg_regs *)USB_BASE;

Completed in 5 milliseconds