Home
last modified time | relevance | path

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

/drivers/net/ethernet/wiznet/
Dw5100.c194 struct w5100_mmio_priv *mmio_priv = w5100_mmio_priv(ndev); in w5100_mmio() local
196 return mmio_priv->base; in w5100_mmio()
266 struct w5100_mmio_priv *mmio_priv = w5100_mmio_priv(ndev); in w5100_mmio_init() local
268 spin_lock_init(&mmio_priv->reg_lock); in w5100_mmio_init()
270 mmio_priv->base = devm_platform_get_and_ioremap_resource(pdev, 0, NULL); in w5100_mmio_init()
271 if (IS_ERR(mmio_priv->base)) in w5100_mmio_init()
272 return PTR_ERR(mmio_priv->base); in w5100_mmio_init()
301 struct w5100_mmio_priv *mmio_priv = w5100_mmio_priv(ndev); in w5100_read_indirect() local
305 spin_lock_irqsave(&mmio_priv->reg_lock, flags); in w5100_read_indirect()
308 spin_unlock_irqrestore(&mmio_priv->reg_lock, flags); in w5100_read_indirect()
[all …]