Home
last modified time | relevance | path

Searched refs:uintptr_t (Results 1 – 25 of 1237) sorted by relevance

12345678910>>...50

/openbmc/linux/arch/powerpc/include/asm/
H A Dfsl_hcalls.h94 register uintptr_t r3 __asm__("r3"); in fh_send_nmi()
128 register uintptr_t r3 __asm__("r3"); in fh_partition_get_dtprop()
129 register uintptr_t r4 __asm__("r4"); in fh_partition_get_dtprop()
130 register uintptr_t r5 __asm__("r5"); in fh_partition_get_dtprop()
131 register uintptr_t r6 __asm__("r6"); in fh_partition_get_dtprop()
132 register uintptr_t r7 __asm__("r7"); in fh_partition_get_dtprop()
133 register uintptr_t r8 __asm__("r8"); in fh_partition_get_dtprop()
134 register uintptr_t r9 __asm__("r9"); in fh_partition_get_dtprop()
182 register uintptr_t r3 __asm__("r3"); in fh_partition_set_dtprop()
183 register uintptr_t r4 __asm__("r4"); in fh_partition_set_dtprop()
[all …]
H A Depapr_hcalls.h140 register uintptr_t r3 __asm__("r3"); in ev_int_set_config()
141 register uintptr_t r4 __asm__("r4"); in ev_int_set_config()
142 register uintptr_t r5 __asm__("r5"); in ev_int_set_config()
143 register uintptr_t r6 __asm__("r6"); in ev_int_set_config()
172 register uintptr_t r3 __asm__("r3"); in ev_int_get_config()
173 register uintptr_t r4 __asm__("r4"); in ev_int_get_config()
174 register uintptr_t r5 __asm__("r5"); in ev_int_get_config()
175 register uintptr_t r6 __asm__("r6"); in ev_int_get_config()
203 register uintptr_t r3 __asm__("r3"); in ev_int_set_mask()
204 register uintptr_t r4 __asm__("r4"); in ev_int_set_mask()
[all …]
/openbmc/linux/tools/testing/selftests/kvm/lib/riscv/
H A Ducall.c18 register uintptr_t a0 asm ("a0") = (uintptr_t)(arg0); in sbi_ecall()
19 register uintptr_t a1 asm ("a1") = (uintptr_t)(arg1); in sbi_ecall()
20 register uintptr_t a2 asm ("a2") = (uintptr_t)(arg2); in sbi_ecall()
21 register uintptr_t a3 asm ("a3") = (uintptr_t)(arg3); in sbi_ecall()
22 register uintptr_t a4 asm ("a4") = (uintptr_t)(arg4); in sbi_ecall()
23 register uintptr_t a5 asm ("a5") = (uintptr_t)(arg5); in sbi_ecall()
24 register uintptr_t a6 asm ("a6") = (uintptr_t)(fid); in sbi_ecall()
25 register uintptr_t a7 asm ("a7") = (uintptr_t)(ext); in sbi_ecall()
/openbmc/qemu/include/exec/
H A Dcpu_ldst.h88 return (void *)((uintptr_t)(x) + guest_base); in g2h_untagged()
108 (uintptr_t)(x) - guest_base <= GUEST_ADDR_MAX)
111 uintptr_t __ret = (uintptr_t)(x) - guest_base; \
154 uint32_t val, uintptr_t ra);
211 MemOpIdx oi, uintptr_t ra);
213 MemOpIdx oi, uintptr_t ra);
215 MemOpIdx oi, uintptr_t ra);
217 MemOpIdx oi, uintptr_t ra);
219 MemOpIdx oi, uintptr_t ra);
246 MemOpIdx oi, uintptr_t retaddr);
[all …]
/openbmc/linux/arch/riscv/include/asm/
H A Dsections.h18 static inline bool is_va_kernel_text(uintptr_t va) in is_va_kernel_text()
20 uintptr_t start = (uintptr_t)_start; in is_va_kernel_text()
21 uintptr_t end = (uintptr_t)__init_data_begin; in is_va_kernel_text()
26 static inline bool is_va_kernel_lm_alias_text(uintptr_t va) in is_va_kernel_lm_alias_text()
28 uintptr_t start = (uintptr_t)lm_alias(_start); in is_va_kernel_lm_alias_text()
29 uintptr_t end = (uintptr_t)lm_alias(__init_data_begin); in is_va_kernel_lm_alias_text()
/openbmc/qemu/include/tcg/
H A Dtcg-ldst.h30 MemOpIdx oi, uintptr_t retaddr);
32 MemOpIdx oi, uintptr_t retaddr);
34 MemOpIdx oi, uintptr_t retaddr);
36 MemOpIdx oi, uintptr_t retaddr);
38 MemOpIdx oi, uintptr_t retaddr);
42 MemOpIdx oi, uintptr_t retaddr);
53 MemOpIdx oi, uintptr_t retaddr);
55 MemOpIdx oi, uintptr_t retaddr);
57 MemOpIdx oi, uintptr_t retaddr);
59 MemOpIdx oi, uintptr_t retaddr);
[all …]
/openbmc/u-boot/arch/arm/mach-snapdragon/
H A Dclock-snapdragon.h15 uintptr_t status;
17 uintptr_t ena_vote;
22 uintptr_t cbcr_reg;
23 uintptr_t ena_vote;
27 uintptr_t cfg_rcgr;
28 uintptr_t cmd_rcgr;
29 uintptr_t M;
30 uintptr_t N;
31 uintptr_t D;
/openbmc/linux/arch/x86/include/asm/
H A Dxor_avx.h49 p0 = (unsigned long *)((uintptr_t)p0 + 512); in xor_avx_2()
50 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_2()
79 p0 = (unsigned long *)((uintptr_t)p0 + 512); in xor_avx_3()
80 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_3()
81 p2 = (unsigned long *)((uintptr_t)p2 + 512); in xor_avx_3()
113 p0 = (unsigned long *)((uintptr_t)p0 + 512); in xor_avx_4()
114 p1 = (unsigned long *)((uintptr_t)p1 + 512); in xor_avx_4()
115 p2 = (unsigned long *)((uintptr_t)p2 + 512); in xor_avx_4()
116 p3 = (unsigned long *)((uintptr_t)p3 + 512); in xor_avx_4()
151 p0 = (unsigned long *)((uintptr_t)p0 + 512); in xor_avx_5()
[all …]
/openbmc/qemu/accel/tcg/
H A Dldst_common.c.inc83 MemOpIdx oi, uintptr_t ra)
90 MemOpIdx oi, uintptr_t retaddr)
144 MemOpIdx oi, uintptr_t ra)
155 MemOpIdx oi, uintptr_t ra)
166 MemOpIdx oi, uintptr_t ra)
177 MemOpIdx oi, uintptr_t ra)
199 MemOpIdx oi, uintptr_t retaddr)
206 MemOpIdx oi, uintptr_t retaddr)
222 MemOpIdx oi, uintptr_t retaddr)
230 MemOpIdx oi, uintptr_t retaddr)
[all …]
/openbmc/linux/arch/riscv/mm/
H A Dinit.c634 (uintptr_t)fixmap_pud : (uintptr_t)fixmap_pmd))
637 (uintptr_t)trampoline_pud : (uintptr_t)trampoline_pmd))
677 static uintptr_t __init best_map_size(phys_addr_t pa, uintptr_t va, in best_map_size()
707 size_t sz = (size_t)((uintptr_t)(&_end) - (uintptr_t)(&_sdata)); in __copy_data()
819 (uintptr_t)early_p4d : (uintptr_t)early_pud, in set_satp_mode()
905 uintptr_t va, end_va; in create_kernel_page_table()
924 uintptr_t va, end_va; in create_kernel_page_table()
1057 u32 kernel_size = (uintptr_t)(&_end) - (uintptr_t)(&_start); in setup_vm()
1080 kernel_map.xiprom_sz = (uintptr_t)(&_exiprom) - (uintptr_t)(&_xiprom); in setup_vm()
1084 kernel_map.size = (uintptr_t)(&_end) - (uintptr_t)(&_start); in setup_vm()
[all …]
/openbmc/u-boot/arch/x86/lib/
H A Drelocate.c27 size_t len = (uintptr_t)&__data_end - (uintptr_t)&__text_start; in copy_uboot_to_ram()
39 size_t len = (uintptr_t)&__bss_end - (uintptr_t)&__bss_start; in clear_bss()
49 static void do_elf_reloc_fixups64(unsigned int text_base, uintptr_t size, in do_elf_reloc_fixups64()
66 offset_ptr_rom = (Elf64_Addr *)(uintptr_t)re_src->r_offset; in do_elf_reloc_fixups64()
69 if (offset_ptr_rom >= (Elf64_Addr *)(uintptr_t)text_base && in do_elf_reloc_fixups64()
96 static void do_elf_reloc_fixups32(unsigned int text_base, uintptr_t size, in do_elf_reloc_fixups32()
113 offset_ptr_rom = (Elf32_Addr *)(uintptr_t)re_src->r_offset; in do_elf_reloc_fixups32()
116 if (offset_ptr_rom >= (Elf32_Addr *)(uintptr_t)text_base && in do_elf_reloc_fixups32()
154 uintptr_t size = (uintptr_t)&__bss_end - (uintptr_t)&__text_start; in do_elf_reloc_fixups()
/openbmc/qemu/util/
H A Dcacheflush.c242 void flush_idcache_range(uintptr_t rx, uintptr_t rw, size_t len) in flush_idcache_range()
260 void flush_idcache_range(uintptr_t rx, uintptr_t rw, size_t len) in flush_idcache_range()
265 const uintptr_t icache_lsize = qemu_icache_linesize; in flush_idcache_range()
266 const uintptr_t dcache_lsize = qemu_dcache_linesize; in flush_idcache_range()
267 uintptr_t p; in flush_idcache_range()
308 void flush_idcache_range(uintptr_t rx, uintptr_t rw, size_t len) in flush_idcache_range()
318 void flush_idcache_range(uintptr_t rx, uintptr_t rw, size_t len) in flush_idcache_range()
320 uintptr_t p, b, e; in flush_idcache_range()
358 void flush_idcache_range(uintptr_t rx, uintptr_t rw, size_t len) in flush_idcache_range()
361 uintptr_t p, end = (rx + len + 7) & -8; in flush_idcache_range()
[all …]
/openbmc/linux/mm/kmsan/
H A Dinstrumentation.c49 uintptr_t size);
51 uintptr_t size) in __msan_metadata_ptr_for_load_n()
59 uintptr_t size);
61 uintptr_t size) in __msan_metadata_ptr_for_store_n()
103 void __msan_instrument_asm_store(void *addr, uintptr_t size);
104 void __msan_instrument_asm_store(void *addr, uintptr_t size) in __msan_instrument_asm_store()
182 void *__msan_memcpy(void *dst, const void *src, uintptr_t n) in __msan_memcpy()
208 void *__msan_memset(void *dst, int c, uintptr_t n);
209 void *__msan_memset(void *dst, int c, uintptr_t n) in __msan_memset()
295 void __msan_unpoison_alloca(void *address, uintptr_t size);
[all …]
/openbmc/qemu/hw/mips/
H A Dloongson3_bootp.c116 lp->cpu_offset = cpu_to_le64((uintptr_t)p - (uintptr_t)lp); in init_loongson_params()
120 lp->memory_offset = cpu_to_le64((uintptr_t)p - (uintptr_t)lp); in init_loongson_params()
124 lp->system_offset = cpu_to_le64((uintptr_t)p - (uintptr_t)lp); in init_loongson_params()
128 lp->irq_offset = cpu_to_le64((uintptr_t)p - (uintptr_t)lp); in init_loongson_params()
132 lp->interface_offset = cpu_to_le64((uintptr_t)p - (uintptr_t)lp); in init_loongson_params()
136 lp->boarddev_table_offset = cpu_to_le64((uintptr_t)p - (uintptr_t)lp); in init_loongson_params()
140 lp->special_offset = cpu_to_le64((uintptr_t)p - (uintptr_t)lp); in init_loongson_params()
/openbmc/qemu/tests/tcg/multiarch/arm-compat-semi/
H A Dsemihosting.c23 uintptr_t exit_code = 0x20026; in main()
25 uintptr_t exit_block[2] = {0x20026, 0}; in main()
26 uintptr_t exit_code = (uintptr_t) &exit_block; in main()
36 __semi_call(SYS_WRITE0, (uintptr_t) "Checking HeapInfo\n"); in main()
39 __semi_call(SYS_HEAPINFO, (uintptr_t) &ptr_to_info); in main()
47 if ((uintptr_t) info.heap_base >= (uintptr_t) info.heap_limit) { in main()
78 __semi_call(SYS_WRITE0, (uintptr_t) "Passed HeapInfo checks"); in main()
/openbmc/u-boot/api/
H A Dapi.c54 if ((c = (int *)va_arg(ap, uintptr_t)) == NULL) in API_getc()
70 if ((t = (int *)va_arg(ap, uintptr_t)) == NULL) in API_tstc()
86 if ((c = (char *)va_arg(ap, uintptr_t)) == NULL) in API_putc()
102 if ((s = (char *)va_arg(ap, uintptr_t)) == NULL) in API_puts()
134 si = (struct sys_info *)va_arg(ap, uintptr_t); in API_get_sys_info()
331 buf = (void *)va_arg(ap, uintptr_t); in API_dev_write()
336 len = (int *)va_arg(ap, uintptr_t); in API_dev_write()
399 buf = (void *)va_arg(ap, uintptr_t); in API_dev_read()
412 start = (lbastart_t *)va_arg(ap, uintptr_t); in API_dev_read()
424 len_net = (int *)va_arg(ap, uintptr_t); in API_dev_read()
[all …]
/openbmc/qemu/tests/tcg/aarch64/system/
H A Dsemiheap.c15 uintptr_t __semi_call(uintptr_t type, uintptr_t arg0) in __semi_call()
17 register uintptr_t t asm("x0") = type; in __semi_call()
18 register uintptr_t a0 asm("x1") = arg0; in __semi_call()
41 __semi_call(SYS_HEAPINFO, (uintptr_t) &ptr_to_info); in main()
49 if ((uintptr_t) info.heap_base >= (uintptr_t) info.heap_limit) { in main()
H A Dsemiconsole.c14 uintptr_t __semi_call(uintptr_t type, uintptr_t arg0) in __semi_call()
16 register uintptr_t t asm("x0") = type; in __semi_call()
17 register uintptr_t a0 asm("x1") = arg0; in __semi_call()
/openbmc/qemu/tests/tcg/multiarch/
H A Dtest-mmap.c57 uintptr_t p; in check_aligned_anonymous_unfixed_mmaps()
113 uintptr_t p; in check_large_anonymous_unfixed_mmap()
125 p = (uintptr_t) p1; in check_large_anonymous_unfixed_mmap()
139 uintptr_t p; in check_aligned_anonymous_unfixed_colliding_mmaps()
190 uintptr_t p; in check_aligned_anonymous_fixed_mmaps()
208 p = (uintptr_t) p1; in check_aligned_anonymous_fixed_mmaps()
222 uintptr_t p; in check_aligned_anonymous_fixed_mmaps_collide_with_host()
239 p = (uintptr_t) p1; in check_aligned_anonymous_fixed_mmaps_collide_with_host()
252 uintptr_t p; in check_file_unfixed_mmaps()
304 uintptr_t p; in check_file_unfixed_eof_mmaps()
[all …]
/openbmc/u-boot/arch/arm/mach-rockchip/
H A Drk3368-board-tpl.c27 static inline uintptr_t sgrf_soc_con_addr(unsigned no) in sgrf_soc_con_addr()
29 const uintptr_t SGRF_BASE = in sgrf_soc_con_addr()
30 (uintptr_t)syscon_get_first_range(ROCKCHIP_SYSCON_SGRF); in sgrf_soc_con_addr()
35 static inline uintptr_t sgrf_busdmac_addr(unsigned no) in sgrf_busdmac_addr()
37 const uintptr_t SGRF_BASE = in sgrf_busdmac_addr()
38 (uintptr_t)syscon_get_first_range(ROCKCHIP_SYSCON_SGRF); in sgrf_busdmac_addr()
39 const uintptr_t SGRF_BUSDMAC_OFFSET = 0x100; in sgrf_busdmac_addr()
40 const uintptr_t SGRF_BUSDMAC_BASE = SGRF_BASE + SGRF_BUSDMAC_OFFSET; in sgrf_busdmac_addr()
/openbmc/qemu/tests/tcg/riscv64/
H A Dsemicall.h10 uintptr_t __semi_call(uintptr_t type, uintptr_t arg0) in __semi_call()
12 register uintptr_t t asm("a0") = type; in __semi_call()
13 register uintptr_t a0 asm("a1") = arg0; in __semi_call()
/openbmc/qemu/tests/tcg/aarch64/
H A Dsemicall.h10 uintptr_t __semi_call(uintptr_t type, uintptr_t arg0) in __semi_call()
12 register uintptr_t t asm("x0") = type; in __semi_call()
13 register uintptr_t a0 asm("x1") = arg0; in __semi_call()
/openbmc/qemu/tests/tcg/arm/
H A Dsemicall.h10 uintptr_t __semi_call(uintptr_t type, uintptr_t arg0) in __semi_call()
12 register uintptr_t t asm("r0") = type; in __semi_call()
13 register uintptr_t a0 asm("r1") = arg0; in __semi_call()
/openbmc/linux/arch/powerpc/net/
H A Dbpf_jit.h55 if ((int)(uintptr_t)(i) >= -32768 && \
56 (int)(uintptr_t)(i) < 32768) \
70 if (!((uintptr_t)(i) & 0xffff800000000000ULL)) \
71 EMIT(PPC_RAW_LI(d, ((uintptr_t)(i) >> 32) & \
74 EMIT(PPC_RAW_LIS(d, ((uintptr_t)(i) >> 48))); \
75 if ((uintptr_t)(i) & 0x0000ffff00000000ULL) \
77 ((uintptr_t)(i) >> 32) & 0xffff)); \
80 if ((uintptr_t)(i) & 0x00000000ffff0000ULL) \
82 ((uintptr_t)(i) >> 16) & 0xffff)); \
83 if ((uintptr_t)(i) & 0x000000000000ffffULL) \
[all …]
/openbmc/qemu/tests/tcg/arm/system/
H A Dsemiconsole.c14 uintptr_t __semi_call(uintptr_t type, uintptr_t arg0) in __semi_call()
16 register uintptr_t t asm("r0") = type; in __semi_call()
17 register uintptr_t a0 asm("r1") = arg0; in __semi_call()

12345678910>>...50