Home
last modified time | relevance | path

Searched refs:PCI_IOBASE (Results 1 - 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/arch/riscv/include/asm/
H A Dio.h30 #define PCI_IOBASE ((void __iomem *)PCI_IO_START) macro
55 #define inb(c) ({ u8 __v; __io_pbr(); __v = readb_cpu((void*)(PCI_IOBASE + (c))); __io_par(__v); __v; })
56 #define inw(c) ({ u16 __v; __io_pbr(); __v = readw_cpu((void*)(PCI_IOBASE + (c))); __io_par(__v); __v; })
57 #define inl(c) ({ u32 __v; __io_pbr(); __v = readl_cpu((void*)(PCI_IOBASE + (c))); __io_par(__v); __v; })
59 #define outb(v,c) ({ __io_pbw(); writeb_cpu((v),(void*)(PCI_IOBASE + (c))); __io_paw(); })
60 #define outw(v,c) ({ __io_pbw(); writew_cpu((v),(void*)(PCI_IOBASE + (c))); __io_paw(); })
61 #define outl(v,c) ({ __io_pbw(); writel_cpu((v),(void*)(PCI_IOBASE + (c))); __io_paw(); })
117 #define insb(addr, buffer, count) __insb(PCI_IOBASE + (addr), buffer, count)
118 #define insw(addr, buffer, count) __insw(PCI_IOBASE + (addr), buffer, count)
119 #define insl(addr, buffer, count) __insl(PCI_IOBASE
[all...]
/kernel/linux/linux-6.6/arch/riscv/include/asm/
H A Dio.h30 #define PCI_IOBASE ((void __iomem *)PCI_IO_START) macro
104 #define insb(addr, buffer, count) __insb(PCI_IOBASE + (addr), buffer, count)
105 #define insw(addr, buffer, count) __insw(PCI_IOBASE + (addr), buffer, count)
106 #define insl(addr, buffer, count) __insl(PCI_IOBASE + (addr), buffer, count)
118 #define outsb(addr, buffer, count) __outsb(PCI_IOBASE + (addr), buffer, count)
119 #define outsw(addr, buffer, count) __outsw(PCI_IOBASE + (addr), buffer, count)
120 #define outsl(addr, buffer, count) __outsl(PCI_IOBASE + (addr), buffer, count)
127 #define insq(addr, buffer, count) __insq(PCI_IOBASE + (addr), buffer, count)
133 #define outsq(addr, buffer, count) __outsq(PCI_IOBASE + (addr), buffer, count)
/kernel/linux/linux-5.10/include/asm-generic/
H A Dio.h443 #ifndef PCI_IOBASE
444 #define PCI_IOBASE ((void __iomem *)0) macro
464 val = __raw_readb(PCI_IOBASE + addr); in _inb()
477 val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); in _inw()
490 val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); in _inl()
501 __raw_writeb(value, PCI_IOBASE + addr); in _outb()
511 __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr); in _outw()
521 __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr); in _outl()
609 readsb(PCI_IOBASE + addr, buffer, count); in insb()
617 readsw(PCI_IOBASE in insw()
[all...]
/kernel/linux/linux-6.6/include/asm-generic/
H A Dio.h526 #ifndef PCI_IOBASE
527 #define PCI_IOBASE ((void __iomem *)0) macro
547 val = __raw_readb(PCI_IOBASE + addr); in _inb()
560 val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); in _inw()
573 val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); in _inl()
584 __raw_writeb(value, PCI_IOBASE + addr); in _outb()
594 __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr); in _outw()
604 __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr); in _outl()
692 readsb(PCI_IOBASE + addr, buffer, count); in insb()
700 readsw(PCI_IOBASE in insw()
[all...]
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-loongson64/
H A Dspaces.h10 #define PCI_IOBASE _AC(0xc000000000000000 + SZ_128K, UL) macro
12 #define MAP_BASE (PCI_IOBASE + PCI_IOSIZE)
/kernel/linux/linux-6.6/arch/mips/include/asm/mach-loongson64/
H A Dspaces.h10 #define PCI_IOBASE _AC(0xc000000000000000 + SZ_128K, UL) macro
12 #define MAP_BASE (PCI_IOBASE + PCI_IOSIZE)
/kernel/linux/linux-6.6/lib/
H A Dlogic_pio.c231 #if defined(CONFIG_INDIRECT_PIO) && defined(PCI_IOBASE)
270 reads##bwl(PCI_IOBASE + addr, buffer, count); \
287 writes##bwl(PCI_IOBASE + addr, buffer, count); \
317 #endif /* CONFIG_INDIRECT_PIO && PCI_IOBASE */
H A Dpci_iomap.c149 * be fixed to the range [ PCI_IOBASE, PCI_IOBASE+IO_SPACE_LIMIT [,
168 uintptr_t start = (uintptr_t) PCI_IOBASE; in pci_iounmap()
/kernel/linux/linux-5.10/arch/mips/loongson64/
H A Dinit.c56 set_io_port_base(PCI_IOBASE); in prom_init()
95 /* Legacy ISA must placed at the start of PCI_IOBASE */ in add_legacy_isa_io()
102 vaddr = PCI_IOBASE + range->io_start; in add_legacy_isa_io()
/kernel/linux/linux-6.6/arch/mips/include/asm/mach-ralink/
H A Dspaces.h5 #define PCI_IOBASE mips_io_port_base macro
/kernel/linux/linux-6.6/arch/mips/loongson64/
H A Dinit.c128 set_io_port_base(PCI_IOBASE); in prom_init()
171 /* Legacy ISA must placed at the start of PCI_IOBASE */ in add_legacy_isa_io()
178 vaddr = PCI_IOBASE + range->io_start; in add_legacy_isa_io()
/kernel/linux/linux-5.10/lib/
H A Dlogic_pio.c234 #if defined(CONFIG_INDIRECT_PIO) && defined(PCI_IOBASE)
273 reads##bwl(PCI_IOBASE + addr, buffer, count); \
290 writes##bwl(PCI_IOBASE + addr, buffer, count); \
320 #endif /* CONFIG_INDIRECT_PIO && PCI_IOBASE */
/kernel/linux/linux-6.6/arch/arm/mach-s3c/
H A Dmap-base.h40 #define S3C24XX_VA_ISA_BYTE PCI_IOBASE
/kernel/linux/linux-6.6/arch/xtensa/include/asm/
H A Dio.h25 #define PCI_IOBASE ((void __iomem *)XCHAL_KIO_BYPASS_VADDR) macro
/kernel/linux/linux-5.10/arch/loongarch/include/asm/
H A Daddrspace.h115 * PCI_IOBASE ->|-----------------------|
118 #define PCI_IOBASE ((void __iomem *)(vm_map_base + (2 * PAGE_SIZE))) macro
/kernel/linux/linux-5.10/arch/xtensa/include/asm/
H A Dio.h24 #define PCI_IOBASE ((void __iomem *)XCHAL_KIO_BYPASS_VADDR) macro
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
H A Dio.h30 #define PCI_IOBASE ((void __iomem *)_IO_BASE) macro
/kernel/linux/linux-6.6/arch/microblaze/include/asm/
H A Dio.h30 #define PCI_IOBASE ((void __iomem *)_IO_BASE) macro
/kernel/linux/linux-6.6/arch/loongarch/include/asm/
H A Daddrspace.h120 * PCI_IOBASE ->|-----------------------|
123 #define PCI_IOBASE ((void __iomem *)(vm_map_base + (2 * PAGE_SIZE))) macro
/kernel/linux/linux-5.10/arch/m68k/include/asm/
H A Dio_no.h130 #define PCI_IOBASE ((void __iomem *) PCI_IO_PA) macro
/kernel/linux/linux-6.6/arch/m68k/include/asm/
H A Dio_no.h130 #define PCI_IOBASE ((void __iomem *) PCI_IO_PA) macro
/kernel/linux/linux-5.10/arch/ia64/include/asm/
H A Dio.h283 #undef PCI_IOBASE macro
/kernel/linux/linux-6.6/arch/ia64/include/asm/
H A Dio.h267 #undef PCI_IOBASE macro
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dio.h125 #define PCI_IOBASE ((void __iomem *)PCI_IO_START) macro
/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Dio.h150 #define PCI_IOBASE ((void __iomem *)PCI_IO_START) macro

Completed in 10 milliseconds

12