Searched refs:mmio_priv (Results 1 – 1 of 1) sorted by relevance
194 struct w5100_mmio_priv *mmio_priv = w5100_mmio_priv(ndev); in w5100_mmio() local196 return mmio_priv->base; in w5100_mmio()267 struct w5100_mmio_priv *mmio_priv = w5100_mmio_priv(ndev); in w5100_mmio_init() local270 spin_lock_init(&mmio_priv->reg_lock); in w5100_mmio_init()273 mmio_priv->base = devm_ioremap_resource(&pdev->dev, mem); in w5100_mmio_init()274 if (IS_ERR(mmio_priv->base)) in w5100_mmio_init()275 return PTR_ERR(mmio_priv->base); in w5100_mmio_init()306 struct w5100_mmio_priv *mmio_priv = w5100_mmio_priv(ndev); in w5100_read_indirect() local310 spin_lock_irqsave(&mmio_priv->reg_lock, flags); in w5100_read_indirect()313 spin_unlock_irqrestore(&mmio_priv->reg_lock, flags); in w5100_read_indirect()[all …]