Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/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,
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_gpu_commands.h252 #define MI_MATH_INSTR(opcode, op1, op2) ((opcode) << 20 | (op1) << 10 | (op2)) argument
255 #define MI_MATH_LOAD(op1, op2) MI_MATH_INSTR(0x080, op1, op2) argument
256 #define MI_MATH_LOADINV(op1, op2) MI_MATH_INSTR(0x480, op1, op2) argument
264 #define MI_MATH_STORE(op1, op2) MI_MATH_INSTR(0x180, op1, op2) argument
265 #define MI_MATH_STOREINV(op1, op2) MI_MATH_INSTR(0x580, op1, op2) argument
/kernel/linux/linux-5.10/tools/objtool/arch/x86/
Ddecode.c95 unsigned char op1, op2, rex = 0, rex_b = 0, rex_r = 0, rex_w = 0, in arch_decode_instruction() local
120 op2 = insn.opcode.bytes[1]; in arch_decode_instruction()
400 if (op2 == 0x01) { in arch_decode_instruction()
407 } else if (op2 >= 0x80 && op2 <= 0x8f) { in arch_decode_instruction()
411 } else if (op2 == 0x05 || op2 == 0x07 || op2 == 0x34 || in arch_decode_instruction()
412 op2 == 0x35) { in arch_decode_instruction()
417 } else if (op2 == 0x0b || op2 == 0xb9) { in arch_decode_instruction()
422 } else if (op2 == 0x0d || op2 == 0x1f) { in arch_decode_instruction()
427 } else if (op2 == 0xa0 || op2 == 0xa8) { in arch_decode_instruction()
435 } else if (op2 == 0xa1 || op2 == 0xa9) { in arch_decode_instruction()
/kernel/linux/linux-5.10/arch/arc/include/asm/
Datomic.h255 #define ATOMIC64_OP(op, op1, op2) \
264 " " #op2 " %H0, %H0, %H2 \n" \
272 #define ATOMIC64_OP_RETURN(op, op1, op2) \
283 " " #op2 " %H0, %H0, %H2 \n" \
295 #define ATOMIC64_FETCH_OP(op, op1, op2) \
306 " " #op2 " %H1, %H0, %H3 \n" \
318 #define ATOMIC64_OPS(op, op1, op2) \
319 ATOMIC64_OP(op, op1, op2) \
320 ATOMIC64_OP_RETURN(op, op1, op2) \
321 ATOMIC64_FETCH_OP(op, op1, op2)
/kernel/liteos_m/arch/risc-v/nuclei/gcc/nmsis/Core/Include/
Dcore_compatiable.h172 __STATIC_FORCEINLINE uint32_t __ROR(uint32_t op1, uint32_t op2) in __ROR() argument
174 op2 = op2 & 0x1F; in __ROR()
175 if (op2 == 0U) { in __ROR()
178 return (op1 >> op2) | (op1 << (32U - op2)); in __ROR()
Dcore_feature_dsp.h18558 __STATIC_FORCEINLINE int32_t __SMUADX (int32_t op1, int32_t op2) in __SMUADX() argument
18560 return (int32_t)__RV_KMXDA(op1, op2); in __SMUADX()
18567 __STATIC_FORCEINLINE int32_t __SMLAD(int32_t op1, int32_t op2, int32_t op3) in __SMLAD() argument
18569 return (int32_t)__RV_KMADA(op3, op1, op2); in __SMLAD()
18572 __STATIC_FORCEINLINE int32_t __SMLADX(int32_t op1, int32_t op2, int32_t op3) in __SMLADX() argument
18574 return (int32_t)__RV_KMAXDA(op3, op1, op2); in __SMLADX()
18577 __STATIC_FORCEINLINE int32_t __SMLSDX(int32_t op1, int32_t op2, int32_t op3) in __SMLSDX() argument
18579 return (op3 - (int32_t)__RV_SMXDS(op1, op2)); in __SMLSDX()
18582 __STATIC_FORCEINLINE int64_t __SMLALD(int32_t op1, int32_t op2, int64_t acc) in __SMLALD() argument
18584 return (int64_t)__RV_SMALDA(acc, op1, op2); in __SMLALD()
[all …]
/kernel/linux/linux-5.10/arch/arm/include/asm/
Datomic.h304 #define ATOMIC64_OP(op, op1, op2) \ argument
314 " " #op2 " %R0, %R0, %R4\n" \
323 #define ATOMIC64_OP_RETURN(op, op1, op2) \ argument
335 " " #op2 " %R0, %R0, %R4\n" \
346 #define ATOMIC64_FETCH_OP(op, op1, op2) \ argument
358 " " #op2 " %R1, %R0, %R5\n" \
369 #define ATOMIC64_OPS(op, op1, op2) \ argument
370 ATOMIC64_OP(op, op1, op2) \
371 ATOMIC64_OP_RETURN(op, op1, op2) \
372 ATOMIC64_FETCH_OP(op, op1, op2)
[all …]
/kernel/linux/linux-5.10/lib/zlib_dfltcc/
Ddfltcc_util.h31 const Byte **op2, in dfltcc() argument
38 const Byte *t4 = op2 ? *op2 : NULL; in dfltcc()
66 if (op2) in dfltcc()
67 *op2 = t4; in dfltcc()
/kernel/linux/linux-5.10/arch/sh/kernel/
Dkprobes.c149 struct kprobe *op1, *op2; in prepare_singlestep() local
154 op2 = this_cpu_ptr(&saved_next_opcode2); in prepare_singlestep()
178 op2->addr = in prepare_singlestep()
180 op2->opcode = *(op2->addr); in prepare_singlestep()
181 arch_arm_kprobe(op2); in prepare_singlestep()
188 op2->addr = in prepare_singlestep()
190 op2->opcode = *(op2->addr); in prepare_singlestep()
191 arch_arm_kprobe(op2); in prepare_singlestep()
/kernel/linux/linux-5.10/arch/sparc/kernel/
Duprobes.c60 u32 op2 = (insn >> 22) & 0x7; in arch_uprobe_copy_ixol() local
63 (op2 == 1 || op2 == 2 || op2 == 3 || op2 == 5 || op2 == 6) && in arch_uprobe_copy_ixol()
/kernel/linux/linux-5.10/arch/x86/crypto/
Dcast6-avx-x86_64-asm_64.S85 #define lookup_32bit(src, dst, op1, op2, op3, interleave_op, il_reg) \ argument
94 op2 s3(, RID1, 4), dst ## d; \
111 #define F_tail(a, x, gi1, gi2, op1, op2, op3) \ argument
112 lookup_32bit(##gi1, RFS1, op1, op2, op3, shr_next, ##gi1); \
113 lookup_32bit(##gi2, RFS3, op1, op2, op3, shr_next, ##gi2); \
115 lookup_32bit(##gi1, RFS2, op1, op2, op3, dummy, none); \
118 lookup_32bit(##gi2, RFS1, op1, op2, op3, dummy, none); \
125 #define F_2(a1, b1, a2, b2, op0, op1, op2, op3) \ argument
129 F_tail(b1, RX, RGI1, RGI2, op1, op2, op3); \
130 F_tail(b2, RTMP, RGI3, RGI4, op1, op2, op3); \
Dcast5-avx-x86_64-asm_64.S85 #define lookup_32bit(src, dst, op1, op2, op3, interleave_op, il_reg) \ argument
94 op2 s3(, RID1, 4), dst ## d; \
111 #define F_tail(a, x, gi1, gi2, op1, op2, op3) \ argument
112 lookup_32bit(##gi1, RFS1, op1, op2, op3, shr_next, ##gi1); \
113 lookup_32bit(##gi2, RFS3, op1, op2, op3, shr_next, ##gi2); \
115 lookup_32bit(##gi1, RFS2, op1, op2, op3, dummy, none); \
118 lookup_32bit(##gi2, RFS1, op1, op2, op3, dummy, none); \
125 #define F_2(a1, b1, a2, b2, op0, op1, op2, op3) \ argument
129 F_tail(b1, RX, RGI1, RGI2, op1, op2, op3); \
130 F_tail(b2, RTMP, RGI3, RGI4, op1, op2, op3); \
/kernel/linux/linux-5.10/arch/powerpc/math-emu/
Dmath.c28 #define FLOATFUNC(x) static inline int x(void *op1, void *op2, void *op3, \
228 void *op0 = 0, *op1 = 0, *op2 = 0, *op3 = 0; 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 *)((insn >> 18) & 0x7); in do_mathemu()
435 eflag = func(op0, op1, op2, op3); in do_mathemu()
/kernel/linux/linux-5.10/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()
526 void host1x_cdma_push(struct host1x_cdma *cdma, u32 op1, u32 op2) in host1x_cdma_push() argument
534 op1, op2); in host1x_cdma_push()
544 host1x_pushbuffer_push(pb, op1, op2); in host1x_cdma_push()
556 void host1x_cdma_push_wide(struct host1x_cdma *cdma, u32 op1, u32 op2, in host1x_cdma_push_wide() argument
566 trace_host1x_cdma_push_wide(dev_name(channel->dev), op1, op2, in host1x_cdma_push_wide()
596 host1x_pushbuffer_push(pb, op1, op2); in host1x_cdma_push_wide()
Dcdma.h81 void host1x_cdma_push(struct host1x_cdma *cdma, u32 op1, u32 op2);
82 void host1x_cdma_push_wide(struct host1x_cdma *cdma, u32 op1, u32 op2,
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Desr.h179 #define ESR_ELx_SYS64_ISS_SYS_VAL(op0, op1, op2, crn, crm) \ argument
182 ((op2) << ESR_ELx_SYS64_ISS_OP2_SHIFT) | \
288 #define ESR_ELx_CP15_32_ISS_SYS_VAL(op1, op2, crn, crm) \ argument
290 ((op2) << ESR_ELx_CP15_32_ISS_OP2_SHIFT) | \
Dsysreg.h36 #define sys_reg(op0, op1, crn, crm, op2) \ argument
39 ((op2) << Op2_shift))
88 #define pstate_field(op1, op2) ((op1) << Op1_shift | (op2) << Op2_shift) argument
101 #define __SYS_BARRIER_INSN(CRm, op2, Rt) \ argument
102 __emit_inst(0xd5000000 | sys_insn(0, 3, 3, (CRm), (op2)) | ((Rt) & 0x1f))
413 #define SYS_AM_EL0(crm, op2) sys_reg(3, 3, 13, (crm), (op2)) argument
/kernel/linux/linux-5.10/drivers/gpu/host1x/hw/
Dchannel_hw.c61 u32 op2, op3; in submit_gathers() local
63 op2 = lower_32_bits(addr); in submit_gathers()
73 host1x_cdma_push_wide(cdma, op1, op2, op3, op4); in submit_gathers()
82 host1x_cdma_push(cdma, op1, op2); in submit_gathers()
/kernel/linux/linux-5.10/lib/zstd/
Dhuf_decompress.c278 BYTE *op2 = opStart2; in HUF_decompress4X2_usingDTable_internal() local
312 HUF_DECODE_SYMBOLX2_2(op2, &bitD2); in HUF_decompress4X2_usingDTable_internal()
316 HUF_DECODE_SYMBOLX2_1(op2, &bitD2); in HUF_decompress4X2_usingDTable_internal()
320 HUF_DECODE_SYMBOLX2_2(op2, &bitD2); in HUF_decompress4X2_usingDTable_internal()
324 HUF_DECODE_SYMBOLX2_0(op2, &bitD2); in HUF_decompress4X2_usingDTable_internal()
333 if (op2 > opStart3) in HUF_decompress4X2_usingDTable_internal()
341 HUF_decodeStreamX2(op2, &bitD2, opStart3, dt, dtLog); in HUF_decompress4X2_usingDTable_internal()
737 BYTE *op2 = opStart2; in HUF_decompress4X4_usingDTable_internal() local
771 HUF_DECODE_SYMBOLX4_2(op2, &bitD2); in HUF_decompress4X4_usingDTable_internal()
775 HUF_DECODE_SYMBOLX4_1(op2, &bitD2); in HUF_decompress4X4_usingDTable_internal()
[all …]
/kernel/linux/linux-5.10/arch/s390/net/
Dbpf_jit_comp.c199 #define _EMIT6(op1, op2) \ argument
203 *(u16 *) (jit->prg_buf + jit->prg + 4) = (op2); \
208 #define _EMIT6_DISP(op1, op2, disp) \ argument
211 _EMIT6((op1) | __disp, op2); \
214 #define _EMIT6_DISP_LH(op1, op2, disp) \ argument
219 _EMIT6((op1) | __disp_l, (op2) | __disp_h >> 4); \
222 #define EMIT6_DISP_LH(op1, op2, b1, b2, b3, disp) \ argument
225 reg_high(b3) << 8, op2, disp); \
231 #define EMIT6_PCREL_RIEB(op1, op2, b1, b2, mask, target) \ argument
235 (op2) | (mask) << 12); \
[all …]
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-arm64/asm/
Dkvm.h121 #define __ARM64_SYS_REG(op0,op1,crn,crm,op2) \ argument
127 ARM64_SYS_REG_SHIFT_MASK(op2, OP2))
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-arm/asm/
Dkvm.h109 #define __ARM_CP15_REG(op1,crn,crm,op2) \ argument
114 ARM_CP15_REG_SHIFT_MASK(op2, 32_OPC2))
/kernel/linux/linux-5.10/tools/arch/arm/include/uapi/asm/
Dkvm.h166 #define __ARM_CP15_REG(op1,crn,crm,op2) \ argument
171 ARM_CP15_REG_SHIFT_MASK(op2, 32_OPC2))

12