/linux/drivers/net/ethernet/stmicro/stmmac/ |
A D | dwmac-ipq806x.c | 150 switch (gmac->phy_mode) { in ipq806x_gmac_set_speed() 209 if (gmac->id > 3) { in ipq806x_gmac_of_parse() 250 struct ipq806x_gmac *gmac; in ipq806x_gmac_probe() local 262 gmac = devm_kzalloc(dev, sizeof(*gmac), GFP_KERNEL); in ipq806x_gmac_probe() 263 if (!gmac) { in ipq806x_gmac_probe() 268 gmac->pdev = pdev; in ipq806x_gmac_probe() 284 switch (gmac->phy_mode) { in ipq806x_gmac_probe() 294 regmap_write(gmac->nss_common, NSS_COMMON_GMAC_CTL(gmac->id), val); in ipq806x_gmac_probe() 299 switch (gmac->phy_mode) { in ipq806x_gmac_probe() 316 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 | 574 if (gmac->regulator) { in sun8i_dwmac_init() 599 if (gmac->regulator) in sun8i_dwmac_init() 1048 if (gmac->regulator) in sun8i_dwmac_exit() 1160 gmac = devm_kzalloc(dev, sizeof(*gmac), GFP_KERNEL); in sun8i_dwmac_probe() 1161 if (!gmac) in sun8i_dwmac_probe() 1165 if (!gmac->variant) { in sun8i_dwmac_probe() 1171 if (IS_ERR(gmac->tx_clk)) { in sun8i_dwmac_probe() 1182 gmac->regulator = NULL; in sun8i_dwmac_probe() 1235 plat_dat->bsp_priv = gmac; in sun8i_dwmac_probe() 1279 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/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 | snps,dwmac.yaml | 37 - st,spear600-gmac 50 - allwinner,sun7i-a20-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,rk3399-gmac [all …]
|
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 | 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 | 16 - "gmac" for the peripheral gate clock 32 clock-names = "gmac", "stmmaceth";
|
/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 | 132 struct gmac { struct 138 extern const struct gmac t1_pm3393_ops; argument 139 extern const struct gmac t1_vsc7326_ops;
|
A D | subr.c | 420 .gmac = &t1_pm3393_ops, 440 .gmac = &t1_pm3393_ops, 460 .gmac = &t1_pm3393_ops, 482 .gmac = &t1_pm3393_ops, 504 .gmac = &t1_pm3393_ops, 528 .gmac = &t1_vsc7326_ops, 1083 adapter->params.stats_update_period = bi->gmac->stats_update_period; in t1_init_sw_modules() 1109 if (bi->gmac->reset) in t1_init_sw_modules() 1110 bi->gmac->reset(adapter); in t1_init_sw_modules() 1125 adapter->port[i].mac = mac = bi->gmac->create(adapter, i); in t1_init_sw_modules()
|
A D | common.h | 269 struct gmac; 288 const struct gmac *gmac; member
|
/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()
|
/linux/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/arch/arm64/boot/dts/rockchip/ |
A D | rk3399-ficus.dts | 20 clkin_gmac: external-gmac-clock { 75 &gmac { 96 gmac {
|
/linux/arch/mips/boot/dts/loongson/ |
A D | loongson64-2k1000.dtsi | 117 gmac@3,0 { 122 "loongson, pci-gmac"; 140 gmac@3,1 { 145 "loongson, pci-gmac";
|
A D | ls7a-pch.dtsi | 185 gmac@3,0 { 190 "loongson, pci-gmac"; 208 gmac@3,1 { 213 "loongson, pci-gmac";
|
/linux/arch/arm/boot/dts/ |
A D | spear1310.dtsi | 132 compatible = "st,spear600-gmac"; 141 compatible = "st,spear600-gmac"; 150 compatible = "st,spear600-gmac"; 159 compatible = "st,spear600-gmac";
|
A D | sun7i-a20-lamobo-r1.dts | 84 reg_gmac_3v3: gmac-3v3 { 86 regulator-name = "gmac-3v3"; 120 &gmac { 173 ethernet = <&gmac>;
|