Lines Matching refs:io_remap_addr
49 void __iomem *io_remap_addr; member
56 return ioread8((u8 __iomem *)amd_spi->io_remap_addr + idx); in amd_spi_readreg8()
61 iowrite8(val, ((u8 __iomem *)amd_spi->io_remap_addr + idx)); in amd_spi_writereg8()
74 return ioread32((u8 __iomem *)amd_spi->io_remap_addr + idx); in amd_spi_readreg32()
79 iowrite32(val, ((u8 __iomem *)amd_spi->io_remap_addr + idx)); in amd_spi_writereg32()
146 return readl_poll_timeout(amd_spi->io_remap_addr + reg, val, in amd_spi_busy_wait()
210 iowrite8(buf[i], ((u8 __iomem *)amd_spi->io_remap_addr + in amd_spi_fifo_xfer()
294 amd_spi->io_remap_addr = devm_platform_ioremap_resource(pdev, 0); in amd_spi_probe()
295 if (IS_ERR(amd_spi->io_remap_addr)) { in amd_spi_probe()
296 err = PTR_ERR(amd_spi->io_remap_addr); in amd_spi_probe()
300 dev_dbg(dev, "io_remap_address: %p\n", amd_spi->io_remap_addr); in amd_spi_probe()