Home
last modified time | relevance | path

Searched refs:__addr (Results 1 – 25 of 31) sorted by relevance

12

/Linux-v6.6/arch/sparc/include/asm/
Dupa.h100 #define upa_readb(__addr) (_upa_readb((unsigned long)(__addr))) argument
101 #define upa_readw(__addr) (_upa_readw((unsigned long)(__addr))) argument
102 #define upa_readl(__addr) (_upa_readl((unsigned long)(__addr))) argument
103 #define upa_readq(__addr) (_upa_readq((unsigned long)(__addr))) argument
104 #define upa_writeb(__b, __addr) (_upa_writeb((__b), (unsigned long)(__addr))) argument
105 #define upa_writew(__w, __addr) (_upa_writew((__w), (unsigned long)(__addr))) argument
106 #define upa_writel(__l, __addr) (_upa_writel((__l), (unsigned long)(__addr))) argument
107 #define upa_writeq(__q, __addr) (_upa_writeq((__q), (unsigned long)(__addr))) argument
Dio.h15 #define readb_be(__addr) __raw_readb(__addr) argument
16 #define readw_be(__addr) __raw_readw(__addr) argument
17 #define readl_be(__addr) __raw_readl(__addr) argument
18 #define writeb_be(__b, __addr) __raw_writeb(__b, __addr) argument
19 #define writel_be(__w, __addr) __raw_writel(__w, __addr) argument
20 #define writew_be(__l, __addr) __raw_writew(__l, __addr) argument
Dio_64.h233 #define inb_p(__addr) inb(__addr) argument
234 #define outb_p(__b, __addr) outb(__b, __addr) argument
235 #define inw_p(__addr) inw(__addr) argument
236 #define outw_p(__w, __addr) outw(__w, __addr) argument
237 #define inl_p(__addr) inl(__addr) argument
238 #define outl_p(__l, __addr) outl(__l, __addr) argument
Dstring.h26 void *__retval, *__addr = (__arg0); \
30 __retval = __memscan_zero(__addr, __size); \
32 __retval = __memscan_generic(__addr, (__char), __size); \
Dpgtable_32.h17 #define PMD_ALIGN(__addr) (((__addr) + ~PMD_MASK) & PMD_MASK) argument
22 #define PGDIR_ALIGN(__addr) (((__addr) + ~PGDIR_MASK) & PGDIR_MASK) argument
/Linux-v6.6/arch/mips/include/asm/
Dio.h303 volatile type *__addr; \
311 __addr = (void *)__swizzle_addr_##bwlq(mips_io_port_base + port); \
313 __val = pfx##ioswab##bwlq(__addr, val); \
318 *__addr = __val; \
323 volatile type *__addr; \
326 __addr = (void *)__swizzle_addr_##bwlq(mips_io_port_base + port); \
333 __val = *__addr; \
338 return pfx##ioswab##bwlq(__addr, __val); \
428 const volatile type *__addr = addr; \ in BUILDIO_MEM()
431 __mem_write##bwlq(*__addr, mem); \ in BUILDIO_MEM()
[all …]
/Linux-v6.6/arch/arm64/include/asm/
Dmemory.h244 u64 __addr = (__force u64)(addr); \
245 __addr &= __untagged_addr(__addr); \
246 (__force __typeof__(addr))__addr; \
261 u64 __addr = (u64)addr & ~__tag_shifted(0xff); in __tag_set() local
262 return (const void *)(__addr | __tag_shifted(tag)); in __tag_set()
363 void *__addr = __va(page_to_phys(__page)); \
364 (void *)__tag_set((const void *)__addr, page_kasan_tag(__page));\
371 u64 __addr = PAGE_OFFSET + (__idx * PAGE_SIZE); \
372 (void *)__tag_set((const void *)__addr, page_kasan_tag(__page));\
377 u64 __addr = VMEMMAP_START + (__idx * sizeof(struct page)); \
[all …]
/Linux-v6.6/arch/sparc/lib/
DPeeCeeI.c13 void outsb(unsigned long __addr, const void *src, unsigned long count) in outsb() argument
15 void __iomem *addr = (void __iomem *) __addr; in outsb()
23 void outsw(unsigned long __addr, const void *src, unsigned long count) in outsw() argument
25 void __iomem *addr = (void __iomem *) __addr; in outsw()
34 void outsl(unsigned long __addr, const void *src, unsigned long count) in outsl() argument
36 void __iomem *addr = (void __iomem *) __addr; in outsl()
88 void insb(unsigned long __addr, void *dst, unsigned long count) in insb() argument
90 void __iomem *addr = (void __iomem *) __addr; in insb()
116 void insw(unsigned long __addr, void *dst, unsigned long count) in insw() argument
118 void __iomem *addr = (void __iomem *) __addr; in insw()
[all …]
/Linux-v6.6/arch/sh/include/asm/
Dio.h95 const volatile type *__addr = addr; \
98 __raw_write##bwlq(*__addr, mem); \
99 __addr++; \
106 volatile type *__addr = addr; \
109 *__addr = __raw_read##bwlq(mem); \
110 __addr++; \
182 volatile type *__addr; \
184 __addr = __ioport_map(port, sizeof(type)); \
185 *__addr = val; \
191 volatile type *__addr; \
[all …]
/Linux-v6.6/include/linux/
Dhighmem-internal.h268 #define kunmap_atomic(__addr) \ argument
270 BUILD_BUG_ON(__same_type((__addr), struct page *)); \
271 __kunmap_atomic(__addr); \
284 #define kunmap_local(__addr) \ argument
286 BUILD_BUG_ON(__same_type((__addr), struct page *)); \
287 __kunmap_local(__addr); \
/Linux-v6.6/arch/x86/include/asm/
Duaccess_64.h34 unsigned long __addr = (__force unsigned long)(addr); \
35 (__force __typeof__(addr))__untagged_addr(__addr); \
46 unsigned long __addr = (__force unsigned long)(addr); \
47 (__force __typeof__(addr))__untagged_addr_remote(mm, __addr); \
/Linux-v6.6/arch/x86/kernel/kprobes/
Dcore.c246 unsigned long __addr; in recover_probed_instruction() local
248 __addr = __recover_optprobed_insn(buf, addr); in recover_probed_instruction()
249 if (__addr != addr) in recover_probed_instruction()
250 return __addr; in recover_probed_instruction()
258 unsigned long addr, __addr, offset = 0; in can_probe() local
278 __addr = recover_probed_instruction(buf, addr); in can_probe()
279 if (!__addr) in can_probe()
282 ret = insn_decode_kernel(&insn, (void *)__addr); in can_probe()
311 __addr = recover_probed_instruction(buf, addr); in can_probe()
312 if (!__addr) in can_probe()
[all …]
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Duprobe_multi.c47 #define SET(__var, __addr, __cookie) ({ \ in uprobe_multi_check() argument
48 if (addr == __addr && \ in uprobe_multi_check()
Dkprobe_multi.c47 #define SET(__var, __addr, __cookie) ({ \ in kprobe_multi_check() argument
48 if (((const void *) addr == __addr) && \ in kprobe_multi_check()
/Linux-v6.6/arch/ia64/include/asm/
Dpgtable.h486 # define ptep_set_access_flags(__vma, __addr, __ptep, __entry, __safely_writable) \ argument
491 flush_tlb_page(__vma, __addr); \
496 # define ptep_set_access_flags(__vma, __addr, __ptep, __entry, __safely_writable) \ argument
500 set_pte_at((__vma)->vm_mm, (__addr), __ptep, __entry); \
501 flush_tlb_page(__vma, __addr); \
/Linux-v6.6/net/bluetooth/rfcomm/
Dcore.c85 #define __addr(cr, dlci) (((dlci & 0x3f) << 2) | (cr << 1) | 0x01) macro
402 d->addr = __addr(s->initiator, dlci); in __rfcomm_dlc_open()
857 cmd.addr = __addr(s->initiator, dlci); in rfcomm_send_sabm()
871 cmd.addr = __addr(!s->initiator, dlci); in rfcomm_send_ua()
885 cmd.addr = __addr(s->initiator, dlci); in rfcomm_send_disc()
921 cmd.addr = __addr(!s->initiator, dlci); in rfcomm_send_dm()
938 hdr->addr = __addr(s->initiator, 0); in rfcomm_send_nsc()
964 hdr->addr = __addr(s->initiator, 0); in rfcomm_send_pn()
1012 hdr->addr = __addr(s->initiator, 0); in rfcomm_send_rpn()
1021 rpn->dlci = __addr(1, dlci); in rfcomm_send_rpn()
[all …]
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/
Dnfp_net.h124 dma_addr_t __addr = (dma_addr); \
126 __d->dma_addr_lo = cpu_to_le32(lower_32_bits(__addr)); \
127 __d->dma_addr_hi = upper_32_bits(__addr) & 0xff; \
133 dma_addr_t __addr = (dma_addr); \
135 __d->dma_addr_hi = cpu_to_le16(upper_32_bits(__addr)); \
136 __d->dma_addr_lo = cpu_to_le32(lower_32_bits(__addr)); \
/Linux-v6.6/arch/arm/include/asm/
Decard.h196 #define ecardm_iounmap(__ec, __addr) devm_iounmap(&(__ec)->dev, __addr) argument
/Linux-v6.6/include/linux/spi/
Dspi-mem.h137 #define SPI_MEM_OP(__cmd, __addr, __dummy, __data) \ argument
140 .addr = __addr, \
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dkprobe_multi_test.c92 #define GET_ADDR(__sym, __addr) ({ \ argument
93 __addr = ksym_get_addr(__sym); \
94 if (!ASSERT_NEQ(__addr, 0, "kallsyms load failed for " #__sym)) \
Dbpf_cookie.c118 #define GET_ADDR(__sym, __addr) ({ \ in kprobe_multi_link_api_subtest() argument
119 __addr = ksym_get_addr(__sym); \ in kprobe_multi_link_api_subtest()
120 if (!ASSERT_NEQ(__addr, 0, "ksym_get_addr " #__sym)) \ in kprobe_multi_link_api_subtest()
/Linux-v6.6/arch/powerpc/include/asm/nohash/64/
Dpgtable.h206 #define ptep_test_and_clear_young(__vma, __addr, __ptep) \ argument
209 __r = __ptep_test_and_clear_young((__vma)->vm_mm, __addr, __ptep); \
/Linux-v6.6/arch/powerpc/include/asm/nohash/32/
Dpgtable.h307 #define ptep_test_and_clear_young(__vma, __addr, __ptep) \ argument
308 __ptep_test_and_clear_young((__vma)->vm_mm, __addr, __ptep)
/Linux-v6.6/drivers/net/ethernet/sun/
Dsunhme.c212 #define hme_write_rxd(__hp, __rxd, __flags, __addr) \ argument
213 ((__hp)->write_rxd((__rxd), (__flags), (__addr)))
214 #define hme_write_txd(__hp, __txd, __flags, __addr) \ argument
215 ((__hp)->write_txd((__txd), (__flags), (__addr)))
225 #define hme_write_rxd(__hp, __rxd, __flags, __addr) \ argument
226 do { (__rxd)->rx_addr = (__force hme32)(u32)(__addr); \
230 #define hme_write_txd(__hp, __txd, __flags, __addr) \ argument
231 do { (__txd)->tx_addr = (__force hme32)(u32)(__addr); \
242 #define hme_write_rxd(__hp, __rxd, __flags, __addr) \ argument
243 do { (__rxd)->rx_addr = (__force hme32)cpu_to_le32(__addr); \
[all …]
/Linux-v6.6/arch/powerpc/include/asm/book3s/32/
Dpgtable.h332 #define ptep_test_and_clear_young(__vma, __addr, __ptep) \ argument
333 __ptep_test_and_clear_young((__vma)->vm_mm, __addr, __ptep)

12