| /linux/drivers/net/ethernet/stmicro/stmmac/ |
| A D | dwmac-ipq806x.c | 172 switch (gmac->phy_mode) { in ipq806x_gmac_set_speed() 234 if (gmac->id > 3) { in ipq806x_gmac_of_parse() 336 switch (gmac->id) { in ipq806x_gmac_configure_qsgmii_params() 371 regmap_write(gmac->qsgmii_csr, QSGMII_PHY_SGMII_CTL(gmac->id), in ipq806x_gmac_configure_qsgmii_params() 394 gmac = devm_kzalloc(dev, sizeof(*gmac), GFP_KERNEL); in ipq806x_gmac_probe() 395 if (!gmac) in ipq806x_gmac_probe() 398 gmac->pdev = pdev; in ipq806x_gmac_probe() 414 switch (gmac->phy_mode) { in ipq806x_gmac_probe() 427 regmap_write(gmac->nss_common, NSS_COMMON_GMAC_CTL(gmac->id), val); in ipq806x_gmac_probe() 432 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() 80 gmac->ctl_block = ctl_block; in anarion_config_dt() 100 return gmac; in anarion_config_dt() 106 struct anarion_gmac *gmac; in anarion_dwmac_probe() local 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 | 591 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() 1168 gmac = devm_kzalloc(dev, sizeof(*gmac), GFP_KERNEL); in sun8i_dwmac_probe() 1169 if (!gmac) in sun8i_dwmac_probe() 1173 if (!gmac->variant) { in sun8i_dwmac_probe() 1184 gmac->regulator = NULL; in sun8i_dwmac_probe() 1237 plat_dat->bsp_priv = gmac; in sun8i_dwmac_probe() 1289 clk_put(gmac->ephy_clk); in sun8i_dwmac_probe() [all …]
|
| A D | hwif.c | 105 bool gmac; member 124 .gmac = false, 142 .gmac = true, 160 .gmac = false, 180 .gmac = false, 200 .gmac = false, 220 .gmac = false, 240 .gmac = false, 261 .gmac = false, 333 if (needs_gmac ^ entry->gmac) in stmmac_hwif_init()
|
| /linux/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 | renesas,rzn1-gmac.yaml | 4 $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";
|
| 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 | 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 | loongson,ls1b-gmac.yaml | 4 $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";
|
| A D | snps,dwmac.yaml | 38 - st,spear600-gmac 74 - renesas,rzn1-gmac 75 - rockchip,px30-gmac 76 - rockchip,rk3128-gmac 77 - rockchip,rk3228-gmac 78 - rockchip,rk3288-gmac 79 - rockchip,rk3308-gmac 80 - rockchip,rk3328-gmac 81 - rockchip,rk3366-gmac 82 - rockchip,rk3368-gmac [all …]
|
| 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";
|
| /linux/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/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
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| A D | rk3399-ficus.dts | 17 ethernet0 = &gmac; 24 clkin_gmac: external-gmac-clock { 79 &gmac { 100 gmac {
|
| A D | rk3399-khadas-edge-captain.dts | 15 ethernet0 = &gmac; 19 &gmac {
|
| A D | rk3399-khadas-edge-v.dts | 15 ethernet0 = &gmac; 19 &gmac {
|
| /linux/arch/arm/boot/dts/allwinner/ |
| A D | sun7i-a20-haoyu-marsboard.dts | 63 &gmac { 117 gmac_txerr: gmac-txerr-pin { 119 function = "gmac";
|
| /linux/arch/arm64/boot/dts/allwinner/ |
| A D | sun50i-h5-nanopi-neo-plus2.dts | 40 reg_gmac_3v3: gmac-3v3 { 42 regulator-name = "gmac-3v3"; 51 reg_gmac_2v5: gmac-2v5 { 54 regulator-name = "gmac-2v5";
|
| 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";
|
| /linux/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()
|