/openbmc/linux/arch/powerpc/include/asm/ |
H A D | fsl_hcalls.h | 93 register uintptr_t r11 __asm__("r11"); in fh_send_nmi() 94 register uintptr_t r3 __asm__("r3"); in fh_send_nmi() 127 register uintptr_t r11 __asm__("r11"); in fh_partition_get_dtprop() 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() [all …]
|
H A D | epapr_hcalls.h | 139 register uintptr_t r11 __asm__("r11"); in ev_int_set_config() 140 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() 171 register uintptr_t r11 __asm__("r11"); in ev_int_get_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() [all …]
|
/openbmc/qemu/include/exec/ |
H A D | cpu_ldst.h | 88 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; \ 134 uint32_t cpu_ldub_data_ra(CPUArchState *env, abi_ptr ptr, uintptr_t ra); 135 int cpu_ldsb_data_ra(CPUArchState *env, abi_ptr ptr, uintptr_t ra); 136 uint32_t cpu_lduw_be_data_ra(CPUArchState *env, abi_ptr ptr, uintptr_t ra); 137 int cpu_ldsw_be_data_ra(CPUArchState *env, abi_ptr ptr, uintptr_t ra); 138 uint32_t cpu_ldl_be_data_ra(CPUArchState *env, abi_ptr ptr, uintptr_t ra); 139 uint64_t cpu_ldq_be_data_ra(CPUArchState *env, abi_ptr ptr, uintptr_t ra); 140 uint32_t cpu_lduw_le_data_ra(CPUArchState *env, abi_ptr ptr, uintptr_t ra); [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/lib/riscv/ |
H A D | ucall.c | 18 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/linux/arch/riscv/include/asm/ |
H A D | sections.h | 18 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 D | tcg-ldst.h | 30 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); 44 MemOpIdx oi, uintptr_t retaddr); 46 MemOpIdx oi, uintptr_t retaddr); 53 MemOpIdx oi, uintptr_t retaddr); 55 MemOpIdx oi, uintptr_t retaddr); [all …]
|
/openbmc/qemu/accel/tcg/ |
H A D | ldst_common.c.inc | 16 MemOpIdx oi, uintptr_t retaddr) 23 MemOpIdx oi, uintptr_t retaddr) 30 MemOpIdx oi, uintptr_t retaddr) 37 MemOpIdx oi, uintptr_t retaddr) 49 MemOpIdx oi, uintptr_t retaddr) 55 MemOpIdx oi, uintptr_t retaddr) 61 MemOpIdx oi, uintptr_t retaddr) 67 MemOpIdx oi, uintptr_t retaddr) 83 MemOpIdx oi, uintptr_t ra) 90 MemOpIdx oi, uintptr_t retaddr) [all …]
|
H A D | trace-events | 5 exec_tb(void *tb, uintptr_t pc) "tb:%p pc=0x%"PRIxPTR 6 exec_tb_nocache(void *tb, uintptr_t pc) "tb:%p pc=0x%"PRIxPTR 14 translate_block(void *tb, uintptr_t pc, const void *tb_code) "tb:%p, pc:0x%"PRIxPTR", tb_code:%p" 17 load_atom2_fallback(uint32_t memop, uintptr_t ra) "mop:0x%"PRIx32", ra:0x%"PRIxPTR"" 18 load_atom4_fallback(uint32_t memop, uintptr_t ra) "mop:0x%"PRIx32", ra:0x%"PRIxPTR"" 19 load_atom8_or_exit_fallback(uintptr_t ra) "ra:0x%"PRIxPTR"" 20 load_atom8_fallback(uint32_t memop, uintptr_t ra) "mop:0x%"PRIx32", ra:0x%"PRIxPTR"" 21 load_atom16_fallback(uint32_t memop, uintptr_t ra) "mop:0x%"PRIx32", ra:0x%"PRIxPTR"" 22 load_atom16_or_exit_fallback(uintptr_t ra) "ra:0x%"PRIxPTR"" 23 store_atom2_fallback(uint32_t memop, uintptr_t ra) "mop:0x%"PRIx32", ra:0x%"PRIxPTR"" [all …]
|
/openbmc/linux/arch/riscv/mm/ |
H A D | init.c | 74 uintptr_t _dtb_early_pa __initdata; 357 return (pte_t *)((uintptr_t)pa); in get_pte_virt_early() 371 static inline phys_addr_t __init alloc_pte_early(uintptr_t va) in alloc_pte_early() 380 static inline phys_addr_t __init alloc_pte_fixmap(uintptr_t va) in alloc_pte_fixmap() 385 static phys_addr_t __init alloc_pte_late(uintptr_t va) in alloc_pte_late() 394 uintptr_t va, phys_addr_t pa, in create_pte_mapping() 397 uintptr_t pte_idx = pte_index(va); in create_pte_mapping() 440 return (pmd_t *)((uintptr_t)pa); in get_pmd_virt_early() 454 static phys_addr_t __init alloc_pmd_early(uintptr_t va) in alloc_pmd_early() 458 return (uintptr_t)early_pmd; in alloc_pmd_early() [all …]
|
/openbmc/u-boot/arch/arm/mach-snapdragon/ |
H A D | clock-snapdragon.h | 15 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 D | xor_avx.h | 49 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/u-boot/arch/x86/lib/ |
H A D | relocate.c | 27 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/linux/mm/kmsan/ |
H A D | instrumentation.c | 21 static inline bool is_bad_asm_addr(void *addr, uintptr_t size, bool is_store) in is_bad_asm_addr() 49 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() 156 void *__msan_memmove(void *dst, const void *src, uintptr_t n); 157 void *__msan_memmove(void *dst, const void *src, uintptr_t n) in __msan_memmove() 181 void *__msan_memcpy(void *dst, const void *src, uintptr_t n); [all …]
|
/openbmc/qemu/util/ |
H A D | cacheflush.c | 242 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/qemu/hw/mips/ |
H A D | loongson3_bootp.c | 116 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 D | semihosting.c | 23 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 D | api.c | 54 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() 201 di = (struct device_info *)va_arg(ap, uintptr_t); in API_dev_enum() 235 di = (struct device_info *)va_arg(ap, uintptr_t); in API_dev_open() 267 di = (struct device_info *)va_arg(ap, uintptr_t); in API_dev_close() 321 di = (struct device_info *)va_arg(ap, uintptr_t); in API_dev_write() 331 buf = (void *)va_arg(ap, uintptr_t); in API_dev_write() [all …]
|
/openbmc/qemu/tests/tcg/multiarch/ |
H A D | test-mmap.c | 57 uintptr_t p; in check_aligned_anonymous_unfixed_mmaps() 83 p = (uintptr_t) p1; in check_aligned_anonymous_unfixed_mmaps() 86 p = (uintptr_t) p2; in check_aligned_anonymous_unfixed_mmaps() 88 p = (uintptr_t) p3; in check_aligned_anonymous_unfixed_mmaps() 90 p = (uintptr_t) p4; in check_aligned_anonymous_unfixed_mmaps() 92 p = (uintptr_t) p5; 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() 148 p = (uintptr_t) p1; in check_aligned_anonymous_unfixed_colliding_mmaps() [all …]
|
/openbmc/qemu/tests/tcg/aarch64/system/ |
H A D | semiheap.c | 15 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()
|
/openbmc/u-boot/arch/arm/mach-rockchip/ |
H A D | rk3368-board-tpl.c | 27 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/linux/arch/powerpc/net/ |
H A D | bpf_jit.h | 55 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/include/hw/core/ |
H A D | tcg-cpu-ops.h | 90 bool maperr, uintptr_t ra); 113 MMUAccessType access_type, uintptr_t ra); 159 MemOp memop, int size, bool probe, uintptr_t ra); 169 bool probe, uintptr_t retaddr); 177 MemTxResult response, uintptr_t retaddr); 184 int mmu_idx, uintptr_t retaddr); 225 MemTxAttrs atr, int fl, uintptr_t ra) in cpu_check_watchpoint() 250 MemTxAttrs attrs, int flags, uintptr_t ra);
|
/openbmc/qemu/target/s390x/ |
H A D | s390x-internal.h | 277 bool maperr, uintptr_t retaddr); 279 MMUAccessType access_type, uintptr_t retaddr); 283 bool probe, uintptr_t retaddr); 286 uintptr_t retaddr); 359 void ioinst_handle_xsch(S390CPU *cpu, uint64_t reg1, uintptr_t ra); 360 void ioinst_handle_csch(S390CPU *cpu, uint64_t reg1, uintptr_t ra); 361 void ioinst_handle_hsch(S390CPU *cpu, uint64_t reg1, uintptr_t ra); 363 uintptr_t ra); 365 uintptr_t ra); 366 void ioinst_handle_stcrw(S390CPU *cpu, uint32_t ipb, uintptr_t ra); [all …]
|
/openbmc/qemu/tests/tcg/aarch64/ |
H A D | semicall.h | 10 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/riscv64/ |
H A D | semicall.h | 10 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()
|