Searched refs:io_remap_addr (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/drivers/spi/ |
D | spi-amd.c | 93 void __iomem *io_remap_addr; member 100 return ioread8((u8 __iomem *)amd_spi->io_remap_addr + idx); in amd_spi_readreg8() 105 iowrite8(val, ((u8 __iomem *)amd_spi->io_remap_addr + idx)); in amd_spi_writereg8() 118 return ioread32((u8 __iomem *)amd_spi->io_remap_addr + idx); in amd_spi_readreg32() 123 iowrite32(val, ((u8 __iomem *)amd_spi->io_remap_addr + idx)); in amd_spi_writereg32() 190 return readl_poll_timeout(amd_spi->io_remap_addr + reg, val, in amd_spi_busy_wait() 394 amd_spi->io_remap_addr = devm_platform_ioremap_resource(pdev, 0); in amd_spi_probe() 395 if (IS_ERR(amd_spi->io_remap_addr)) in amd_spi_probe() 396 return dev_err_probe(dev, PTR_ERR(amd_spi->io_remap_addr), in amd_spi_probe() 399 dev_dbg(dev, "io_remap_address: %p\n", amd_spi->io_remap_addr); in amd_spi_probe()
|
D | spi-topcliff-pch.c | 162 void __iomem *io_remap_addr; member 226 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() argument 274 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 …]
|