Home
last modified time | relevance | path

Searched refs:sign_extend (Results 1 - 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/arch/arc/include/asm/
H A 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(BIT
90 static inline int sign_extend(int value, int bits) sign_extend() function
[all...]
/kernel/linux/linux-6.6/arch/arc/include/asm/
H A 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(BIT
90 static inline int sign_extend(int value, int bits) sign_extend() function
[all...]
/kernel/linux/linux-5.10/arch/sh/kernel/
H A 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()
/kernel/linux/linux-6.6/arch/sh/kernel/
H A Dtraps_32.c48 static inline void sign_extend(unsigned int count, unsigned char *dst) in sign_extend() function
141 sign_extend(count, dst); in handle_unaligned_ins()
203 sign_extend(count, dst); in handle_unaligned_ins()
233 sign_extend(2, dst); in handle_unaligned_ins()
252 sign_extend(2, dst); in handle_unaligned_ins()
/kernel/linux/linux-6.6/arch/arm64/net/
H A Dbpf_jit_comp.c783 bool sign_extend; in build_insn() local
1180 sign_extend = (BPF_MODE(insn->code) == BPF_MEMSX || in build_insn()
1185 if (sign_extend) in build_insn()
1191 if (sign_extend) in build_insn()
1199 if (sign_extend) in build_insn()
1205 if (sign_extend) in build_insn()
1213 if (sign_extend) in build_insn()
1219 if (sign_extend) in build_insn()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
H A Ddma_local.h148 bool sign_extend; member
H A Ddma.c259 ch->sign_extend = DMA_GET_EXTENSION(dma_reg_load(ID, in dma_get_state()
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
H A Ddma_local.h148 bool sign_extend; member
H A Ddma.c259 ch->sign_extend = DMA_GET_EXTENSION(dma_reg_load(ID, in dma_get_state()
/kernel/linux/linux-5.10/arch/nds32/mm/
H A 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()
/kernel/linux/linux-5.10/arch/arm/probes/
H A 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)
/kernel/linux/linux-6.6/arch/arm/probes/
H A 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)
/kernel/linux/linux-6.6/arch/s390/net/
H A Dbpf_jit_comp.c744 static int sign_extend(struct bpf_jit *jit, int r, u8 size, u8 flags) in sign_extend() function
1437 if (sign_extend(jit, BPF_REG_1 + j, in bpf_jit_insn()
2158 if (sign_extend(jit, REG_2, m->ret_size, m->ret_flags)) in invoke_bpf_prog()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
H A Dpowerpc.c1227 int is_default_endian, int sign_extend) in __kvmppc_handle_load()
1253 vcpu->arch.mmio_sign_extend = sign_extend; in __kvmppc_handle_load()
1225 __kvmppc_handle_load(struct kvm_vcpu *vcpu, unsigned int rt, unsigned int bytes, int is_default_endian, int sign_extend) __kvmppc_handle_load() argument
/kernel/linux/linux-6.6/arch/powerpc/kvm/
H A Dpowerpc.c1257 int is_default_endian, int sign_extend) in __kvmppc_handle_load()
1281 vcpu->arch.mmio_sign_extend = sign_extend; in __kvmppc_handle_load()
1255 __kvmppc_handle_load(struct kvm_vcpu *vcpu, unsigned int rt, unsigned int bytes, int is_default_endian, int sign_extend) __kvmppc_handle_load() argument
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/debug/src/
H A Dia_css_debug.c1128 ch->sign_extend); in ia_css_debug_dump_dma_state()
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/runtime/debug/src/
H A Dia_css_debug.c1127 ch->sign_extend); in ia_css_debug_dump_dma_state()

Completed in 26 milliseconds