Home
last modified time | relevance | path

Searched refs:usb_phy (Results 1 – 22 of 22) sorted by relevance

/external/u-boot/drivers/phy/allwinner/
Dphy-sun4i-usb.c140 struct sun4i_usb_phy_plat *usb_phy; member
148 struct sun4i_usb_phy_plat *usb_phy = &phy_data->usb_phy[phy->id]; in sun4i_usb_phy_write() local
149 u32 temp, usbc_bit = BIT(usb_phy->id * 2); in sun4i_usb_phy_write()
193 struct sun4i_usb_phy_plat *usb_phy = &data->usb_phy[phy->id]; in sun4i_usb_phy_passby() local
196 if (!usb_phy->pmu) in sun4i_usb_phy_passby()
203 if (data->cfg->type == sun8i_a83t_phy && usb_phy->id == 2) in sun4i_usb_phy_passby()
207 reg_value = readl(usb_phy->pmu); in sun4i_usb_phy_passby()
214 writel(reg_value, usb_phy->pmu); in sun4i_usb_phy_passby()
220 struct sun4i_usb_phy_plat *usb_phy = &data->usb_phy[phy->id]; in sun4i_usb_phy_power_on() local
227 usb_phy->power_on_count++; in sun4i_usb_phy_power_on()
[all …]
/external/u-boot/arch/powerpc/cpu/mpc85xx/
Dcpu_init.c63 void usb_single_source_clk_configure(struct ccsr_usb_phy *usb_phy) in usb_single_source_clk_configure() argument
69 clrbits_be32(&usb_phy->pllprg[1], in usb_single_source_clk_configure()
71 setbits_be32(&usb_phy->pllprg[1], in usb_single_source_clk_configure()
80 void fsl_erratum_a006261_workaround(struct ccsr_usb_phy __iomem *usb_phy) in fsl_erratum_a006261_workaround() argument
83 u32 xcvrprg = in_be32(&usb_phy->port1.xcvrprg); in fsl_erratum_a006261_workaround()
90 out_be32(&usb_phy->port1.xcvrprg, xcvrprg); in fsl_erratum_a006261_workaround()
92 xcvrprg = in_be32(&usb_phy->port2.xcvrprg); in fsl_erratum_a006261_workaround()
98 out_be32(&usb_phy->port2.xcvrprg, xcvrprg); in fsl_erratum_a006261_workaround()
102 u32 status = in_be32(&usb_phy->status1); in fsl_erratum_a006261_workaround()
112 setbits_be32(&usb_phy->config1, in fsl_erratum_a006261_workaround()
[all …]
/external/u-boot/arch/arm/cpu/armv7/ls102xa/
Dsoc.c97 void __iomem *usb_phy = (void __iomem *)USB_PHY_BASE; in erratum_a009007() local
99 out_le16(usb_phy + USB_PHY_RX_OVRD_IN_HI, USB_PHY_RX_EQ_VAL_1); in erratum_a009007()
100 out_le16(usb_phy + USB_PHY_RX_OVRD_IN_HI, USB_PHY_RX_EQ_VAL_2); in erratum_a009007()
101 out_le16(usb_phy + USB_PHY_RX_OVRD_IN_HI, USB_PHY_RX_EQ_VAL_3); in erratum_a009007()
102 out_le16(usb_phy + USB_PHY_RX_OVRD_IN_HI, USB_PHY_RX_EQ_VAL_4); in erratum_a009007()
/external/u-boot/drivers/phy/
Dsti_usb_phy.c60 static int sti_usb_phy_init(struct phy *usb_phy) in sti_usb_phy_init() argument
62 struct udevice *dev = usb_phy->dev; in sti_usb_phy_init()
79 static int sti_usb_phy_exit(struct phy *usb_phy) in sti_usb_phy_exit() argument
81 struct udevice *dev = usb_phy->dev; in sti_usb_phy_exit()
/external/u-boot/drivers/usb/host/
Dehci-fsl.c193 char usb_phy[5]; in ehci_fsl_init() local
195 usb_phy[0] = '\0'; in ehci_fsl_init()
232 strcpy(usb_phy, "utmi"); in ehci_fsl_init()
233 phy_type = usb_phy; in ehci_fsl_init()
Dxhci-rockchip.c195 U_BOOT_DRIVER(usb_phy) = {
/external/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
Dsoc.c152 void __iomem *usb_phy = (void __iomem *)SCFG_USB_PHY1; in erratum_a009007() local
154 PROGRAM_USB_PHY_RX_OVRD_IN_HI(usb_phy); in erratum_a009007()
156 usb_phy = (void __iomem *)SCFG_USB_PHY2; in erratum_a009007()
157 PROGRAM_USB_PHY_RX_OVRD_IN_HI(usb_phy); in erratum_a009007()
159 usb_phy = (void __iomem *)SCFG_USB_PHY3; in erratum_a009007()
160 PROGRAM_USB_PHY_RX_OVRD_IN_HI(usb_phy); in erratum_a009007()
/external/u-boot/arch/arm/dts/
Dkeystone.dtsi180 usb_phy: usb_phy@2620738 { label
205 usb-phy = <&usb_phy>, <&usb_phy>;
Dda850.dtsi264 usb_phy: usb-phy { label
466 phys = <&usb_phy 0>;
526 phys = <&usb_phy 1>;
Dkeystone-k2l-evm.dts31 &usb_phy {
Dkeystone-k2e-evm.dts46 &usb_phy {
Dkeystone-k2e.dtsi53 usb1_phy: usb_phy@2620750 {
Dkeystone-k2hk-evm.dts82 &usb_phy {
Dda850-lcdk.dts236 &usb_phy {
Dsun5i.dtsi338 clock-output-names = "usb_ohci0", "usb_phy";
500 clock-names = "usb_phy";
Dsun5i-gr8.dtsi411 clock-output-names = "usb_ohci0", "usb_phy";
709 clock-names = "usb_phy";
Dsun4i-a10.dtsi545 "usb_phy";
869 clock-names = "usb_phy";
Dsun7i-a20.dtsi574 "usb_phy";
998 clock-names = "usb_phy";
/external/u-boot/doc/device-tree-bindings/phy/
Dsun4i-usb-phy.txt26 * "usb_phy" for sun4i, sun5i or sun7i
55 clock-names = "usb_phy";
/external/u-boot/arch/arm/mach-exynos/include/mach/
Dcpu.h305 SAMSUNG_BASE(usb_phy, USBPHY_BASE)
/external/u-boot/drivers/usb/musb-new/
Dmusb_core.h370 struct usb_phy *xceiv;
Dmusb_core.c121 static int musb_ulpi_read(struct usb_phy *phy, u32 offset) in musb_ulpi_read()
165 static int musb_ulpi_write(struct usb_phy *phy, u32 offset, u32 data) in musb_ulpi_write()