Home
last modified time | relevance | path

Searched refs:op2 (Results 1 – 25 of 52) sorted by relevance

123

/linux-6.12.1/arch/arc/include/asm/
Datomic64-arcv2.h49 #define ATOMIC64_OP(op, op1, op2) \ argument
58 " " #op2 " %H0, %H0, %H2 \n" \
66 #define ATOMIC64_OP_RETURN(op, op1, op2) \ argument
75 " " #op2 " %H0, %H0, %H2 \n" \
88 #define ATOMIC64_FETCH_OP(op, op1, op2) \ argument
97 " " #op2 " %H1, %H0, %H3 \n" \
115 #define ATOMIC64_OPS(op, op1, op2) \ argument
116 ATOMIC64_OP(op, op1, op2) \
117 ATOMIC64_OP_RETURN(op, op1, op2) \
118 ATOMIC64_FETCH_OP(op, op1, op2)
[all …]
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_qmath.c13 u16 qm_mulu16(u16 op1, u16 op2) in qm_mulu16() argument
15 return (u16) (((u32) op1 * (u32) op2) >> 16); in qm_mulu16()
26 s16 qm_muls16(s16 op1, s16 op2) in qm_muls16() argument
29 if (op1 == (s16) 0x8000 && op2 == (s16) 0x8000) in qm_muls16()
32 result = ((s32) (op1) * (s32) (op2)); in qm_muls16()
42 s32 qm_add32(s32 op1, s32 op2) in qm_add32() argument
45 result = op1 + op2; in qm_add32()
46 if (op1 < 0 && op2 < 0 && result > 0) in qm_add32()
48 else if (op1 > 0 && op2 > 0 && result < 0) in qm_add32()
59 s16 qm_add16(s16 op1, s16 op2) in qm_add16() argument
[all …]
Dphy_qmath.h11 u16 qm_mulu16(u16 op1, u16 op2);
13 s16 qm_muls16(s16 op1, s16 op2);
15 s32 qm_add32(s32 op1, s32 op2);
17 s16 qm_add16(s16 op1, s16 op2);
19 s16 qm_sub16(s16 op1, s16 op2);
/linux-6.12.1/include/trace/events/
Dhost1x.h50 TP_PROTO(const char *name, u32 op1, u32 op2),
52 TP_ARGS(name, op1, op2),
57 __field(u32, op2)
63 __entry->op2 = op2;
67 __entry->name, __entry->op1, __entry->op2)
71 TP_PROTO(const char *name, u32 op1, u32 op2, u32 op3, u32 op4),
73 TP_ARGS(name, op1, op2, op3, op4),
78 __field(u32, op2)
86 __entry->op2 = op2;
92 __entry->name, __entry->op1, __entry->op2, __entry->op3,
/linux-6.12.1/tools/objtool/arch/x86/
Ddecode.c161 unsigned char op1, op2, op3, prefix, in arch_decode_instruction() local
189 op2 = ins.opcode.bytes[1]; in arch_decode_instruction()
516 if (op2 == 0x01) { in arch_decode_instruction()
532 } else if (op2 >= 0x80 && op2 <= 0x8f) { in arch_decode_instruction()
536 } else if (op2 == 0x05 || op2 == 0x07 || op2 == 0x34 || in arch_decode_instruction()
537 op2 == 0x35) { in arch_decode_instruction()
542 } else if (op2 == 0x0b || op2 == 0xb9) { in arch_decode_instruction()
547 } else if (op2 == 0x0d || op2 == 0x1f) { in arch_decode_instruction()
552 } else if (op2 == 0x1e) { in arch_decode_instruction()
558 } else if (op2 == 0x38 && op3 == 0xf8) { in arch_decode_instruction()
[all …]
/linux-6.12.1/arch/arm/include/asm/
Datomic.h311 #define ATOMIC64_OP(op, op1, op2) \ argument
321 " " #op2 " %R0, %R0, %R4\n" \
330 #define ATOMIC64_OP_RETURN(op, op1, op2) \ argument
342 " " #op2 " %R0, %R0, %R4\n" \
353 #define ATOMIC64_FETCH_OP(op, op1, op2) \ argument
365 " " #op2 " %R1, %R0, %R5\n" \
376 #define ATOMIC64_OPS(op, op1, op2) \ argument
377 ATOMIC64_OP(op, op1, op2) \
378 ATOMIC64_OP_RETURN(op, op1, op2) \
379 ATOMIC64_FETCH_OP(op, op1, op2)
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dintel_gpu_commands.h345 #define MI_MATH_INSTR(opcode, op1, op2) ((opcode) << 20 | (op1) << 10 | (op2)) argument
348 #define MI_MATH_LOAD(op1, op2) MI_MATH_INSTR(0x080, op1, op2) argument
349 #define MI_MATH_LOADINV(op1, op2) MI_MATH_INSTR(0x480, op1, op2) argument
357 #define MI_MATH_STORE(op1, op2) MI_MATH_INSTR(0x180, op1, op2) argument
358 #define MI_MATH_STOREINV(op1, op2) MI_MATH_INSTR(0x580, op1, op2) argument
/linux-6.12.1/lib/zlib_dfltcc/
Ddfltcc_util.h34 const Byte **op2, in dfltcc() argument
42 const Byte *t4 = op2 ? *op2 : NULL; in dfltcc()
94 if (op2) in dfltcc()
95 *op2 = t4; in dfltcc()
/linux-6.12.1/arch/sh/kernel/
Dkprobes.c144 struct kprobe *op1, *op2; in prepare_singlestep() local
149 op2 = this_cpu_ptr(&saved_next_opcode2); in prepare_singlestep()
173 op2->addr = in prepare_singlestep()
175 op2->opcode = *(op2->addr); in prepare_singlestep()
176 arch_arm_kprobe(op2); in prepare_singlestep()
183 op2->addr = in prepare_singlestep()
185 op2->opcode = *(op2->addr); in prepare_singlestep()
186 arch_arm_kprobe(op2); in prepare_singlestep()
/linux-6.12.1/arch/sparc/kernel/
Duprobes.c62 u32 op2 = (insn >> 22) & 0x7; in arch_uprobe_copy_ixol() local
65 (op2 == 1 || op2 == 2 || op2 == 3 || op2 == 5 || op2 == 6) && in arch_uprobe_copy_ixol()
/linux-6.12.1/tools/testing/selftests/sgx/
Dtest_encl.c94 struct encl_op_put_to_buf *op2 = op; in do_encl_op_put_to_buf() local
96 memcpy(&encl_buffer[0], &op2->value, 8); in do_encl_op_put_to_buf()
101 struct encl_op_get_from_buf *op2 = op; in do_encl_op_get_from_buf() local
103 memcpy(&op2->value, &encl_buffer[0], 8); in do_encl_op_get_from_buf()
/linux-6.12.1/arch/x86/crypto/
Dcast6-avx-x86_64-asm_64.S85 #define lookup_32bit(src, dst, op1, op2, op3, interleave_op, il_reg) \ argument
95 op2 (RID2,RID1,4), dst ## d; \
115 #define F_tail(a, x, gi1, gi2, op1, op2, op3) \ argument
116 lookup_32bit(##gi1, RFS1, op1, op2, op3, shr_next, ##gi1); \
117 lookup_32bit(##gi2, RFS3, op1, op2, op3, shr_next, ##gi2); \
119 lookup_32bit(##gi1, RFS2, op1, op2, op3, dummy, none); \
122 lookup_32bit(##gi2, RFS1, op1, op2, op3, dummy, none); \
129 #define F_2(a1, b1, a2, b2, op0, op1, op2, op3) \ argument
133 F_tail(b1, RX, RGI1, RGI2, op1, op2, op3); \
134 F_tail(b2, RTMP, RGI3, RGI4, op1, op2, op3); \
Dpolyval-clmulni_glue.c50 asmlinkage void clmul_polyval_mul(u8 *op1, const u8 *op2);
70 static void internal_polyval_mul(u8 *op1, const u8 *op2) in internal_polyval_mul() argument
74 clmul_polyval_mul(op1, op2); in internal_polyval_mul()
77 polyval_mul_non4k(op1, op2); in internal_polyval_mul()
Dcast5-avx-x86_64-asm_64.S85 #define lookup_32bit(src, dst, op1, op2, op3, interleave_op, il_reg) \ argument
95 op2 (RID2,RID1,4), dst ## d; \
115 #define F_tail(a, x, gi1, gi2, op1, op2, op3) \ argument
116 lookup_32bit(##gi1, RFS1, op1, op2, op3, shr_next, ##gi1); \
117 lookup_32bit(##gi2, RFS3, op1, op2, op3, shr_next, ##gi2); \
119 lookup_32bit(##gi1, RFS2, op1, op2, op3, dummy, none); \
122 lookup_32bit(##gi2, RFS1, op1, op2, op3, dummy, none); \
129 #define F_2(a1, b1, a2, b2, op0, op1, op2, op3) \ argument
133 F_tail(b1, RX, RGI1, RGI2, op1, op2, op3); \
134 F_tail(b2, RTMP, RGI3, RGI4, op1, op2, op3); \
/linux-6.12.1/arch/arm64/crypto/
Dpolyval-ce-glue.c46 asmlinkage void pmull_polyval_mul(u8 *op1, const u8 *op2);
61 static void internal_polyval_mul(u8 *op1, const u8 *op2) in internal_polyval_mul() argument
65 pmull_polyval_mul(op1, op2); in internal_polyval_mul()
68 polyval_mul_non4k(op1, op2); in internal_polyval_mul()
/linux-6.12.1/arch/arm64/tools/
Dgen-sysreg.awk158 op2 = $7
164 define("REG_" reg, "S" op0 "_" op1 "_C" crn "_C" crm "_" op2)
165 define("SYS_" reg, "sys_reg(" op0 ", " op1 ", " crn ", " crm ", " op2 ")")
171 define("SYS_" reg "_Op2", op2)
198 op2 = null
/linux-6.12.1/tools/perf/arch/x86/util/
Dcpuid.h7 cpuid(unsigned int op, unsigned int op2, unsigned int *a, unsigned int *b, in cpuid() argument
29 : "a"(op), "2"(op2)); in cpuid()
/linux-6.12.1/arch/powerpc/math-emu/
Dmath.c28 #define FLOATFUNC(x) static inline int x(void *op1, void *op2, void *op3, \
228 void *op0 = NULL, *op1 = NULL, *op2 = NULL, *op3 = NULL; in do_mathemu() local
334 op2 = (void *)&current->thread.TS_FPR((insn >> 11) & 0x1f); in do_mathemu()
340 op2 = (void *)&current->thread.TS_FPR((insn >> 6) & 0x1f); in do_mathemu()
346 op2 = (void *)&current->thread.TS_FPR((insn >> 11) & 0x1f); in do_mathemu()
400 op2 = (void *)&current->thread.TS_FPR((insn >> 16) & 0x1f); in do_mathemu()
407 op2 = (void *)(long)((insn >> 18) & 0x7); in do_mathemu()
435 eflag = func(op0, op1, op2, op3); in do_mathemu()
/linux-6.12.1/drivers/gpu/host1x/
Dcdma.c138 static void host1x_pushbuffer_push(struct push_buffer *pb, u32 op1, u32 op2) in host1x_pushbuffer_push() argument
144 *(p++) = op2; in host1x_pushbuffer_push()
592 void host1x_cdma_push(struct host1x_cdma *cdma, u32 op1, u32 op2) in host1x_cdma_push() argument
600 op1, op2); in host1x_cdma_push()
610 host1x_pushbuffer_push(pb, op1, op2); in host1x_cdma_push()
622 void host1x_cdma_push_wide(struct host1x_cdma *cdma, u32 op1, u32 op2, in host1x_cdma_push_wide() argument
631 trace_host1x_cdma_push_wide(dev_name(channel->dev), op1, op2, in host1x_cdma_push_wide()
655 host1x_pushbuffer_push(pb, op1, op2); in host1x_cdma_push_wide()
Dcdma.h83 void host1x_cdma_push(struct host1x_cdma *cdma, u32 op1, u32 op2);
84 void host1x_cdma_push_wide(struct host1x_cdma *cdma, u32 op1, u32 op2,
/linux-6.12.1/arch/x86/kvm/svm/
Dsvm_ops.h29 #define svm_asm2(insn, op1, op2, clobber...) \ argument
33 :: op1, op2 : clobber : fault); \
/linux-6.12.1/arch/arm64/include/uapi/asm/
Dkvm.h249 #define __ARM64_SYS_REG(op0,op1,crn,crm,op2) \ argument
255 ARM64_SYS_REG_SHIFT_MASK(op2, OP2))
527 #define KVM_ARM_FEATURE_ID_RANGE_IDX(op0, op1, crn, crm, op2) \ argument
531 (__op1 << 6 | ((crm) & 7) << 3 | (op2)); \
/linux-6.12.1/tools/arch/arm64/include/uapi/asm/
Dkvm.h249 #define __ARM64_SYS_REG(op0,op1,crn,crm,op2) \ argument
255 ARM64_SYS_REG_SHIFT_MASK(op2, OP2))
527 #define KVM_ARM_FEATURE_ID_RANGE_IDX(op0, op1, crn, crm, op2) \ argument
531 (__op1 << 6 | ((crm) & 7) << 3 | (op2)); \
/linux-6.12.1/tools/arch/arm64/include/asm/
Dsysreg.h38 #define sys_reg(op0, op1, crn, crm, op2) \ argument
41 ((op2) << Op2_shift))
90 #define pstate_field(op1, op2) ((op1) << Op1_shift | (op2) << Op2_shift) argument
111 #define __SYS_BARRIER_INSN(CRm, op2, Rt) \ argument
112 __emit_inst(0xd5000000 | sys_insn(0, 3, 3, (CRm), (op2)) | ((Rt) & 0x1f))
305 #define SYS_AM_EL0(crm, op2) sys_reg(3, 3, 13, (crm), (op2)) argument
/linux-6.12.1/arch/arm64/include/asm/
Desr.h216 #define ESR_ELx_SYS64_ISS_SYS_VAL(op0, op1, op2, crn, crm) \ argument
219 ((op2) << ESR_ELx_SYS64_ISS_OP2_SHIFT) | \
332 #define ESR_ELx_CP15_32_ISS_SYS_VAL(op1, op2, crn, crm) \ argument
334 ((op2) << ESR_ELx_CP15_32_ISS_OP2_SHIFT) | \

123