Home
last modified time | relevance | path

Searched refs:gmac (Results 1 – 25 of 205) sorted by relevance

123456789

/linux-6.15/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-sunxi.c35 if (gmac->regulator) { in sun7i_gmac_init()
50 gmac->clk_enabled = 1; in sun7i_gmac_init()
65 if (gmac->clk_enabled) { in sun7i_gmac_exit()
67 gmac->clk_enabled = 0; in sun7i_gmac_exit()
71 if (gmac->regulator) in sun7i_gmac_exit()
83 if (gmac->clk_enabled) { in sun7i_fix_speed()
85 gmac->clk_enabled = 0; in sun7i_fix_speed()
92 gmac->clk_enabled = 1; in sun7i_fix_speed()
115 gmac = devm_kzalloc(dev, sizeof(*gmac), GFP_KERNEL); in sun7i_gmac_probe()
116 if (!gmac) in sun7i_gmac_probe()
[all …]
H A Ddwmac-ipq806x.c172 switch (gmac->phy_mode) { in ipq806x_gmac_set_speed()
230 if (gmac->id > 3) { in ipq806x_gmac_of_parse()
333 switch (gmac->id) { in ipq806x_gmac_configure_qsgmii_params()
368 regmap_write(gmac->qsgmii_csr, QSGMII_PHY_SGMII_CTL(gmac->id), in ipq806x_gmac_configure_qsgmii_params()
391 gmac = devm_kzalloc(dev, sizeof(*gmac), GFP_KERNEL); in ipq806x_gmac_probe()
392 if (!gmac) in ipq806x_gmac_probe()
395 gmac->pdev = pdev; in ipq806x_gmac_probe()
411 switch (gmac->phy_mode) { in ipq806x_gmac_probe()
424 regmap_write(gmac->nss_common, NSS_COMMON_GMAC_CTL(gmac->id), val); in ipq806x_gmac_probe()
429 switch (gmac->phy_mode) { in ipq806x_gmac_probe()
[all …]
H A Ddwmac-s32.c45 dev_dbg(gmac->dev, "PHY mode set to %s\n", phy_modes(*gmac->intf_mode)); in s32_gmac_write_phy_intf_select()
108 struct s32_priv_data *gmac; in s32_dwmac_probe() local
111 gmac = devm_kzalloc(&pdev->dev, sizeof(*gmac), GFP_KERNEL); in s32_dwmac_probe()
112 if (!gmac) in s32_dwmac_probe()
115 gmac->dev = &pdev->dev; in s32_dwmac_probe()
129 if (IS_ERR(gmac->ctrl_sts)) in s32_dwmac_probe()
135 if (IS_ERR(gmac->tx_clk)) in s32_dwmac_probe()
141 if (IS_ERR(gmac->rx_clk)) in s32_dwmac_probe()
146 gmac->ioaddr = res.addr; in s32_dwmac_probe()
158 plat->clk_tx_i = gmac->tx_clk; in s32_dwmac_probe()
[all …]
H A Ddwmac-anarion.c40 struct anarion_gmac *gmac = priv; in anarion_gmac_init() local
66 struct anarion_gmac *gmac; in anarion_config_dt() local
77 gmac = devm_kzalloc(&pdev->dev, sizeof(*gmac), GFP_KERNEL); in anarion_config_dt()
78 if (!gmac) in anarion_config_dt()
81 gmac->ctl_block = ctl_block; in anarion_config_dt()
97 return gmac; in anarion_config_dt()
103 struct anarion_gmac *gmac; in anarion_dwmac_probe() local
116 if (IS_ERR(gmac)) in anarion_dwmac_probe()
117 return PTR_ERR(gmac); in anarion_dwmac_probe()
121 anarion_gmac_init(pdev, gmac); in anarion_dwmac_probe()
[all …]
H A Ddwmac-sun8i.c591 if (gmac->regulator) { in sun8i_dwmac_init()
608 if (gmac->regulator) in sun8i_dwmac_init()
798 if (IS_ERR(gmac->ephy_clk)) in get_ephy_nodes()
1054 if (gmac->regulator) in sun8i_dwmac_exit()
1167 gmac = devm_kzalloc(dev, sizeof(*gmac), GFP_KERNEL); in sun8i_dwmac_probe()
1168 if (!gmac) in sun8i_dwmac_probe()
1172 if (!gmac->variant) { in sun8i_dwmac_probe()
1183 gmac->regulator = NULL; in sun8i_dwmac_probe()
1231 plat_dat->bsp_priv = gmac; in sun8i_dwmac_probe()
1283 clk_put(gmac->ephy_clk); in sun8i_dwmac_probe()
[all …]
H A Dhwif.c108 bool gmac; member
128 .gmac = false,
147 .gmac = true,
166 .gmac = false,
187 .gmac = false,
209 .gmac = false,
231 .gmac = false,
253 .gmac = false,
276 .gmac = false,
350 if (needs_gmac ^ entry->gmac) in stmmac_hwif_init()
/linux-6.15/Documentation/devicetree/bindings/net/
H A Drockchip-dwmac.yaml18 - rockchip,px30-gmac
19 - rockchip,rk3128-gmac
20 - rockchip,rk3228-gmac
21 - rockchip,rk3288-gmac
22 - rockchip,rk3308-gmac
23 - rockchip,rk3328-gmac
24 - rockchip,rk3366-gmac
25 - rockchip,rk3368-gmac
26 - rockchip,rk3399-gmac
27 - rockchip,rk3528-gmac
[all …]
H A Drenesas,rzn1-gmac.yaml4 $id: http://devicetree.org/schemas/net/renesas,rzn1-gmac.yaml#
17 - renesas,r9a06g032-gmac
18 - renesas,rzn1-gmac
29 - renesas,r9a06g032-gmac
30 - const: renesas,rzn1-gmac
49 compatible = "renesas,r9a06g032-gmac", "renesas,rzn1-gmac", "snps,dwmac";
H A Dhisilicon-hix5hd2-gmac.txt1 Hisilicon hix5hd2 gmac controller
5 * "hisilicon,hix5hd2-gmac"
6 * "hisilicon,hi3798cv200-gmac"
7 * "hisilicon,hi3516a-gmac"
9 * "hisilicon,hisi-gmac-v1"
10 * "hisilicon,hisi-gmac-v2"
43 compatible = "hisilicon,hi3798cv200-gmac", "hisilicon,hisi-gmac-v2";
H A Dallwinner,sun7i-a20-gmac.yaml4 $id: http://devicetree.org/schemas/net/allwinner,sun7i-a20-gmac.yaml#
18 const: allwinner,sun7i-a20-gmac
56 gmac: ethernet@1c50000 {
57 compatible = "allwinner,sun7i-a20-gmac";
H A Dsnps,dwmac.yaml40 - st,spear600-gmac
77 - renesas,rzn1-gmac
78 - rockchip,px30-gmac
79 - rockchip,rk3128-gmac
80 - rockchip,rk3228-gmac
81 - rockchip,rk3288-gmac
82 - rockchip,rk3308-gmac
83 - rockchip,rk3328-gmac
84 - rockchip,rk3366-gmac
85 - rockchip,rk3368-gmac
[all …]
H A Dmediatek-dwmac.yaml21 - mediatek,mt2712-gmac
22 - mediatek,mt8188-gmac
23 - mediatek,mt8195-gmac
35 - mediatek,mt2712-gmac
39 - mediatek,mt8195-gmac
43 - mediatek,mt8188-gmac
44 - const: mediatek,mt8195-gmac
161 compatible = "mediatek,mt2712-gmac", "snps,dwmac-4.20a";
H A Dloongson,ls1b-gmac.yaml4 $id: http://devicetree.org/schemas/net/loongson,ls1b-gmac.yaml#
30 - loongson,ls1b-gmac
38 - loongson,ls1b-gmac
89 compatible = "loongson,ls1b-gmac", "snps,dwmac-3.50a";
H A Dipq806x-dwmac.txt8 - compatible: should be "qcom,ipq806x-gmac" along with "snps,dwmac"
20 gmac: ethernet@37000000 {
22 compatible = "qcom,ipq806x-gmac";
H A Dthead,th1520-gmac.yaml4 $id: http://devicetree.org/schemas/net/thead,th1520-gmac.yaml#
37 - thead,th1520-gmac
48 - thead,th1520-gmac
88 compatible = "thead,th1520-gmac", "snps,dwmac-3.70a";
H A Danarion-gmac.txt7 - compatible: Should be "adaptrum,anarion-gmac", "snps,dwmac"
14 compatible = "adaptrum,anarion-gmac", "snps,dwmac";
/linux-6.15/Documentation/devicetree/bindings/clock/
H A Dallwinner,sun7i-a20-gmac-clk.yaml4 $id: http://devicetree.org/schemas/clock/allwinner,sun7i-a20-gmac-clk.yaml#
18 const: allwinner,sun7i-a20-gmac-clk
45 compatible = "allwinner,sun7i-a20-gmac-clk";
/linux-6.15/drivers/net/ethernet/chelsio/cxgb/
H A Dgmac.h123 struct gmac { struct
129 extern const struct gmac t1_pm3393_ops; argument
130 extern const struct gmac t1_vsc7326_ops;
/linux-6.15/arch/arm64/boot/dts/rockchip/
H A Drk3399-ficus.dts17 ethernet0 = &gmac;
24 clkin_gmac: external-gmac-clock {
79 &gmac {
100 gmac {
H A Drk3399-khadas-edge-captain.dts15 ethernet0 = &gmac;
19 &gmac {
H A Drk3399-khadas-edge-v.dts15 ethernet0 = &gmac;
19 &gmac {
/linux-6.15/arch/arm/boot/dts/allwinner/
H A Dsun7i-a20-haoyu-marsboard.dts63 &gmac {
117 gmac_txerr: gmac-txerr-pin {
119 function = "gmac";
/linux-6.15/arch/arm64/boot/dts/allwinner/
H A Dsun50i-h5-nanopi-neo-plus2.dts40 reg_gmac_3v3: gmac-3v3 {
42 regulator-name = "gmac-3v3";
51 reg_gmac_2v5: gmac-2v5 {
54 regulator-name = "gmac-2v5";
H A Dsun50i-h6-orangepi-one-plus.dts15 reg_gmac_3v3: gmac-3v3 {
17 regulator-name = "vcc-gmac-3v3";
/linux-6.15/drivers/net/wireless/ath/
H A Dkey.c480 u8 gmac[ETH_ALEN]; in ath_key_config() local
511 memcpy(gmac, vif->addr, ETH_ALEN); in ath_key_config()
512 gmac[0] |= 0x01; in ath_key_config()
513 mac = gmac; in ath_key_config()
521 memcpy(gmac, sta->addr, ETH_ALEN); in ath_key_config()
522 gmac[0] |= 0x01; in ath_key_config()
523 mac = gmac; in ath_key_config()

123456789