/linux-master/tools/perf/scripts/python/ |
H A D | powerpc-hcalls.py | 20 # opcode: { 31 # opcode: nsec 153 def hcall_table_lookup(opcode): 154 if (opcode in hcall_table): 155 return hcall_table[opcode] 157 return opcode 164 for opcode in output: 165 h_name = hcall_table_lookup(opcode) 166 time = output[opcode]['time'] 167 cnt = output[opcode]['cn [all...] |
/linux-master/arch/arm64/kernel/probes/ |
H A D | simulate-insn.h | 11 void simulate_adr_adrp(u32 opcode, long addr, struct pt_regs *regs); 12 void simulate_b_bl(u32 opcode, long addr, struct pt_regs *regs); 13 void simulate_b_cond(u32 opcode, long addr, struct pt_regs *regs); 14 void simulate_br_blr_ret(u32 opcode, long addr, struct pt_regs *regs); 15 void simulate_cbz_cbnz(u32 opcode, long addr, struct pt_regs *regs); 16 void simulate_tbz_tbnz(u32 opcode, long addr, struct pt_regs *regs); 17 void simulate_ldr_literal(u32 opcode, long addr, struct pt_regs *regs); 18 void simulate_ldrsw_literal(u32 opcode, long addr, struct pt_regs *regs);
|
H A D | simulate-insn.c | 52 static bool __kprobes check_cbz(u32 opcode, struct pt_regs *regs) argument 54 int xn = opcode & 0x1f; 56 return (opcode & (1 << 31)) ? 60 static bool __kprobes check_cbnz(u32 opcode, struct pt_regs *regs) argument 62 int xn = opcode & 0x1f; 64 return (opcode & (1 << 31)) ? 68 static bool __kprobes check_tbz(u32 opcode, struct pt_regs *regs) argument 70 int xn = opcode & 0x1f; 71 int bit_pos = ((opcode & (1 << 31)) >> 26) | ((opcode >> 1 76 check_tbnz(u32 opcode, struct pt_regs *regs) argument 88 simulate_adr_adrp(u32 opcode, long addr, struct pt_regs *regs) argument 106 simulate_b_bl(u32 opcode, long addr, struct pt_regs *regs) argument 118 simulate_b_cond(u32 opcode, long addr, struct pt_regs *regs) argument 129 simulate_br_blr_ret(u32 opcode, long addr, struct pt_regs *regs) argument 142 simulate_cbz_cbnz(u32 opcode, long addr, struct pt_regs *regs) argument 157 simulate_tbz_tbnz(u32 opcode, long addr, struct pt_regs *regs) argument 172 simulate_ldr_literal(u32 opcode, long addr, struct pt_regs *regs) argument 190 simulate_ldrsw_literal(u32 opcode, long addr, struct pt_regs *regs) argument [all...] |
/linux-master/drivers/gpu/drm/xe/instructions/ |
H A D | xe_gfx_state_commands.h | 13 #define GFX_STATE_CMD(opcode) \ 14 (XE_INSTR_GFX_STATE | REG_FIELD_PREP(GFX_STATE_OPCODE, opcode))
|
/linux-master/arch/riscv/kernel/probes/ |
H A D | simulate-insn.c | 36 bool __kprobes simulate_jal(u32 opcode, unsigned long addr, struct pt_regs *regs) argument 40 * imm [20] | imm[10:1] | imm[11] | imm[19:12] | rd | opcode 45 u32 index = (opcode >> 7) & 0x1f; 51 imm = ((opcode >> 21) & 0x3ff) << 1; 52 imm |= ((opcode >> 20) & 0x1) << 11; 53 imm |= ((opcode >> 12) & 0xff) << 12; 54 imm |= ((opcode >> 31) & 0x1) << 20; 61 bool __kprobes simulate_jalr(u32 opcode, unsigned long addr, struct pt_regs *regs) argument 65 * offset[11:0] | rs1 | 010 | rd | opcode 70 u32 imm = (opcode >> 2 101 simulate_auipc(u32 opcode, unsigned long addr, struct pt_regs *regs) argument 139 simulate_branch(u32 opcode, unsigned long addr, struct pt_regs *regs) argument 192 simulate_c_j(u32 opcode, unsigned long addr, struct pt_regs *regs) argument 216 simulate_c_jr_jalr(u32 opcode, unsigned long addr, struct pt_regs *regs, bool is_jalr) argument 243 simulate_c_jr(u32 opcode, unsigned long addr, struct pt_regs *regs) argument 248 simulate_c_jalr(u32 opcode, unsigned long addr, struct pt_regs *regs) argument 253 simulate_c_bnez_beqz(u32 opcode, unsigned long addr, struct pt_regs *regs, bool is_bnez) argument 287 simulate_c_bnez(u32 opcode, unsigned long addr, struct pt_regs *regs) argument 292 simulate_c_beqz(u32 opcode, unsigned long addr, struct pt_regs *regs) argument [all...] |
H A D | simulate-insn.h | 23 bool simulate_auipc(u32 opcode, unsigned long addr, struct pt_regs *regs); 24 bool simulate_branch(u32 opcode, unsigned long addr, struct pt_regs *regs); 25 bool simulate_jal(u32 opcode, unsigned long addr, struct pt_regs *regs); 26 bool simulate_jalr(u32 opcode, unsigned long addr, struct pt_regs *regs); 27 bool simulate_c_j(u32 opcode, unsigned long addr, struct pt_regs *regs); 28 bool simulate_c_jr(u32 opcode, unsigned long addr, struct pt_regs *regs); 29 bool simulate_c_jalr(u32 opcode, unsigned long addr, struct pt_regs *regs); 30 bool simulate_c_bnez(u32 opcode, unsigned long addr, struct pt_regs *regs); 31 bool simulate_c_beqz(u32 opcode, unsigned long addr, struct pt_regs *regs);
|
/linux-master/arch/arm/nwfpe/ |
H A D | fpopcode.h | 57 abcd arithmetic opcode (TABLES 3 & 4) 179 #define MASK_CPDT 0x0c000000 /* data processing opcode */ 191 /* Get the coprocessor number from the opcode. */ 192 #define getCoprocessorNumber(opcode) ((opcode & MASK_COPROCESSOR) >> 8) 194 /* Get the offset from the opcode. */ 195 #define getOffset(opcode) (opcode & MASK_OFFSET) 198 #define TEST_OPCODE(opcode,mask) (((opcode) 379 getTransferLength(const unsigned int opcode) argument 400 getRegisterCount(const unsigned int opcode) argument 424 getRoundingPrecision(const unsigned int opcode) argument 445 getDestinationSize(const unsigned int opcode) argument [all...] |
H A D | fpa11_cpdo.c | 14 unsigned int SingleCPDO(struct roundingData *roundData, const unsigned int opcode, FPREG * rFd); 15 unsigned int DoubleCPDO(struct roundingData *roundData, const unsigned int opcode, FPREG * rFd); 16 unsigned int ExtendedCPDO(struct roundingData *roundData, const unsigned int opcode, FPREG * rFd); 18 unsigned int EmulateCPDO(const unsigned int opcode) argument 27 nDest = getDestinationSize(opcode); 31 roundData.mode = SetRoundingMode(opcode); 32 roundData.precision = SetRoundingPrecision(opcode); 40 if (MONADIC_INSTRUCTION(opcode)) 43 nType = fpa11->fType[getFn(opcode)]; 45 if (!CONSTANT_FM(opcode)) { [all...] |
H A D | fpa11.c | 35 int8 SetRoundingMode(const unsigned int opcode) argument 37 switch (opcode & MASK_ROUNDING_MODE) { 53 int8 SetRoundingPrecision(const unsigned int opcode) argument 56 switch (opcode & MASK_ROUNDING_PRECISION) { 84 /* Emulate the instruction in the opcode. */ 85 unsigned int EmulateAll(unsigned int opcode) argument 90 printk("NWFPE: emulating opcode %08x\n", opcode); 92 code = opcode & 0x00000f00; 95 code = opcode [all...] |
H A D | fpa11_cpdt.c | 212 unsigned int PerformLDF(const unsigned int opcode) argument 215 unsigned int nRc = 1, write_back = WRITE_BACK(opcode); 217 pBase = (unsigned int __user *) readRegister(getRn(opcode)); 218 if (REG_PC == getRn(opcode)) { 224 if (BIT_UP_SET(opcode)) 225 pFinal += getOffset(opcode); 227 pFinal -= getOffset(opcode); 229 if (PREINDEXED(opcode)) 234 switch (opcode & MASK_TRANSFER_LENGTH) { 236 loadSingle(getFd(opcode), pAddres 255 PerformSTF(const unsigned int opcode) argument 306 PerformLFM(const unsigned int opcode) argument 342 PerformSFM(const unsigned int opcode) argument 378 EmulateCPDT(const unsigned int opcode) argument [all...] |
H A D | fpa11.h | 85 extern unsigned int EmulateAll(unsigned int opcode); 87 extern unsigned int EmulateCPDT(const unsigned int opcode); 88 extern unsigned int EmulateCPDO(const unsigned int opcode); 89 extern unsigned int EmulateCPRT(const unsigned int opcode); 92 extern unsigned int PerformLDF(const unsigned int opcode); 93 extern unsigned int PerformSTF(const unsigned int opcode); 94 extern unsigned int PerformLFM(const unsigned int opcode); 95 extern unsigned int PerformSFM(const unsigned int opcode); 100 const unsigned int opcode, FPREG * rFd); 103 const unsigned int opcode, FPRE [all...] |
H A D | fpa11_cprt.c | 18 unsigned int PerformFLT(const unsigned int opcode); 19 unsigned int PerformFIX(const unsigned int opcode); 21 static unsigned int PerformComparison(const unsigned int opcode); 23 unsigned int EmulateCPRT(const unsigned int opcode) argument 26 if (opcode & 0x800000) { 31 return PerformComparison(opcode); 35 switch ((opcode & 0x700000) >> 20) { 37 return PerformFLT(opcode); 40 return PerformFIX(opcode); 44 writeFPSR(readRegister(getRd(opcode))); 57 PerformFLT(const unsigned int opcode) argument 100 PerformFIX(const unsigned int opcode) argument 142 PerformComparison(const unsigned int opcode) argument [all...] |
/linux-master/arch/csky/kernel/probes/ |
H A D | simulate-insn.c | 69 simulate_br16(u32 opcode, long addr, struct pt_regs *regs) argument 72 addr + sign_extend32((opcode & 0x3ff) << 1, 9)); 76 simulate_br32(u32 opcode, long addr, struct pt_regs *regs) argument 79 addr + sign_extend32((opcode & 0xffff0000) >> 15, 15)); 83 simulate_bt16(u32 opcode, long addr, struct pt_regs *regs) argument 87 addr + sign_extend32((opcode & 0x3ff) << 1, 9)); 93 simulate_bt32(u32 opcode, long addr, struct pt_regs *regs) argument 97 addr + sign_extend32((opcode & 0xffff0000) >> 15, 15)); 103 simulate_bf16(u32 opcode, long addr, struct pt_regs *regs) argument 107 addr + sign_extend32((opcode 113 simulate_bf32(u32 opcode, long addr, struct pt_regs *regs) argument 123 simulate_jmp16(u32 opcode, long addr, struct pt_regs *regs) argument 133 simulate_jmp32(u32 opcode, long addr, struct pt_regs *regs) argument 143 simulate_jsr16(u32 opcode, long addr, struct pt_regs *regs) argument 155 simulate_jsr32(u32 opcode, long addr, struct pt_regs *regs) argument 167 simulate_lrw16(u32 opcode, long addr, struct pt_regs *regs) argument 181 simulate_lrw32(u32 opcode, long addr, struct pt_regs *regs) argument 194 simulate_pop16(u32 opcode, long addr, struct pt_regs *regs) argument 215 simulate_pop32(u32 opcode, long addr, struct pt_regs *regs) argument 246 simulate_bez32(u32 opcode, long addr, struct pt_regs *regs) argument 260 simulate_bnez32(u32 opcode, long addr, struct pt_regs *regs) argument 274 simulate_bnezad32(u32 opcode, long addr, struct pt_regs *regs) argument 293 simulate_bhsz32(u32 opcode, long addr, struct pt_regs *regs) argument 308 simulate_bhz32(u32 opcode, long addr, struct pt_regs *regs) argument 323 simulate_blsz32(u32 opcode, long addr, struct pt_regs *regs) argument 338 simulate_blz32(u32 opcode, long addr, struct pt_regs *regs) argument 353 simulate_bsr32(u32 opcode, long addr, struct pt_regs *regs) argument 367 simulate_jmpi32(u32 opcode, long addr, struct pt_regs *regs) argument 379 simulate_jsri32(u32 opcode, long addr, struct pt_regs *regs) argument [all...] |
/linux-master/include/trace/events/ |
H A D | spmi.h | 16 TP_PROTO(u8 opcode, u8 sid, u16 addr, u8 len, const u8 *buf), 17 TP_ARGS(opcode, sid, addr, len, buf), 20 __field ( u8, opcode ) 28 __entry->opcode = opcode; 36 (int)__entry->opcode, (int)__entry->sid, 42 TP_PROTO(u8 opcode, u8 sid, u16 addr, int ret), 43 TP_ARGS(opcode, sid, addr, ret), 46 __field ( u8, opcode ) 53 __entry->opcode [all...] |
/linux-master/drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/arch/nvalloc/common/inc/ |
H A D | rmgspseq.h | 42 #define GSP_SEQUENCER_PAYLOAD_SIZE_DWORDS(opcode) \ 43 ((opcode == GSP_SEQ_BUF_OPCODE_REG_WRITE) ? (sizeof(GSP_SEQ_BUF_PAYLOAD_REG_WRITE) / sizeof(NvU32)) : \ 44 (opcode == GSP_SEQ_BUF_OPCODE_REG_MODIFY) ? (sizeof(GSP_SEQ_BUF_PAYLOAD_REG_MODIFY) / sizeof(NvU32)) : \ 45 (opcode == GSP_SEQ_BUF_OPCODE_REG_POLL) ? (sizeof(GSP_SEQ_BUF_PAYLOAD_REG_POLL) / sizeof(NvU32)) : \ 46 (opcode == GSP_SEQ_BUF_OPCODE_DELAY_US) ? (sizeof(GSP_SEQ_BUF_PAYLOAD_DELAY_US) / sizeof(NvU32)) : \ 47 (opcode == GSP_SEQ_BUF_OPCODE_REG_STORE) ? (sizeof(GSP_SEQ_BUF_PAYLOAD_REG_STORE) / sizeof(NvU32)) : \
|
/linux-master/arch/x86/lib/ |
H A D | inat.c | 9 /* Attribute tables are generated from opcode map */ 13 insn_attr_t inat_get_opcode_attribute(insn_byte_t opcode) argument 15 return inat_primary_table[opcode]; 26 insn_attr_t inat_get_escape_attribute(insn_byte_t opcode, int lpfx_id, argument 37 if (inat_has_variant(table[opcode]) && lpfx_id) { 42 return table[opcode]; 65 insn_attr_t inat_get_avx_attribute(insn_byte_t opcode, insn_byte_t vex_m, argument 75 if (!inat_is_group(table[opcode]) && vex_p) { 81 return table[opcode];
|
/linux-master/tools/arch/x86/lib/ |
H A D | inat.c | 9 /* Attribute tables are generated from opcode map */ 13 insn_attr_t inat_get_opcode_attribute(insn_byte_t opcode) argument 15 return inat_primary_table[opcode]; 26 insn_attr_t inat_get_escape_attribute(insn_byte_t opcode, int lpfx_id, argument 37 if (inat_has_variant(table[opcode]) && lpfx_id) { 42 return table[opcode]; 65 insn_attr_t inat_get_avx_attribute(insn_byte_t opcode, insn_byte_t vex_m, argument 75 if (!inat_is_group(table[opcode]) && vex_p) { 81 return table[opcode];
|
/linux-master/drivers/scsi/aic7xxx/aicasm/ |
H A D | aicasm_insformat.h | 54 opcode : 4, member in struct:ins_format1 58 opcode : 4, 73 opcode : 4, member in struct:ins_format2 77 opcode : 4, 91 opcode : 4, member in struct:ins_format3 95 opcode : 4, 109 opcode : 4, member in struct:ins_format4 113 opcode : 4, 127 opcode : 4, member in struct:ins_format5 131 opcode 145 opcode : 4, member in struct:ins_format6 [all...] |
/linux-master/drivers/nvme/host/ |
H A D | constants.c | 182 const char *nvme_get_opcode_str(u8 opcode) argument 184 if (opcode < ARRAY_SIZE(nvme_ops) && nvme_ops[opcode]) 185 return nvme_ops[opcode]; 190 const char *nvme_get_admin_opcode_str(u8 opcode) argument 192 if (opcode < ARRAY_SIZE(nvme_admin_ops) && nvme_admin_ops[opcode]) 193 return nvme_admin_ops[opcode]; 198 const char *nvme_get_fabrics_opcode_str(u8 opcode) { argument 199 if (opcode < ARRAY_SIZ [all...] |
/linux-master/arch/x86/include/asm/ |
H A D | text-patching.h | 16 extern void text_poke_early(void *addr, const void *opcode, size_t len); 34 extern void *text_poke(void *addr, const void *opcode, size_t len); 36 extern void *text_poke_kgdb(void *addr, const void *opcode, size_t len); 37 extern void *text_poke_copy(void *addr, const void *opcode, size_t len); 38 extern void *text_poke_copy_locked(void *addr, const void *opcode, size_t len, bool core_ok); 41 extern void text_poke_bp(void *addr, const void *opcode, size_t len, const void *emulate); 43 extern void text_poke_queue(void *addr, const void *opcode, size_t len, const void *emulate); 63 static __always_inline int text_opcode_size(u8 opcode) argument 70 switch(opcode) { 86 u8 opcode; member in struct:text_poke_insn::__anon130 92 __text_gen_insn(void *buf, u8 opcode, const void *addr, const void *dest, int size) argument [all...] |
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_virtchnl_allowlist.h | 8 bool ice_vc_is_opcode_allowed(struct ice_vf *vf, u32 opcode);
|
/linux-master/arch/powerpc/mm/ |
H A D | maccess.c | 8 #include <asm/ppc-opcode.h>
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | opal-tracepoints.c | 47 void __trace_opal_entry(unsigned long opcode, unsigned long *args) argument 61 trace_opal_entry(opcode, args); 68 void __trace_opal_exit(long opcode, unsigned long retval) argument 81 trace_opal_exit(opcode, retval);
|
/linux-master/drivers/scsi/pcmcia/ |
H A D | nsp_debug.c | 49 #define group(opcode) (((opcode) >> 5) & 7) 65 static void print_opcodek(unsigned char opcode) argument 67 const char **table = commands[ group(opcode) ]; 71 printk("%s[%02x] ", reserved, opcode); 74 printk("%s(notext)[%02x] ", unknown, opcode); 77 printk("%s[%02x] ", vendor, opcode); 80 if (table[opcode & 0x1f] != unknown) 81 printk("%s[%02x] ", table[opcode & 0x1f], opcode); [all...] |
/linux-master/drivers/acpi/acpica/ |
H A D | psutils.c | 48 * opcode - Opcode to store in the Op 56 void acpi_ps_init_op(union acpi_parse_object *op, u16 opcode) argument 61 op->common.aml_opcode = opcode; 65 (opcode))->name, 74 * PARAMETERS: opcode - Opcode that will be stored in the new Op 75 * aml - Address of the opcode 80 * opcode. A cache of opcodes is available for the pure 85 union acpi_parse_object *acpi_ps_alloc_op(u16 opcode, u8 *aml) argument 93 op_info = acpi_ps_get_opcode_info(opcode); 101 } else if (opcode [all...] |