Home
last modified time | relevance | path

Searched refs:sign_extend (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/arch/arc/include/asm/
Ddisasm.h41 #define FIELD_s12(word) sign_extend(((BITS((word), 0, 5) << 6) | \
46 #define FIELD_s9(word) sign_extend(((BITS(word, 15, 15) << 8) | \
48 #define FIELD_s21(word) sign_extend(((BITS(word, 6, 15) << 11) | \
50 #define FIELD_s25(word) sign_extend(((BITS(word, 0, 3) << 21) | \
64 #define FIELD_S_s7(word) sign_extend(BITS((word), 0, 5) << 1, 9)
65 #define FIELD_S_s8(word) sign_extend(BITS((word), 0, 7) << 1, 9)
66 #define FIELD_S_s9(word) sign_extend(BITS((word), 0, 8), 9)
67 #define FIELD_S_s10(word) sign_extend(BITS((word), 0, 8) << 1, 10)
68 #define FIELD_S_s11(word) sign_extend(BITS((word), 0, 8) << 2, 11)
69 #define FIELD_S_s13(word) sign_extend(BITS((word), 0, 10) << 2, 13)
[all …]
/Linux-v5.4/virt/kvm/arm/
Dmmio.c102 if (vcpu->arch.mmio_decode.sign_extend && in kvm_handle_mmio_return()
127 bool sign_extend; in decode_hsr() local
140 sign_extend = kvm_vcpu_dabt_issext(vcpu); in decode_hsr()
144 vcpu->arch.mmio_decode.sign_extend = sign_extend; in decode_hsr()
/Linux-v5.4/arch/sh/kernel/
Dtraps_32.c48 static inline void sign_extend(unsigned int count, unsigned char *dst) in sign_extend() function
124 sign_extend(count, dst); in handle_unaligned_ins()
186 sign_extend(count, dst); in handle_unaligned_ins()
216 sign_extend(2, dst); in handle_unaligned_ins()
235 sign_extend(2, dst); in handle_unaligned_ins()
/Linux-v5.4/arch/arm/include/asm/
Dkvm_mmio.h16 bool sign_extend; member
/Linux-v5.4/arch/arm64/include/asm/
Dkvm_mmio.h19 bool sign_extend; member
/Linux-v5.4/arch/arm/probes/
Ddecode-arm.c19 #define sign_extend(x, signbit) ((x) | (0 - ((x) & (1 << (signbit))))) macro
21 #define branch_displacement(insn) sign_extend(((insn) & 0xffffff) << 2, 25)
/Linux-v5.4/arch/nds32/mm/
Dalignment.c173 static inline unsigned long sign_extend(unsigned long val, int len) in sign_extend() function
489 sign_extend(target_val, len); in do_32()
/Linux-v5.4/arch/powerpc/kvm/
Dpowerpc.c1224 int is_default_endian, int sign_extend) in __kvmppc_handle_load() argument
1249 vcpu->arch.mmio_sign_extend = sign_extend; in __kvmppc_handle_load()