/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac-ipq806x.c | 105 static int get_clk_div_sgmii(struct ipq806x_gmac *gmac, unsigned int speed) in get_clk_div_sgmii() argument 107 struct device *dev = &gmac->pdev->dev; in get_clk_div_sgmii() 131 static int get_clk_div_rgmii(struct ipq806x_gmac *gmac, unsigned int speed) in get_clk_div_rgmii() argument 133 struct device *dev = &gmac->pdev->dev; in get_clk_div_rgmii() 157 static int ipq806x_gmac_set_speed(struct ipq806x_gmac *gmac, unsigned int speed) in ipq806x_gmac_set_speed() argument 162 switch (gmac->phy_mode) { in ipq806x_gmac_set_speed() 164 div = get_clk_div_rgmii(gmac, speed); in ipq806x_gmac_set_speed() 165 clk_bits = NSS_COMMON_CLK_GATE_RGMII_RX_EN(gmac->id) | in ipq806x_gmac_set_speed() 166 NSS_COMMON_CLK_GATE_RGMII_TX_EN(gmac->id); in ipq806x_gmac_set_speed() 170 div = get_clk_div_sgmii(gmac, speed); in ipq806x_gmac_set_speed() [all …]
|
D | dwmac-sunxi.c | 41 struct sunxi_priv_data *gmac = priv; in sun7i_gmac_init() local 44 if (gmac->regulator) { in sun7i_gmac_init() 45 ret = regulator_enable(gmac->regulator); in sun7i_gmac_init() 56 if (gmac->interface == PHY_INTERFACE_MODE_RGMII) { in sun7i_gmac_init() 57 clk_set_rate(gmac->tx_clk, SUN7I_GMAC_GMII_RGMII_RATE); in sun7i_gmac_init() 58 clk_prepare_enable(gmac->tx_clk); in sun7i_gmac_init() 59 gmac->clk_enabled = 1; in sun7i_gmac_init() 61 clk_set_rate(gmac->tx_clk, SUN7I_GMAC_MII_RATE); in sun7i_gmac_init() 62 clk_prepare(gmac->tx_clk); in sun7i_gmac_init() 70 struct sunxi_priv_data *gmac = priv; in sun7i_gmac_exit() local [all …]
|
D | dwmac-rk.c | 550 struct rk_priv_data *gmac = priv; in rk_gmac_exit() local 552 phy_power_on(gmac, false); in rk_gmac_exit() 553 gmac_clk_enable(gmac, false); in rk_gmac_exit()
|
/linux-4.4.14/arch/mips/netlogic/xlr/ |
D | fmn-config.c | 91 total_credits += cfg->gmac[0].credit_config[bkt]; in check_credit_distribution() 92 total_credits += cfg->gmac[1].credit_config[bkt]; in check_credit_distribution() 183 struct xlr_fmn_info *gmac = xlr_board_fmn_config.gmac; in xlr_board_info_setup() local 197 setup_fmn_cc(&gmac[0], FMN_STNID_GMAC0, in xlr_board_info_setup() 207 setup_fmn_cc(&gmac[0], FMN_STNID_GMAC0, in xlr_board_info_setup() 222 setup_fmn_cc(&gmac[0], FMN_STNID_GMAC0, in xlr_board_info_setup() 224 setup_fmn_cc(&gmac[1], FMN_STNID_GMAC1_FR_0, in xlr_board_info_setup() 235 setup_fmn_cc(&gmac[0], FMN_STNID_GMAC0, in xlr_board_info_setup() 237 setup_fmn_cc(&gmac[1], FMN_STNID_GMAC1_FR_0, in xlr_board_info_setup() 249 setup_fmn_cc(&gmac[0], FMN_STNID_GMAC0, in xlr_board_info_setup() [all …]
|
/linux-4.4.14/Documentation/devicetree/bindings/net/ |
D | allwinner,sun7i-a20-gmac.txt | 7 - compatible: Should be "allwinner,sun7i-a20-gmac" 9 The tx clock type should be "allwinner,sun7i-a20-gmac-clk" 18 gmac: ethernet@01c50000 { 19 compatible = "allwinner,sun7i-a20-gmac";
|
D | ipq806x-dwmac.txt | 8 - compatible: should be "qcom,ipq806x-gmac" along with "snps,dwmac" 20 gmac: ethernet@37000000 { 22 compatible = "qcom,ipq806x-gmac";
|
D | hisilicon-hix5hd2-gmac.txt | 1 Hisilicon hix5hd2 gmac controller 4 - compatible: should be "hisilicon,hix5hd2-gmac". 23 compatible = "hisilicon,hix5hd2-gmac";
|
D | rockchip-dwmac.txt | 6 - compatible: Can be one of "rockchip,rk3288-gmac", "rockchip,rk3368-gmac" 40 gmac: ethernet@ff290000 { 41 compatible = "rockchip,rk3288-gmac";
|
D | stmmac.txt | 5 For backwards compatibility: "st,spear600-gmac" is also supported. 54 compatible = "st,spear600-gmac";
|
D | sti-dwmac.txt | 14 - st,gmac_en: this is to enable the gmac into a dedicated sysctl control
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/ |
D | gmac.h | 132 struct gmac { struct 138 extern const struct gmac t1_pm3393_ops; argument 139 extern const struct gmac t1_vsc7326_ops;
|
D | subr.c | 408 .gmac = &t1_pm3393_ops, 428 .gmac = &t1_pm3393_ops, 448 .gmac = &t1_pm3393_ops, 470 .gmac = &t1_pm3393_ops, 492 .gmac = &t1_pm3393_ops, 516 .gmac = &t1_vsc7326_ops, 1057 adapter->params.stats_update_period = bi->gmac->stats_update_period; in t1_init_sw_modules() 1083 if (bi->gmac->reset) in t1_init_sw_modules() 1084 bi->gmac->reset(adapter); in t1_init_sw_modules() 1099 adapter->port[i].mac = mac = bi->gmac->create(adapter, i); in t1_init_sw_modules()
|
D | common.h | 266 struct gmac; 285 const struct gmac *gmac; member
|
D | vsc7326.c | 726 const struct gmac t1_vsc7326_ops = {
|
D | pm3393.c | 791 const struct gmac t1_pm3393_ops = {
|
/linux-4.4.14/drivers/staging/netlogic/ |
D | platform_net.c | 100 .gmac_fmn_info = &xlr_board_fmn_config.gmac[1], in gmac_controller2_init() 142 .gmac_fmn_info = &xlr_board_fmn_config.gmac[0], in xls_gmac_init() 207 .gmac_fmn_info = &xlr_board_fmn_config.gmac[0], in xlr_gmac_init()
|
D | xlr_net.c | 530 struct xlr_fmn_info *gmac = priv->nd->gmac_fmn_info; in xlr_config_common() local 531 int start_stn_id = gmac->start_stn_id; in xlr_config_common() 532 int end_stn_id = gmac->end_stn_id; in xlr_config_common() 551 gmac->credit_config[(i * 8) + j]); in xlr_config_common()
|
/linux-4.4.14/drivers/net/wireless/ath/ |
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-4.4.14/arch/arm/boot/dts/ |
D | spear1310.dtsi | 141 compatible = "st,spear600-gmac"; 150 compatible = "st,spear600-gmac"; 159 compatible = "st,spear600-gmac"; 168 compatible = "st,spear600-gmac";
|
D | spear3xx.dtsi | 55 gmac: eth@e0800000 { label 56 compatible = "st,spear600-gmac";
|
D | sun7i-a20-i12-tvbox.dts | 103 reg_gmac_3v3: gmac-3v3 { 107 regulator-name = "gmac-3v3"; 124 &gmac {
|
D | sun7i-a20-bananapro.dts | 79 reg_gmac_3v3: gmac-3v3 { 83 regulator-name = "gmac-3v3"; 115 &gmac {
|
D | sun7i-a20-bananapi.dts | 78 reg_gmac_3v3: gmac-3v3 { 82 regulator-name = "gmac-3v3"; 117 &gmac {
|
D | sun7i-a20-orangepi-mini.dts | 81 reg_gmac_3v3: gmac-3v3 { 85 regulator-name = "gmac-3v3"; 106 &gmac {
|
D | sun7i-a20-orangepi.dts | 76 reg_gmac_3v3: gmac-3v3 { 80 regulator-name = "gmac-3v3"; 101 &gmac {
|
D | exynos5440-sd5v1.dts | 36 &gmac {
|
D | rk3288-rock2-som.dtsi | 57 ext_gmac: external-gmac-clock { 91 &gmac { 246 gmac {
|
D | spear600.dtsi | 68 gmac: ethernet@e0800000 { label 69 compatible = "st,spear600-gmac";
|
D | sun6i-a31s-sina31s.dts | 77 &gmac { 148 regulator-name = "vcc-gmac-phy";
|
D | sun6i-a31.dtsi | 56 ethernet0 = &gmac; 426 * used in the gmac_tx clock. The gmac driver will 449 compatible = "allwinner,sun7i-a20-gmac-clk"; 718 allwinner,function = "gmac"; 731 allwinner,function = "gmac"; 745 allwinner,function = "gmac"; 925 gmac: ethernet@01c30000 { label 926 compatible = "allwinner,sun7i-a20-gmac";
|
D | spear600-evb.dts | 43 gmac: ethernet@e0800000 { label
|
D | rk3288-firefly.dtsi | 59 ext_gmac: external-gmac-clock { 224 &gmac { 423 gmac {
|
D | rk3288-evb-rk808.dts | 47 ext_gmac: external-gmac-clock { 248 &gmac {
|
D | sun7i-a20.dtsi | 58 ethernet0 = &gmac; 522 * used in the gmac_tx clock. The gmac driver will 545 compatible = "allwinner,sun7i-a20-gmac-clk"; 1006 allwinner,function = "gmac"; 1017 allwinner,function = "gmac"; 1379 gmac: ethernet@01c50000 { label 1380 compatible = "allwinner,sun7i-a20-gmac";
|
D | spear320-evb.dts | 93 gmac: eth@e0800000 { label
|
D | spear310-evb.dts | 97 gmac: eth@e0800000 { label
|
D | spear1340-evb.dts | 73 gmac { 75 st,function = "gmac";
|
D | spear300-evb.dts | 78 gmac: eth@e0800000 { label
|
D | rk3288-r89.dts | 55 ext_gmac: external-gmac-clock { 127 &gmac {
|
D | sun6i-a31s-cs908.dts | 69 &gmac {
|
D | sun6i-a31-i7.dts | 82 &gmac {
|
D | sun6i-a31-m9.dts | 82 &gmac {
|
D | sun6i-a31-mele-a1000g-quad.dts | 82 &gmac {
|
D | sun7i-a20-m3.dts | 85 &gmac {
|
D | hisi-x5hd2.dtsi | 439 compatible = "hisilicon,hix5hd2-gmac"; 447 compatible = "hisilicon,hix5hd2-gmac";
|
D | rk3288-popmetal.dts | 56 ext_gmac: external-gmac-clock { 192 &gmac {
|
D | sun6i-a31-colombus.dts | 79 &gmac {
|
D | rk3288-rock2-square.dts | 105 &gmac {
|
D | sun6i-a31s-sinovoip-bpi-m2.dts | 93 &gmac {
|
D | sun7i-a20-cubieboard2.dts | 103 &gmac {
|
D | sun7i-a20-olinuxino-lime.dts | 92 &gmac {
|
D | sun7i-a20-olimex-som-evb.dts | 89 &gmac {
|
D | sun7i-a20-pcduino3.dts | 126 &gmac {
|
D | sun7i-a20-pcduino3-nano.dts | 97 &gmac {
|
D | sun7i-a20-olinuxino-lime2.dts | 97 &gmac {
|
D | spear13xx.dtsi | 157 compatible = "st,spear600-gmac";
|
D | sun6i-a31-hummingbird.dts | 80 &gmac {
|
D | sun7i-a20-olinuxino-micro.dts | 96 &gmac {
|
D | sun7i-a20-hummingbird.dts | 105 &gmac {
|
D | exynos5440.dtsi | 189 gmac: ethernet@00230000 { label
|
D | sun7i-a20-cubietruck.dts | 120 &gmac {
|
D | rk3288.dtsi | 464 gmac: ethernet@ff290000 { label 465 compatible = "rockchip,rk3288-gmac"; 1433 gmac {
|
D | atlas7.dtsi | 1337 gmac: eth@180b0000 { label 1345 "rgmii", "gmac";
|
D | dra7.dtsi | 1483 ti,hwmods = "gmac";
|
/linux-4.4.14/drivers/clk/sunxi/ |
D | Makefile | 10 obj-y += clk-a20-gmac.o
|
/linux-4.4.14/Documentation/devicetree/bindings/clock/ |
D | sunxi.txt | 66 "allwinner,sun7i-a20-gmac-clk" - for the GMAC clock module on A20/A31 96 For "allwinner,sun7i-a20-gmac-clk", the parent clocks shall be fixed rate 184 compatible = "allwinner,sun7i-a20-gmac-clk"; 191 clock-output-names = "gmac";
|
/linux-4.4.14/drivers/crypto/nx/ |
D | nx-aes-gcm.c | 180 static int gmac(struct aead_request *req, struct blkcipher_desc *desc, in gmac() function 343 rc = gmac(req, &desc, assoclen); in gcm_aes_nx_crypt()
|
/linux-4.4.14/arch/mips/include/asm/netlogic/xlr/ |
D | fmn.h | 352 struct xlr_fmn_info gmac[2]; member
|
/linux-4.4.14/arch/arm64/boot/dts/rockchip/ |
D | rk3368.dtsi | 407 gmac: ethernet@ff290000 { label 408 compatible = "rockchip,rk3368-gmac"; 640 gmac {
|
D | rk3368-r88.dts | 200 &gmac {
|
/linux-4.4.14/Documentation/devicetree/bindings/pinctrl/ |
D | pinctrl_spear.txt | 154 "uart1", "i2s", "gmac", "i2c0", "i2c1", "cec0", "cec1", "sdhci", "cf",
|