/linux-6.3-rc2/drivers/net/ethernet/stmicro/stmmac/ |
A D | dwmac-ipq806x.c | 172 switch (gmac->phy_mode) { in ipq806x_gmac_set_speed() 231 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() 397 gmac->pdev = pdev; in ipq806x_gmac_probe() 413 switch (gmac->phy_mode) { in ipq806x_gmac_probe() 423 regmap_write(gmac->nss_common, NSS_COMMON_GMAC_CTL(gmac->id), val); in ipq806x_gmac_probe() 428 switch (gmac->phy_mode) { in ipq806x_gmac_probe() [all …]
|
A D | dwmac-sunxi.c | 35 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 …]
|
A D | dwmac-anarion.c | 40 struct anarion_gmac *gmac = priv; in anarion_gmac_init() local 64 struct anarion_gmac *gmac; in anarion_config_dt() local 76 gmac = devm_kzalloc(&pdev->dev, sizeof(*gmac), GFP_KERNEL); in anarion_config_dt() 77 if (!gmac) in anarion_config_dt() 100 return gmac; in anarion_config_dt() 106 struct anarion_gmac *gmac; in anarion_dwmac_probe() local 114 gmac = anarion_config_dt(pdev); in anarion_dwmac_probe() 115 if (IS_ERR(gmac)) in anarion_dwmac_probe() 116 return PTR_ERR(gmac); in anarion_dwmac_probe() 124 anarion_gmac_init(pdev, gmac); in anarion_dwmac_probe() [all …]
|
A D | dwmac-sun8i.c | 573 if (gmac->regulator) { in sun8i_dwmac_init() 590 if (gmac->regulator) in sun8i_dwmac_init() 780 if (IS_ERR(gmac->ephy_clk)) in get_ephy_nodes() 1038 if (gmac->regulator) in sun8i_dwmac_exit() 1150 gmac = devm_kzalloc(dev, sizeof(*gmac), GFP_KERNEL); in sun8i_dwmac_probe() 1151 if (!gmac) in sun8i_dwmac_probe() 1155 if (!gmac->variant) { in sun8i_dwmac_probe() 1166 gmac->regulator = NULL; in sun8i_dwmac_probe() 1219 plat_dat->bsp_priv = gmac; in sun8i_dwmac_probe() 1271 clk_put(gmac->ephy_clk); in sun8i_dwmac_probe() [all …]
|
A D | hwif.c | 91 bool gmac; member 109 .gmac = false, 127 .gmac = true, 145 .gmac = false, 163 .gmac = false, 181 .gmac = false, 199 .gmac = false, 217 .gmac = false, 236 .gmac = false, 302 if (needs_gmac ^ entry->gmac) in stmmac_hwif_init()
|
/linux-6.3-rc2/Documentation/devicetree/bindings/net/ |
A D | rockchip-dwmac.yaml | 18 - 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,rk3568-gmac [all …]
|
A D | hisilicon-hix5hd2-gmac.txt | 1 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";
|
A D | allwinner,sun7i-a20-gmac.yaml | 4 $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";
|
A D | snps,dwmac.yaml | 37 - st,spear600-gmac 69 - renesas,rzn1-gmac 70 - rockchip,px30-gmac 71 - rockchip,rk3128-gmac 72 - rockchip,rk3228-gmac 73 - rockchip,rk3288-gmac 74 - rockchip,rk3328-gmac 75 - rockchip,rk3366-gmac 76 - rockchip,rk3368-gmac 77 - rockchip,rk3588-gmac [all …]
|
A D | mediatek-dwmac.yaml | 21 - 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 155 compatible = "mediatek,mt2712-gmac", "snps,dwmac-4.20a";
|
A D | ipq806x-dwmac.txt | 8 - compatible: should be "qcom,ipq806x-gmac" along with "snps,dwmac" 20 gmac: ethernet@37000000 { 22 compatible = "qcom,ipq806x-gmac";
|
A D | anarion-gmac.txt | 7 - compatible: Should be "adaptrum,anarion-gmac", "snps,dwmac" 14 compatible = "adaptrum,anarion-gmac", "snps,dwmac";
|
A D | oxnas-dwmac.txt | 19 - "gmac" for the peripheral gate clock 35 clock-names = "gmac", "stmmaceth";
|
/linux-6.3-rc2/Documentation/devicetree/bindings/clock/ |
A D | allwinner,sun7i-a20-gmac-clk.yaml | 4 $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.3-rc2/drivers/net/ethernet/chelsio/cxgb/ |
A D | gmac.h | 123 struct gmac { struct 129 extern const struct gmac t1_pm3393_ops; argument 130 extern const struct gmac t1_vsc7326_ops;
|
A D | common.h | 260 struct gmac; 279 const struct gmac *gmac; member
|
A D | subr.c | 411 .gmac = &t1_pm3393_ops, 431 .gmac = &t1_pm3393_ops, 451 .gmac = &t1_pm3393_ops, 473 .gmac = &t1_pm3393_ops, 495 .gmac = &t1_pm3393_ops, 519 .gmac = &t1_vsc7326_ops, 1074 adapter->params.stats_update_period = bi->gmac->stats_update_period; in t1_init_sw_modules() 1100 if (bi->gmac->reset) in t1_init_sw_modules() 1101 bi->gmac->reset(adapter); in t1_init_sw_modules() 1116 adapter->port[i].mac = mac = bi->gmac->create(adapter, i); in t1_init_sw_modules()
|
/linux-6.3-rc2/arch/arm/boot/dts/ |
A D | sun7i-a20-haoyu-marsboard.dts | 63 &gmac { 117 gmac_txerr: gmac-txerr-pin { 119 function = "gmac";
|
A D | sun7i-a20-lamobo-r1.dts | 84 reg_gmac_3v3: gmac-3v3 { 86 regulator-name = "gmac-3v3"; 120 &gmac { 173 ethernet = <&gmac>;
|
/linux-6.3-rc2/arch/arm64/boot/dts/allwinner/ |
A D | sun50i-h6-orangepi-one-plus.dts | 15 reg_gmac_3v3: gmac-3v3 { 17 regulator-name = "vcc-gmac-3v3";
|
A D | sun50i-h5-libretech-all-h5-cc.dts | 14 reg_gmac_3v3: gmac-3v3 { 16 regulator-name = "gmac-3v3";
|
A D | sun50i-h5-nanopi-neo2.dts | 37 reg_gmac_3v3: gmac-3v3 { 39 regulator-name = "gmac-3v3";
|
/linux-6.3-rc2/drivers/net/wireless/ath/ |
A D | key.c | 480 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()
|
/linux-6.3-rc2/arch/arm64/boot/dts/rockchip/ |
A D | rk3399-ficus.dts | 20 clkin_gmac: external-gmac-clock { 75 &gmac { 96 gmac {
|
/linux-6.3-rc2/arch/mips/boot/dts/loongson/ |
A D | loongson64-2k1000.dtsi | 122 gmac@3,0 { 127 "loongson, pci-gmac"; 145 gmac@3,1 { 150 "loongson, pci-gmac";
|