Searched refs:mmcaddr (Results 1 – 5 of 5) sorted by relevance
131 void dwmac_mmc_ctrl(void __iomem *mmcaddr, unsigned int mode) in dwmac_mmc_ctrl() argument133 u32 value = readl(mmcaddr + MMC_CNTRL); in dwmac_mmc_ctrl()137 writel(value, mmcaddr + MMC_CNTRL); in dwmac_mmc_ctrl()144 void dwmac_mmc_intr_all_mask(void __iomem *mmcaddr) in dwmac_mmc_intr_all_mask() argument146 writel(MMC_DEFAULT_MASK, mmcaddr + MMC_RX_INTR_MASK); in dwmac_mmc_intr_all_mask()147 writel(MMC_DEFAULT_MASK, mmcaddr + MMC_TX_INTR_MASK); in dwmac_mmc_intr_all_mask()148 writel(MMC_DEFAULT_MASK, mmcaddr + MMC_RX_IPC_INTR_MASK); in dwmac_mmc_intr_all_mask()156 void dwmac_mmc_read(void __iomem *mmcaddr, struct stmmac_counters *mmc) in dwmac_mmc_read() argument158 mmc->mmc_tx_octetcount_gb += readl(mmcaddr + MMC_TX_OCTETCOUNT_GB); in dwmac_mmc_read()159 mmc->mmc_tx_framecount_gb += readl(mmcaddr + MMC_TX_FRAMECOUNT_GB); in dwmac_mmc_read()[all …]
235 priv->mmcaddr = priv->ioaddr + in stmmac_hwif_init()273 priv->mmcaddr = priv->ioaddr + entry->regs.mmc_off; in stmmac_hwif_init()
186 void __iomem *mmcaddr; member
536 dwmac_mmc_read(priv->mmcaddr, &priv->mmc); in stmmac_get_ethtool_stats()
2116 dwmac_mmc_intr_all_mask(priv->mmcaddr); in stmmac_mmc_setup()2119 dwmac_mmc_ctrl(priv->mmcaddr, mode); in stmmac_mmc_setup()