/openbmc/linux/arch/loongarch/kernel/ |
H A D | inst.c | 26 regs->regs[rd] = pc + sign_extend64(imm << 2, 21); in simu_pc() 29 regs->regs[rd] = pc + sign_extend64(imm << 12, 31); in simu_pc() 32 regs->regs[rd] = pc + sign_extend64(imm << 18, 37); in simu_pc() 35 regs->regs[rd] = pc + sign_extend64(imm << 12, 31); in simu_pc() 92 regs->csr_era = pc + sign_extend64(imm << 2, 17); in simu_branch() 98 regs->csr_era = pc + sign_extend64(imm << 2, 17); in simu_branch() 104 regs->csr_era = pc + sign_extend64(imm << 2, 17); in simu_branch() 110 regs->csr_era = pc + sign_extend64(imm << 2, 17); in simu_branch() 116 regs->csr_era = pc + sign_extend64(imm << 2, 17); in simu_branch() 122 regs->csr_era = pc + sign_extend64(imm << 2, 17); in simu_branch() [all …]
|
H A D | kgdb.c | 312 *next_addr = pc + sign_extend64((si_h << 16 | si_l) << 2, 27); in get_step_address() 315 *next_addr = pc + sign_extend64((si_h << 16 | si_l) << 2, 27); in get_step_address() 328 *next_addr = pc + sign_extend64((si_h << 16 | si_l) << 2, 22); in get_step_address() 332 *next_addr = pc + sign_extend64((si_h << 16 | si_l) << 2, 22); in get_step_address() 348 *next_addr = pc + sign_extend64(si << 2, 17); in get_step_address() 352 *next_addr = pc + sign_extend64(si << 2, 17); in get_step_address() 356 *next_addr = pc + sign_extend64(si << 2, 17); in get_step_address() 360 *next_addr = pc + sign_extend64(si << 2, 17); in get_step_address() 364 *next_addr = pc + sign_extend64(si << 2, 17); in get_step_address() 368 *next_addr = pc + sign_extend64(si << 2, 17); in get_step_address() [all …]
|
H A D | alternative.c | 77 jump_addr = cur_pc + sign_extend64((si_h << 16 | si_l) << 2, 27); in recompute_jump() 96 jump_addr = cur_pc + sign_extend64((si_h << 16 | si_l) << 2, 22); in recompute_jump() 115 jump_addr = cur_pc + sign_extend64(si << 2, 17); in recompute_jump()
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | syscall.h | 38 val = sign_extend64(val, 31); in syscall_get_return_value()
|
H A D | ptrace.h | 331 val = sign_extend64(val, 31); in regs_return_value()
|
H A D | memory.h | 241 ((__force __typeof__(addr))sign_extend64((__force u64)(addr), 55))
|
/openbmc/linux/arch/arm64/kernel/probes/ |
H A D | simulate-insn.c | 94 imm = sign_extend64(imm, 20); in simulate_adr_adrp()
|
/openbmc/linux/arch/riscv/kernel/probes/ |
H A D | simulate-insn.c | 94 #define auipc_offset(opcode) sign_extend64(auipc_imm(opcode), 31)
|
/openbmc/linux/arch/x86/events/ |
H A D | msr.c | 254 delta = sign_extend64(delta, 31); in msr_event_update()
|
/openbmc/linux/include/linux/ |
H A D | bitops.h | 198 static __always_inline __s64 sign_extend64(__u64 value, int index) in sign_extend64() function
|
/openbmc/linux/drivers/power/supply/ |
H A D | max17042_battery.c | 358 data64 = sign_extend64(data, 15) * 5000000ll; in max17042_get_property() 400 data64 = sign_extend64(data, 15) * 1562500ll; in max17042_get_property() 412 data64 = sign_extend64(data, 15) * 1562500ll; in max17042_get_property()
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_gpu_commands.h | 458 return sign_extend64(address, GEN8_HIGH_ADDRESS_BIT); in gen8_canonical_addr()
|
/openbmc/linux/arch/s390/kvm/ |
H A D | kvm-s390.h | 129 disp1 = sign_extend64(((vcpu->arch.sie_block->ipb & 0x0fff0000) >> 16) + in kvm_s390_get_base_disp_siy()
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | inst.h | 34 (sign_extend64(((addr & ADDR_IMMMASK_##INSN) >> ADDR_IMMSHIFT_##INSN), ADDR_IMMSBIDX_##INSN))
|
/openbmc/linux/drivers/hwmon/ |
H A D | ltc2947-core.c | 214 *val = sign_extend64(__val, (8 * size) - 1); in ltc2947_val_read()
|
/openbmc/linux/arch/csky/kernel/ |
H A D | perf_event.c | 927 uint64_t new_raw_count = sign_extend64( in csky_perf_event_update()
|
/openbmc/linux/arch/x86/kvm/vmx/ |
H A D | nested.c | 4997 off = (gva_t)sign_extend64(off, 31); in get_vmx_mem_address() 4999 off = (gva_t)sign_extend64(off, 15); in get_vmx_mem_address()
|