Searched refs:sign_extend (Results 1 - 10 of 10) sorted by relevance
/linux-master/arch/arc/include/asm/ |
H A D | disasm.h | 41 #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(BIT 90 static inline int sign_extend(int value, int bits) function [all...] |
/linux-master/include/linux/iio/ |
H A D | backend.h | 21 * @sign_extend: Bool to tell if the data is sign extended. 27 bool sign_extend; member in struct:iio_backend_data_fmt
|
/linux-master/arch/sh/kernel/ |
H A D | traps_32.c | 48 static inline void sign_extend(unsigned int count, unsigned char *dst) function 141 sign_extend(count, dst); 203 sign_extend(count, dst); 233 sign_extend(2, dst); 252 sign_extend(2, dst);
|
/linux-master/arch/loongarch/net/ |
H A D | bpf_jit.c | 462 bool func_addr_fixed, sign_extend; local 953 sign_extend = BPF_MODE(insn->code) == BPF_MEMSX || 958 if (sign_extend) 964 if (sign_extend) 972 if (sign_extend) 978 if (sign_extend) 986 if (sign_extend) 992 if (sign_extend)
|
/linux-master/arch/arm/probes/ |
H A D | decode-arm.c | 19 #define sign_extend(x, signbit) ((x) | (0 - ((x) & (1 << (signbit))))) macro 21 #define branch_displacement(insn) sign_extend(((insn) & 0xffffff) << 2, 25)
|
/linux-master/drivers/iio/adc/ |
H A D | adi-axi-adc.c | 98 if (data->sign_extend)
|
H A D | ad9467.c | 448 .sign_extend = true,
|
/linux-master/arch/arm64/net/ |
H A D | bpf_jit_comp.c | 850 bool sign_extend; local 1247 sign_extend = (BPF_MODE(insn->code) == BPF_MEMSX || 1252 if (sign_extend) 1258 if (sign_extend) 1266 if (sign_extend) 1272 if (sign_extend) 1280 if (sign_extend) 1286 if (sign_extend)
|
/linux-master/arch/s390/net/ |
H A D | bpf_jit_comp.c | 747 static int sign_extend(struct bpf_jit *jit, int r, u8 size, u8 flags) function 1571 if (sign_extend(jit, BPF_REG_1 + j, 2291 if (sign_extend(jit, REG_2, m->ret_size, m->ret_flags))
|
/linux-master/arch/powerpc/kvm/ |
H A D | powerpc.c | 1251 int is_default_endian, int sign_extend) 1275 vcpu->arch.mmio_sign_extend = sign_extend; 1249 __kvmppc_handle_load(struct kvm_vcpu *vcpu, unsigned int rt, unsigned int bytes, int is_default_endian, int sign_extend) argument
|
Completed in 313 milliseconds