Home
last modified time | relevance | path

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

1234567

/linux/drivers/net/ethernet/stmicro/stmmac/
A Ddwmac-ipq806x.c150 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 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 …]
A Ddwmac-anarion.c40 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 Ddwmac-sun8i.c574 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 Dhwif.c91 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 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,rk3568-gmac
[all …]
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";
A Dsnps,dwmac.yaml37 - 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 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";
A Dipq806x-dwmac.txt8 - compatible: should be "qcom,ipq806x-gmac" along with "snps,dwmac"
20 gmac: ethernet@37000000 {
22 compatible = "qcom,ipq806x-gmac";
A Danarion-gmac.txt7 - compatible: Should be "adaptrum,anarion-gmac", "snps,dwmac"
14 compatible = "adaptrum,anarion-gmac", "snps,dwmac";
A Doxnas-dwmac.txt16 - "gmac" for the peripheral gate clock
32 clock-names = "gmac", "stmmaceth";
/linux/Documentation/devicetree/bindings/clock/
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/drivers/net/ethernet/chelsio/cxgb/
A Dgmac.h132 struct gmac { struct
138 extern const struct gmac t1_pm3393_ops; argument
139 extern const struct gmac t1_vsc7326_ops;
A Dsubr.c420 .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 Dcommon.h269 struct gmac;
288 const struct gmac *gmac; member
/linux/drivers/net/wireless/ath/
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()
/linux/arch/arm64/boot/dts/allwinner/
A Dsun50i-h6-orangepi-one-plus.dts15 reg_gmac_3v3: gmac-3v3 {
17 regulator-name = "vcc-gmac-3v3";
A Dsun50i-h5-libretech-all-h5-cc.dts14 reg_gmac_3v3: gmac-3v3 {
16 regulator-name = "gmac-3v3";
A Dsun50i-h5-nanopi-neo2.dts37 reg_gmac_3v3: gmac-3v3 {
39 regulator-name = "gmac-3v3";
/linux/arch/arm64/boot/dts/rockchip/
A Drk3399-ficus.dts20 clkin_gmac: external-gmac-clock {
75 &gmac {
96 gmac {
/linux/arch/mips/boot/dts/loongson/
A Dloongson64-2k1000.dtsi117 gmac@3,0 {
122 "loongson, pci-gmac";
140 gmac@3,1 {
145 "loongson, pci-gmac";
A Dls7a-pch.dtsi185 gmac@3,0 {
190 "loongson, pci-gmac";
208 gmac@3,1 {
213 "loongson, pci-gmac";
/linux/arch/arm/boot/dts/
A Dspear1310.dtsi132 compatible = "st,spear600-gmac";
141 compatible = "st,spear600-gmac";
150 compatible = "st,spear600-gmac";
159 compatible = "st,spear600-gmac";
A Dsun7i-a20-lamobo-r1.dts84 reg_gmac_3v3: gmac-3v3 {
86 regulator-name = "gmac-3v3";
120 &gmac {
173 ethernet = <&gmac>;

Completed in 44 milliseconds

1234567