/arch/mips/include/asm/ |
D | asm-eva.h | 18 #define kernel_ll(reg, addr) "ll " reg ", " addr "\n" argument 19 #define kernel_sc(reg, addr) "sc " reg ", " addr "\n" argument 20 #define kernel_lw(reg, addr) "lw " reg ", " addr "\n" argument 21 #define kernel_lwl(reg, addr) "lwl " reg ", " addr "\n" argument 22 #define kernel_lwr(reg, addr) "lwr " reg ", " addr "\n" argument 23 #define kernel_lh(reg, addr) "lh " reg ", " addr "\n" argument 24 #define kernel_lb(reg, addr) "lb " reg ", " addr "\n" argument 25 #define kernel_lbu(reg, addr) "lbu " reg ", " addr "\n" argument 26 #define kernel_sw(reg, addr) "sw " reg ", " addr "\n" argument 27 #define kernel_swl(reg, addr) "swl " reg ", " addr "\n" argument [all …]
|
/arch/powerpc/kernel/ |
D | iomap.c | 18 unsigned int ioread8(void __iomem *addr) in ioread8() 22 unsigned int ioread16(void __iomem *addr) in ioread16() 26 unsigned int ioread16be(void __iomem *addr) in ioread16be() 30 unsigned int ioread32(void __iomem *addr) in ioread32() 34 unsigned int ioread32be(void __iomem *addr) in ioread32be() 44 u64 ioread64(void __iomem *addr) in ioread64() 48 u64 ioread64be(void __iomem *addr) in ioread64be() 56 void iowrite8(u8 val, void __iomem *addr) in iowrite8() 60 void iowrite16(u16 val, void __iomem *addr) in iowrite16() 64 void iowrite16be(u16 val, void __iomem *addr) in iowrite16be() [all …]
|
/arch/parisc/lib/ |
D | iomap.c | 36 #define INDIRECT_ADDR(addr) (((unsigned long)(addr) & 1UL<<63) != 0) argument 37 #define ADDR_TO_REGION(addr) (((unsigned long)addr >> 60) & 7) argument 40 #define INDIRECT_ADDR(addr) (((unsigned long)(addr) & 1UL<<31) != 0) argument 41 #define ADDR_TO_REGION(addr) (((unsigned long)addr >> 28) & 7) argument 66 #define ADDR2PORT(addr) ((unsigned long __force)(addr) & 0xffffff) argument 68 static unsigned int ioport_read8(void __iomem *addr) in ioport_read8() 73 static unsigned int ioport_read16(void __iomem *addr) in ioport_read16() 78 static unsigned int ioport_read32(void __iomem *addr) in ioport_read32() 83 static void ioport_write8(u8 datum, void __iomem *addr) in ioport_write8() 88 static void ioport_write16(u16 datum, void __iomem *addr) in ioport_write16() [all …]
|
/arch/sh/kernel/ |
D | iomap.c | 14 unsigned int ioread8(void __iomem *addr) in ioread8() 20 unsigned int ioread16(void __iomem *addr) in ioread16() 26 unsigned int ioread16be(void __iomem *addr) in ioread16be() 32 unsigned int ioread32(void __iomem *addr) in ioread32() 38 unsigned int ioread32be(void __iomem *addr) in ioread32be() 44 void iowrite8(u8 val, void __iomem *addr) in iowrite8() 50 void iowrite16(u16 val, void __iomem *addr) in iowrite16() 56 void iowrite16be(u16 val, void __iomem *addr) in iowrite16be() 62 void iowrite32(u32 val, void __iomem *addr) in iowrite32() 68 void iowrite32be(u32 val, void __iomem *addr) in iowrite32be() [all …]
|
/arch/parisc/include/asm/ |
D | io.h | 13 static inline unsigned long isa_bus_to_virt(unsigned long addr) { in isa_bus_to_virt() 18 static inline unsigned long isa_virt_to_bus(void *addr) { in isa_virt_to_bus() 32 static inline unsigned char gsc_readb(unsigned long addr) in gsc_readb() 46 static inline unsigned short gsc_readw(unsigned long addr) in gsc_readw() 60 static inline unsigned int gsc_readl(unsigned long addr) in gsc_readl() 71 static inline unsigned long long gsc_readq(unsigned long addr) in gsc_readq() 87 static inline void gsc_writeb(unsigned char val, unsigned long addr) in gsc_writeb() 97 static inline void gsc_writew(unsigned short val, unsigned long addr) in gsc_writew() 107 static inline void gsc_writel(unsigned int val, unsigned long addr) in gsc_writel() 114 static inline void gsc_writeq(unsigned long long val, unsigned long addr) in gsc_writeq() [all …]
|
/arch/mips/lib/ |
D | iomap.c | 29 unsigned int ioread8(void __iomem *addr) in ioread8() 36 unsigned int ioread16(void __iomem *addr) in ioread16() 43 unsigned int ioread16be(void __iomem *addr) in ioread16be() 50 unsigned int ioread32(void __iomem *addr) in ioread32() 57 unsigned int ioread32be(void __iomem *addr) in ioread32be() 64 void iowrite8(u8 val, void __iomem *addr) in iowrite8() 71 void iowrite16(u16 val, void __iomem *addr) in iowrite16() 78 void iowrite16be(u16 val, void __iomem *addr) in iowrite16be() 85 void iowrite32(u32 val, void __iomem *addr) in iowrite32() 92 void iowrite32be(u32 val, void __iomem *addr) in iowrite32be() [all …]
|
/arch/tile/include/gxio/ |
D | common.h | 29 #define __gxio_mmio_read8(addr) readb(addr) argument 30 #define __gxio_mmio_read16(addr) readw(addr) argument 31 #define __gxio_mmio_read32(addr) readl(addr) argument 32 #define __gxio_mmio_read64(addr) readq(addr) argument 33 #define __gxio_mmio_write8(addr, val) writeb((val), (addr)) argument 34 #define __gxio_mmio_write16(addr, val) writew((val), (addr)) argument 35 #define __gxio_mmio_write32(addr, val) writel((val), (addr)) argument 36 #define __gxio_mmio_write64(addr, val) writeq((val), (addr)) argument 37 #define __gxio_mmio_read(addr) __gxio_mmio_read64(addr) argument 38 #define __gxio_mmio_write(addr, val) __gxio_mmio_write64((addr), (val)) argument
|
/arch/alpha/include/asm/ |
D | jensen.h | 92 __EXTERN_INLINE void jensen_set_hae(unsigned long addr) in jensen_set_hae() 114 static inline unsigned int jensen_local_inb(unsigned long addr) in jensen_local_inb() 119 static inline void jensen_local_outb(u8 b, unsigned long addr) in jensen_local_outb() 125 static inline unsigned int jensen_bus_inb(unsigned long addr) in jensen_bus_inb() 134 static inline void jensen_bus_outb(u8 b, unsigned long addr) in jensen_bus_outb() 147 #define jensen_is_local(addr) ( \ argument 154 __EXTERN_INLINE u8 jensen_inb(unsigned long addr) in jensen_inb() 162 __EXTERN_INLINE void jensen_outb(u8 b, unsigned long addr) in jensen_outb() 170 __EXTERN_INLINE u16 jensen_inw(unsigned long addr) in jensen_inw() 180 __EXTERN_INLINE u32 jensen_inl(unsigned long addr) in jensen_inl() [all …]
|
/arch/tile/include/asm/ |
D | io.h | 52 #define iounmap(addr) ((void)0) argument 64 #define mm_ptov(addr) ((void *)phys_to_virt(addr)) argument 65 #define mm_vtop(addr) ((unsigned long)virt_to_phys(addr)) argument 79 static inline u8 __raw_readb(const volatile void __iomem *addr) in __raw_readb() 84 static inline u16 __raw_readw(const volatile void __iomem *addr) in __raw_readw() 92 static inline u32 __raw_readl(const volatile void __iomem *addr) in __raw_readl() 101 static inline u64 __raw_readq(const volatile void __iomem *addr) in __raw_readq() 109 static inline void __raw_writeb(u8 val, volatile void __iomem *addr) in __raw_writeb() 114 static inline void __raw_writew(u16 val, volatile void __iomem *addr) in __raw_writew() 119 static inline void __raw_writel(u32 val, volatile void __iomem *addr) in __raw_writel() [all …]
|
/arch/ia64/include/asm/sn/ |
D | io.h | 42 #define __sn_setq_relaxed(addr, val) \ argument 44 #define __sn_clrq_relaxed(addr, val) \ argument 59 volatile unsigned char *addr; in ___sn_inb() local 73 volatile unsigned short *addr; in ___sn_inw() local 87 volatile unsigned int *addr; in ___sn_inl() local 101 volatile unsigned char *addr; in ___sn_outb() local 112 volatile unsigned short *addr; in ___sn_outw() local 123 volatile unsigned int *addr; in ___sn_outl() local 141 ___sn_readb (const volatile void __iomem *addr) in ___sn_readb() 152 ___sn_readw (const volatile void __iomem *addr) in ___sn_readw() [all …]
|
/arch/x86/include/asm/ |
D | bitops.h | 54 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3)) argument 73 set_bit(long nr, volatile unsigned long *addr) in set_bit() 95 static __always_inline void __set_bit(long nr, volatile unsigned long *addr) in __set_bit() 111 clear_bit(long nr, volatile unsigned long *addr) in clear_bit() 132 static __always_inline void clear_bit_unlock(long nr, volatile unsigned long *addr) in clear_bit_unlock() 138 static __always_inline void __clear_bit(long nr, volatile unsigned long *addr) in __clear_bit() 143 static __always_inline bool clear_bit_unlock_is_negative_byte(long nr, volatile unsigned long *addr) in clear_bit_unlock_is_negative_byte() 168 static __always_inline void __clear_bit_unlock(long nr, volatile unsigned long *addr) in __clear_bit_unlock() 183 static __always_inline void __change_bit(long nr, volatile unsigned long *addr) in __change_bit() 197 static __always_inline void change_bit(long nr, volatile unsigned long *addr) in change_bit() [all …]
|
D | sync_bitops.h | 30 static inline void sync_set_bit(long nr, volatile unsigned long *addr) in sync_set_bit() 48 static inline void sync_clear_bit(long nr, volatile unsigned long *addr) in sync_clear_bit() 65 static inline void sync_change_bit(long nr, volatile unsigned long *addr) in sync_change_bit() 81 static inline int sync_test_and_set_bit(long nr, volatile unsigned long *addr) in sync_test_and_set_bit() 99 static inline int sync_test_and_clear_bit(long nr, volatile unsigned long *addr) in sync_test_and_clear_bit() 117 static inline int sync_test_and_change_bit(long nr, volatile unsigned long *addr) in sync_test_and_change_bit() 127 #define sync_test_bit(nr, addr) test_bit(nr, addr) argument
|
/arch/metag/include/asm/ |
D | io.h | 18 static inline u8 __raw_readb(const volatile void __iomem *addr) in __raw_readb() 29 static inline u16 __raw_readw(const volatile void __iomem *addr) in __raw_readw() 40 static inline u32 __raw_readl(const volatile void __iomem *addr) in __raw_readl() 51 static inline u64 __raw_readq(const volatile void __iomem *addr) in __raw_readq() 62 static inline void __raw_writeb(u8 b, volatile void __iomem *addr) in __raw_writeb() 72 static inline void __raw_writew(u16 b, volatile void __iomem *addr) in __raw_writew() 82 static inline void __raw_writel(u32 b, volatile void __iomem *addr) in __raw_writel() 92 static inline void __raw_writeq(u64 b, volatile void __iomem *addr) in __raw_writeq() 123 #define metag_in8(addr) __raw_readb((volatile void __iomem *)(addr)) argument 124 #define metag_in16(addr) __raw_readw((volatile void __iomem *)(addr)) argument [all …]
|
/arch/powerpc/boot/ |
D | io.h | 12 static inline int in_8(const volatile unsigned char *addr) in in_8() 21 static inline void out_8(volatile unsigned char *addr, int val) in out_8() 27 static inline unsigned in_le16(const volatile u16 *addr) in in_le16() 37 static inline unsigned in_be16(const volatile u16 *addr) in in_be16() 46 static inline void out_le16(volatile u16 *addr, int val) in out_le16() 52 static inline void out_be16(volatile u16 *addr, int val) in out_be16() 58 static inline unsigned in_le32(const volatile unsigned *addr) in in_le32() 67 static inline unsigned in_be32(const volatile unsigned *addr) in in_be32() 76 static inline void out_le32(volatile unsigned *addr, int val) in out_le32() 82 static inline void out_be32(volatile unsigned *addr, int val) in out_be32()
|
/arch/hexagon/include/asm/ |
D | bitops.h | 45 static inline int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() 69 static inline int test_and_set_bit(int nr, volatile void *addr) in test_and_set_bit() 95 static inline int test_and_change_bit(int nr, volatile void *addr) in test_and_change_bit() 120 static inline void clear_bit(int nr, volatile void *addr) in clear_bit() 125 static inline void set_bit(int nr, volatile void *addr) in set_bit() 130 static inline void change_bit(int nr, volatile void *addr) in change_bit() 144 static inline void __clear_bit(int nr, volatile unsigned long *addr) in __clear_bit() 149 static inline void __set_bit(int nr, volatile unsigned long *addr) in __set_bit() 154 static inline void __change_bit(int nr, volatile unsigned long *addr) in __change_bit() 160 static inline int __test_and_clear_bit(int nr, volatile unsigned long *addr) in __test_and_clear_bit() [all …]
|
/arch/m68k/include/asm/ |
D | io.h | 8 #define readb_relaxed(addr) readb(addr) argument 9 #define readw_relaxed(addr) readw(addr) argument 10 #define readl_relaxed(addr) readl(addr) argument 12 #define writeb_relaxed(b, addr) writeb(b, addr) argument 13 #define writew_relaxed(b, addr) writew(b, addr) argument 14 #define writel_relaxed(b, addr) writel(b, addr) argument
|
/arch/mips/include/asm/mach-generic/ |
D | ide.h | 39 static inline void __ide_flush_dcache_range(unsigned long addr, unsigned long size) in __ide_flush_dcache_range() 59 static inline void __ide_insw(unsigned long port, void *addr, in __ide_insw() 68 static inline void __ide_insl(unsigned long port, void *addr, unsigned int count) in __ide_insl() 76 static inline void __ide_outsw(unsigned long port, const void *addr, in __ide_outsw() 85 static inline void __ide_outsl(unsigned long port, const void *addr, in __ide_outsl() 94 static inline void __ide_mm_insw(void __iomem *port, void *addr, u32 count) in __ide_mm_insw() 102 static inline void __ide_mm_insl(void __iomem *port, void *addr, u32 count) in __ide_mm_insl() 110 static inline void __ide_mm_outsw(void __iomem *port, void *addr, u32 count) in __ide_mm_outsw() 118 static inline void __ide_mm_outsl(void __iomem * port, void *addr, u32 count) in __ide_mm_outsl() 131 #define insw(port, addr, count) __ide_insw(port, addr, count) argument [all …]
|
/arch/mips/kernel/ |
D | unaligned.c | 111 #define _LoadHW(addr, value, res, type) \ argument 134 #define _LoadW(addr, value, res, type) \ argument 156 #define _LoadW(addr, value, res, type) \ argument 191 #define _LoadHWU(addr, value, res, type) \ argument 216 #define _LoadWU(addr, value, res, type) \ argument 238 #define _LoadDW(addr, value, res) \ argument 260 #define _LoadWU(addr, value, res, type) \ argument 293 #define _LoadDW(addr, value, res) \ argument 345 #define _StoreHW(addr, value, res, type) \ argument 369 #define _StoreW(addr, value, res, type) \ argument [all …]
|
/arch/h8300/include/asm/ |
D | io.h | 12 static inline u8 __raw_readb(const volatile void __iomem *addr) in __raw_readb() 18 static inline u16 __raw_readw(const volatile void __iomem *addr) in __raw_readw() 24 static inline u32 __raw_readl(const volatile void __iomem *addr) in __raw_readl() 30 static inline void __raw_writeb(u8 b, const volatile void __iomem *addr) in __raw_writeb() 36 static inline void __raw_writew(u16 b, const volatile void __iomem *addr) in __raw_writew() 42 static inline void __raw_writel(u32 b, const volatile void __iomem *addr) in __raw_writel() 47 static inline void ctrl_bclr(int b, void __iomem *addr) in ctrl_bclr() 55 static inline void ctrl_bset(int b, void __iomem *addr) in ctrl_bset()
|
/arch/s390/include/asm/ |
D | ebcdic.h | 23 codepage_convert(const __u8 *codepage, volatile __u8 * addr, unsigned long nr) in codepage_convert() 39 #define ASCEBC(addr,nr) codepage_convert(_ascebc, addr, nr) argument 40 #define EBCASC(addr,nr) codepage_convert(_ebcasc, addr, nr) argument 41 #define ASCEBC_500(addr,nr) codepage_convert(_ascebc_500, addr, nr) argument 42 #define EBCASC_500(addr,nr) codepage_convert(_ebcasc_500, addr, nr) argument 43 #define EBC_TOLOWER(addr,nr) codepage_convert(_ebc_tolower, addr, nr) argument 44 #define EBC_TOUPPER(addr,nr) codepage_convert(_ebc_toupper, addr, nr) argument
|
/arch/mn10300/include/asm/ |
D | bitops.h | 26 #define __set_bit(nr, addr) \ argument 38 #define set_bit(nr, addr) __set_bit((nr), (addr)) argument 43 #define ___clear_bit(nr, addr) \ argument 55 #define clear_bit(nr, addr) ___clear_bit((nr), (addr)) argument 58 static inline void __clear_bit(unsigned long nr, volatile void *addr) in __clear_bit() 71 static inline int test_bit(unsigned long nr, const volatile void *addr) in test_bit() 79 static inline void __change_bit(unsigned long nr, volatile void *addr) in __change_bit() 94 #define __test_and_set_bit(nr,addr) \ argument 110 #define test_and_set_bit(nr, addr) __test_and_set_bit((nr), (addr)) argument 115 #define __test_and_clear_bit(nr, addr) \ argument [all …]
|
D | io.h | 28 static inline u8 readb(const volatile void __iomem *addr) in readb() 33 static inline u16 readw(const volatile void __iomem *addr) in readw() 38 static inline u32 readl(const volatile void __iomem *addr) in readl() 51 static inline void writeb(u8 b, volatile void __iomem *addr) in writeb() 56 static inline void writew(u16 b, volatile void __iomem *addr) in writew() 61 static inline void writel(u32 b, volatile void __iomem *addr) in writel() 78 static inline u8 inb_local(unsigned long addr) in inb_local() 83 static inline void outb_local(u8 b, unsigned long addr) in outb_local() 88 static inline u8 inb(unsigned long addr) in inb() 93 static inline u16 inw(unsigned long addr) in inw() [all …]
|
/arch/ia64/sn/kernel/sn2/ |
D | io.c | 61 unsigned char __sn_readb(void __iomem *addr) in __sn_readb() 66 unsigned short __sn_readw(void __iomem *addr) in __sn_readw() 71 unsigned int __sn_readl(void __iomem *addr) in __sn_readl() 76 unsigned long __sn_readq(void __iomem *addr) in __sn_readq() 81 unsigned char __sn_readb_relaxed(void __iomem *addr) in __sn_readb_relaxed() 86 unsigned short __sn_readw_relaxed(void __iomem *addr) in __sn_readw_relaxed() 91 unsigned int __sn_readl_relaxed(void __iomem *addr) in __sn_readl_relaxed() 96 unsigned long __sn_readq_relaxed(void __iomem *addr) in __sn_readq_relaxed()
|
/arch/sh/include/asm/ |
D | cache_insns_32.h | 8 #define __icbi(addr) __asm__ __volatile__ ( "icbi @%0\n\t" : : "r" (addr)) argument 10 #define __icbi(addr) mb() argument 13 #define __ocbp(addr) __asm__ __volatile__ ( "ocbp @%0\n\t" : : "r" (addr)) argument 14 #define __ocbi(addr) __asm__ __volatile__ ( "ocbi @%0\n\t" : : "r" (addr)) argument 15 #define __ocbwb(addr) __asm__ __volatile__ ( "ocbwb @%0\n\t" : : "r" (addr)) argument
|
/arch/frv/include/asm/ |
D | io.h | 46 static inline u8 __raw_readb(const volatile void __iomem *addr) in __raw_readb() 51 static inline u16 __raw_readw(const volatile void __iomem *addr) in __raw_readw() 56 static inline u32 __raw_readl(const volatile void __iomem *addr) in __raw_readl() 61 #define __raw_writeb(datum, addr) __builtin_write8(addr, datum) argument 62 #define __raw_writew(datum, addr) __builtin_write16(addr, datum) argument 63 #define __raw_writel(datum, addr) __builtin_write32(addr, datum) argument 65 static inline void io_outsb(unsigned int addr, const void *buf, int len) in io_outsb() 74 static inline void io_outsw(unsigned int addr, const void *buf, int len) in io_outsw() 85 static inline void __outsl(unsigned int addr, const void *buf, int len, int swap) in __outsl() 95 static inline void io_insb(unsigned long addr, void *buf, int len) in io_insb() [all …]
|