Home
last modified time | relevance | path

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

12

/external/u-boot/drivers/phy/allwinner/
Dphy-sun4i-usb.c133 struct sun4i_usb_phy_plat *usb_phy; member
141 struct sun4i_usb_phy_plat *usb_phy = &phy_data->usb_phy[phy->id]; in sun4i_usb_phy_write() local
142 u32 temp, usbc_bit = BIT(usb_phy->id * 2); in sun4i_usb_phy_write()
186 struct sun4i_usb_phy_plat *usb_phy = &data->usb_phy[phy->id]; in sun4i_usb_phy_passby() local
189 if (!usb_phy->pmu) in sun4i_usb_phy_passby()
196 if (data->cfg->type == sun8i_a83t_phy && usb_phy->id == 2) in sun4i_usb_phy_passby()
200 reg_value = readl(usb_phy->pmu); in sun4i_usb_phy_passby()
207 writel(reg_value, usb_phy->pmu); in sun4i_usb_phy_passby()
213 struct sun4i_usb_phy_plat *usb_phy = &data->usb_phy[phy->id]; in sun4i_usb_phy_power_on() local
220 usb_phy->power_on_count++; in sun4i_usb_phy_power_on()
[all …]
/external/u-boot/drivers/phy/
Domap-usb2-phy.c97 static int omap_usb_phy_power(struct phy *usb_phy, bool on) in omap_usb_phy_power() argument
99 struct udevice *dev = usb_phy->dev; in omap_usb_phy_power()
124 static int omap_usb2_phy_init(struct phy *usb_phy) in omap_usb2_phy_init() argument
126 struct udevice *dev = usb_phy->dev; in omap_usb2_phy_init()
147 static int omap_usb2_phy_power_on(struct phy *usb_phy) in omap_usb2_phy_power_on() argument
149 return omap_usb_phy_power(usb_phy, true); in omap_usb2_phy_power_on()
152 static int omap_usb2_phy_power_off(struct phy *usb_phy) in omap_usb2_phy_power_off() argument
154 return omap_usb_phy_power(usb_phy, false); in omap_usb2_phy_power_off()
157 static int omap_usb2_phy_exit(struct phy *usb_phy) in omap_usb2_phy_exit() argument
159 return omap_usb_phy_power(usb_phy, false); in omap_usb2_phy_exit()
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/arch/powerpc/cpu/mpc85xx/
Dcpu_init.c65 void usb_single_source_clk_configure(struct ccsr_usb_phy *usb_phy) in usb_single_source_clk_configure() argument
71 clrbits_be32(&usb_phy->pllprg[1], in usb_single_source_clk_configure()
73 setbits_be32(&usb_phy->pllprg[1], in usb_single_source_clk_configure()
82 void fsl_erratum_a006261_workaround(struct ccsr_usb_phy __iomem *usb_phy) in fsl_erratum_a006261_workaround() argument
85 u32 xcvrprg = in_be32(&usb_phy->port1.xcvrprg); in fsl_erratum_a006261_workaround()
92 out_be32(&usb_phy->port1.xcvrprg, xcvrprg); in fsl_erratum_a006261_workaround()
94 xcvrprg = in_be32(&usb_phy->port2.xcvrprg); in fsl_erratum_a006261_workaround()
100 out_be32(&usb_phy->port2.xcvrprg, xcvrprg); in fsl_erratum_a006261_workaround()
104 u32 status = in_be32(&usb_phy->status1); in fsl_erratum_a006261_workaround()
114 setbits_be32(&usb_phy->config1, in fsl_erratum_a006261_workaround()
[all …]
/external/u-boot/arch/arm/cpu/armv7/ls102xa/
Dsoc.c98 void __iomem *usb_phy = (void __iomem *)USB_PHY_BASE; in erratum_a009007() local
100 out_le16(usb_phy + USB_PHY_RX_OVRD_IN_HI, USB_PHY_RX_EQ_VAL_1); in erratum_a009007()
101 out_le16(usb_phy + USB_PHY_RX_OVRD_IN_HI, USB_PHY_RX_EQ_VAL_2); in erratum_a009007()
102 out_le16(usb_phy + USB_PHY_RX_OVRD_IN_HI, USB_PHY_RX_EQ_VAL_3); in erratum_a009007()
103 out_le16(usb_phy + USB_PHY_RX_OVRD_IN_HI, USB_PHY_RX_EQ_VAL_4); in erratum_a009007()
/external/u-boot/arch/arm/dts/
Dkeystone-k2l-evm-u-boot.dtsi6 &usb_phy {
13 phys = <&usb_phy>;
Dkeystone-k2hk-evm-u-boot.dtsi16 &usb_phy {
23 phys = <&usb_phy>;
Dkeystone-k2e-evm-u-boot.dtsi20 &usb_phy {
27 phys = <&usb_phy>;
Dkeystone.dtsi180 usb_phy: usb_phy@2620738 { label
205 usb-phy = <&usb_phy>, <&usb_phy>;
Dkeystone-k2l-evm.dts31 &usb_phy {
Dkeystone-k2e.dtsi53 usb1_phy: usb_phy@2620750 {
Dkeystone-k2e-evm.dts46 &usb_phy {
Dkeystone-k2hk-evm.dts82 &usb_phy {
Dda850.dtsi334 usb_phy: usb-phy { label
615 phys = <&usb_phy 0>;
698 phys = <&usb_phy 1>;
Dda850-lcdk.dts245 &usb_phy {
Dda850-evm.dts435 &usb_phy {
Dsun5i.dtsi333 clock-names = "usb_phy";
/external/u-boot/drivers/usb/host/
Dehci-fsl.c209 char usb_phy[5]; in ehci_fsl_init() local
211 usb_phy[0] = '\0'; in ehci_fsl_init()
248 strcpy(usb_phy, "utmi"); in ehci_fsl_init()
249 phy_type = usb_phy; in ehci_fsl_init()
Dxhci-rockchip.c193 U_BOOT_DRIVER(usb_phy) = {
/external/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
Dsoc.c164 void __iomem *usb_phy = (void __iomem *)SCFG_USB_PHY1; in erratum_a009007() local
166 PROGRAM_USB_PHY_RX_OVRD_IN_HI(usb_phy); in erratum_a009007()
168 usb_phy = (void __iomem *)SCFG_USB_PHY2; in erratum_a009007()
169 PROGRAM_USB_PHY_RX_OVRD_IN_HI(usb_phy); in erratum_a009007()
171 usb_phy = (void __iomem *)SCFG_USB_PHY3; in erratum_a009007()
172 PROGRAM_USB_PHY_RX_OVRD_IN_HI(usb_phy); in erratum_a009007()
/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/mips/dts/
Dmt7628a.dtsi368 usb_phy: usb-phy@10120000 { label
387 phys = <&usb_phy>;
/external/u-boot/arch/arm/mach-exynos/include/mach/
Dcpu.h307 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()

12