Searched refs:xgmac_regs (Results 1 – 7 of 7) sorted by relevance
50 struct vfio_platform_region *xgmac_regs = &vdev->regions[0]; in vfio_platform_amdxgbe_reset() local55 if (!xgmac_regs->ioaddr) { in vfio_platform_amdxgbe_reset()56 xgmac_regs->ioaddr = in vfio_platform_amdxgbe_reset()57 ioremap(xgmac_regs->addr, xgmac_regs->size); in vfio_platform_amdxgbe_reset()58 if (!xgmac_regs->ioaddr) in vfio_platform_amdxgbe_reset()96 dma_mr_value = ioread32(xgmac_regs->ioaddr + DMA_MR); in vfio_platform_amdxgbe_reset()98 iowrite32(dma_mr_value, xgmac_regs->ioaddr + DMA_MR); in vfio_platform_amdxgbe_reset()103 while (--count && (ioread32(xgmac_regs->ioaddr + DMA_MR) & 1)) in vfio_platform_amdxgbe_reset()
252 pdata->xgmac_regs = iomap_table[XGBE_XGMAC_BAR]; in xgbe_pci_probe()253 if (!pdata->xgmac_regs) { in xgbe_pci_probe()258 pdata->xprop_regs = pdata->xgmac_regs + XGBE_MAC_PROP_OFFSET; in xgbe_pci_probe()259 pdata->xi2c_regs = pdata->xgmac_regs + XGBE_I2C_CTRL_OFFSET; in xgbe_pci_probe()261 dev_dbg(dev, "xgmac_regs = %p\n", pdata->xgmac_regs); in xgbe_pci_probe()
355 pdata->xgmac_regs = devm_platform_ioremap_resource(pdev, 0); in xgbe_platform_probe()356 if (IS_ERR(pdata->xgmac_regs)) { in xgbe_platform_probe()358 ret = PTR_ERR(pdata->xgmac_regs); in xgbe_platform_probe()362 dev_dbg(dev, "xgmac_regs = %p\n", pdata->xgmac_regs); in xgbe_platform_probe()
1503 ioread32((_pdata)->xgmac_regs + _reg)1511 iowrite32((_val), (_pdata)->xgmac_regs + _reg)1527 ioread32((_pdata)->xgmac_regs + \1536 iowrite32((_val), (_pdata)->xgmac_regs + \
269 netdev->base_addr = (unsigned long)pdata->xgmac_regs; in xgbe_config_netdev()
1067 void __iomem *xgmac_regs; /* XGMAC CSRs */ member
214 channel->dma_regs = pdata->xgmac_regs + DMA_CH_BASE + in xgbe_alloc_channels()