Home
last modified time | relevance | path

Searched refs:phy (Results 1 – 25 of 1008) sorted by relevance

12345678910>>...41

/u-boot/include/
A Dgeneric-phy.h69 int (*init)(struct phy *phy);
84 int (*exit)(struct phy *phy);
96 int (*reset)(struct phy *phy);
110 int (*power_on)(struct phy *phy);
124 int (*power_off)(struct phy *phy);
166 int generic_phy_init(struct phy *phy);
236 struct phy *phy);
294 struct phy *phy);
373 struct phy *phy) in generic_phy_get_by_index() argument
379 struct phy *phy) in generic_phy_get_by_name() argument
[all …]
/u-boot/drivers/phy/
A Dphy-uclass.c18 static int generic_phy_xlate_offs_flags(struct phy *phy, in generic_phy_xlate_offs_flags() argument
31 phy->id = 0; in generic_phy_xlate_offs_flags()
46 assert(phy); in generic_phy_get_by_index_nodev()
96 struct phy *phy) in generic_phy_get_by_index() argument
102 struct phy *phy) in generic_phy_get_by_name() argument
117 int generic_phy_init(struct phy *phy) in generic_phy_init() argument
135 int generic_phy_reset(struct phy *phy) in generic_phy_reset() argument
153 int generic_phy_exit(struct phy *phy) in generic_phy_exit() argument
171 int generic_phy_power_on(struct phy *phy) in generic_phy_power_on() argument
189 int generic_phy_power_off(struct phy *phy) in generic_phy_power_off() argument
[all …]
A Dmt76x8-usb-phy.c83 writel(val, phy->base + reg); in phy_w32()
98 phy_r32(phy, OFS_U2_PHY_AC2); in mt76x8_usb_phy_init()
102 phy_w32(phy, OFS_U2_PHY_DCR0, in mt76x8_usb_phy_init()
106 phy_w32(phy, OFS_U2_PHY_DCR0, in mt76x8_usb_phy_init()
110 phy_w32(phy, OFS_U2_PHY_DCR0, in mt76x8_usb_phy_init()
118 phy_w32(phy, OFS_U2_PHY_AC0, in mt76x8_usb_phy_init()
123 phy_w32(phy, OFS_U2_PHY_AC1, in mt76x8_usb_phy_init()
187 clk_enable(&phy->cg); in mt76x8_usb_phy_power_on()
197 mt76x8_usb_phy_init(phy); in mt76x8_usb_phy_power_on()
207 clk_disable(&phy->cg); in mt76x8_usb_phy_power_off()
[all …]
A Dphy-qcom-ipq4019-usb.c29 reset_assert(&phy->por_rst); in ipq4019_ss_phy_power_off()
41 reset_deassert(&phy->por_rst); in ipq4019_ss_phy_power_on()
53 struct ipq4019_usb_phy *phy = dev_get_priv(dev); in ipq4019_usb_ss_phy_probe() local
56 phy->base = dev_read_addr(dev); in ipq4019_usb_ss_phy_probe()
57 if (phy->base == FDT_ADDR_T_NONE) in ipq4019_usb_ss_phy_probe()
85 reset_assert(&phy->por_rst); in ipq4019_hs_phy_power_off()
88 reset_assert(&phy->srif_rst); in ipq4019_hs_phy_power_off()
100 reset_deassert(&phy->srif_rst); in ipq4019_hs_phy_power_on()
103 reset_deassert(&phy->por_rst); in ipq4019_hs_phy_power_on()
118 phy->base = dev_read_addr(dev); in ipq4019_usb_hs_phy_probe()
[all …]
A DMakefile6 obj-$(CONFIG_$(SPL_)PHY) += phy-uclass.o
7 obj-$(CONFIG_$(SPL_)NOP_PHY) += nop-phy.o
13 obj-$(CONFIG_BCM_SR_PCIE_PHY) += phy-bcm-sr-pcie.o
14 obj-$(CONFIG_PHY_SANDBOX) += sandbox-phy.o
15 obj-$(CONFIG_$(SPL_)PIPE3_PHY) += ti-pipe3-phy.o
16 obj-$(CONFIG_AM654_PHY) += phy-ti-am654.o
19 obj-$(CONFIG_PHY_RCAR_GEN2) += phy-rcar-gen2.o
20 obj-$(CONFIG_PHY_RCAR_GEN3) += phy-rcar-gen3.o
28 obj-$(CONFIG_OMAP_USB2_PHY) += omap-usb2-phy.o
32 obj-$(CONFIG_PHY_DA8XX_USB) += phy-da8xx-usb.o
[all …]
/u-boot/arch/mips/dts/
A Djr2_pcb111.dts80 phy0: ethernet-phy@0 {
83 phy1: ethernet-phy@1 {
86 phy2: ethernet-phy@2 {
89 phy3: ethernet-phy@3 {
92 phy4: ethernet-phy@4 {
95 phy5: ethernet-phy@5 {
98 phy6: ethernet-phy@6 {
101 phy7: ethernet-phy@7 {
104 phy8: ethernet-phy@8 {
107 phy9: ethernet-phy@9 {
[all …]
A Dluton_pcb090.dts62 phy0: ethernet-phy@0 {
65 phy1: ethernet-phy@1 {
68 phy2: ethernet-phy@2 {
71 phy3: ethernet-phy@3 {
74 phy4: ethernet-phy@4 {
77 phy5: ethernet-phy@5 {
80 phy6: ethernet-phy@6 {
83 phy7: ethernet-phy@7 {
86 phy8: ethernet-phy@8 {
89 phy9: ethernet-phy@9 {
[all …]
A Dluton_pcb091.dts67 phy0: ethernet-phy@0 {
70 phy1: ethernet-phy@1 {
73 phy2: ethernet-phy@2 {
76 phy3: ethernet-phy@3 {
79 phy4: ethernet-phy@4 {
82 phy5: ethernet-phy@5 {
85 phy6: ethernet-phy@6 {
88 phy7: ethernet-phy@7 {
91 phy8: ethernet-phy@8 {
94 phy9: ethernet-phy@9 {
[all …]
/u-boot/drivers/video/sunxi/
A Dsunxi_dw_hdmi.c71 writel(0, &phy->ctrl); in sunxi_dw_hdmi_phy_init()
98 writel(0x39dc5040, &phy->pll); in sunxi_dw_hdmi_phy_init()
99 writel(0x80084343, &phy->clk); in sunxi_dw_hdmi_phy_init()
101 writel(1, &phy->unk3); in sunxi_dw_hdmi_phy_init()
106 setbits_le32(&phy->pll, tmp); in sunxi_dw_hdmi_phy_init()
107 writel(0x01FF0F7F, &phy->ctrl); in sunxi_dw_hdmi_phy_init()
108 writel(0x80639000, &phy->unk1); in sunxi_dw_hdmi_phy_init()
109 writel(0x0F81C405, &phy->unk2); in sunxi_dw_hdmi_phy_init()
178 setbits_le32(&phy->pll, tmp); in sunxi_dw_hdmi_phy_set()
192 setbits_le32(&phy->pll, tmp); in sunxi_dw_hdmi_phy_set()
[all …]
/u-boot/drivers/usb/dwc3/
A Dti_usb_phy.c154 if (!phy->pll_ctrl_base) in ti_usb3_dpll_program()
200 if (phy->index == 1) in ti_usb2_phy_power()
212 if (phy->index == 1) in ti_usb2_phy_power()
235 if (!phy->usb3_phy_power) in ti_usb3_phy_power()
268 struct ti_usb_phy *phy; in ti_usb_phy_uboot_init() local
270 phy = devm_kzalloc(NULL, sizeof(*phy), GFP_KERNEL); in ti_usb_phy_uboot_init()
271 if (!phy) { in ti_usb_phy_uboot_init()
277 phy->index = dev->index; in ti_usb_phy_uboot_init()
308 if (phy->index != index) in ti_usb_phy_uboot_exit()
315 list_del(&phy->list); in ti_usb_phy_uboot_exit()
[all …]
A Dsamsung_usb_phy.c15 void exynos5_usb3_phy_init(struct exynos_usb3_phy *phy) in exynos5_usb3_phy_init() argument
20 writel(0x0, &phy->phy_reg0); in exynos5_usb3_phy_init()
22 clrbits_le32(&phy->phy_param0, in exynos5_usb3_phy_init()
27 setbits_le32(&phy->phy_param0, PHYPARAM0_REF_LOSLEVEL); in exynos5_usb3_phy_init()
30 writel(0x0, &phy->phy_resume); in exynos5_usb3_phy_init()
36 setbits_le32(&phy->link_system, in exynos5_usb3_phy_init()
44 setbits_le32(&phy->phy_batchg, PHYBATCHG_UTMI_CLKSEL); in exynos5_usb3_phy_init()
47 clrbits_le32(&phy->phy_test, in exynos5_usb3_phy_init()
52 writel(PHYUTMI_OTGDISABLE, &phy->phy_utmi); in exynos5_usb3_phy_init()
71 writel(reg, &phy->phy_clk_rst); in exynos5_usb3_phy_init()
[all …]
/u-boot/arch/arm/dts/
A Dfsl-lx2160a-qds-sd1-7.dtsi16 phy-handle = <&aquantia_phy1>;
17 phy-connection-type = "usxgmii";
22 phy-handle = <&aquantia_phy2>;
28 phy-handle = <&aquantia_phy3>;
34 phy-handle = <&aquantia_phy4>;
40 phy-handle = <&sgmii_phy1>;
41 phy-connection-type = "sgmii";
46 phy-handle = <&sgmii_phy2>;
47 phy-connection-type = "sgmii";
52 phy-handle = <&sgmii_phy3>;
[all …]
A Dfsl-lx2160a-qds-sd1-19.dtsi18 phy-handle = <&cortina_phy0>;
19 phy-connection-type = "xlaui4";
24 phy-handle = <&aquantia_phy1>;
25 phy-connection-type = "usxgmii";
30 phy-handle = <&aquantia_phy2>;
36 phy-handle = <&inphi_phy0>;
42 phy-handle = <&inphi_phy1>;
47 aquantia_phy1: ethernet-phy@4 {
59 cortina_phy0: ethernet-phy@0 {
66 inphi_phy0: ethernet-phy@0 {
[all …]
A Dfsl-lx2160a-qds-sd2-11.dtsi16 phy-handle = <&sgmii_phy7_2>;
17 phy-connection-type = "sgmii";
22 phy-handle = <&sgmii_phy7_3>;
23 phy-connection-type = "sgmii";
28 phy-handle = <&sgmii_phy7_4>;
29 phy-connection-type = "sgmii";
34 phy-handle = <&sgmii_phy8_2>;
35 phy-connection-type = "sgmii";
40 phy-handle = <&sgmii_phy8_3>;
41 phy-connection-type = "sgmii";
[all …]
A Dfsl-lx2160a-qds-sd1-3.dtsi16 phy-handle = <&aquantia_phy1>;
17 phy-connection-type = "usxgmii";
22 phy-handle = <&aquantia_phy2>;
23 phy-connection-type = "usxgmii";
28 phy-handle = <&aquantia_phy3>;
29 phy-connection-type = "usxgmii";
34 phy-handle = <&aquantia_phy4>;
35 phy-connection-type = "usxgmii";
39 aquantia_phy1: ethernet-phy@4 {
43 aquantia_phy2: ethernet-phy@5 {
[all …]
A Dfsl-lx2162a-qds-sd1-17.dtsi16 phy-handle = <&inphi_phy0>;
17 phy-connection-type = "25g-aui";
22 phy-handle = <&inphi_phy1>;
23 phy-connection-type = "25g-aui";
28 phy-handle = <&inphi_phy2>;
29 phy-connection-type = "25g-aui";
34 phy-handle = <&inphi_phy3>;
39 inphi_phy0: ethernet-phy@0 {
44 inphi_phy1: ethernet-phy@1 {
49 inphi_phy2: ethernet-phy@2 {
[all …]
A Dfsl-lx2162a-qds-sd1-18.dtsi17 phy-handle = <&aquantia_phy1>;
18 phy-connection-type = "usxgmii";
23 phy-handle = <&aquantia_phy2>;
24 phy-connection-type = "usxgmii";
29 phy-handle = <&inphi_phy0>;
30 phy-connection-type = "25g-aui";
35 phy-handle = <&inphi_phy1>;
40 aquantia_phy1: ethernet-phy@4 {
45 aquantia_phy2: ethernet-phy@5 {
52 inphi_phy0: ethernet-phy@0 {
[all …]
/u-boot/drivers/usb/gadget/
A Ddwc2_udc_otg_phy.c43 struct dwc2_usbotg_phy *phy = in otg_phy_init() local
55 writel((readl(&phy->phypwr) in otg_phy_init()
57 &~FORCE_SUSPEND_0), &phy->phypwr); in otg_phy_init()
60 &~FORCE_SUSPEND_0), &phy->phypwr); in otg_phy_init()
65 &phy->phyclk); /* PLL 24Mhz */ in otg_phy_init()
71 | PHY_SW_RST0, &phy->rstcon); in otg_phy_init()
73 writel(readl(&phy->rstcon) in otg_phy_init()
81 struct dwc2_usbotg_phy *phy = in otg_phy_off() local
85 writel(PHY_SW_RST0, &phy->rstcon); in otg_phy_off()
87 writel(readl(&phy->phypwr) &~PHY_SW_RST0, &phy->rstcon); in otg_phy_off()
[all …]
/u-boot/board/highbank/
A Dahci.c56 static u32 combo_phy_read(u8 phy, u32 addr) in combo_phy_read() argument
59 if (phy == 5) in combo_phy_read()
63 __combo_phy_reg_write(phy, dev, SERDES_CR_ADDR, addr); in combo_phy_read()
73 if (phy == 5) in combo_phy_write()
103 shift = ((phy == 5) ? 4 : lane) * 4; in cphy_tx_attenuation_override()
124 u8 lane = 0, phy = 0; in cphy_disable_port_overrides() local
127 phy = 5; in cphy_disable_port_overrides()
156 u8 lane = 0, phy = 0; in cphy_override_lane() local
159 phy = 5; in cphy_override_lane()
169 cphy_spread_spectrum_override(phy, lane, 3); in cphy_override_lane()
[all …]
/u-boot/arch/powerpc/dts/
A Dp4080ds.dts39 phy-handle = <&phy0>;
44 phy-handle = <&phy1>;
49 phy-handle = <&phy2>;
54 phy-handle = <&phy3>;
59 phy-handle = <&phy10>;
66 phy-handle = <&phy5>;
71 phy-handle = <&phy6>;
76 phy-handle = <&phy7>;
81 phy-handle = <&phy8>;
86 phy-handle = <&phy11>;
[all …]
A Dp2041rdb.dts38 phy-handle = <&phy_sgmii_2>;
43 phy_rgmii_0: ethernet-phy@0 {
47 phy_rgmii_1: ethernet-phy@1 {
51 phy_sgmii_2: ethernet-phy@2 {
55 phy_sgmii_3: ethernet-phy@3 {
59 phy_sgmii_4: ethernet-phy@4 {
81 phy-handle = <&phy_sgmii_3>;
86 phy-handle = <&phy_sgmii_4>;
91 phy-handle = <&phy_rgmii_1>;
96 phy-handle = <&phy_rgmii_0>;
[all …]
A Dp1010rdb.dtsi15 phy0: ethernet-phy@0 {
19 phy1: ethernet-phy@1 {
23 phy2: ethernet-phy@2 {
27 tbi-phy@3 {
28 device_type = "tbi-phy";
34 tbi0: tbi-phy@11 {
36 device_type = "tbi-phy";
41 tbi1: tbi-phy@11 {
48 phy-handle = <&phy0>;
53 phy-handle = <&phy1>;
[all …]
/u-boot/arch/arm/mach-omap2/
A Dpipe3-phy.c112 dpll_params = omap_pipe3_get_dpll_params(phy); in omap_pipe3_dpll_program()
145 return omap_pipe3_wait_lock(phy); in omap_pipe3_dpll_program()
152 val = readl(phy->power_reg); in omap_control_phy_power()
170 writel(val, phy->power_reg); in omap_control_phy_power()
173 int phy_pipe3_power_on(struct omap_pipe3 *phy) in phy_pipe3_power_on() argument
181 ret = omap_pipe3_dpll_program(phy); in phy_pipe3_power_on()
189 omap_pipe3_writel(phy->pll_ctrl_base, in phy_pipe3_power_on()
191 ret = omap_pipe3_wait_lock(phy); in phy_pipe3_power_on()
198 omap_control_phy_power(phy, 1); in phy_pipe3_power_on()
203 int phy_pipe3_power_off(struct omap_pipe3 *phy) in phy_pipe3_power_off() argument
[all …]
/u-boot/drivers/ram/stm32mp1/
A Dstm32mp1_tuning.c356 writel(0x3, &phy->bistrr); in config_BIST()
359 &phy->bistrr); in config_BIST()
394 itm_soft_reset(phy); in BIST_test()
540 config_BIST(ctl, phy); in bit_deskew()
557 BIST_datx8_sel(phy, datx8); in bit_deskew()
953 config_BIST(ctl, phy); in eye_training()
980 BIST_datx8_sel(phy, byte); in eye_training()
1045 DQS_unit_delay(phy, byte, in eye_training()
1227 DXNDQTR(phy, byte), in display_reg_results()
1375 config_BIST(ctl, phy); in read_dqs_gating()
[all …]
/u-boot/drivers/phy/allwinner/
A Dphy-sun4i-usb.c216 static int sun4i_usb_phy_power_on(struct phy *phy) in sun4i_usb_phy_power_on() argument
236 static int sun4i_usb_phy_power_off(struct phy *phy) in sun4i_usb_phy_power_off() argument
266 static int sun4i_usb_phy_init(struct phy *phy) in sun4i_usb_phy_init() argument
276 phy->id); in sun4i_usb_phy_init()
283 phy->id); in sun4i_usb_phy_init()
323 static int sun4i_usb_phy_exit(struct phy *phy) in sun4i_usb_phy_exit() argument
344 phy->id); in sun4i_usb_phy_exit()
351 phy->id); in sun4i_usb_phy_exit()
358 static int sun4i_usb_phy_xlate(struct phy *phy, in sun4i_usb_phy_xlate() argument
378 int sun4i_usb_phy_vbus_detect(struct phy *phy) in sun4i_usb_phy_vbus_detect() argument
[all …]

Completed in 34 milliseconds

12345678910>>...41