Lines Matching refs:ehci
37 struct usb_ehci *ehci; /* Start of IP core*/ member
64 struct usb_ehci *ehci = p->ehci; in msm_init_after_reset() local
67 writel(PORT_PTS_ULPI, &ehci->portsc); in msm_init_after_reset()
71 setbits_le32(&ehci->genconfig2, GEN2_SESS_VLD_CTRL_EN); in msm_init_after_reset()
74 setbits_le32(&ehci->usbcmd, SESS_VLD_CTRL); in msm_init_after_reset()
77 writel(0x0, &ehci->sbuscfg); in msm_init_after_reset()
81 writel(0x08, &ehci->sbusmode); in msm_init_after_reset()
84 writel(CM_HOST, &ehci->usbmode); in msm_init_after_reset()
96 struct usb_ehci *ehci = p->ehci; in ehci_usb_probe() local
101 hccr = (struct ehci_hccr *)((phys_addr_t)&ehci->caplength); in ehci_usb_probe()
115 struct usb_ehci *ehci = p->ehci; in ehci_usb_remove() local
123 clrbits_le32(&ehci->usbcmd, CMD_RUN); in ehci_usb_remove()
132 setbits_le32(&ehci->usbcmd, CMD_RESET); in ehci_usb_remove()
135 if (wait_for_bit_le32(&ehci->usbcmd, CMD_RESET, false, 30, false)) { in ehci_usb_remove()
148 priv->ehci = (void *)devfdt_get_addr(dev); in ehci_usb_ofdata_to_platdata()
150 if (priv->ehci == (void *)FDT_ADDR_T_NONE) in ehci_usb_ofdata_to_platdata()
156 priv->ulpi_vp.viewport_addr = (phys_addr_t)&priv->ehci->ulpi_viewpoint; in ehci_usb_ofdata_to_platdata()