Home
last modified time | relevance | path

Searched defs:addr (Results 1 – 25 of 4452) sorted by relevance

12345678910>>...179

/Linux-v6.6/arch/mips/include/asm/
Dasm-eva.h19 #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 …]
Dunaligned-emul.h8 #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 …]
Dr4kcache.h43 #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-v6.6/arch/parisc/lib/
Diomap.c36 #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
74 #define ADDR2PORT(addr) ((unsigned long __force)(addr) & 0xffffff) argument
76 static unsigned int ioport_read8(const void __iomem *addr) in ioport_read8()
81 static unsigned int ioport_read16(const void __iomem *addr) in ioport_read16()
86 static unsigned int ioport_read32(const void __iomem *addr) in ioport_read32()
91 static void ioport_write8(u8 datum, void __iomem *addr) in ioport_write8()
96 static void ioport_write16(u16 datum, void __iomem *addr) in ioport_write16()
[all …]
/Linux-v6.6/include/asm-generic/
Dio.h93 static inline void log_write_mmio(u64 val, u8 width, volatile void __iomem *addr, in log_write_mmio()
95 static inline void log_post_write_mmio(u64 val, u8 width, volatile void __iomem *addr, in log_post_write_mmio()
97 static inline void log_read_mmio(u8 width, const volatile void __iomem *addr, in log_read_mmio()
99 static inline void log_post_read_mmio(u64 val, u8 width, const volatile void __iomem *addr, in log_post_read_mmio()
114 static inline u8 __raw_readb(const volatile void __iomem *addr) in __raw_readb()
122 static inline u16 __raw_readw(const volatile void __iomem *addr) in __raw_readw()
130 static inline u32 __raw_readl(const volatile void __iomem *addr) in __raw_readl()
139 static inline u64 __raw_readq(const volatile void __iomem *addr) in __raw_readq()
148 static inline void __raw_writeb(u8 value, volatile void __iomem *addr) in __raw_writeb()
156 static inline void __raw_writew(u16 value, volatile void __iomem *addr) in __raw_writew()
[all …]
/Linux-v6.6/arch/alpha/include/asm/
Djensen.h92 __EXTERN_INLINE void jensen_set_hae(unsigned long addr) in jensen_set_hae()
115 __EXTERN_INLINE unsigned int jensen_local_inb(unsigned long addr) in jensen_local_inb()
120 __EXTERN_INLINE void jensen_local_outb(u8 b, unsigned long addr) in jensen_local_outb()
126 __EXTERN_INLINE unsigned int jensen_bus_inb(unsigned long addr) in jensen_bus_inb()
135 __EXTERN_INLINE void jensen_bus_outb(u8 b, unsigned long addr) in jensen_bus_outb()
148 #define jensen_is_local(addr) ( \ argument
155 __EXTERN_INLINE u8 jensen_inb(unsigned long addr) in jensen_inb()
163 __EXTERN_INLINE void jensen_outb(u8 b, unsigned long addr) in jensen_outb()
171 __EXTERN_INLINE u16 jensen_inw(unsigned long addr) in jensen_inw()
181 __EXTERN_INLINE u32 jensen_inl(unsigned long addr) in jensen_inl()
[all …]
Dio.h298 extern inline void ioport_unmap(void __iomem *addr) in ioport_unmap()
313 static inline void iounmap(volatile void __iomem *addr) in iounmap()
318 static inline int __is_ioaddr(unsigned long addr) in __is_ioaddr()
324 static inline int __is_mmio(const volatile void __iomem *addr) in __is_mmio()
335 extern inline unsigned int ioread8(const void __iomem *addr) in ioread8()
344 extern inline unsigned int ioread16(const void __iomem *addr) in ioread16()
353 extern inline void iowrite8(u8 b, void __iomem *addr) in iowrite8()
359 extern inline void iowrite16(u16 b, void __iomem *addr) in iowrite16()
392 extern inline unsigned int ioread32(const void __iomem *addr) in ioread32()
401 extern inline u64 ioread64(const void __iomem *addr) in ioread64()
[all …]
/Linux-v6.6/arch/sh/kernel/
Diomap.c11 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-v6.6/lib/
Diomap.c52 #define IO_COND(addr, is_pio, is_mmio) do { \ argument
69 #define mmio_read16be(addr) swab16(readw(addr)) argument
70 #define mmio_read32be(addr) swab32(readl(addr)) argument
71 #define mmio_read64be(addr) swab64(readq(addr)) argument
79 unsigned int ioread8(const void __iomem *addr) in ioread8()
85 unsigned int ioread16(const void __iomem *addr) in ioread16()
91 unsigned int ioread16be(const void __iomem *addr) in ioread16be()
97 unsigned int ioread32(const void __iomem *addr) in ioread32()
103 unsigned int ioread32be(const void __iomem *addr) in ioread32be()
156 u64 ioread64_lo_hi(const void __iomem *addr) in ioread64_lo_hi()
[all …]
/Linux-v6.6/include/linux/
Din.h38 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 …]
Detherdevice.h83 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 …]
Diopoll.h134 #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ argument
154 #define readx_poll_timeout_atomic(op, addr, val, cond, delay_us, timeout_us) \ argument
157 #define readb_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
160 #define readb_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
163 #define readw_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
166 #define readw_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
169 #define readl_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
172 #define readl_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
175 #define readq_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
178 #define readq_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
[all …]
/Linux-v6.6/arch/x86/include/asm/
Dbitops.h48 #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(unsigned 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(unsigned 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(unsigned 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-v6.6/arch/powerpc/include/asm/
Dio.h199 static inline u64 in_le64(const volatile u64 __iomem *addr) in in_le64()
204 static inline void out_le64(volatile u64 __iomem *addr, u64 val) in out_le64()
213 static inline u64 in_be64(const volatile u64 __iomem *addr) in in_be64()
218 static inline void out_be64(volatile u64 __iomem *addr, u64 val) in out_be64()
309 #define PCI_FIX_ADDR(addr) \ argument
311 #define PCI_GET_ADDR_TOKEN(addr) \ argument
314 #define PCI_SET_ADDR_TOKEN(addr, token) \ argument
322 #define PCI_FIX_ADDR(addr) (addr) argument
330 static inline unsigned char __raw_readb(const volatile void __iomem *addr) in __raw_readb()
336 static inline unsigned short __raw_readw(const volatile void __iomem *addr) in __raw_readw()
[all …]
/Linux-v6.6/arch/csky/kernel/probes/
Dsimulate-insn.c69 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-v6.6/arch/alpha/kernel/
Dio.c17 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 u64 ioread64(const void __iomem *addr) in ioread64()
53 void iowrite8(u8 b, void __iomem *addr) in iowrite8()
59 void iowrite16(u16 b, void __iomem *addr) in iowrite16()
65 void iowrite32(u32 b, void __iomem *addr) in iowrite32()
71 void iowrite64(u64 b, void __iomem *addr) in iowrite64()
123 u8 __raw_readb(const volatile void __iomem *addr) in __raw_readb()
128 u16 __raw_readw(const volatile void __iomem *addr) in __raw_readw()
[all …]
/Linux-v6.6/arch/riscv/include/asm/
Dio.h97 #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(PCI_IOBASE + (addr), buffer, count) argument
105 #define insw(addr, buffer, count) __insw(PCI_IOBASE + (addr), buffer, count) argument
106 #define insl(addr, buffer, count) __insl(PCI_IOBASE + (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(PCI_IOBASE + (addr), buffer, count) argument
[all …]
Dbitops.h36 #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 …]
/Linux-v6.6/arch/hexagon/include/asm/
Dbitops.h31 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()
131 arch___clear_bit(unsigned long nr, volatile unsigned long *addr) in arch___clear_bit()
137 arch___set_bit(unsigned long nr, volatile unsigned long *addr) in arch___set_bit()
143 arch___change_bit(unsigned long nr, volatile unsigned long *addr) in arch___change_bit()
150 arch___test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in arch___test_and_clear_bit()
[all …]
/Linux-v6.6/drivers/staging/media/atomisp/pci/
Dia_css_device_access.c33 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-v6.6/arch/powerpc/boot/
Dio.h12 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-v6.6/include/asm-generic/bitops/
Dinstrumented-non-atomic.h26 ___set_bit(unsigned long nr, volatile unsigned long *addr) in ___set_bit()
42 ___clear_bit(unsigned long nr, volatile unsigned long *addr) in ___clear_bit()
58 ___change_bit(unsigned long nr, volatile unsigned long *addr) in ___change_bit()
64 static __always_inline void __instrument_read_write_bitop(long nr, volatile unsigned long *addr) in __instrument_read_write_bitop()
97 ___test_and_set_bit(unsigned long nr, volatile unsigned long *addr) in ___test_and_set_bit()
112 ___test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in ___test_and_clear_bit()
127 ___test_and_change_bit(unsigned long nr, volatile unsigned long *addr) in ___test_and_change_bit()
139 _test_bit(unsigned long nr, const volatile unsigned long *addr) in _test_bit()
151 _test_bit_acquire(unsigned long nr, const volatile unsigned long *addr) in _test_bit_acquire()
Dle.h19 static inline int test_bit_le(int nr, const void *addr) in test_bit_le()
24 static inline void set_bit_le(int nr, void *addr) in set_bit_le()
29 static inline void clear_bit_le(int nr, void *addr) in clear_bit_le()
34 static inline void __set_bit_le(int nr, void *addr) in __set_bit_le()
39 static inline void __clear_bit_le(int nr, void *addr) in __clear_bit_le()
44 static inline int test_and_set_bit_le(int nr, void *addr) in test_and_set_bit_le()
49 static inline int test_and_clear_bit_le(int nr, void *addr) in test_and_clear_bit_le()
54 static inline int __test_and_set_bit_le(int nr, void *addr) in __test_and_set_bit_le()
59 static inline int __test_and_clear_bit_le(int nr, void *addr) in __test_and_clear_bit_le()
/Linux-v6.6/arch/m68k/include/asm/
Dio_no.h16 #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-v6.6/drivers/media/pci/cx18/
Dcx18-io.h24 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 …]

12345678910>>...179