| /drivers/net/ethernet/stmicro/stmmac/ |
| A D | dwmac-ipq806x.c | 172 switch (gmac->phy_mode) { in ipq806x_gmac_set_speed() 230 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() 395 gmac->pdev = pdev; in ipq806x_gmac_probe() 411 switch (gmac->phy_mode) { in ipq806x_gmac_probe() 424 regmap_write(gmac->nss_common, NSS_COMMON_GMAC_CTL(gmac->id), val); in ipq806x_gmac_probe() 429 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() 81 if (gmac->clk_enabled) { in sun7i_set_clk_tx_rate() 83 gmac->clk_enabled = 0; in sun7i_set_clk_tx_rate() 90 gmac->clk_enabled = 1; in sun7i_set_clk_tx_rate() 115 gmac = devm_kzalloc(dev, sizeof(*gmac), GFP_KERNEL); in sun7i_gmac_probe() 116 if (!gmac) in sun7i_gmac_probe() [all …]
|
| A D | dwmac-s32.c | 45 dev_dbg(gmac->dev, "PHY mode set to %s\n", phy_modes(*gmac->intf_mode)); in s32_gmac_write_phy_intf_select() 108 struct s32_priv_data *gmac; in s32_dwmac_probe() local 111 gmac = devm_kzalloc(&pdev->dev, sizeof(*gmac), GFP_KERNEL); in s32_dwmac_probe() 112 if (!gmac) in s32_dwmac_probe() 115 gmac->dev = &pdev->dev; in s32_dwmac_probe() 129 if (IS_ERR(gmac->ctrl_sts)) in s32_dwmac_probe() 135 if (IS_ERR(gmac->tx_clk)) in s32_dwmac_probe() 141 if (IS_ERR(gmac->rx_clk)) in s32_dwmac_probe() 146 gmac->ioaddr = res.addr; in s32_dwmac_probe() 158 plat->clk_tx_i = gmac->tx_clk; in s32_dwmac_probe() [all …]
|
| A D | dwmac-anarion.c | 40 struct anarion_gmac *gmac = priv; in anarion_gmac_init() local 57 struct anarion_gmac *gmac = priv; in anarion_gmac_exit() local 66 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() 90 return gmac; in anarion_config_dt() 96 struct anarion_gmac *gmac; in anarion_dwmac_probe() local 109 if (IS_ERR(gmac)) in anarion_dwmac_probe() 110 return PTR_ERR(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() 1167 gmac = devm_kzalloc(dev, sizeof(*gmac), GFP_KERNEL); in sun8i_dwmac_probe() 1168 if (!gmac) in sun8i_dwmac_probe() 1172 if (!gmac->variant) { in sun8i_dwmac_probe() 1183 gmac->regulator = NULL; in sun8i_dwmac_probe() 1231 plat_dat->bsp_priv = gmac; in sun8i_dwmac_probe() 1279 clk_put(gmac->ephy_clk); in sun8i_dwmac_probe() [all …]
|
| A D | hwif.c | 109 bool gmac; member 130 .gmac = false, 149 .gmac = true, 168 .gmac = false, 190 .gmac = false, 213 .gmac = false, 236 .gmac = false, 259 .gmac = false, 283 .gmac = false, 358 if (needs_gmac ^ entry->gmac) in stmmac_hwif_init()
|
| A D | dwmac-rk.c | 1674 static void rk_gmac_powerdown(struct rk_priv_data *gmac) in rk_gmac_powerdown() argument 1676 if (gmac->integrated_phy && gmac->ops->integrated_phy_powerdown) in rk_gmac_powerdown() 1677 gmac->ops->integrated_phy_powerdown(gmac); in rk_gmac_powerdown() 1679 pm_runtime_put_sync(gmac->dev); in rk_gmac_powerdown() 1681 phy_power_on(gmac, false); in rk_gmac_powerdown() 1682 gmac_clk_enable(gmac, false); in rk_gmac_powerdown()
|
| /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 | 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()
|
| A D | common.h | 260 struct gmac; 279 const struct gmac *gmac; member
|
| A D | vsc7326.c | 722 const struct gmac t1_vsc7326_ops = {
|
| A D | pm3393.c | 776 const struct gmac t1_pm3393_ops = {
|
| /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()
|
| /drivers/clk/sunxi/ |
| A D | Makefile | 14 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a20-gmac.o
|
| /drivers/crypto/nx/ |
| A D | nx-aes-gcm.c | 166 static int gmac(struct aead_request *req, const u8 *iv, unsigned int assoclen) in gmac() function 325 rc = gmac(req, rctx->iv, assoclen); in gcm_aes_nx_crypt()
|