Lines Matching refs:io_remap_addr
157 void __iomem *io_remap_addr; member
221 iowrite32(val, (data->io_remap_addr + idx)); in pch_spi_writereg()
232 return ioread32(data->io_remap_addr + idx); in pch_spi_readreg()
259 void __iomem *io_remap_addr) in pch_spi_handler_sub() argument
269 spsr = io_remap_addr + PCH_SPSR; in pch_spi_handler_sub()
279 spdrr = io_remap_addr + PCH_SPDRR; in pch_spi_handler_sub()
280 spdwr = io_remap_addr + PCH_SPDWR; in pch_spi_handler_sub()
292 reg_spcr_val = ioread32(io_remap_addr + PCH_SPCR); in pch_spi_handler_sub()
299 iowrite32(reg_spcr_val, (io_remap_addr + PCH_SPCR)); in pch_spi_handler_sub()
336 void __iomem *io_remap_addr; in pch_spi_handler() local
347 io_remap_addr = data->io_remap_addr; in pch_spi_handler()
348 spsr = io_remap_addr + PCH_SPSR; in pch_spi_handler()
369 pch_spi_handler_sub(data, reg_spsr_val, io_remap_addr); in pch_spi_handler()
1342 data->io_remap_addr = pci_iomap(board_dat->pdev, 1, 0); in pch_spi_pd_probe()
1343 if (!data->io_remap_addr) { in pch_spi_pd_probe()
1348 data->io_remap_addr += PCH_ADDRESS_SIZE * plat_dev->id; in pch_spi_pd_probe()
1351 plat_dev->id, data->io_remap_addr); in pch_spi_pd_probe()
1411 pci_iounmap(board_dat->pdev, data->io_remap_addr); in pch_spi_pd_probe()
1454 pci_iounmap(board_dat->pdev, data->io_remap_addr); in pch_spi_pd_remove()