Home
last modified time | relevance | path

Searched refs:swth_base (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c77 writel(data, priv->swth_base[0] + offset); in mvpp2_write()
82 return readl(priv->swth_base[0] + offset); in mvpp2_read()
87 return readl_relaxed(priv->swth_base[0] + offset); in mvpp2_read_relaxed()
128 writel(data, priv->swth_base[cpu] + offset); in mvpp2_percpu_write()
134 return readl(priv->swth_base[cpu] + offset); in mvpp2_percpu_read()
140 writel_relaxed(data, priv->swth_base[cpu] + offset); in mvpp2_percpu_write_relaxed()
146 return readl_relaxed(priv->swth_base[cpu] + offset); in mvpp2_percpu_read_relaxed()
5172 priv->swth_base[i] = base + i * addr_space_sz; in mvpp2_probe()
Dmvpp2.h719 void __iomem *swth_base[MVPP2_MAX_THREADS]; member