| /tools/objtool/arch/x86/ |
| A D | decode.c | 161 unsigned char op1, op2, op3, prefix, in arch_decode_instruction() local 189 op2 = ins.opcode.bytes[1]; in arch_decode_instruction() 527 if (op2 == 0x01) { in arch_decode_instruction() 543 } else if (op2 >= 0x80 && op2 <= 0x8f) { in arch_decode_instruction() 547 } else if (op2 == 0x05 || op2 == 0x34) { in arch_decode_instruction() 552 } else if (op2 == 0x07 || op2 == 0x35) { in arch_decode_instruction() 557 } else if (op2 == 0x0b || op2 == 0xb9) { in arch_decode_instruction() 562 } else if (op2 == 0x0d || op2 == 0x1f) { in arch_decode_instruction() 567 } else if (op2 == 0x1e) { in arch_decode_instruction() 580 } else if (op2 == 0xa0 || op2 == 0xa8) { in arch_decode_instruction() [all …]
|
| /tools/perf/arch/x86/util/ |
| A D | cpuid.h | 7 cpuid(unsigned int op, unsigned int op2, unsigned int *a, unsigned int *b, in cpuid() argument 29 : "a"(op), "2"(op2)); in cpuid()
|
| /tools/testing/selftests/sgx/ |
| A D | test_encl.c | 94 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()
|
| /tools/arch/arm64/include/uapi/asm/ |
| A D | kvm.h | 247 #define __ARM64_SYS_REG(op0,op1,crn,crm,op2) \ argument 253 ARM64_SYS_REG_SHIFT_MASK(op2, OP2)) 545 #define KVM_ARM_FEATURE_ID_RANGE_IDX(op0, op1, crn, crm, op2) \ argument 549 (__op1 << 6 | ((crm) & 7) << 3 | (op2)); \
|
| /tools/arch/arm64/include/asm/ |
| A D | esr.h | 215 #define ESR_ELx_SYS64_ISS_SYS_VAL(op0, op1, op2, crn, crm) \ argument 218 ((op2) << ESR_ELx_SYS64_ISS_OP2_SHIFT) | \ 331 #define ESR_ELx_CP15_32_ISS_SYS_VAL(op1, op2, crn, crm) \ argument 333 ((op2) << ESR_ELx_CP15_32_ISS_OP2_SHIFT) | \
|
| A D | sysreg.h | 39 #define sys_reg(op0, op1, crn, crm, op2) \ argument 42 ((op2) << Op2_shift)) 91 #define pstate_field(op1, op2) ((op1) << Op1_shift | (op2) << Op2_shift) argument 115 #define __SYS_BARRIER_INSN(CRm, op2, Rt) \ argument 116 __emit_inst(0xd5000000 | sys_insn(0, 3, 3, (CRm), (op2)) | ((Rt) & 0x1f)) 443 #define SYS_AM_EL0(crm, op2) sys_reg(3, 3, 13, (crm), (op2)) argument
|
| /tools/arch/arm/include/uapi/asm/ |
| A D | kvm.h | 166 #define __ARM_CP15_REG(op1,crn,crm,op2) \ argument 171 ARM_CP15_REG_SHIFT_MASK(op2, 32_OPC2))
|
| /tools/testing/selftests/kvm/arm64/ |
| A D | get-reg-list.c | 209 unsigned op0, op1, crn, crm, op2; in print_reg() local 263 op2 = (id & KVM_REG_ARM64_SYSREG_OP2_MASK) >> KVM_REG_ARM64_SYSREG_OP2_SHIFT; in print_reg() 264 TEST_ASSERT(id == ARM64_SYS_REG(op0, op1, crn, crm, op2), in print_reg() 266 printf("\tARM64_SYS_REG(%d, %d, %d, %d, %d),\n", op0, op1, crn, crm, op2); in print_reg()
|