/linux/arch/mips/include/asm/ |
A D | asm-eva.h | 47 #define __BUILD_EVA_INSN(insn, reg, addr) \ argument 106 #define kernel_ll(reg, addr) ll reg, addr argument 107 #define kernel_sc(reg, addr) sc reg, addr argument 108 #define kernel_lw(reg, addr) lw reg, addr argument 111 #define kernel_lh(reg, addr) lh reg, addr argument 112 #define kernel_lb(reg, addr) lb reg, addr argument 114 #define kernel_sw(reg, addr) sw reg, addr argument 117 #define kernel_sh(reg, addr) sh reg, addr argument 118 #define kernel_sb(reg, addr) sb reg, addr argument 128 #define kernel_sd(reg, addr) sd reg, addr argument [all …]
|
A D | unaligned-emul.h | 8 #define _LoadHW(addr, value, res, type) \ argument 31 #define _LoadW(addr, value, res, type) \ argument 53 #define _LoadW(addr, value, res, type) \ argument 135 #define _LoadDW(addr, value, res) \ argument 190 #define _LoadDW(addr, value, res) \ argument 286 #define _StoreDW(addr, value, res) \ argument 338 #define _StoreDW(addr, value, res) \ argument 514 #define _LoadDW(addr, value, res) \ argument 569 #define _LoadDW(addr, value, res) \ argument 663 #define _StoreDW(addr, value, res) \ argument [all …]
|
A D | r4kcache.h | 43 #define _cache_op(insn, op, addr) \ argument 53 #define cache_op(op, addr) \ argument 71 static inline void flush_icache_line(unsigned long addr) in flush_icache_line() 84 static inline void flush_dcache_line(unsigned long addr) in flush_dcache_line() 89 static inline void invalidate_dcache_line(unsigned long addr) in invalidate_dcache_line() 94 static inline void invalidate_scache_line(unsigned long addr) in invalidate_scache_line() 99 static inline void flush_scache_line(unsigned long addr) in flush_scache_line() 106 #define protected_cache_op(op, addr) \ argument 130 #define protected_cache_op(op, addr) \ argument 186 static inline void invalidate_tcache_page(unsigned long addr) in invalidate_tcache_page() [all …]
|
/linux/arch/parisc/lib/ |
A D | iomap.c | 300 unsigned int ioread8(const void __iomem *addr) in ioread8() 307 unsigned int ioread16(const void __iomem *addr) in ioread16() 321 unsigned int ioread32(const void __iomem *addr) in ioread32() 335 u64 ioread64(const void __iomem *addr) in ioread64() 342 u64 ioread64be(const void __iomem *addr) in ioread64be() 349 u64 ioread64_hi_lo(const void __iomem *addr) in ioread64_hi_lo() 359 void iowrite8(u8 datum, void __iomem *addr) in iowrite8() 368 void iowrite16(u16 datum, void __iomem *addr) in iowrite16() 386 void iowrite32(u32 datum, void __iomem *addr) in iowrite32() 404 void iowrite64(u64 datum, void __iomem *addr) in iowrite64() [all …]
|
/linux/arch/parisc/include/asm/ |
A D | io.h | 213 #define readb_relaxed(addr) readb(addr) argument 214 #define readw_relaxed(addr) readw(addr) argument 215 #define readl_relaxed(addr) readl(addr) argument 216 #define readq_relaxed(addr) readq(addr) argument 217 #define writeb_relaxed(b, addr) writeb(b, addr) argument 218 #define writew_relaxed(w, addr) writew(w, addr) argument 219 #define writel_relaxed(l, addr) writel(l, addr) argument 220 #define writeq_relaxed(q, addr) writeq(q, addr) argument 258 static inline char inb(unsigned long addr) in inb() 264 static inline short inw(unsigned long addr) in inw() [all …]
|
/linux/include/asm-generic/ |
A D | io.h | 148 static inline u8 readb(const volatile void __iomem *addr) in readb() 459 static inline u8 _inb(unsigned long addr) in _inb() 472 static inline u16 _inw(unsigned long addr) in _inw() 485 static inline u32 _inl(unsigned long addr) in _inl() 498 static inline void _outb(u8 value, unsigned long addr) in _outb() 508 static inline void _outw(u16 value, unsigned long addr) in _outw() 518 static inline void _outl(u32 value, unsigned long addr) in _outl() 554 static inline u8 inb_p(unsigned long addr) in inb_p() 562 static inline u16 inw_p(unsigned long addr) in inw_p() 570 static inline u32 inl_p(unsigned long addr) in inl_p() [all …]
|
/linux/arch/sh/kernel/ |
A D | iomap.c | 11 unsigned int ioread8(const void __iomem *addr) in ioread8() 17 unsigned int ioread16(const void __iomem *addr) in ioread16() 23 unsigned int ioread16be(const void __iomem *addr) in ioread16be() 29 unsigned int ioread32(const void __iomem *addr) in ioread32() 35 unsigned int ioread32be(const void __iomem *addr) in ioread32be() 41 void iowrite8(u8 val, void __iomem *addr) in iowrite8() 47 void iowrite16(u16 val, void __iomem *addr) in iowrite16() 53 void iowrite16be(u16 val, void __iomem *addr) in iowrite16be() 59 void iowrite32(u32 val, void __iomem *addr) in iowrite32() 65 void iowrite32be(u32 val, void __iomem *addr) in iowrite32be() [all …]
|
/linux/lib/ |
A D | iomap.c | 51 #define IO_COND(addr, is_pio, is_mmio) do { \ argument 68 #define mmio_read16be(addr) swab16(readw(addr)) argument 69 #define mmio_read32be(addr) swab32(readl(addr)) argument 70 #define mmio_read64be(addr) swab64(readq(addr)) argument 73 unsigned int ioread8(const void __iomem *addr) in ioread8() 145 u64 ioread64_lo_hi(const void __iomem *addr) in ioread64_lo_hi() 151 u64 ioread64_hi_lo(const void __iomem *addr) in ioread64_hi_lo() 189 void iowrite8(u8 val, void __iomem *addr) in iowrite8() 193 void iowrite16(u16 val, void __iomem *addr) in iowrite16() 201 void iowrite32(u32 val, void __iomem *addr) in iowrite32() [all …]
|
/linux/include/linux/ |
A D | in.h | 38 static inline bool ipv4_is_loopback(__be32 addr) in ipv4_is_loopback() 43 static inline bool ipv4_is_multicast(__be32 addr) in ipv4_is_multicast() 53 static inline bool ipv4_is_lbcast(__be32 addr) in ipv4_is_lbcast() 59 static inline bool ipv4_is_all_snoopers(__be32 addr) in ipv4_is_all_snoopers() 64 static inline bool ipv4_is_zeronet(__be32 addr) in ipv4_is_zeronet() 71 static inline bool ipv4_is_private_10(__be32 addr) in ipv4_is_private_10() 76 static inline bool ipv4_is_private_172(__be32 addr) in ipv4_is_private_172() 81 static inline bool ipv4_is_private_192(__be32 addr) in ipv4_is_private_192() 91 static inline bool ipv4_is_anycast_6to4(__be32 addr) in ipv4_is_anycast_6to4() 96 static inline bool ipv4_is_test_192(__be32 addr) in ipv4_is_test_192() [all …]
|
A D | etherdevice.h | 105 static inline bool is_zero_ether_addr(const u8 *addr) in is_zero_ether_addr() 156 static inline bool is_local_ether_addr(const u8 *addr) in is_local_ether_addr() 198 static inline bool is_valid_ether_addr(const u8 *addr) in is_valid_ether_addr() 230 static inline void eth_random_addr(u8 *addr) in eth_random_addr() 243 static inline void eth_broadcast_addr(u8 *addr) in eth_broadcast_addr() 254 static inline void eth_zero_addr(u8 *addr) in eth_zero_addr() 270 u8 addr[ETH_ALEN]; in eth_hw_addr_random() local 438 static inline u64 ether_addr_to_u64(const u8 *addr) in ether_addr_to_u64() 469 static inline void eth_addr_dec(u8 *addr) in eth_addr_dec() 481 static inline void eth_addr_inc(u8 *addr) in eth_addr_inc() [all …]
|
/linux/arch/alpha/include/asm/ |
A D | jensen.h | 147 #define jensen_is_local(addr) ( \ argument 154 __EXTERN_INLINE u8 jensen_inb(unsigned long addr) in jensen_inb() 170 __EXTERN_INLINE u16 jensen_inw(unsigned long addr) in jensen_inw() 206 unsigned long addr = (unsigned long) xaddr; in jensen_readb() local 218 unsigned long addr = (unsigned long) xaddr; in jensen_readw() local 230 unsigned long addr = (unsigned long) xaddr; in jensen_readl() local 238 unsigned long addr = (unsigned long) xaddr; in jensen_readq() local 251 unsigned long addr = (unsigned long) xaddr; in jensen_writeb() local 259 unsigned long addr = (unsigned long) xaddr; in jensen_writew() local 267 unsigned long addr = (unsigned long) xaddr; in jensen_writel() local [all …]
|
A D | io.h | 276 extern inline void ioport_unmap(void __iomem *addr) in ioport_unmap() 288 static inline void iounmap(volatile void __iomem *addr) in iounmap() 293 static inline int __is_ioaddr(unsigned long addr) in __is_ioaddr() 310 extern inline unsigned int ioread8(const void __iomem *addr) in ioread8() 328 extern inline void iowrite8(u8 b, void __iomem *addr) in iowrite8() 334 extern inline void iowrite16(u16 b, void __iomem *addr) in iowrite16() 371 extern inline void iowrite32(u32 b, void __iomem *addr) in iowrite32() 409 extern inline u8 readb(const volatile void __iomem *addr) in readb() 418 extern inline u16 readw(const volatile void __iomem *addr) in readw() 461 extern inline u32 readl(const volatile void __iomem *addr) in readl() [all …]
|
/linux/arch/x86/include/asm/ |
A D | bitops.h | 52 arch_set_bit(long nr, volatile unsigned long *addr) in arch_set_bit() 66 arch___set_bit(long nr, volatile unsigned long *addr) in arch___set_bit() 72 arch_clear_bit(long nr, volatile unsigned long *addr) in arch_clear_bit() 85 arch_clear_bit_unlock(long nr, volatile unsigned long *addr) in arch_clear_bit_unlock() 92 arch___clear_bit(long nr, volatile unsigned long *addr) in arch___clear_bit() 111 arch___clear_bit_unlock(long nr, volatile unsigned long *addr) in arch___clear_bit_unlock() 117 arch___change_bit(long nr, volatile unsigned long *addr) in arch___change_bit() 123 arch_change_bit(long nr, volatile unsigned long *addr) in arch_change_bit() 136 arch_test_and_set_bit(long nr, volatile unsigned long *addr) in arch_test_and_set_bit() 148 arch___test_and_set_bit(long nr, volatile unsigned long *addr) in arch___test_and_set_bit() [all …]
|
/linux/include/asm-generic/bitops/ |
A D | le.h | 20 static inline unsigned long find_next_bit_le(const void *addr, in find_next_bit_le() 38 unsigned long find_next_zero_bit_le(const void *addr, unsigned in find_next_zero_bit_le() 57 unsigned long find_next_bit_le(const void *addr, unsigned in find_next_bit_le() 75 #define find_first_zero_bit_le(addr, size) \ argument 83 static inline int test_bit_le(int nr, const void *addr) in test_bit_le() 88 static inline void set_bit_le(int nr, void *addr) in set_bit_le() 93 static inline void clear_bit_le(int nr, void *addr) in clear_bit_le() 98 static inline void __set_bit_le(int nr, void *addr) in __set_bit_le() 103 static inline void __clear_bit_le(int nr, void *addr) in __clear_bit_le() 108 static inline int test_and_set_bit_le(int nr, void *addr) in test_and_set_bit_le() [all …]
|
/linux/arch/powerpc/include/asm/ |
A D | io.h | 280 #define PCI_FIX_ADDR(addr) \ argument 282 #define PCI_GET_ADDR_TOKEN(addr) \ argument 293 #define PCI_FIX_ADDR(addr) (addr) argument 563 #define __do_memset_io(addr, c, n) \ argument 668 #define readb_relaxed(addr) readb(addr) argument 669 #define readw_relaxed(addr) readw(addr) argument 670 #define readl_relaxed(addr) readl(addr) argument 671 #define readq_relaxed(addr) readq(addr) argument 853 #define ioremap_cache(addr, size) \ argument 879 #define mmio_read16be(addr) readw_be(addr) argument [all …]
|
/linux/arch/csky/kernel/probes/ |
A D | simulate-insn.c | 69 simulate_br16(u32 opcode, long addr, struct pt_regs *regs) in simulate_br16() 76 simulate_br32(u32 opcode, long addr, struct pt_regs *regs) in simulate_br32() 83 simulate_bt16(u32 opcode, long addr, struct pt_regs *regs) in simulate_bt16() 93 simulate_bt32(u32 opcode, long addr, struct pt_regs *regs) in simulate_bt32() 103 simulate_bf16(u32 opcode, long addr, struct pt_regs *regs) in simulate_bf16() 113 simulate_bf32(u32 opcode, long addr, struct pt_regs *regs) in simulate_bf32() 123 simulate_jmp16(u32 opcode, long addr, struct pt_regs *regs) in simulate_jmp16() 133 simulate_jmp32(u32 opcode, long addr, struct pt_regs *regs) in simulate_jmp32() 143 simulate_jsr16(u32 opcode, long addr, struct pt_regs *regs) in simulate_jsr16() 155 simulate_jsr32(u32 opcode, long addr, struct pt_regs *regs) in simulate_jsr32() [all …]
|
/linux/arch/hexagon/include/asm/ |
A D | bitops.h | 31 static inline int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() 55 static inline int test_and_set_bit(int nr, volatile void *addr) in test_and_set_bit() 81 static inline int test_and_change_bit(int nr, volatile void *addr) in test_and_change_bit() 106 static inline void clear_bit(int nr, volatile void *addr) in clear_bit() 111 static inline void set_bit(int nr, volatile void *addr) in set_bit() 116 static inline void change_bit(int nr, volatile void *addr) in change_bit() 130 static inline void __clear_bit(int nr, volatile unsigned long *addr) in __clear_bit() 135 static inline void __set_bit(int nr, volatile unsigned long *addr) in __set_bit() 140 static inline void __change_bit(int nr, volatile unsigned long *addr) in __change_bit() 161 static inline int __test_bit(int nr, const volatile unsigned long *addr) in __test_bit() [all …]
|
/linux/drivers/staging/media/atomisp/pci/ |
A D | ia_css_device_access.c | 33 ia_css_device_load_uint8(const hrt_address addr) in ia_css_device_load_uint8() 39 ia_css_device_load_uint16(const hrt_address addr) in ia_css_device_load_uint16() 45 ia_css_device_load_uint32(const hrt_address addr) in ia_css_device_load_uint32() 51 ia_css_device_load_uint64(const hrt_address addr) in ia_css_device_load_uint64() 60 ia_css_device_store_uint8(const hrt_address addr, const uint8_t data) in ia_css_device_store_uint8() 66 ia_css_device_store_uint16(const hrt_address addr, const uint16_t data) in ia_css_device_store_uint16() 72 ia_css_device_store_uint32(const hrt_address addr, const uint32_t data) in ia_css_device_store_uint32() 78 ia_css_device_store_uint64(const hrt_address addr, const uint64_t data) in ia_css_device_store_uint64() 87 ia_css_device_load(const hrt_address addr, void *data, const size_t size) in ia_css_device_load() 93 ia_css_device_store(const hrt_address addr, const void *data, const size_t size) in ia_css_device_store()
|
/linux/arch/alpha/kernel/ |
A D | io.c | 17 ioread8(const void __iomem *addr) in ioread8() 26 unsigned int ioread16(const void __iomem *addr) in ioread16() 35 unsigned int ioread32(const void __iomem *addr) in ioread32() 44 void iowrite8(u8 b, void __iomem *addr) in iowrite8() 50 void iowrite16(u16 b, void __iomem *addr) in iowrite16() 56 void iowrite32(u32 b, void __iomem *addr) in iowrite32() 155 u8 readb(const volatile void __iomem *addr) in readb() 164 u16 readw(const volatile void __iomem *addr) in readw() 173 u32 readl(const volatile void __iomem *addr) in readl() 182 u64 readq(const volatile void __iomem *addr) in readq() [all …]
|
/linux/arch/mips/include/asm/mach-generic/ |
A D | ide.h | 59 static inline void __ide_insw(unsigned long port, void *addr, in __ide_insw() 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 132 #define insl(port, addr, count) __ide_insl(port, addr, count) argument 133 #define outsw(port, addr, count) __ide_outsw(port, addr, count) argument [all …]
|
/linux/arch/riscv/include/asm/ |
A D | bitops.h | 37 #define __test_and_op_bit_ord(op, mod, nr, addr, ord) \ argument 49 #define __op_bit_ord(op, mod, nr, addr, ord) \ argument 56 #define __test_and_op_bit(op, mod, nr, addr) \ argument 58 #define __op_bit(op, mod, nr, addr) \ argument 72 static inline int test_and_set_bit(int nr, volatile unsigned long *addr) in test_and_set_bit() 114 static inline void set_bit(int nr, volatile unsigned long *addr) in set_bit() 128 static inline void clear_bit(int nr, volatile unsigned long *addr) in clear_bit() 142 static inline void change_bit(int nr, volatile unsigned long *addr) in change_bit() 156 unsigned long nr, volatile unsigned long *addr) in test_and_set_bit_lock() 169 unsigned long nr, volatile unsigned long *addr) in clear_bit_unlock() [all …]
|
A D | io.h | 97 #define readsb(addr, buffer, count) __readsb(addr, buffer, count) argument 98 #define readsw(addr, buffer, count) __readsw(addr, buffer, count) argument 99 #define readsl(addr, buffer, count) __readsl(addr, buffer, count) argument 104 #define insb(addr, buffer, count) __insb((void __iomem *)(long)addr, buffer, count) argument 111 #define writesb(addr, buffer, count) __writesb(addr, buffer, count) argument 112 #define writesw(addr, buffer, count) __writesw(addr, buffer, count) argument 113 #define writesl(addr, buffer, count) __writesl(addr, buffer, count) argument 124 #define readsq(addr, buffer, count) __readsq(addr, buffer, count) argument 127 #define insq(addr, buffer, count) __insq((void __iomem *)addr, buffer, count) argument 130 #define writesq(addr, buffer, count) __writesq(addr, buffer, count) argument [all …]
|
/linux/arch/powerpc/boot/ |
A 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()
|
/linux/arch/m68k/include/asm/ |
A D | io_no.h | 16 #define __raw_readb(addr) \ argument 18 #define __raw_readw(addr) \ argument 20 #define __raw_readl(addr) \ argument 23 #define __raw_writeb(b, addr) (void)((*(__force volatile u8 *) (addr)) = (b)) argument 24 #define __raw_writew(b, addr) (void)((*(__force volatile u16 *) (addr)) = (b)) argument 48 static int __cf_internalio(unsigned long addr) in __cf_internalio() 53 static int cf_internalio(const volatile void __iomem *addr) in cf_internalio() 66 static inline u16 readw(const volatile void __iomem *addr) in readw() 74 static inline u32 readl(const volatile void __iomem *addr) in readl() 82 static inline void writew(u16 value, volatile void __iomem *addr) in writew() [all …]
|
/linux/drivers/media/pci/cx18/ |
A D | cx18-io.h | 24 static inline u32 cx18_raw_readl(struct cx18 *cx, const void __iomem *addr) in cx18_raw_readl() 30 void cx18_raw_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_raw_writel_noretry() 46 static inline u32 cx18_readl(struct cx18 *cx, const void __iomem *addr) in cx18_readl() 52 void cx18_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_writel_noretry() 68 void cx18_writel_expect(struct cx18 *cx, u32 val, void __iomem *addr, in cx18_writel_expect() 84 static inline u16 cx18_readw(struct cx18 *cx, const void __iomem *addr) in cx18_readw() 90 void cx18_writew_noretry(struct cx18 *cx, u16 val, void __iomem *addr) in cx18_writew_noretry() 105 static inline u8 cx18_readb(struct cx18 *cx, const void __iomem *addr) in cx18_readb() 111 void cx18_writeb_noretry(struct cx18 *cx, u8 val, void __iomem *addr) in cx18_writeb_noretry() 160 static inline void cx18_write_enc(struct cx18 *cx, u32 val, u32 addr) in cx18_write_enc() [all …]
|