/linux-5.19.10/arch/mips/include/asm/ |
D | asm-eva.h | 19 #define kernel_ll(reg, addr) "ll " reg ", " addr "\n" argument 20 #define kernel_sc(reg, addr) "sc " reg ", " addr "\n" argument 21 #define kernel_lw(reg, addr) "lw " reg ", " addr "\n" argument 22 #define kernel_lwl(reg, addr) "lwl " reg ", " addr "\n" argument 23 #define kernel_lwr(reg, addr) "lwr " reg ", " addr "\n" argument 24 #define kernel_lh(reg, addr) "lh " reg ", " addr "\n" argument 25 #define kernel_lb(reg, addr) "lb " reg ", " addr "\n" argument 26 #define kernel_lbu(reg, addr) "lbu " reg ", " addr "\n" argument 27 #define kernel_sw(reg, addr) "sw " reg ", " addr "\n" argument 28 #define kernel_swl(reg, addr) "swl " reg ", " addr "\n" argument [all …]
|
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 88 #define _LoadHWU(addr, value, res, type) \ argument 113 #define _LoadWU(addr, value, res, type) \ argument 135 #define _LoadDW(addr, value, res) \ argument 157 #define _LoadWU(addr, value, res, type) \ argument 190 #define _LoadDW(addr, value, res) \ argument 242 #define _StoreHW(addr, value, res, type) \ argument 266 #define _StoreW(addr, value, res, type) \ argument [all …]
|
D | r4kcache.h | 43 #define _cache_op(insn, op, addr) \ argument 53 #define cache_op(op, addr) \ argument 56 static inline void flush_icache_line_indexed(unsigned long addr) in flush_icache_line_indexed() 61 static inline void flush_dcache_line_indexed(unsigned long addr) in flush_dcache_line_indexed() 66 static inline void flush_scache_line_indexed(unsigned long addr) in flush_scache_line_indexed() 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() [all …]
|
/linux-5.19.10/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 70 #define ADDR2PORT(addr) ((unsigned long __force)(addr) & 0xffffff) argument 72 static unsigned int ioport_read8(const void __iomem *addr) in ioport_read8() 77 static unsigned int ioport_read16(const void __iomem *addr) in ioport_read16() 82 static unsigned int ioport_read32(const void __iomem *addr) in ioport_read32() 87 static void ioport_write8(u8 datum, void __iomem *addr) in ioport_write8() 92 static void ioport_write16(u16 datum, void __iomem *addr) in ioport_write16() [all …]
|
/linux-5.19.10/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 …]
|
/linux-5.19.10/include/asm-generic/ |
D | io.h | 75 static inline u8 __raw_readb(const volatile void __iomem *addr) in __raw_readb() 83 static inline u16 __raw_readw(const volatile void __iomem *addr) in __raw_readw() 91 static inline u32 __raw_readl(const volatile void __iomem *addr) in __raw_readl() 100 static inline u64 __raw_readq(const volatile void __iomem *addr) in __raw_readq() 109 static inline void __raw_writeb(u8 value, volatile void __iomem *addr) in __raw_writeb() 117 static inline void __raw_writew(u16 value, volatile void __iomem *addr) in __raw_writew() 125 static inline void __raw_writel(u32 value, volatile void __iomem *addr) in __raw_writel() 134 static inline void __raw_writeq(u64 value, volatile void __iomem *addr) in __raw_writeq() 148 static inline u8 readb(const volatile void __iomem *addr) in readb() 161 static inline u16 readw(const volatile void __iomem *addr) in readw() [all …]
|
/linux-5.19.10/arch/sh/kernel/ |
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-5.19.10/lib/ |
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() 78 unsigned int ioread16(const void __iomem *addr) in ioread16() 83 unsigned int ioread16be(const void __iomem *addr) in ioread16be() 88 unsigned int ioread32(const void __iomem *addr) in ioread32() 93 unsigned int ioread32be(const void __iomem *addr) in ioread32be() 145 u64 ioread64_lo_hi(const void __iomem *addr) in ioread64_lo_hi() [all …]
|
/linux-5.19.10/arch/alpha/include/asm/ |
D | jensen.h | 92 __EXTERN_INLINE void jensen_set_hae(unsigned long addr) in jensen_set_hae() 114 __EXTERN_INLINE unsigned int jensen_local_inb(unsigned long addr) in jensen_local_inb() 119 __EXTERN_INLINE void jensen_local_outb(u8 b, unsigned long addr) in jensen_local_outb() 125 __EXTERN_INLINE unsigned int jensen_bus_inb(unsigned long addr) in jensen_bus_inb() 134 __EXTERN_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 …]
|
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() 299 static inline int __is_mmio(const volatile void __iomem *addr) in __is_mmio() 310 extern inline unsigned int ioread8(const void __iomem *addr) in ioread8() 319 extern inline unsigned int ioread16(const void __iomem *addr) in ioread16() 328 extern inline void iowrite8(u8 b, void __iomem *addr) in iowrite8() 334 extern inline void iowrite16(u16 b, void __iomem *addr) in iowrite16() 362 extern inline unsigned int ioread32(const void __iomem *addr) in ioread32() 371 extern inline void iowrite32(u32 b, void __iomem *addr) in iowrite32() [all …]
|
/linux-5.19.10/include/linux/ |
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() 48 static inline bool ipv4_is_local_multicast(__be32 addr) in ipv4_is_local_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() 86 static inline bool ipv4_is_linklocal_169(__be32 addr) in ipv4_is_linklocal_169() [all …]
|
D | find.h | 31 unsigned long find_next_bit(const unsigned long *addr, unsigned long size, in find_next_bit() 89 unsigned long find_next_zero_bit(const unsigned long *addr, unsigned long size, in find_next_zero_bit() 116 unsigned long find_first_bit(const unsigned long *addr, unsigned long size) in find_first_bit() 163 unsigned long find_first_zero_bit(const unsigned long *addr, unsigned long size) in find_first_zero_bit() 184 unsigned long find_last_bit(const unsigned long *addr, unsigned long size) in find_last_bit() 215 static inline unsigned long find_next_zero_bit_le(const void *addr, in find_next_zero_bit_le() 221 static inline unsigned long find_next_bit_le(const void *addr, in find_next_bit_le() 227 static inline unsigned long find_first_zero_bit_le(const void *addr, in find_first_zero_bit_le() 237 unsigned long find_next_zero_bit_le(const void *addr, unsigned in find_next_zero_bit_le() 256 unsigned long find_next_bit_le(const void *addr, unsigned in find_next_bit_le() [all …]
|
D | etherdevice.h | 83 static inline bool is_link_local_ether_addr(const u8 *addr) in is_link_local_ether_addr() 105 static inline bool is_zero_ether_addr(const u8 *addr) in is_zero_ether_addr() 123 static inline bool is_multicast_ether_addr(const u8 *addr) in is_multicast_ether_addr() 137 static inline bool is_multicast_ether_addr_64bits(const u8 *addr) in is_multicast_ether_addr_64bits() 156 static inline bool is_local_ether_addr(const u8 *addr) in is_local_ether_addr() 169 static inline bool is_broadcast_ether_addr(const u8 *addr) in is_broadcast_ether_addr() 182 static inline bool is_unicast_ether_addr(const u8 *addr) in is_unicast_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() [all …]
|
D | page_table_check.h | 50 unsigned long addr, pte_t pte) in page_table_check_pte_clear() 59 unsigned long addr, pmd_t pmd) in page_table_check_pmd_clear() 68 unsigned long addr, pud_t pud) in page_table_check_pud_clear() 77 unsigned long addr, pte_t *ptep, in page_table_check_pte_set() 87 unsigned long addr, pmd_t *pmdp, in page_table_check_pmd_set() 97 unsigned long addr, pud_t *pudp, in page_table_check_pud_set() 107 unsigned long addr, in page_table_check_pte_clear_range() 127 unsigned long addr, pte_t pte) in page_table_check_pte_clear() 132 unsigned long addr, pmd_t pmd) in page_table_check_pmd_clear() 137 unsigned long addr, pud_t pud) in page_table_check_pud_clear() [all …]
|
/linux-5.19.10/arch/x86/include/asm/ |
D | bitops.h | 48 #define CONST_MASK_ADDR(nr, addr) WBYTE_ADDR((void *)(addr) + ((nr)>>3)) argument 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() 98 arch_clear_bit_unlock_is_negative_byte(long nr, volatile unsigned long *addr) in arch_clear_bit_unlock_is_negative_byte() 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() [all …]
|
/linux-5.19.10/arch/powerpc/include/asm/ |
D | io.h | 168 static inline u64 in_le64(const volatile u64 __iomem *addr) in in_le64() 173 static inline void out_le64(volatile u64 __iomem *addr, u64 val) in out_le64() 182 static inline u64 in_be64(const volatile u64 __iomem *addr) in in_be64() 187 static inline void out_be64(volatile u64 __iomem *addr, u64 val) in out_be64() 278 #define PCI_FIX_ADDR(addr) \ argument 280 #define PCI_GET_ADDR_TOKEN(addr) \ argument 283 #define PCI_SET_ADDR_TOKEN(addr, token) \ argument 291 #define PCI_FIX_ADDR(addr) (addr) argument 299 static inline unsigned char __raw_readb(const volatile void __iomem *addr) in __raw_readb() 305 static inline unsigned short __raw_readw(const volatile void __iomem *addr) in __raw_readw() [all …]
|
/linux-5.19.10/arch/csky/kernel/probes/ |
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-5.19.10/arch/hexagon/include/asm/ |
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() 146 static inline int __test_and_clear_bit(int nr, volatile unsigned long *addr) in __test_and_clear_bit() [all …]
|
/linux-5.19.10/arch/alpha/kernel/ |
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() 106 u8 __raw_readb(const volatile void __iomem *addr) in __raw_readb() 111 u16 __raw_readw(const volatile void __iomem *addr) in __raw_readw() 116 u32 __raw_readl(const volatile void __iomem *addr) in __raw_readl() 121 u64 __raw_readq(const volatile void __iomem *addr) in __raw_readq() [all …]
|
/linux-5.19.10/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 …]
|
/linux-5.19.10/arch/riscv/include/asm/ |
D | bitops.h | 36 #define __test_and_op_bit_ord(op, mod, nr, addr, ord) \ argument 48 #define __op_bit_ord(op, mod, nr, addr, ord) \ argument 55 #define __test_and_op_bit(op, mod, nr, addr) \ argument 57 #define __op_bit(op, mod, nr, addr) \ argument 71 static inline int test_and_set_bit(int nr, volatile unsigned long *addr) in test_and_set_bit() 83 static inline int test_and_clear_bit(int nr, volatile unsigned long *addr) in test_and_clear_bit() 96 static inline int test_and_change_bit(int nr, volatile unsigned long *addr) in test_and_change_bit() 113 static inline void set_bit(int nr, volatile unsigned long *addr) in set_bit() 127 static inline void clear_bit(int nr, volatile unsigned long *addr) in clear_bit() 141 static inline void change_bit(int nr, volatile unsigned long *addr) in change_bit() [all …]
|
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 105 #define insw(addr, buffer, count) __insw((void __iomem *)(long)addr, buffer, count) argument 106 #define insl(addr, buffer, count) __insl((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 118 #define outsb(addr, buffer, count) __outsb((void __iomem *)(long)addr, buffer, count) argument [all …]
|
/linux-5.19.10/drivers/staging/media/atomisp/pci/ |
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-5.19.10/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()
|
/linux-5.19.10/arch/m68k/include/asm/ |
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 25 #define __raw_writel(b, addr) (void)((*(__force volatile u32 *) (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() [all …]
|