Searched refs:sign_extend (Results 1 – 9 of 9) sorted by relevance
| /Linux-v4.19/arch/arc/include/asm/ |
| D | disasm.h | 44 #define FIELD_s12(word) sign_extend(((BITS((word), 0, 5) << 6) | \ 49 #define FIELD_s9(word) sign_extend(((BITS(word, 15, 15) << 8) | \ 51 #define FIELD_s21(word) sign_extend(((BITS(word, 6, 15) << 11) | \ 53 #define FIELD_s25(word) sign_extend(((BITS(word, 0, 3) << 21) | \ 67 #define FIELD_S_s7(word) sign_extend(BITS((word), 0, 5) << 1, 9) 68 #define FIELD_S_s8(word) sign_extend(BITS((word), 0, 7) << 1, 9) 69 #define FIELD_S_s9(word) sign_extend(BITS((word), 0, 8), 9) 70 #define FIELD_S_s10(word) sign_extend(BITS((word), 0, 8) << 1, 10) 71 #define FIELD_S_s11(word) sign_extend(BITS((word), 0, 8) << 2, 11) 72 #define FIELD_S_s13(word) sign_extend(BITS((word), 0, 10) << 2, 13) [all …]
|
| /Linux-v4.19/virt/kvm/arm/ |
| D | mmio.c | 108 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-v4.19/arch/sh/kernel/ |
| D | traps_32.c | 51 static inline void sign_extend(unsigned int count, unsigned char *dst) in sign_extend() function 127 sign_extend(count, dst); in handle_unaligned_ins() 189 sign_extend(count, dst); in handle_unaligned_ins() 219 sign_extend(2, dst); in handle_unaligned_ins() 238 sign_extend(2, dst); in handle_unaligned_ins()
|
| /Linux-v4.19/arch/arm64/include/asm/ |
| D | kvm_mmio.h | 30 bool sign_extend; member
|
| /Linux-v4.19/arch/arm/include/asm/ |
| D | kvm_mmio.h | 28 bool sign_extend; member
|
| /Linux-v4.19/arch/arm/probes/ |
| D | decode-arm.c | 27 #define sign_extend(x, signbit) ((x) | (0 - ((x) & (1 << (signbit))))) macro 29 #define branch_displacement(insn) sign_extend(((insn) & 0xffffff) << 2, 25)
|
| /Linux-v4.19/arch/nds32/mm/ |
| D | alignment.c | 173 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-v4.19/drivers/net/wireless/mediatek/mt76/mt76x0/ |
| D | eeprom.c | 40 sign_extend(u32 val, unsigned int size) in sign_extend() function 185 dev->ee->temp_off = sign_extend(temp, 8); in mt76x0_set_temp_offset()
|
| /Linux-v4.19/arch/powerpc/kvm/ |
| D | powerpc.c | 1197 int is_default_endian, int sign_extend) in __kvmppc_handle_load() argument 1222 vcpu->arch.mmio_sign_extend = sign_extend; in __kvmppc_handle_load()
|