Home
last modified time | relevance | path

Searched refs:sign_extend64 (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/arch/loongarch/kernel/
H A Dinst.c26 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 Dkgdb.c312 *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 Dalternative.c77 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 Dsyscall.h38 val = sign_extend64(val, 31); in syscall_get_return_value()
H A Dptrace.h331 val = sign_extend64(val, 31); in regs_return_value()
H A Dmemory.h241 ((__force __typeof__(addr))sign_extend64((__force u64)(addr), 55))
/openbmc/linux/arch/arm64/kernel/probes/
H A Dsimulate-insn.c94 imm = sign_extend64(imm, 20); in simulate_adr_adrp()
/openbmc/linux/arch/riscv/kernel/probes/
H A Dsimulate-insn.c94 #define auipc_offset(opcode) sign_extend64(auipc_imm(opcode), 31)
/openbmc/linux/arch/x86/events/
H A Dmsr.c254 delta = sign_extend64(delta, 31); in msr_event_update()
/openbmc/linux/include/linux/
H A Dbitops.h198 static __always_inline __s64 sign_extend64(__u64 value, int index) in sign_extend64() function
/openbmc/linux/drivers/power/supply/
H A Dmax17042_battery.c358 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 Dintel_gpu_commands.h458 return sign_extend64(address, GEN8_HIGH_ADDRESS_BIT); in gen8_canonical_addr()
/openbmc/linux/arch/s390/kvm/
H A Dkvm-s390.h129 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 Dinst.h34 (sign_extend64(((addr & ADDR_IMMMASK_##INSN) >> ADDR_IMMSHIFT_##INSN), ADDR_IMMSBIDX_##INSN))
/openbmc/linux/drivers/hwmon/
H A Dltc2947-core.c214 *val = sign_extend64(__val, (8 * size) - 1); in ltc2947_val_read()
/openbmc/linux/arch/csky/kernel/
H A Dperf_event.c927 uint64_t new_raw_count = sign_extend64( in csky_perf_event_update()
/openbmc/linux/arch/x86/kvm/vmx/
H A Dnested.c4997 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()