Home
last modified time | relevance | path

Searched full:dwmac (Results 1 – 25 of 160) sorted by relevance

1234567

/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-meson8b.c3 * Amlogic Meson8b, Meson8m2 and GXBB DWMAC glue layer
84 int (*set_phy_mode)(struct meson8b_dwmac *dwmac);
107 static void meson8b_dwmac_mask_bits(struct meson8b_dwmac *dwmac, u32 reg, in meson8b_dwmac_mask_bits() argument
112 data = readl(dwmac->regs + reg); in meson8b_dwmac_mask_bits()
116 writel(data, dwmac->regs + reg); in meson8b_dwmac_mask_bits()
119 static struct clk *meson8b_dwmac_register_clk(struct meson8b_dwmac *dwmac, in meson8b_dwmac_register_clk() argument
129 snprintf(clk_name, sizeof(clk_name), "%s#%s", dev_name(dwmac->dev), in meson8b_dwmac_register_clk()
140 return devm_clk_register(dwmac->dev, hw); in meson8b_dwmac_register_clk()
143 static int meson8b_init_rgmii_tx_clk(struct meson8b_dwmac *dwmac) in meson8b_init_rgmii_tx_clk() argument
146 struct device *dev = dwmac->dev; in meson8b_init_rgmii_tx_clk()
[all …]
H A Ddwmac-visconti.c58 struct visconti_eth *dwmac = bsp_priv; in visconti_eth_set_clk_tx_rate() local
80 val = readl(dwmac->reg + REG_ETHER_CLOCK_SEL); in visconti_eth_set_clk_tx_rate()
84 writel(val, dwmac->reg + REG_ETHER_CLOCK_SEL); in visconti_eth_set_clk_tx_rate()
88 writel(val, dwmac->reg + REG_ETHER_CLOCK_SEL); in visconti_eth_set_clk_tx_rate()
91 writel(val, dwmac->reg + REG_ETHER_CLOCK_SEL); in visconti_eth_set_clk_tx_rate()
94 writel(val, dwmac->reg + REG_ETHER_CLOCK_SEL); in visconti_eth_set_clk_tx_rate()
110 val = readl(dwmac->reg + REG_ETHER_CLOCK_SEL); in visconti_eth_set_clk_tx_rate()
114 writel(val, dwmac->reg + REG_ETHER_CLOCK_SEL); in visconti_eth_set_clk_tx_rate()
121 writel(val, dwmac->reg + REG_ETHER_CLOCK_SEL); in visconti_eth_set_clk_tx_rate()
124 writel(val, dwmac->reg + REG_ETHER_CLOCK_SEL); in visconti_eth_set_clk_tx_rate()
[all …]
H A Ddwmac-meson.c3 * Amlogic Meson6 and Meson8 DWMAC glue layer
28 struct meson_dwmac *dwmac = bsp_priv; in meson6_dwmac_set_clk_tx_rate() local
31 val = readl(dwmac->reg); in meson6_dwmac_set_clk_tx_rate()
42 writel(val, dwmac->reg); in meson6_dwmac_set_clk_tx_rate()
51 struct meson_dwmac *dwmac; in meson6_dwmac_probe() local
62 dwmac = devm_kzalloc(&pdev->dev, sizeof(*dwmac), GFP_KERNEL); in meson6_dwmac_probe()
63 if (!dwmac) in meson6_dwmac_probe()
66 dwmac->reg = devm_platform_ioremap_resource(pdev, 1); in meson6_dwmac_probe()
67 if (IS_ERR(dwmac->reg)) in meson6_dwmac_probe()
68 return PTR_ERR(dwmac->reg); in meson6_dwmac_probe()
[all …]
H A Ddwmac-loongson1.c3 * Loongson-1 DWMAC glue layer
59 struct ls1x_dwmac *dwmac = plat_dat->bsp_priv; in ls1b_dwmac_setup() local
72 dwmac->id = 0; in ls1b_dwmac_setup()
74 dwmac->id = 1; in ls1b_dwmac_setup()
86 struct ls1x_dwmac *dwmac = priv; in ls1b_dwmac_syscon_init() local
87 struct plat_stmmacenet_data *plat = dwmac->plat_dat; in ls1b_dwmac_syscon_init()
88 struct regmap *regmap = dwmac->regmap; in ls1b_dwmac_syscon_init()
90 if (dwmac->id == 0) { in ls1b_dwmac_syscon_init()
109 } else if (dwmac->id == 1) { in ls1b_dwmac_syscon_init()
140 struct ls1x_dwmac *dwmac = priv; in ls1c_dwmac_syscon_init() local
[all …]
H A Ddwmac-sophgo.c3 * Sophgo DWMAC platform driver
57 { .compatible = "sophgo,sg2042-dwmac" },
58 { .compatible = "sophgo,sg2044-dwmac" },
67 .name = "sophgo-dwmac",
75 MODULE_DESCRIPTION("Sophgo DWMAC platform driver");
/linux/Documentation/devicetree/bindings/net/
H A Dstm32-dwmac.yaml5 $id: http://devicetree.org/schemas/net/stm32-dwmac.yaml#
8 title: STMicroelectronics STM32 / MCU DWMAC glue layer controller
17 # We need a select here so we don't match all nodes with 'snps,dwmac'
23 - st,stm32-dwmac
24 - st,stm32mp1-dwmac
25 - st,stm32mp13-dwmac
26 - st,stm32mp25-dwmac
35 - st,stm32mp25-dwmac
36 - const: snps,dwmac-5.20
39 - st,stm32mp1-dwmac
[all …]
H A Dstarfive,jh7110-dwmac.yaml5 $id: http://devicetree.org/schemas/net/starfive,jh7110-dwmac.yaml#
8 title: StarFive JH7110 DWMAC glue layer
19 - starfive,jh7100-dwmac
20 - starfive,jh7110-dwmac
28 - const: starfive,jh7100-dwmac
29 - const: snps,dwmac
31 - const: starfive,jh7110-dwmac
32 - const: snps,dwmac-5.20
34 - const: starfive,jh8100-dwmac
35 - const: starfive,jh7110-dwmac
[all …]
H A Dnxp,dwmac-imx.yaml4 $id: http://devicetree.org/schemas/net/nxp,dwmac-imx.yaml#
7 title: NXP i.MX8/9 DWMAC glue layer
14 # We need a select here so we don't match all nodes with 'snps,dwmac'
20 - nxp,imx8mp-dwmac-eqos
21 - nxp,imx8dxl-dwmac-eqos
22 - nxp,imx93-dwmac-eqos
27 - $ref: snps,dwmac.yaml#
34 - nxp,imx8mp-dwmac-eqos
35 - nxp,imx8dxl-dwmac-eqos
36 - nxp,imx93-dwmac-eqos
[all …]
H A Dnxp,lpc1850-dwmac.yaml4 $id: http://devicetree.org/schemas/net/nxp,lpc1850-dwmac.yaml#
12 # We need a select here so we don't match all nodes with 'snps,dwmac'
18 - nxp,lpc1850-dwmac
26 - nxp,lpc1850-dwmac
27 - const: snps,dwmac-3.611
28 - const: snps,dwmac
63 - $ref: snps,dwmac.yaml#
72 compatible = "nxp,lpc1850-dwmac", "snps,dwmac-3.611", "snps,dwmac";
H A Dsophgo,sg2044-dwmac.yaml4 $id: http://devicetree.org/schemas/net/sophgo,sg2044-dwmac.yaml#
7 title: Sophgo SG2044 DWMAC glue layer
17 - sophgo,sg2044-dwmac
18 - sophgo,sg2042-dwmac
26 - const: sophgo,sg2042-dwmac
27 - const: snps,dwmac-5.00a
29 - const: sophgo,sg2044-dwmac
30 - const: snps,dwmac-5.30a
72 - $ref: snps,dwmac.yaml#
81 compatible = "sophgo,sg2044-dwmac", "snps,dwmac-5.30a";
H A Dtoshiba,visconti-dwmac.yaml4 $id: http://devicetree.org/schemas/net/toshiba,visconti-dwmac.yaml#
7 title: Toshiba Visconti DWMAC Ethernet controller
17 - toshiba,visconti-dwmac
22 - $ref: snps,dwmac.yaml#
29 - toshiba,visconti-dwmac
30 - const: snps,dwmac-4.20a
69 compatible = "toshiba,visconti-dwmac", "snps,dwmac-4.20a";
84 compatible = "snps,dwmac-mdio";
H A Dsophgo,cv1800b-dwmac.yaml4 $id: http://devicetree.org/schemas/net/sophgo,cv1800b-dwmac.yaml#
7 title: Sophgo CV1800B DWMAC glue layer
17 - sophgo,cv1800b-dwmac
24 - const: sophgo,cv1800b-dwmac
25 - const: snps,dwmac-3.70a
63 - $ref: snps,dwmac.yaml#
72 compatible = "sophgo,cv1800b-dwmac", "snps,dwmac-3.70a";
94 compatible = "snps,dwmac-mdio";
H A Dintel,dwmac-plat.yaml4 $id: http://devicetree.org/schemas/net/intel,dwmac-plat.yaml#
7 title: Intel DWMAC glue layer
17 - intel,keembay-dwmac
22 - $ref: snps,dwmac.yaml#
29 - intel,keembay-dwmac
30 - const: snps,dwmac-4.10a
107 compatible = "intel,keembay-dwmac", "snps,dwmac-4.10a";
129 compatible = "snps,dwmac-mdio";
H A Dsti-dwmac.txt1 STMicroelectronics SoC DWMAC glue layer controller
10 - compatible : "st,stih407-dwmac"
34 ethernet0: dwmac@9630000 {
36 compatible = "st,stih407-dwmac", "snps,dwmac", "snps,dwmac-3.710";
H A Dthead,th1520-gmac.yaml42 - $ref: snps,dwmac.yaml#
49 - const: snps,dwmac-3.70a
58 - const: dwmac
90 compatible = "thead,th1520-gmac", "snps,dwmac-3.70a";
92 reg-names = "dwmac", "apb";
106 compatible = "snps,dwmac-mdio";
H A Dmediatek-dwmac.yaml4 $id: http://devicetree.org/schemas/net/mediatek-dwmac.yaml#
7 title: MediaTek DWMAC glue layer controller
15 # We need a select here so we don't match all nodes with 'snps,dwmac'
28 - $ref: snps,dwmac.yaml#
36 - const: snps,dwmac-4.20a
40 - const: snps,dwmac-5.10a
45 - const: snps,dwmac-5.10a
161 compatible = "mediatek,mt2712-gmac", "snps,dwmac-4.20a";
H A Dloongson,ls1c-emac.yaml38 - const: snps,dwmac-3.50a
78 - $ref: snps,dwmac.yaml#
88 compatible = "loongson,ls1c-emac", "snps,dwmac-3.50a";
107 compatible = "snps,dwmac-mdio";
H A Dloongson,ls1b-gmac.yaml39 - const: snps,dwmac-3.50a
79 - $ref: snps,dwmac.yaml#
89 compatible = "loongson,ls1b-gmac", "snps,dwmac-3.50a";
108 compatible = "snps,dwmac-mdio";
H A Dipq806x-dwmac.txt1 * IPQ806x DWMAC Ethernet controller
3 The device inherits all the properties of the dwmac/stmmac devices
8 - compatible: should be "qcom,ipq806x-gmac" along with "snps,dwmac"
H 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'
58 - const: snps,dwmac-4.20a
129 - $ref: snps,dwmac.yaml#
H A Danarion-gmac.txt7 - compatible: Should be "adaptrum,anarion-gmac", "snps,dwmac"
14 compatible = "adaptrum,anarion-gmac", "snps,dwmac";
/linux/arch/loongarch/boot/dts/
H A Dloongson-2k2000-ref.dts78 compatible = "snps,dwmac-mdio";
93 compatible = "snps,dwmac-mdio";
108 compatible = "snps,dwmac-mdio";
/linux/arch/arm/boot/dts/amlogic/
H A Dmeson8m2.dtsi28 compatible = "amlogic,meson8m2-dwmac", "snps,dwmac";
/linux/arch/arm64/boot/dts/st/
H A Dstm32mp253.dtsi47 compatible = "st,stm32mp25-dwmac", "snps,dwmac-5.20";
H A Dstm32mp233.dtsi47 compatible = "st,stm32mp25-dwmac", "snps,dwmac-5.20";

1234567