Searched refs:io_remap_addr (Results 1 – 2 of 2) sorted by relevance
49 void __iomem *io_remap_addr; member56 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()[all …]
162 void __iomem *io_remap_addr; member226 iowrite32(val, (data->io_remap_addr + idx)); in pch_spi_writereg()237 return ioread32(data->io_remap_addr + idx); in pch_spi_readreg()264 void __iomem *io_remap_addr) in pch_spi_handler_sub() argument274 spsr = io_remap_addr + PCH_SPSR; in pch_spi_handler_sub()284 spdrr = io_remap_addr + PCH_SPDRR; in pch_spi_handler_sub()285 spdwr = io_remap_addr + PCH_SPDWR; in pch_spi_handler_sub()297 reg_spcr_val = ioread32(io_remap_addr + PCH_SPCR); in pch_spi_handler_sub()304 iowrite32(reg_spcr_val, (io_remap_addr + PCH_SPCR)); in pch_spi_handler_sub()341 void __iomem *io_remap_addr; in pch_spi_handler() local[all …]