Home
last modified time | relevance | path

Searched refs:io_addr (Results 1 – 11 of 11) sorted by relevance

/arch/s390/pci/
Dpci_mmio.c38 void __iomem *io_addr; in SYSCALL_DEFINE3() local
58 io_addr = (void __iomem *)((pfn << PAGE_SHIFT) | (mmio_addr & ~PAGE_MASK)); in SYSCALL_DEFINE3()
61 if ((unsigned long) io_addr < ZPCI_IOMAP_ADDR_BASE) in SYSCALL_DEFINE3()
67 ret = zpci_memcpy_toio(io_addr, buf, length); in SYSCALL_DEFINE3()
78 void __iomem *io_addr; in SYSCALL_DEFINE3() local
98 io_addr = (void __iomem *)((pfn << PAGE_SHIFT) | (mmio_addr & ~PAGE_MASK)); in SYSCALL_DEFINE3()
100 if ((unsigned long) io_addr < ZPCI_IOMAP_ADDR_BASE) { in SYSCALL_DEFINE3()
104 ret = zpci_memcpy_fromio(buf, io_addr, length); in SYSCALL_DEFINE3()
/arch/powerpc/sysdev/
Daxonram.c67 unsigned long io_addr; member
117 phys_mem = bank->io_addr + (bio->bi_iter.bi_sector << in axon_ram_make_request()
119 phys_end = bank->io_addr + bank->size; in axon_ram_make_request()
151 *kaddr = (void *) bank->io_addr + offset; in axon_ram_direct_access()
207 bank->io_addr = (unsigned long) ioremap_prot( in axon_ram_probe()
209 if (bank->io_addr == 0) { in axon_ram_probe()
282 if (bank->io_addr != 0) in axon_ram_probe()
283 iounmap((void __iomem *) bank->io_addr); in axon_ram_probe()
305 iounmap((void __iomem *) bank->io_addr); in axon_ram_remove()
/arch/arm/mach-ixp4xx/include/mach/
Dio.h248 static inline void outsb(u32 io_addr, const void *p, u32 count) in outsb() argument
253 outb(*vaddr++, io_addr); in outsb()
267 static inline void outsw(u32 io_addr, const void *p, u32 count) in outsw() argument
271 outw(cpu_to_le16(*vaddr++), io_addr); in outsw()
281 static inline void outsl(u32 io_addr, const void *p, u32 count) in outsl() argument
285 outl(cpu_to_le32(*vaddr++), io_addr); in outsl()
301 static inline void insb(u32 io_addr, void *p, u32 count) in insb() argument
305 *vaddr++ = inb(io_addr); in insb()
321 static inline void insw(u32 io_addr, void *p, u32 count) in insw() argument
325 *vaddr++ = le16_to_cpu(inw(io_addr)); in insw()
[all …]
/arch/xtensa/mm/
Dioremap.c62 void xtensa_iounmap(volatile void __iomem *io_addr) in xtensa_iounmap() argument
64 void *addr = (void *)(PAGE_MASK & (unsigned long)io_addr); in xtensa_iounmap()
/arch/arm64/mm/
Dioremap.c83 void __iounmap(volatile void __iomem *io_addr) in __iounmap() argument
85 unsigned long addr = (unsigned long)io_addr & PAGE_MASK; in __iounmap()
/arch/unicore32/mm/
Dioremap.c235 void __uc32_iounmap(volatile void __iomem *io_addr) in __uc32_iounmap() argument
237 void *addr = (void *)(PAGE_MASK & (unsigned long)io_addr); in __uc32_iounmap()
/arch/mips/include/asm/octeon/
Dcvmx.h284 static inline void cvmx_write_io(uint64_t io_addr, uint64_t val) in cvmx_write_io() argument
286 cvmx_write64(io_addr, val); in cvmx_write_io()
/arch/arm/mm/
Dioremap.c429 void __iounmap(volatile void __iomem *io_addr) in __iounmap() argument
431 void *addr = (void *)(PAGE_MASK & (unsigned long)io_addr); in __iounmap()
/arch/x86/events/intel/
Duncore_snb.c314 box->io_addr = ioremap(addr, SNB_UNCORE_PCI_IMC_MAP_SIZE); in snb_uncore_imc_init_box()
320 iounmap(box->io_addr); in snb_uncore_imc_exit_box()
339 return (u64)*(unsigned int *)(box->io_addr + hwc->event_base); in snb_uncore_imc_read_counter()
Duncore.h119 void *io_addr; member
/arch/arm/mach-ebsa110/
Dcore.c125 static void ebsa110_iounmap(volatile void __iomem *io_addr) in ebsa110_iounmap() argument