Home
last modified time | relevance | path

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

12

/Linux-v6.1/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.1/arch/mips/include/asm/
Dio.h304 volatile type *__addr; \
312 __addr = (void *)__swizzle_addr_##bwlq(mips_io_port_base + port); \
314 __val = pfx##ioswab##bwlq(__addr, val); \
319 *__addr = __val; \
324 volatile type *__addr; \
327 __addr = (void *)__swizzle_addr_##bwlq(mips_io_port_base + port); \
334 __val = *__addr; \
339 return pfx##ioswab##bwlq(__addr, __val); \
429 const volatile type *__addr = addr; \ in BUILDIO_MEM()
432 __mem_write##bwlq(*__addr, mem); \ in BUILDIO_MEM()
[all …]
/Linux-v6.1/arch/arm64/include/asm/
Dmemory.h231 u64 __addr = (__force u64)(addr); \
232 __addr &= __untagged_addr(__addr); \
233 (__force __typeof__(addr))__addr; \
248 u64 __addr = (u64)addr & ~__tag_shifted(0xff); in __tag_set() local
249 return (const void *)(__addr | __tag_shifted(tag)); in __tag_set()
341 void *__addr = __va(page_to_phys(__page)); \
342 (void *)__tag_set((const void *)__addr, page_kasan_tag(__page));\
349 u64 __addr = PAGE_OFFSET + (__idx * PAGE_SIZE); \
350 (void *)__tag_set((const void *)__addr, page_kasan_tag(__page));\
355 u64 __addr = VMEMMAP_START + (__idx * sizeof(struct page)); \
[all …]
/Linux-v6.1/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++; \
158 volatile type *__addr; \
160 __addr = __ioport_map(port, sizeof(type)); \
161 *__addr = val; \
167 volatile type *__addr; \
[all …]
/Linux-v6.1/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.1/include/linux/
Dhighmem-internal.h265 #define kunmap_atomic(__addr) \ argument
267 BUILD_BUG_ON(__same_type((__addr), struct page *)); \
268 __kunmap_atomic(__addr); \
281 #define kunmap_local(__addr) \ argument
283 BUILD_BUG_ON(__same_type((__addr), struct page *)); \
284 __kunmap_local(__addr); \
Dmm_types.h810 #define VMA_ITERATOR(name, __mm, __addr) \ argument
814 .index = __addr, \
/Linux-v6.1/tools/testing/selftests/bpf/progs/
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.1/arch/ia64/include/asm/
Dpgtable.h477 # define ptep_set_access_flags(__vma, __addr, __ptep, __entry, __safely_writable) \ argument
482 flush_tlb_page(__vma, __addr); \
487 # define ptep_set_access_flags(__vma, __addr, __ptep, __entry, __safely_writable) \ argument
491 set_pte_at((__vma)->vm_mm, (__addr), __ptep, __entry); \
492 flush_tlb_page(__vma, __addr); \
/Linux-v6.1/arch/x86/kernel/kprobes/
Dcore.c244 unsigned long __addr; in recover_probed_instruction() local
246 __addr = __recover_optprobed_insn(buf, addr); in recover_probed_instruction()
247 if (__addr != addr) in recover_probed_instruction()
248 return __addr; in recover_probed_instruction()
256 unsigned long addr, __addr, offset = 0; in can_probe() local
276 __addr = recover_probed_instruction(buf, addr); in can_probe()
277 if (!__addr) in can_probe()
280 ret = insn_decode_kernel(&insn, (void *)__addr); in can_probe()
/Linux-v6.1/net/bluetooth/rfcomm/
Dcore.c83 #define __addr(cr, dlci) (((dlci & 0x3f) << 2) | (cr << 1) | 0x01) macro
398 d->addr = __addr(s->initiator, dlci); in __rfcomm_dlc_open()
853 cmd.addr = __addr(s->initiator, dlci); in rfcomm_send_sabm()
867 cmd.addr = __addr(!s->initiator, dlci); in rfcomm_send_ua()
881 cmd.addr = __addr(s->initiator, dlci); in rfcomm_send_disc()
917 cmd.addr = __addr(!s->initiator, dlci); in rfcomm_send_dm()
934 hdr->addr = __addr(s->initiator, 0); in rfcomm_send_nsc()
960 hdr->addr = __addr(s->initiator, 0); in rfcomm_send_pn()
1008 hdr->addr = __addr(s->initiator, 0); in rfcomm_send_rpn()
1017 rpn->dlci = __addr(1, dlci); in rfcomm_send_rpn()
[all …]
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/
Dnfp_net.h121 dma_addr_t __addr = (dma_addr); \
123 __d->dma_addr_lo = cpu_to_le32(lower_32_bits(__addr)); \
124 __d->dma_addr_hi = upper_32_bits(__addr) & 0xff; \
130 dma_addr_t __addr = (dma_addr); \
132 __d->dma_addr_hi = cpu_to_le16(upper_32_bits(__addr)); \
133 __d->dma_addr_lo = cpu_to_le32(lower_32_bits(__addr)); \
/Linux-v6.1/arch/arm/include/asm/
Decard.h196 #define ecardm_iounmap(__ec, __addr) devm_iounmap(&(__ec)->dev, __addr) argument
/Linux-v6.1/include/linux/spi/
Dspi-mem.h133 #define SPI_MEM_OP(__cmd, __addr, __dummy, __data) \ argument
136 .addr = __addr, \
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dkprobe_multi_test.c91 #define GET_ADDR(__sym, __addr) ({ \ argument
92 __addr = ksym_get_addr(__sym); \
93 if (!ASSERT_NEQ(__addr, 0, "kallsyms load failed for " #__sym)) \
Dbpf_cookie.c117 #define GET_ADDR(__sym, __addr) ({ \ in kprobe_multi_link_api_subtest() argument
118 __addr = ksym_get_addr(__sym); \ in kprobe_multi_link_api_subtest()
119 if (!ASSERT_NEQ(__addr, 0, "ksym_get_addr " #__sym)) \ in kprobe_multi_link_api_subtest()
/Linux-v6.1/arch/powerpc/include/asm/nohash/32/
Dpgtable.h301 #define ptep_test_and_clear_young(__vma, __addr, __ptep) \ argument
302 __ptep_test_and_clear_young((__vma)->vm_mm, __addr, __ptep)
/Linux-v6.1/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.1/drivers/net/ethernet/sun/
Dsunhme.c215 #define hme_write_rxd(__hp, __rxd, __flags, __addr) \ argument
216 ((__hp)->write_rxd((__rxd), (__flags), (__addr)))
217 #define hme_write_txd(__hp, __txd, __flags, __addr) \ argument
218 ((__hp)->write_txd((__txd), (__flags), (__addr)))
228 #define hme_write_rxd(__hp, __rxd, __flags, __addr) \ argument
229 do { (__rxd)->rx_addr = (__force hme32)(u32)(__addr); \
233 #define hme_write_txd(__hp, __txd, __flags, __addr) \ argument
234 do { (__txd)->tx_addr = (__force hme32)(u32)(__addr); \
245 #define hme_write_rxd(__hp, __rxd, __flags, __addr) \ argument
246 do { (__rxd)->rx_addr = (__force hme32)cpu_to_le32(__addr); \
[all …]
/Linux-v6.1/arch/powerpc/include/asm/book3s/32/
Dpgtable.h329 #define ptep_test_and_clear_young(__vma, __addr, __ptep) \ argument
330 __ptep_test_and_clear_young((__vma)->vm_mm, __addr, __ptep)
/Linux-v6.1/drivers/net/wireless/realtek/rtw89/
Dmac.h392 ({typeof(_addr) __addr = (_addr); \
393 __addr >= R_AX_CMAC_REG_START && __addr <= R_AX_CMAC_REG_END; })

12