Searched refs:gmac_base (Results 1 – 2 of 2) sorted by relevance
111 void __iomem *gmac_base; member233 reg = readl(port->gmac_base + GMAC_CONFIG0); in gmac_update_config0_reg()235 writel(reg, port->gmac_base + GMAC_CONFIG0); in gmac_update_config0_reg()248 reg = readl(port->gmac_base + GMAC_CONFIG0); in gmac_enable_tx_rx()250 writel(reg, port->gmac_base + GMAC_CONFIG0); in gmac_enable_tx_rx()263 val = readl(port->gmac_base + GMAC_CONFIG0); in gmac_disable_tx_rx()265 writel(val, port->gmac_base + GMAC_CONFIG0); in gmac_disable_tx_rx()280 val = readl(port->gmac_base + GMAC_CONFIG0); in gmac_set_flow_control()286 writel(val, port->gmac_base + GMAC_CONFIG0); in gmac_set_flow_control()299 status.bits32 = readl(port->gmac_base + GMAC_STATUS); in gmac_speed_set()[all …]
151 void __iomem *gmac_base; member209 return readl(priv->gmac_base + reg); in mtk_gmac_read()214 writel(val, priv->gmac_base + reg); in mtk_gmac_write()219 clrsetbits_le32(priv->gmac_base + reg, clr, set); in mtk_gmac_rmw()245 ret = wait_for_bit_le32(priv->gmac_base + GMAC_PIAC_REG, in mtk_mii_rw()1003 priv->gmac_base = (void *)(iobase + GMAC_BASE); in mtk_eth_probe()