/linux-4.1.27/arch/arc/include/asm/ |
H A 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) 93 static inline int sign_extend(int value, int bits) sign_extend() function
|
/linux-4.1.27/arch/arm/kvm/ |
H A D | mmio.c | 109 if (vcpu->arch.mmio_decode.sign_extend && kvm_handle_mmio_return() 128 bool sign_extend; decode_hsr() local 147 sign_extend = kvm_vcpu_dabt_issext(vcpu); decode_hsr() 151 vcpu->arch.mmio_decode.sign_extend = sign_extend; decode_hsr()
|
/linux-4.1.27/arch/arm64/include/asm/ |
H A D | kvm_mmio.h | 31 bool sign_extend; member in struct:kvm_decode
|
/linux-4.1.27/arch/arm/include/asm/ |
H A D | kvm_mmio.h | 28 bool sign_extend; member in struct:kvm_decode
|
/linux-4.1.27/arch/sh/kernel/ |
H A D | traps_32.c | 49 static inline void sign_extend(unsigned int count, unsigned char *dst) sign_extend() function 125 sign_extend(count, dst); handle_unaligned_ins() 187 sign_extend(count, dst); handle_unaligned_ins() 217 sign_extend(2, dst); handle_unaligned_ins() 236 sign_extend(2, dst); handle_unaligned_ins()
|
/linux-4.1.27/arch/tile/kernel/ |
H A D | kgdb.c | 230 jump_off = sign_extend(get_JumpOff_X1(bundle), 27); get_step_address() 283 br_off = sign_extend(br_off, 17); get_step_address()
|
H A D | single_step.c | 38 #define signExtend17(val) sign_extend((val), 17)
|
/linux-4.1.27/arch/arm/probes/ |
H A 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-4.1.27/arch/tile/include/uapi/arch/ |
H A D | opcode_tilegx.h | 423 sign_extend(int n, int num_bits) sign_extend() function
|
H A D | opcode_tilepro.h | 524 sign_extend(int n, int num_bits) sign_extend() function
|
/linux-4.1.27/drivers/crypto/ccp/ |
H A D | ccp-ops.c | 616 bool sign_extend) ccp_reverse_set_dm_area() 637 if ((ksb_len != se_len) && sign_extend) { ccp_reverse_set_dm_area() 613 ccp_reverse_set_dm_area(struct ccp_dm_workarea *wa, struct scatterlist *sg, unsigned int len, unsigned int se_len, bool sign_extend) ccp_reverse_set_dm_area() argument
|
/linux-4.1.27/arch/mips/net/ |
H A D | bpf_jit.c | 500 * I: target_offset <- sign_extend(offset) b_imm()
|