Searched refs:ulpi_vp (Results 1 – 9 of 9) sorted by relevance
/u-boot/drivers/usb/ulpi/ |
A D | ulpi-viewport.c | 41 if ((readl(ulpi_vp->viewport_addr) & mask) == 0) in ulpi_wait() 59 if (readl(ulpi_vp->viewport_addr) & ULPI_SS) in ulpi_wakeup() 62 writel(ULPI_WU, ulpi_vp->viewport_addr); in ulpi_wakeup() 64 err = ulpi_wait(ulpi_vp, ULPI_WU); in ulpi_wakeup() 80 err = ulpi_wakeup(ulpi_vp); in ulpi_request() 84 writel(value, ulpi_vp->viewport_addr); in ulpi_request() 86 err = ulpi_wait(ulpi_vp, ULPI_RWRUN); in ulpi_request() 98 val |= (ulpi_vp->port_num & 0x7) << 24; in ulpi_write() 99 return ulpi_request(ulpi_vp, val); in ulpi_write() 107 val |= (ulpi_vp->port_num & 0x7) << 24; in ulpi_read() [all …]
|
A D | ulpi.c | 40 err = ulpi_write(ulpi_vp, &ulpi->scratch, tval); in ulpi_integrity_check() 44 val = ulpi_read(ulpi_vp, &ulpi->scratch); in ulpi_integrity_check() 54 int ulpi_init(struct ulpi_viewport *ulpi_vp) in ulpi_init() argument 62 val = ulpi_read(ulpi_vp, reg - i); in ulpi_init() 72 return ulpi_integrity_check(ulpi_vp); in ulpi_init() 110 return ulpi_write(ulpi_vp, reg, flags); in ulpi_set_vbus() 127 val = ulpi_read(ulpi_vp, &ulpi->iface_ctrl); in ulpi_set_vbus_indicator() 145 return ulpi_write(ulpi_vp, reg, val); in ulpi_set_pd() 234 int ulpi_reset(struct ulpi_viewport *ulpi_vp) in ulpi_reset() argument 238 err = ulpi_write(ulpi_vp, in ulpi_reset() [all …]
|
A D | omap-ulpi-viewport.c | 23 static int ulpi_wait(struct ulpi_viewport *ulpi_vp, u32 mask) in ulpi_wait() argument 28 if (!(readl(ulpi_vp->viewport_addr) & mask)) in ulpi_wait() 40 static int ulpi_request(struct ulpi_viewport *ulpi_vp, u32 value) in ulpi_request() argument 44 writel(value, ulpi_vp->viewport_addr); in ulpi_request() 46 err = ulpi_wait(ulpi_vp, OMAP_ULPI_START); in ulpi_request() 53 int ulpi_write(struct ulpi_viewport *ulpi_vp, u8 *reg, u32 value) in ulpi_write() argument 55 u32 val = OMAP_ULPI_START | (((ulpi_vp->port_num + 1) & 0xf) << 24) | in ulpi_write() 58 return ulpi_request(ulpi_vp, val); in ulpi_write() 61 u32 ulpi_read(struct ulpi_viewport *ulpi_vp, u8 *reg) in ulpi_read() argument 67 err = ulpi_request(ulpi_vp, val); in ulpi_read() [all …]
|
/u-boot/include/usb/ |
A D | ulpi.h | 44 int ulpi_init(struct ulpi_viewport *ulpi_vp); 52 int ulpi_select_transceiver(struct ulpi_viewport *ulpi_vp, unsigned speed); 61 int ulpi_set_vbus(struct ulpi_viewport *ulpi_vp, int on, int ext_power); 70 int ulpi_set_vbus_indicator(struct ulpi_viewport *ulpi_vp, int external, 78 int ulpi_set_pd(struct ulpi_viewport *ulpi_vp, int enable); 87 int ulpi_opmode_sel(struct ulpi_viewport *ulpi_vp, unsigned opmode); 110 int ulpi_suspend(struct ulpi_viewport *ulpi_vp); 117 int ulpi_reset(struct ulpi_viewport *ulpi_vp); 130 int ulpi_write(struct ulpi_viewport *ulpi_vp, u8 *reg, u32 value); 139 u32 ulpi_read(struct ulpi_viewport *ulpi_vp, u8 *reg); [all …]
|
/u-boot/drivers/usb/host/ |
A D | ehci-zynq.c | 41 struct ulpi_viewport ulpi_vp; in ehci_zynq_probe() local 50 ulpi_vp.viewport_addr = (u32)&priv->ehci->ulpi_viewpoint; in ehci_zynq_probe() 51 ulpi_vp.port_num = 0; in ehci_zynq_probe() 53 ret = ulpi_init(&ulpi_vp); in ehci_zynq_probe() 60 ulpi_write(&ulpi_vp, &ulpi->otg_ctrl, in ehci_zynq_probe() 63 ulpi_write(&ulpi_vp, &ulpi->function_ctrl, in ehci_zynq_probe() 66 ulpi_write(&ulpi_vp, &ulpi->iface_ctrl, 0); in ehci_zynq_probe() 69 ulpi_write(&ulpi_vp, &ulpi->otg_ctrl_set, in ehci_zynq_probe()
|
A D | ehci-msm.c | 25 struct ulpi_viewport ulpi_vp; /* ULPI Viewport */ member 108 priv->ulpi_vp.port_num = 0; in ehci_usb_of_to_plat() 117 priv->ulpi_vp.viewport_addr = (phys_addr_t)&priv->ehci->ulpi_viewpoint; in ehci_usb_of_to_plat()
|
A D | ehci-omap.c | 117 struct ulpi_viewport ulpi_vp; in omap_ehci_soft_phy_reset() local 119 ulpi_vp.viewport_addr = (u32)&ehci->insreg05_utmi_ulpi; in omap_ehci_soft_phy_reset() 120 ulpi_vp.port_num = port; in omap_ehci_soft_phy_reset() 122 ulpi_reset(&ulpi_vp); in omap_ehci_soft_phy_reset()
|
A D | ehci-tegra.c | 591 struct ulpi_viewport ulpi_vp; in init_ulpi_usb_controller() local 645 ulpi_vp.port_num = 0; in init_ulpi_usb_controller() 646 ulpi_vp.viewport_addr = (u32)&usbctlr->ulpi_viewport; in init_ulpi_usb_controller() 648 ret = ulpi_init(&ulpi_vp); in init_ulpi_usb_controller() 654 ulpi_set_vbus(&ulpi_vp, 1, 1); in init_ulpi_usb_controller() 655 ulpi_set_vbus_indicator(&ulpi_vp, 1, 1, 0); in init_ulpi_usb_controller()
|
/u-boot/drivers/phy/ |
A D | msm8916-usbh-phy.c | 26 struct ulpi_viewport ulpi_vp; /* ULPI Viewport */ member 34 ulpi_write(&priv->ulpi_vp, (u8 *)ULPI_MISC_A_SET, in msm_phy_power_on() 45 ulpi_write(&priv->ulpi_vp, (u8 *)ULPI_MISC_A_CLEAR, in msm_phy_power_off() 82 priv->ulpi_vp.port_num = 0; in msm_phy_probe() 87 priv->ulpi_vp.viewport_addr = (phys_addr_t)&priv->ehci->ulpi_viewpoint; in msm_phy_probe()
|
Completed in 12 milliseconds