Home
last modified time | relevance | path

Searched refs:mmcaddr (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/stmicro/stmmac/
Dmmc_core.c235 static void dwmac_mmc_ctrl(void __iomem *mmcaddr, unsigned int mode) in dwmac_mmc_ctrl() argument
237 u32 value = readl(mmcaddr + MMC_CNTRL); in dwmac_mmc_ctrl()
241 writel(value, mmcaddr + MMC_CNTRL); in dwmac_mmc_ctrl()
248 static void dwmac_mmc_intr_all_mask(void __iomem *mmcaddr) in dwmac_mmc_intr_all_mask() argument
250 writel(MMC_DEFAULT_MASK, mmcaddr + MMC_RX_INTR_MASK); in dwmac_mmc_intr_all_mask()
251 writel(MMC_DEFAULT_MASK, mmcaddr + MMC_TX_INTR_MASK); in dwmac_mmc_intr_all_mask()
252 writel(MMC_DEFAULT_MASK, mmcaddr + MMC_RX_IPC_INTR_MASK); in dwmac_mmc_intr_all_mask()
260 static void dwmac_mmc_read(void __iomem *mmcaddr, struct stmmac_counters *mmc) in dwmac_mmc_read() argument
262 mmc->mmc_tx_octetcount_gb += readl(mmcaddr + MMC_TX_OCTETCOUNT_GB); in dwmac_mmc_read()
263 mmc->mmc_tx_framecount_gb += readl(mmcaddr + MMC_TX_FRAMECOUNT_GB); in dwmac_mmc_read()
[all …]
Dhwif.c311 priv->mmcaddr = priv->ioaddr + in stmmac_hwif_init()
357 priv->mmcaddr = priv->ioaddr + entry->regs.mmc_off; in stmmac_hwif_init()
Dstmmac.h341 void __iomem *mmcaddr; member
Dstmmac_ethtool.c646 stmmac_mmc_read(priv, priv->mmcaddr, &priv->mmc); in stmmac_get_ethtool_stats()
1349 stmmac_mmc_read(priv, priv->mmcaddr, mmc); in stmmac_get_mm_stats()
Dstmmac_selftests.c408 stmmac_mmc_read(priv, priv->mmcaddr, &priv->mmc); in stmmac_test_mmc()
415 stmmac_mmc_read(priv, priv->mmcaddr, &final); in stmmac_test_mmc()
Dstmmac_main.c2960 stmmac_mmc_intr_all_mask(priv, priv->mmcaddr); in stmmac_mmc_setup()
2963 stmmac_mmc_ctrl(priv, priv->mmcaddr, mode); in stmmac_mmc_setup()