/linux/arch/arm/nwfpe/ |
A D | fpopcode.h | 195 #define getOffset(opcode) (opcode & MASK_OFFSET) argument 203 #define LDF_OP(opcode) (LOAD_OP(opcode) && (getCoprocessorNumber(opcode) == 1)) argument 204 #define LFM_OP(opcode) (LOAD_OP(opcode) && (getCoprocessorNumber(opcode) == 2)) argument 205 #define STF_OP(opcode) (STORE_OP(opcode) && (getCoprocessorNumber(opcode) == 1)) argument 206 #define SFM_OP(opcode) (STORE_OP(opcode) && (getCoprocessorNumber(opcode) == 2)) argument 213 #define LOAD(opcode) ((opcode & BIT_LOAD) != 0) argument 214 #define STORE(opcode) ((opcode & BIT_LOAD) == 0) argument 339 #define getCondition(opcode) (opcode >> 28) argument 348 #define getFn(opcode) ((opcode & MASK_Fn) >> 16) argument 351 #define getFm(opcode) (opcode & MASK_Fm) argument [all …]
|
A D | fpa11_cpdt.c | 224 if (BIT_UP_SET(opcode)) in PerformLDF() 229 if (PREINDEXED(opcode)) in PerformLDF() 272 if (BIT_UP_SET(opcode)) in PerformSTF() 277 if (PREINDEXED(opcode)) in PerformSTF() 318 if (BIT_UP_SET(opcode)) in PerformLFM() 323 if (PREINDEXED(opcode)) in PerformLFM() 328 Fd = getFd(opcode); in PerformLFM() 354 if (BIT_UP_SET(opcode)) in PerformSFM() 359 if (PREINDEXED(opcode)) in PerformSFM() 364 Fd = getFd(opcode); in PerformSFM() [all …]
|
A D | fpa11_cprt.c | 26 if (opcode & 0x800000) { in EmulateCPRT() 31 return PerformComparison(opcode); in EmulateCPRT() 37 return PerformFLT(opcode); in EmulateCPRT() 40 return PerformFIX(opcode); in EmulateCPRT() 70 fpa11->fpreg[getFn(opcode)].fSingle = int32_to_float32(&roundData, readRegister(getRd(opcode))); in PerformFLT() 77 fpa11->fpreg[getFn(opcode)].fDouble = int32_to_float64(readRegister(getRd(opcode))); in PerformFLT() 85 fpa11->fpreg[getFn(opcode)].fExtended = int32_to_floatx80(readRegister(getRd(opcode))); in PerformFLT() 103 unsigned int Fn = getFm(opcode); in PerformFIX() 145 unsigned int Fn = getFn(opcode), Fm = getFm(opcode); in PerformComparison() 184 if (CONSTANT_FM(opcode)) { in PerformComparison() [all …]
|
A D | fpa11_cpdo.c | 27 nDest = getDestinationSize(opcode); in EmulateCPDO() 31 roundData.mode = SetRoundingMode(opcode); in EmulateCPDO() 40 if (MONADIC_INSTRUCTION(opcode)) in EmulateCPDO() 43 nType = fpa11->fType[getFn(opcode)]; in EmulateCPDO() 45 if (!CONSTANT_FM(opcode)) { in EmulateCPDO() 46 register unsigned int Fm = getFm(opcode); in EmulateCPDO() 52 rFd = &fpa11->fpreg[getFd(opcode)]; in EmulateCPDO() 56 nRc = SingleCPDO(&roundData, opcode, rFd); in EmulateCPDO() 59 nRc = DoubleCPDO(&roundData, opcode, rFd); in EmulateCPDO() 63 nRc = ExtendedCPDO(&roundData, opcode, rFd); in EmulateCPDO() [all …]
|
A D | fpa11.c | 35 int8 SetRoundingMode(const unsigned int opcode) in SetRoundingMode() argument 37 switch (opcode & MASK_ROUNDING_MODE) { in SetRoundingMode() 56 switch (opcode & MASK_ROUNDING_PRECISION) { in SetRoundingPrecision() 85 unsigned int EmulateAll(unsigned int opcode) in EmulateAll() argument 90 printk("NWFPE: emulating opcode %08x\n", opcode); in EmulateAll() 92 code = opcode & 0x00000f00; in EmulateAll() 95 code = opcode & 0x0e000000; in EmulateAll() 97 if (opcode & 0x00000010) { in EmulateAll() 101 return EmulateCPRT(opcode); in EmulateAll() 105 return EmulateCPDO(opcode); in EmulateAll() [all …]
|
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, FPREG * rFd); [all …]
|
/linux/arch/arm64/kernel/probes/ |
A D | simulate-insn.c | 54 int xn = opcode & 0x1f; in check_cbz() 62 int xn = opcode & 0x1f; in check_cbnz() 70 int xn = opcode & 0x1f; in check_tbz() 71 int bit_pos = ((opcode & (1 << 31)) >> 26) | ((opcode >> 19) & 0x1f); in check_tbz() 78 int xn = opcode & 0x1f; in check_tbnz() 79 int bit_pos = ((opcode & (1 << 31)) >> 26) | ((opcode >> 19) & 0x1f); in check_tbnz() 92 xn = opcode & 0x1f; in simulate_adr_adrp() 93 imm = ((opcode >> 3) & 0x1ffffc) | ((opcode >> 29) & 0x3); in simulate_adr_adrp() 95 if (opcode & 0x80000000) in simulate_adr_adrp() 111 if (opcode & (1 << 31)) in simulate_b_bl() [all …]
|
/linux/arch/riscv/kernel/probes/ |
A D | simulate-insn.c | 87 #define auipc_rd_idx(opcode) \ argument 88 ((opcode >> 7) & 0x1f) 90 #define auipc_imm(opcode) \ argument 94 #define auipc_offset(opcode) sign_extend64(auipc_imm(opcode), 31) argument 96 #define auipc_offset(opcode) auipc_imm(opcode) argument 122 (((opcode) >> 15) & 0x1f) 125 (((opcode) >> 20) & 0x1f) 127 #define branch_funct3(opcode) \ argument 128 (((opcode) >> 12) & 0x7) 130 #define branch_imm(opcode) \ argument [all …]
|
/linux/arch/csky/kernel/probes/ |
A D | simulate-insn.c | 135 unsigned long tmp = opcode & 0x1f; in simulate_jmp32() 157 unsigned long tmp = opcode & 0x1f; in simulate_jsr32() 173 tmp = (opcode & 0xe0) >> 5; in simulate_lrw16() 204 if (opcode & 0x10) { in simulate_pop16() 225 if (opcode & 0x100000) { in simulate_pop32() 235 if (opcode & 0x1000000) { in simulate_pop32() 248 unsigned long tmp = opcode & 0x1f; in simulate_bez32() 262 unsigned long tmp = opcode & 0x1f; in simulate_bnez32() 276 unsigned long tmp = opcode & 0x1f; in simulate_bnezad32() 295 unsigned long tmp = opcode & 0x1f; in simulate_bhsz32() [all …]
|
/linux/tools/perf/scripts/python/ |
A D | powerpc-hcalls.py | 154 if (opcode in hcall_table): 155 return hcall_table[opcode] 157 return opcode 164 for opcode in output: 167 cnt = output[opcode]['cnt'] 174 opcode, retval): argument 178 if (opcode in output): 180 output[opcode]['cnt'] += 1 186 output[opcode] = { 193 del d_enter[cpu][opcode] [all …]
|
/linux/include/trace/events/ |
A D | spmi.h | 17 TP_ARGS(opcode, sid, addr, len, buf), 20 __field ( u8, opcode ) 28 __entry->opcode = opcode; 43 TP_ARGS(opcode, sid, addr, ret), 46 __field ( u8, opcode ) 53 __entry->opcode = opcode; 66 TP_ARGS(opcode, sid, addr), 75 __entry->opcode = opcode; 99 __entry->opcode = opcode; 115 TP_ARGS(opcode, sid, ret), [all …]
|
A D | io_uring.h | 86 __entry->opcode = opcode; 346 __field( u8, opcode ) 356 __entry->opcode = opcode; 392 __field( u8, opcode ) 401 __entry->opcode = opcode; 421 __field( u8, opcode ) 428 __entry->opcode = opcode; 454 __entry->opcode = opcode; 492 __entry->opcode = opcode; 516 __field( u8, opcode ) [all …]
|
/linux/arch/powerpc/include/asm/ |
A D | trace.h | 81 TP_ARGS(opcode, args), 86 __field(unsigned long, opcode) 90 __entry->opcode = opcode; 107 __field(unsigned long, opcode) 112 __entry->opcode = opcode; 130 TP_ARGS(opcode, args), 133 __field(unsigned long, opcode) 137 __entry->opcode = opcode; 149 TP_ARGS(opcode, retval), 152 __field(unsigned long, opcode) [all …]
|
/linux/arch/x86/mm/ |
A D | pf_in.c | 112 *opcode = *addr; in get_opcode() 129 unsigned int opcode; in get_ins_type() local 150 unsigned int opcode; in get_ins_reg_width() local 160 if (rw8[i] == opcode) in get_ins_reg_width() 164 if (rw32[i] == opcode) in get_ins_reg_width() 173 unsigned int opcode; in get_ins_mem_width() local 183 if (mw8[i] == opcode) in get_ins_mem_width() 187 if (mw16[i] == opcode) in get_ins_mem_width() 396 unsigned int opcode; in get_ins_reg_val() local 419 if (opcode == 0xAA || opcode == 0xAB) { in get_ins_reg_val() [all …]
|
/linux/arch/powerpc/xmon/ |
A D | ppc-dis.c | 83 const struct powerpc_opcode *opcode; in lookup_powerpc() local 88 for (opcode = powerpc_opcodes; opcode < opcode_end; ++opcode) in lookup_powerpc() 94 if ((insn & opcode->mask) != opcode->opcode in lookup_powerpc() 111 return opcode; in lookup_powerpc() 121 const struct powerpc_opcode *opcode; in print_insn_powerpc() local 153 opcode = NULL; in print_insn_powerpc() 156 if (opcode == NULL) in print_insn_powerpc() 161 if (opcode != NULL) in print_insn_powerpc() 169 if (opcode->operands[0] != 0) in print_insn_powerpc() 170 printf("%-7s ", opcode->name); in print_insn_powerpc() [all …]
|
/linux/drivers/infiniband/sw/rxe/ |
A D | rxe_req.c | 15 u32 opcode); 57 qp->req.opcode = -1; in req_retry() 181 switch (opcode) { in next_opcode_rc() 245 return opcode; in next_opcode_rc() 253 switch (opcode) { in next_opcode_uc() 384 pkt->opcode = opcode; in init_req_packet() 551 qp->req.opcode = pkt->opcode; in update_state() 566 u8 opcode = wqe->wr.opcode; in rxe_do_local_ops() local 570 switch (opcode) { in rxe_do_local_ops() 623 int opcode; in rxe_requester() local [all …]
|
A D | rxe_hdr.h | 24 u8 opcode; /* bth opcode of packet */ member 62 u8 opcode; member 88 return bth->opcode; in __bth_opcode() 95 bth->opcode = opcode; in __bth_set_opcode() 287 __bth_set_opcode(pkt->hdr, opcode); in bth_set_opcode() 411 bth->opcode = opcode; in bth_init() 502 rxe_opcode[pkt->opcode].offset[RXE_DETH]); in deth_qkey() 514 rxe_opcode[pkt->opcode].offset[RXE_DETH]); in deth_sqp() 577 rxe_opcode[pkt->opcode].offset[RXE_RETH]); in reth_va() 589 rxe_opcode[pkt->opcode].offset[RXE_RETH]); in reth_rkey() [all …]
|
/linux/arch/sh/kernel/ |
A D | kprobes.c | 47 p->opcode = opcode; in arch_prepare_kprobe() 55 p->opcode = *p->addr; in arch_copy_kprobe() 109 saved->opcode = 0; in arch_remove_kprobe() 116 saved->opcode = 0; in arch_remove_kprobe() 156 if (OPCODE_JSR(p->opcode) || OPCODE_JMP(p->opcode)) { in prepare_singlestep() 159 } else if (OPCODE_BRA(p->opcode) || OPCODE_BSR(p->opcode)) { in prepare_singlestep() 164 } else if (OPCODE_BRAF(p->opcode) || OPCODE_BSRF(p->opcode)) { in prepare_singlestep() 173 } else if (OPCODE_BF(p->opcode) || OPCODE_BT(p->opcode)) { in prepare_singlestep() 183 } else if (OPCODE_BF_S(p->opcode) || OPCODE_BT_S(p->opcode)) { in prepare_singlestep() 330 p->opcode = 0; in post_kprobe_handler() [all …]
|
/linux/arch/mips/include/uapi/asm/ |
A D | inst.h | 633 __BITFIELD_FIELD(unsigned int opcode : 6, 641 __BITFIELD_FIELD(unsigned int opcode : 6, 649 __BITFIELD_FIELD(unsigned int opcode : 6, 658 __BITFIELD_FIELD(unsigned int opcode : 6, 668 __BITFIELD_FIELD(unsigned int opcode : 6, 678 __BITFIELD_FIELD(unsigned int opcode : 6, 690 __BITFIELD_FIELD(unsigned int opcode : 6, 698 __BITFIELD_FIELD(unsigned int opcode : 6, 708 __BITFIELD_FIELD(unsigned int opcode : 6, 719 __BITFIELD_FIELD(unsigned int opcode : 6, [all …]
|
/linux/net/bluetooth/ |
A D | mgmt_util.c | 34 u16 opcode, u16 len, void *buf) in create_monitor_ctrl_event() argument 44 put_unaligned_le16(opcode, skb_put(skb, 2)); in create_monitor_ctrl_event() 52 hdr->opcode = cpu_to_le16(HCI_MON_CTRL_EVENT); in create_monitor_ctrl_event() 70 hdr->opcode = cpu_to_le16(event); in mgmt_send_event() 114 ev->opcode = cpu_to_le16(cmd); in mgmt_cmd_status() 157 ev->opcode = cpu_to_le16(cmd); in mgmt_cmd_complete() 192 if (cmd->opcode == opcode) in mgmt_pending_find() 200 u16 opcode, in mgmt_pending_find_data() argument 209 if (cmd->opcode == opcode) in mgmt_pending_find_data() 223 if (opcode > 0 && cmd->opcode != opcode) in mgmt_pending_foreach() [all …]
|
/linux/drivers/infiniband/hw/hfi1/ |
A D | rc.c | 36 if (!e->opcode) { in find_prev_entry() 1420 u32 opcode = wqe->wr.opcode; in update_num_rd_atomic() local 1462 u32 opcode; in reset_psn() local 1508 opcode = wqe->wr.opcode; in reset_psn() 1724 opcode != TID_OP(ACK) && opcode != TID_OP(RESYNC)) in hfi1_rc_send_complete() 2319 u8 opcode = packet->opcode; in rc_rcv_resp() local 2623 if (!e || e->opcode != (u8)opcode || old_req) in rc_rcv_error() 2772 u32 opcode = packet->opcode; in hfi1_rc_rcv() local 3057 e->opcode = opcode; in hfi1_rc_rcv() 3133 e->opcode = opcode; in hfi1_rc_rcv() [all …]
|
/linux/arch/s390/tools/ |
A D | gen_opcode_table.c | 24 char opcode[STRING_SIZE_MAX]; member 35 char opcode[2]; member 233 char *opcode; in print_opcode() local 235 opcode = insn->opcode; in print_opcode() 237 opcode += 2; in print_opcode() 251 if (group && (!strncmp(group->opcode, insn->opcode, 2) || group->type->byte == 0)) { in add_to_group() 260 memcpy(group->opcode, insn->opcode, 2); in add_to_group() 268 return strcmp(((struct insn *)a)->opcode, ((struct insn *)b)->opcode); in cmpopcode() 273 char opcode[2] = ""; in print_opcode_table() local 285 if (strncmp(opcode, insn->opcode, 2)) { in print_opcode_table() [all …]
|
/linux/drivers/scsi/aic7xxx/aicasm/ |
A D | aicasm_insformat.h | 54 opcode : 4, member 58 opcode : 4, 73 opcode : 4, member 77 opcode : 4, 91 opcode : 4, member 95 opcode : 4, 109 opcode : 4, member 113 opcode : 4, 127 opcode : 4, member 131 opcode : 4, [all …]
|
/linux/drivers/scsi/sym53c8xx_2/ |
A D | sym_fw.c | 359 opcode = *cur; in sym_fw_bind_script() 367 if (opcode == 0) { in sym_fw_bind_script() 385 (unsigned)opcode); in sym_fw_bind_script() 390 switch (opcode >> 28) { in sym_fw_bind_script() 420 opcode = (opcode & ~SCR_NO_FLUSH); in sym_fw_bind_script() 428 opcode = (opcode | OPC_MOVE); in sym_fw_bind_script() 436 opcode = (opcode | OPC_MOVE); in sym_fw_bind_script() 444 opcode &= ~0x20000000; in sym_fw_bind_script() 446 opcode = (opcode & ~OPC_TCHMOVE); in sym_fw_bind_script() 453 opcode &= ~0x20000000; in sym_fw_bind_script() [all …]
|
/linux/arch/x86/include/asm/ |
A D | text-patching.h | 28 extern void text_poke_early(void *addr, const void *opcode, size_t len); 44 extern void *text_poke(void *addr, const void *opcode, size_t len); 46 extern void *text_poke_kgdb(void *addr, const void *opcode, size_t len); 48 extern void text_poke_bp(void *addr, const void *opcode, size_t len, const void *emulate); 50 extern void text_poke_queue(void *addr, const void *opcode, size_t len, const void *emulate); 70 static __always_inline int text_opcode_size(u8 opcode) in text_opcode_size() argument 77 switch(opcode) { in text_opcode_size() 93 u8 opcode; member 99 void *text_gen_insn(u8 opcode, const void *addr, const void *dest) in text_gen_insn() argument 102 int size = text_opcode_size(opcode); in text_gen_insn() [all …]
|