| /linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
| H A D | phy_qmath.c | 13 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 …]
|
| H A D | phy_qmath.h | 11 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/arch/arc/include/asm/ |
| H A D | atomic64-arcv2.h | 49 #define ATOMIC64_OP(op, op1, op2) \ argument 57 " " #op1 " %L0, %L0, %L2 \n" \ 66 #define ATOMIC64_OP_RETURN(op, op1, op2) \ argument 74 " " #op1 " %L0, %L0, %L2 \n" \ 88 #define ATOMIC64_FETCH_OP(op, op1, op2) \ argument 96 " " #op1 " %L1, %L0, %L3 \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/drivers/gpu/drm/i915/gt/ |
| H A D | intel_gpu_commands.h | 345 #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 350 #define MI_MATH_LOAD0(op1) MI_MATH_INSTR(0x081, op1) argument 351 #define MI_MATH_LOAD1(op1) MI_MATH_INSTR(0x481, op1) 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/arch/powerpc/math-emu/ |
| H A D | math.c | 28 #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 333 op1 = (void *)¤t->thread.TS_FPR((insn >> 16) & 0x1f); in do_mathemu() 339 op1 = (void *)¤t->thread.TS_FPR((insn >> 16) & 0x1f); in do_mathemu() 345 op1 = (void *)¤t->thread.TS_FPR((insn >> 16) & 0x1f); in do_mathemu() 354 op1 = (void *)((idx ? regs->gpr[idx] : 0) + sdisp); in do_mathemu() 364 op1 = (void *)(regs->gpr[idx] + sdisp); in do_mathemu() 373 op1 = (void *)¤t->thread.TS_FPR((insn >> 16) & 0x1f); in do_mathemu() 378 op1 = (void *)¤t->thread.TS_FPR((insn >> 11) & 0x1f); in do_mathemu() 384 op1 = (void *)((idx ? regs->gpr[idx] : 0) in do_mathemu() [all …]
|
| /linux/arch/arm/include/asm/ |
| H A D | atomic.h | 311 #define ATOMIC64_OP(op, op1, op2) \ argument 320 " " #op1 " %Q0, %Q0, %Q4\n" \ 330 #define ATOMIC64_OP_RETURN(op, op1, op2) \ argument 341 " " #op1 " %Q0, %Q0, %Q4\n" \ 353 #define ATOMIC64_FETCH_OP(op, op1, op2) \ argument 364 " " #op1 " %Q1, %Q0, %Q5\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/arch/sh/kernel/ |
| H A D | kprobes.c | 144 struct kprobe *op1, *op2; in prepare_singlestep() local 148 op1 = this_cpu_ptr(&saved_next_opcode); in prepare_singlestep() 153 op1->addr = (kprobe_opcode_t *) regs->regs[reg_nr]; in prepare_singlestep() 156 op1->addr = in prepare_singlestep() 161 op1->addr = in prepare_singlestep() 166 op1->addr = (kprobe_opcode_t *) regs->pr; in prepare_singlestep() 171 op1->addr = p->addr + 1; in prepare_singlestep() 181 op1->addr = p->addr + 2; in prepare_singlestep() 189 op1->addr = p->addr + 1; in prepare_singlestep() 192 op1->opcode = *(op1->addr); in prepare_singlestep() [all …]
|
| /linux/arch/x86/kvm/svm/ |
| H A D | svm_ops.h | 19 #define svm_asm1(insn, op1, clobber...) \ argument 23 :: op1 : clobber : fault); \ 29 #define svm_asm2(insn, op1, op2, clobber...) \ argument 33 :: op1, op2 : clobber : fault); \
|
| /linux/lib/zlib_dfltcc/ |
| H A D | dfltcc_util.h | 32 Byte **op1, in dfltcc() argument 39 Byte *t2 = op1 ? *op1 : NULL; in dfltcc() 90 if (op1) in dfltcc() 91 *op1 = t2; in dfltcc()
|
| /linux/arch/x86/crypto/ |
| H A D | cast6-avx-x86_64-asm_64.S | 85 #define lookup_32bit(src, dst, op1, op2, op3, interleave_op, il_reg) \ argument 91 op1 (RID1,RID2,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/tools/arch/arm64/include/asm/ |
| H A D | esr.h | 217 #define ESR_ELx_SYS64_ISS_SYS_VAL(op0, op1, op2, crn, crm) \ argument 219 ((op1) << ESR_ELx_SYS64_ISS_OP1_SHIFT) | \ 333 #define ESR_ELx_CP15_32_ISS_SYS_VAL(op1, op2, crn, crm) \ argument 334 (((op1) << ESR_ELx_CP15_32_ISS_OP1_SHIFT) | \ 354 #define ESR_ELx_CP15_64_ISS_SYS_VAL(op1, crm) \ argument 355 (((op1) << ESR_ELx_CP15_64_ISS_OP1_SHIFT) | \
|
| /linux/arch/arm64/include/asm/ |
| H A D | esr.h | 238 #define ESR_ELx_SYS64_ISS_SYS_VAL(op0, op1, op2, crn, crm) \ 240 ((op1) << ESR_ELx_SYS64_ISS_OP1_SHIFT) | \ 252 * op0=1, op1=3, op2=1, crn=7, crm={ 5, 10, 11, 12, 13, 14 }, WRITE (L=0) 272 * op0 = 3, op1= 0, crn = 0, {crm = 0, 4-7}, READ (L = 1) 354 #define ESR_ELx_CP15_32_ISS_SYS_VAL(op1, op2, crn, crm) \ 355 (((op1) << ESR_ELx_CP15_32_ISS_OP1_SHIFT) | \ 375 #define ESR_ELx_CP15_64_ISS_SYS_VAL(op1, crm) \ 376 (((op1) << ESR_ELx_CP15_64_ISS_OP1_SHIFT) | \ 237 ESR_ELx_SYS64_ISS_SYS_VAL(op0,op1,op2,crn,crm) global() argument 353 ESR_ELx_CP15_32_ISS_SYS_VAL(op1,op2,crn,crm) global() argument 374 ESR_ELx_CP15_64_ISS_SYS_VAL(op1,crm) global() argument
|
| H A D | sysreg.h | 42 #define sys_reg(op0, op1, crn, crm, op2) \ 43 (((op0) << Op0_shift) | ((op1) << Op1_shift) | \ 87 #define pstate_field(op1, op2) ((op1) << Op1_shift | (op2) << Op2_shift) 112 #define __SYS_BARRIER_INSN(op0, op1, CRn, CRm, op2, Rt) \ 114 sys_insn((op0), (op1), (CRn), (CRm), (op2)) | \ 436 * op0 op1 CRn CRm op2 442 * op0 op1 CRn CRm op2 40 sys_reg(op0,op1,crn,crm,op2) global() argument 83 pstate_field(op1,op2) global() argument 108 __SYS_BARRIER_INSN(op0,op1,CRn,CRm,op2,Rt) global() argument
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | vmx_ops.h | 190 #define vmx_asm1(insn, op1, error_args...) \ argument 195 : : op1 : "cc", "memory" : error, fault); \ 206 #define vmx_asm2(insn, op1, op2, error_args...) \ argument 211 : : op1, op2 : "cc", "memory" : error, fault);\
|
| /linux/drivers/gpu/host1x/ |
| H A D | cdma.h | 83 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/tools/objtool/arch/x86/ |
| H A D | decode.c | 225 unsigned char op1, op2, op3, prefix, in arch_decode_instruction() local 252 op1 = ins.opcode.bytes[0]; in arch_decode_instruction() 278 switch (op1) { in arch_decode_instruction() 299 op->src.reg = (op1 & 0x7) + 8*rex_b; in arch_decode_instruction() 311 op->dest.reg = (op1 & 0x7) + 8*rex_b; in arch_decode_instruction() 351 if (op1 & 2) { /* sign extend */ in arch_decode_instruction() 352 if (op1 & 1) { /* imm32 */ in arch_decode_instruction()
|
| /linux/lib/zstd/decompress/ |
| H A D | huf_decompress.c | 632 BYTE* op1 = ostart; in HUF_decompress4X1_usingDTable_internal_body() local 651 HUF_DECODE_SYMBOLX1_2(op1, &bitD1); in HUF_decompress4X1_usingDTable_internal_body() 655 HUF_DECODE_SYMBOLX1_1(op1, &bitD1); in HUF_decompress4X1_usingDTable_internal_body() 659 HUF_DECODE_SYMBOLX1_2(op1, &bitD1); in HUF_decompress4X1_usingDTable_internal_body() 663 HUF_DECODE_SYMBOLX1_0(op1, &bitD1); in HUF_decompress4X1_usingDTable_internal_body() 677 if (op1 > opStart2) return ERROR(corruption_detected); in HUF_decompress4X1_usingDTable_internal_body() 683 HUF_decodeStreamX1(op1, &bitD1, opStart2, dt, dtLog); in HUF_decompress4X1_usingDTable_internal_body() 1413 BYTE* op1 = ostart; in HUF_decompress4X2_usingDTable_internal_body() local 1433 HUF_DECODE_SYMBOLX2_2(op1, &bitD1); in HUF_decompress4X2_usingDTable_internal_body() 1434 HUF_DECODE_SYMBOLX2_1(op1, &bitD1); in HUF_decompress4X2_usingDTable_internal_body() [all …]
|
| /linux/arch/s390/net/ |
| H A D | bpf_jit_comp.c | 219 #define _EMIT6(op1, op2) \ argument 222 *(u32 *) (jit->prg_buf + jit->prg) = (op1); \ 228 #define _EMIT6_DISP(op1, op2, disp) \ argument 231 _EMIT6((op1) | __disp, op2); \ 234 #define _EMIT6_DISP_LH(op1, op2, disp) \ argument 239 _EMIT6((op1) | __disp_l, (op2) | __disp_h >> 4); \ 242 #define EMIT6_DISP_LH(op1, op2, b1, b2, b3, disp) \ argument 244 _EMIT6_DISP_LH((op1) | reg(b1, b2) << 16 | \ 251 #define EMIT6_PCREL_RIEB(op1, op2, b1, b2, mask, target) \ argument 254 _EMIT6((op1) | re 260 EMIT6_PCREL_RIEC(op1,op2,b1,imm,mask,target) global() argument 269 EMIT6_PCREL(op1,op2,b1,b2,i,off,mask) global() argument [all...] |
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3399-rock-pi-4a-plus.dts | 8 #include "rk3399-op1.dtsi"
|
| H A D | rk3399-rock-pi-4b-plus.dts | 8 #include "rk3399-op1.dtsi"
|
| /linux/arch/powerpc/include/asm/ |
| H A D | mpc52xx_psc.h | 203 u8 op1; /* PSC + 0x38 */ member 344 u8 op1; /* PSC + 0x48 */ member
|
| /linux/tools/testing/selftests/kvm/arm64/ |
| H A D | get-reg-list.c | 216 unsigned op0, op1, crn, crm, op2; in print_reg() 267 op1 = (id & KVM_REG_ARM64_SYSREG_OP1_MASK) >> KVM_REG_ARM64_SYSREG_OP1_SHIFT; in print_reg() 271 TEST_ASSERT(id == ARM64_SYS_REG(op0, op1, crn, crm, op2), in print_reg() 273 printf("\tARM64_SYS_REG(%d, %d, %d, %d, %d),\n", op0, op1, crn, crm, op2); in print_reg() 214 unsigned op0, op1, crn, crm, op2; print_reg() local
|
| /linux/scripts/gcc-plugins/ |
| H A D | gcc-common.h | 317 static inline gimple gimple_build_assign_with_ops(enum tree_code subcode, tree lhs, tree op1, tree … in gimple_build_assign_with_ops() argument 319 return gimple_build_assign(lhs, subcode, op1, op2 PASS_MEM_STAT); in gimple_build_assign_with_ops()
|
| H A D | latent_entropy_plugin.c | 334 static gimple create_assign(enum tree_code code, tree lhs, tree op1, in create_assign() argument 337 return gimple_build_assign_with_ops(code, lhs, op1, op2); in create_assign()
|
| /linux/arch/s390/include/asm/ |
| H A D | percpu.h | 187 #define arch_this_cpu_add(pcp, val, op1, op2, szcast) \ argument 213 op1 " %[val__],%[val__],0(%N[pair__])\n" \
|