Searched refs:io_addr (Results 1 – 12 of 12) sorted by relevance
/arch/s390/pci/ |
D | pci_mmio.c | 146 void __iomem *io_addr; in SYSCALL_DEFINE3() local 182 io_addr = (void __iomem *)((pfn << PAGE_SHIFT) | in SYSCALL_DEFINE3() 186 if ((unsigned long) io_addr < ZPCI_IOMAP_ADDR_BASE) in SYSCALL_DEFINE3() 192 ret = zpci_memcpy_toio(io_addr, buf, length); in SYSCALL_DEFINE3() 275 void __iomem *io_addr; in SYSCALL_DEFINE3() local 312 io_addr = (void __iomem *)((pfn << PAGE_SHIFT) | (mmio_addr & ~PAGE_MASK)); in SYSCALL_DEFINE3() 314 if ((unsigned long) io_addr < ZPCI_IOMAP_ADDR_BASE) { in SYSCALL_DEFINE3() 318 ret = zpci_memcpy_fromio(buf, io_addr, length); in SYSCALL_DEFINE3()
|
/arch/arm/mach-ixp4xx/include/mach/ |
D | io.h | 256 static inline void outsb(u32 io_addr, const void *p, u32 count) in outsb() argument 261 outb(*vaddr++, io_addr); in outsb() 275 static inline void outsw(u32 io_addr, const void *p, u32 count) in outsw() argument 279 outw(cpu_to_le16(*vaddr++), io_addr); in outsw() 289 static inline void outsl(u32 io_addr, const void *p, u32 count) in outsl() argument 293 outl(cpu_to_le32(*vaddr++), io_addr); in outsl() 309 static inline void insb(u32 io_addr, void *p, u32 count) in insb() argument 313 *vaddr++ = inb(io_addr); in insb() 329 static inline void insw(u32 io_addr, void *p, u32 count) in insw() argument 333 *vaddr++ = le16_to_cpu(inw(io_addr)); in insw() [all …]
|
/arch/xtensa/mm/ |
D | ioremap.c | 59 void xtensa_iounmap(volatile void __iomem *io_addr) in xtensa_iounmap() argument 61 void *addr = (void *)(PAGE_MASK & (unsigned long)io_addr); in xtensa_iounmap()
|
/arch/parisc/mm/ |
D | ioremap.c | 93 void iounmap(const volatile void __iomem *io_addr) in iounmap() argument 95 unsigned long addr = (unsigned long)io_addr & PAGE_MASK; in iounmap()
|
/arch/arm64/mm/ |
D | ioremap.c | 72 void iounmap(volatile void __iomem *io_addr) in iounmap() argument 74 unsigned long addr = (unsigned long)io_addr & PAGE_MASK; in iounmap()
|
/arch/x86/events/intel/ |
D | uncore.h | 146 void __iomem *io_addr; member 386 if (box->pci_dev || box->io_addr) in uncore_fixed_ctl() 395 if (box->pci_dev || box->io_addr) in uncore_fixed_ctr() 404 if (box->pci_dev || box->io_addr) in uncore_event_ctl() 413 if (box->pci_dev || box->io_addr) in uncore_perf_ctr()
|
D | uncore_snb.c | 516 box->io_addr = ioremap(addr, type->mmio_map_size); in snb_uncore_imc_init_box() 517 if (!box->io_addr) in snb_uncore_imc_init_box() 673 return (u64)readl(box->io_addr + hwc->event_base); in snb_uncore_imc_read_counter() 1288 box->io_addr = ioremap(addr, type->mmio_map_size); in tgl_uncore_imc_freerunning_init_box() 1289 if (!box->io_addr) in tgl_uncore_imc_freerunning_init_box()
|
D | uncore_snbep.c | 4715 box->io_addr = ioremap(addr, type->mmio_map_size); in __snr_uncore_mmio_init_box() 4716 if (!box->io_addr) { in __snr_uncore_mmio_init_box() 4721 writel(IVBEP_PMON_BOX_CTL_INT, box->io_addr); in __snr_uncore_mmio_init_box() 4734 if (!box->io_addr) in snr_uncore_mmio_disable_box() 4737 config = readl(box->io_addr); in snr_uncore_mmio_disable_box() 4739 writel(config, box->io_addr); in snr_uncore_mmio_disable_box() 4746 if (!box->io_addr) in snr_uncore_mmio_enable_box() 4749 config = readl(box->io_addr); in snr_uncore_mmio_enable_box() 4751 writel(config, box->io_addr); in snr_uncore_mmio_enable_box() 4759 if (!box->io_addr) in snr_uncore_mmio_enable_event() [all …]
|
D | uncore.c | 127 if (box->io_addr) in uncore_mmio_exit_box() 128 iounmap(box->io_addr); in uncore_mmio_exit_box() 134 if (!box->io_addr) in uncore_mmio_read_counter() 140 return readq(box->io_addr + event->hw.event_base); in uncore_mmio_read_counter()
|
/arch/mips/include/asm/octeon/ |
D | cvmx.h | 285 static inline void cvmx_write_io(uint64_t io_addr, uint64_t val) in cvmx_write_io() argument 287 cvmx_write64(io_addr, val); in cvmx_write_io()
|
/arch/arm/mm/ |
D | ioremap.c | 411 void __iounmap(volatile void __iomem *io_addr) in __iounmap() argument 413 void *addr = (void *)(PAGE_MASK & (unsigned long)io_addr); in __iounmap()
|
/arch/arm/mach-ebsa110/ |
D | core.c | 121 static void ebsa110_iounmap(volatile void __iomem *io_addr) in ebsa110_iounmap() argument
|