Home
last modified time | relevance | path

Searched refs:dwmac (Results 1 – 25 of 127) sorted by relevance

123456

/linux/drivers/net/ethernet/stmicro/stmmac/
A Ddwmac-stm32.c134 ret = dwmac->ops->clk_prepare(dwmac, true); in stm32_dwmac_init()
185 (dwmac->eth_clk_sel_reg || dwmac->ext_phyclk)) { in stm32mp1_set_mode()
194 (dwmac->eth_ref_clk_sel_reg || dwmac->ext_phyclk)) { in stm32mp1_set_mode()
206 (dwmac->eth_clk_sel_reg || dwmac->ext_phyclk)) { in stm32mp1_set_mode()
260 dwmac->ops->clk_prepare(dwmac, false); in stm32_dwmac_clk_disable()
283 err = dwmac->ops->parse_data(dwmac, dev); in stm32_dwmac_parse_data()
345 if (!dwmac->clk_eth_ck && dwmac->irq_pwr_wakeup >= 0) { in stm32mp1_parse_data()
378 dwmac = devm_kzalloc(&pdev->dev, sizeof(*dwmac), GFP_KERNEL); in stm32_dwmac_probe()
379 if (!dwmac) { in stm32_dwmac_probe()
478 ret = dwmac->ops->suspend(dwmac); in stm32_dwmac_suspend()
[all …]
A Ddwmac-meson8b.c322 dev_err(dwmac->dev, in meson8b_init_rgmii_delays()
331 dev_err(dwmac->dev, in meson8b_init_rgmii_delays()
364 dev_err(dwmac->dev, in meson8b_init_prg_eth()
372 dev_err(dwmac->dev, in meson8b_init_prg_eth()
405 dwmac = devm_kzalloc(&pdev->dev, sizeof(*dwmac), GFP_KERNEL); in meson8b_dwmac_probe()
406 if (!dwmac) { in meson8b_dwmac_probe()
413 if (!dwmac->data) { in meson8b_dwmac_probe()
446 if (dwmac->rx_delay_ps > 3000 || dwmac->rx_delay_ps % 200) { in meson8b_dwmac_probe()
453 if (dwmac->rx_delay_ps != 0 && dwmac->rx_delay_ps != 2000) { in meson8b_dwmac_probe()
461 dwmac->timing_adj_clk = devm_clk_get_optional(dwmac->dev, in meson8b_dwmac_probe()
[all …]
A Ddwmac-sti.c164 u32 reg = dwmac->ctrl_reg; in stih4xx_fix_retime_src()
170 if (dwmac->ext_phyclk) { in stih4xx_fix_retime_src()
234 if (dwmac->gmac_en) in sti_dwmac_set_mode()
242 dwmac->fix_retime_src(dwmac, dwmac->speed); in sti_dwmac_set_mode()
278 dwmac->regmap = regmap; in sti_dwmac_parse_data()
282 dwmac->speed = SPEED_100; in sti_dwmac_parse_data()
302 if (IS_ERR(dwmac->clk)) { in sti_dwmac_parse_data()
304 dwmac->clk = NULL; in sti_dwmac_parse_data()
315 struct sti_dwmac *dwmac; in sti_dwmac_probe() local
332 dwmac = devm_kzalloc(&pdev->dev, sizeof(*dwmac), GFP_KERNEL); in sti_dwmac_probe()
[all …]
A Ddwmac-imx.c80 return regmap_update_bits(dwmac->intf_regmap, dwmac->intf_reg_off, in imx8mp_set_intf_mode()
125 plat_dat = dwmac->plat_dat; in imx_dwmac_init()
148 plat_dat = dwmac->plat_dat; in imx_dwmac_fix_speed()
185 if (IS_ERR(dwmac->clk_tx)) { in imx_dwmac_parse_dt()
190 dwmac->clk_mem = NULL; in imx_dwmac_parse_dt()
230 dwmac = devm_kzalloc(&pdev->dev, sizeof(*dwmac), GFP_KERNEL); in imx_dwmac_probe()
231 if (!dwmac) in imx_dwmac_probe()
245 dwmac->ops = data; in imx_dwmac_probe()
246 dwmac->dev = &pdev->dev; in imx_dwmac_probe()
259 plat_dat->bsp_priv = dwmac; in imx_dwmac_probe()
[all …]
A Ddwmac-socfpga.c165 dwmac->splitter_base = in socfpga_dwmac_parse_data()
209 dwmac->pcs.tse_pcs_base = in socfpga_dwmac_parse_data()
221 dwmac->dev = dev; in socfpga_dwmac_parse_data()
279 if (dwmac->splitter_base) in socfpga_gen5_set_phy_mode()
301 if (dwmac->f2h_ptp_ref_clk) in socfpga_gen5_set_phy_mode()
315 if (tse_pcs_init(dwmac->pcs.tse_pcs_base, &dwmac->pcs) != 0) { in socfpga_gen5_set_phy_mode()
339 if (dwmac->splitter_base) in socfpga_gen10_set_phy_mode()
372 if (tse_pcs_init(dwmac->pcs.tse_pcs_base, &dwmac->pcs) != 0) { in socfpga_gen10_set_phy_mode()
405 dwmac = devm_kzalloc(dev, sizeof(*dwmac), GFP_KERNEL); in socfpga_dwmac_probe()
406 if (!dwmac) { in socfpga_dwmac_probe()
[all …]
A Ddwmac-intel-plat.c33 struct intel_dwmac *dwmac = priv; in kmb_eth_fix_mac_speed() local
37 rate = clk_get_rate(dwmac->tx_clk); in kmb_eth_fix_mac_speed()
80 struct intel_dwmac *dwmac; in intel_eth_plat_probe() local
94 dwmac = devm_kzalloc(&pdev->dev, sizeof(*dwmac), GFP_KERNEL); in intel_eth_plat_probe()
95 if (!dwmac) { in intel_eth_plat_probe()
100 dwmac->dev = &pdev->dev; in intel_eth_plat_probe()
101 dwmac->tx_clk = NULL; in intel_eth_plat_probe()
107 if (dwmac->data->fix_mac_speed) in intel_eth_plat_probe()
111 if (dwmac->data->tx_clk_en) { in intel_eth_plat_probe()
113 if (IS_ERR(dwmac->tx_clk)) { in intel_eth_plat_probe()
[all …]
A Ddwmac-visconti.c57 struct visconti_eth *dwmac = priv; in visconti_eth_fix_mac_speed() local
61 spin_lock_irqsave(&dwmac->lock, flags); in visconti_eth_fix_mac_speed()
99 switch (dwmac->phy_intf_sel) { in visconti_eth_fix_mac_speed()
150 reg_val = dwmac->phy_intf_sel; in visconti_eth_init_hw()
174 if (IS_ERR(dwmac->phy_ref_clk)) in visconti_eth_clock_probe()
203 struct visconti_eth *dwmac; in visconti_eth_dwmac_probe() local
214 dwmac = devm_kzalloc(&pdev->dev, sizeof(*dwmac), GFP_KERNEL); in visconti_eth_dwmac_probe()
215 if (!dwmac) { in visconti_eth_dwmac_probe()
220 spin_lock_init(&dwmac->lock); in visconti_eth_dwmac_probe()
221 dwmac->reg = stmmac_res.addr; in visconti_eth_dwmac_probe()
[all …]
A DMakefile16 obj-$(CONFIG_DWMAC_ANARION) += dwmac-anarion.o
21 obj-$(CONFIG_DWMAC_MESON) += dwmac-meson.o dwmac-meson8b.o
22 obj-$(CONFIG_DWMAC_OXNAS) += dwmac-oxnas.o
24 obj-$(CONFIG_DWMAC_ROCKCHIP) += dwmac-rk.o
26 obj-$(CONFIG_DWMAC_STI) += dwmac-sti.o
27 obj-$(CONFIG_DWMAC_STM32) += dwmac-stm32.o
28 obj-$(CONFIG_DWMAC_SUNXI) += dwmac-sunxi.o
29 obj-$(CONFIG_DWMAC_SUN8I) += dwmac-sun8i.o
33 obj-$(CONFIG_DWMAC_IMX8) += dwmac-imx.o
36 dwmac-altr-socfpga-objs := altr_tse_pcs.o dwmac-socfpga.o
[all …]
A Ddwmac-oxnas.c59 struct oxnas_dwmac *dwmac = priv; in oxnas_dwmac_init() local
64 ret = device_reset(dwmac->dev); in oxnas_dwmac_init()
114 struct oxnas_dwmac *dwmac; in oxnas_dwmac_probe() local
125 dwmac = devm_kzalloc(&pdev->dev, sizeof(*dwmac), GFP_KERNEL); in oxnas_dwmac_probe()
126 if (!dwmac) { in oxnas_dwmac_probe()
131 dwmac->dev = &pdev->dev; in oxnas_dwmac_probe()
132 plat_dat->bsp_priv = dwmac; in oxnas_dwmac_probe()
138 if (IS_ERR(dwmac->regmap)) { in oxnas_dwmac_probe()
140 ret = PTR_ERR(dwmac->regmap); in oxnas_dwmac_probe()
145 if (IS_ERR(dwmac->clk)) { in oxnas_dwmac_probe()
[all …]
A Ddwmac-meson.c27 struct meson_dwmac *dwmac = priv; in meson6_dwmac_fix_mac_speed() local
30 val = readl(dwmac->reg); in meson6_dwmac_fix_mac_speed()
41 writel(val, dwmac->reg); in meson6_dwmac_fix_mac_speed()
48 struct meson_dwmac *dwmac; in meson6_dwmac_probe() local
59 dwmac = devm_kzalloc(&pdev->dev, sizeof(*dwmac), GFP_KERNEL); in meson6_dwmac_probe()
60 if (!dwmac) { in meson6_dwmac_probe()
65 dwmac->reg = devm_platform_ioremap_resource(pdev, 1); in meson6_dwmac_probe()
66 if (IS_ERR(dwmac->reg)) { in meson6_dwmac_probe()
67 ret = PTR_ERR(dwmac->reg); in meson6_dwmac_probe()
71 plat_dat->bsp_priv = dwmac; in meson6_dwmac_probe()
/linux/Documentation/devicetree/bindings/net/
A Damlogic,meson-dwmac.yaml20 - amlogic,meson6-dwmac
21 - amlogic,meson8b-dwmac
22 - amlogic,meson8m2-dwmac
23 - amlogic,meson-gxbb-dwmac
24 - amlogic,meson-axg-dwmac
25 - amlogic,meson-g12a-dwmac
30 - $ref: "snps,dwmac.yaml#"
136 - amlogic,meson6-dwmac
144 - snps,dwmac-3.70a
145 - snps,dwmac
[all …]
A Dstm32-dwmac.yaml23 - st,stm32-dwmac
24 - st,stm32mp1-dwmac
29 - $ref: "snps,dwmac.yaml#"
36 - st,stm32mp1-dwmac
37 - const: snps,dwmac-4.20a
40 - st,stm32-dwmac
41 - const: snps,dwmac-4.10a
44 - st,stm32-dwmac
102 compatible = "st,stm32mp1-dwmac", "snps,dwmac-4.20a";
126 compatible = "st,stm32-dwmac", "snps,dwmac-3.50a";
[all …]
A Dsnps,dwmac.yaml23 - snps,dwmac
24 - snps,dwmac-3.40a
25 - snps,dwmac-3.50a
26 - snps,dwmac-3.610
27 - snps,dwmac-3.70a
28 - snps,dwmac-3.710
29 - snps,dwmac-4.00
30 - snps,dwmac-4.10a
31 - snps,dwmac-4.20a
79 - snps,dwmac
[all …]
A Dnxp,dwmac-imx.yaml4 $id: http://devicetree.org/schemas/net/nxp,dwmac-imx.yaml#
12 # We need a select here so we don't match all nodes with 'snps,dwmac'
18 - nxp,imx8mp-dwmac-eqos
19 - nxp,imx8dxl-dwmac-eqos
24 - $ref: "snps,dwmac.yaml#"
31 - nxp,imx8mp-dwmac-eqos
32 - nxp,imx8dxl-dwmac-eqos
33 - const: snps,dwmac-5.10a
80 compatible = "nxp,imx8mp-dwmac-eqos","snps,dwmac-5.10a";
A Dtoshiba,visconti-dwmac.yaml4 $id: "http://devicetree.org/schemas/net/toshiba,visconti-dwmac.yaml#"
17 - toshiba,visconti-dwmac
22 - $ref: "snps,dwmac.yaml#"
29 - toshiba,visconti-dwmac
30 - const: snps,dwmac-4.20a
62 compatible = "toshiba,visconti-dwmac", "snps,dwmac-4.20a";
77 compatible = "snps,dwmac-mdio";
A Dsti-dwmac.txt10 - compatible : Can be "st,stih415-dwmac", "st,stih416-dwmac",
11 "st,stih407-dwmac", "st,stid127-dwmac".
35 ethernet0: dwmac@9630000 {
37 compatible = "st,stih407-dwmac", "snps,dwmac", "snps,dwmac-3.710";
A Dintel,dwmac-plat.yaml4 $id: http://devicetree.org/schemas/net/intel,dwmac-plat.yaml#
17 - intel,keembay-dwmac
22 - $ref: "snps,dwmac.yaml#"
29 - intel,keembay-dwmac
30 - const: snps,dwmac-4.10a
101 compatible = "intel,keembay-dwmac", "snps,dwmac-4.10a";
123 compatible = "snps,dwmac-mdio";
A Doxnas-dwmac.txt3 The device inherits all the properties of the dwmac/stmmac devices
10 - "oxsemi,ox820-dwmac" to select glue
11 - "snps,dwmac-3.512" to select IP version.
23 compatible = "oxsemi,ox820-dwmac", "snps,dwmac-3.512";
A Dnxp,lpc1850-dwmac.txt7 - compatible: Should contain "nxp,lpc1850-dwmac"
12 compatible = "nxp,lpc1850-dwmac", "snps,dwmac-3.611", "snps,dwmac";
A Dsocfpga-dwmac.txt3 This is a variant of the dwmac/stmmac driver an inherits all descriptions
12 Along with "snps,dwmac" and any applicable more detailed
47 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac";
A Drockchip-dwmac.yaml4 $id: "http://devicetree.org/schemas/net/rockchip-dwmac.yaml#"
12 # We need a select here so we don't match all nodes with 'snps,dwmac'
33 - $ref: "snps,dwmac.yaml#"
53 - const: snps,dwmac-4.20a
A Danarion-gmac.txt7 - compatible: Should be "adaptrum,anarion-gmac", "snps,dwmac"
14 compatible = "adaptrum,anarion-gmac", "snps,dwmac";
A Dipq806x-dwmac.txt3 The device inherits all the properties of the dwmac/stmmac devices
8 - compatible: should be "qcom,ipq806x-gmac" along with "snps,dwmac"
A Dallwinner,sun8i-a83t-emac.yaml62 - $ref: "snps,dwmac.yaml#"
211 compatible = "snps,dwmac-mdio";
262 compatible = "snps,dwmac-mdio";
311 compatible = "snps,dwmac-mdio";
/linux/Documentation/devicetree/bindings/reset/
A Dnxp,lpc1850-rgu.txt75 compatible = "nxp,lpc1850-dwmac", "snps,dwmac-3.611", "snps,dwmac";

Completed in 739 milliseconds

123456