/Linux-v5.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 | 44 #define _cache_op(insn, op, addr) \ argument 54 #define cache_op(op, addr) \ argument 57 static inline void flush_icache_line_indexed(unsigned long addr) in flush_icache_line_indexed() 62 static inline void flush_dcache_line_indexed(unsigned long addr) in flush_dcache_line_indexed() 67 static inline void flush_scache_line_indexed(unsigned long addr) in flush_scache_line_indexed() 72 static inline void flush_icache_line(unsigned long addr) in flush_icache_line() 85 static inline void flush_dcache_line(unsigned long addr) in flush_dcache_line() 90 static inline void invalidate_dcache_line(unsigned long addr) in invalidate_dcache_line() 95 static inline void invalidate_scache_line(unsigned long addr) in invalidate_scache_line() 100 static inline void flush_scache_line(unsigned long addr) in flush_scache_line() [all …]
|
/Linux-v5.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-v5.10/arch/powerpc/kernel/ |
D | iomap.c | 18 unsigned int ioread8(const void __iomem *addr) in ioread8() 22 unsigned int ioread16(const void __iomem *addr) in ioread16() 26 unsigned int ioread16be(const void __iomem *addr) in ioread16be() 30 unsigned int ioread32(const void __iomem *addr) in ioread32() 34 unsigned int ioread32be(const void __iomem *addr) in ioread32be() 44 u64 ioread64(const void __iomem *addr) in ioread64() 48 u64 ioread64_lo_hi(const void __iomem *addr) in ioread64_lo_hi() 52 u64 ioread64_hi_lo(const void __iomem *addr) in ioread64_hi_lo() 56 u64 ioread64be(const void __iomem *addr) in ioread64be() 60 u64 ioread64be_lo_hi(const void __iomem *addr) in ioread64be_lo_hi() [all …]
|
/Linux-v5.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-v5.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-v5.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-v5.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 …]
|
/Linux-v5.10/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 …]
|
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-v5.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-v5.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-v5.10/include/asm-generic/bitops/ |
D | le.h | 12 static inline unsigned long find_next_zero_bit_le(const void *addr, in find_next_zero_bit_le() 18 static inline unsigned long find_next_bit_le(const void *addr, in find_next_bit_le() 24 static inline unsigned long find_first_zero_bit_le(const void *addr, in find_first_zero_bit_le() 45 #define find_first_zero_bit_le(addr, size) \ argument 53 static inline int test_bit_le(int nr, const void *addr) in test_bit_le() 58 static inline void set_bit_le(int nr, void *addr) in set_bit_le() 63 static inline void clear_bit_le(int nr, void *addr) in clear_bit_le() 68 static inline void __set_bit_le(int nr, void *addr) in __set_bit_le() 73 static inline void __clear_bit_le(int nr, void *addr) in __clear_bit_le() 78 static inline int test_and_set_bit_le(int nr, void *addr) in test_and_set_bit_le() [all …]
|
/Linux-v5.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-v5.10/arch/powerpc/include/asm/ |
D | io.h | 170 static inline u64 in_le64(const volatile u64 __iomem *addr) in in_le64() 175 static inline void out_le64(volatile u64 __iomem *addr, u64 val) in out_le64() 184 static inline u64 in_be64(const volatile u64 __iomem *addr) in in_be64() 189 static inline void out_be64(volatile u64 __iomem *addr, u64 val) in out_be64() 280 #define PCI_FIX_ADDR(addr) \ argument 282 #define PCI_GET_ADDR_TOKEN(addr) \ argument 285 #define PCI_SET_ADDR_TOKEN(addr, token) \ argument 293 #define PCI_FIX_ADDR(addr) (addr) argument 301 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-v5.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-v5.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-v5.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-v5.10/arch/riscv/include/asm/ |
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() 84 static inline int test_and_clear_bit(int nr, volatile unsigned long *addr) in test_and_clear_bit() 97 static inline int test_and_change_bit(int nr, volatile unsigned long *addr) in test_and_change_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() [all …]
|
/Linux-v5.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-v5.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-v5.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 …]
|
/Linux-v5.10/kernel/ |
D | extable.c | 46 struct exception_table_entry *search_kernel_exception_table(unsigned long addr) in search_kernel_exception_table() 53 const struct exception_table_entry *search_exception_tables(unsigned long addr) in search_exception_tables() 65 int init_kernel_text(unsigned long addr) in init_kernel_text() 73 int notrace core_kernel_text(unsigned long addr) in core_kernel_text() 95 int core_kernel_data(unsigned long addr) in core_kernel_data() 103 int __kernel_text_address(unsigned long addr) in __kernel_text_address() 120 int kernel_text_address(unsigned long addr) in kernel_text_address() 170 unsigned long addr; in func_ptr_is_kernel_text() local
|
/Linux-v5.10/drivers/media/pci/cx18/ |
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() 35 static inline void cx18_raw_writel(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_raw_writel() 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() 57 static inline void cx18_writel(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_writel() 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() 95 static inline void cx18_writew(struct cx18 *cx, u16 val, void __iomem *addr) in cx18_writew() [all …]
|