/Linux-v4.19/arch/arm/nwfpe/ |
D | fpopcode.h | 204 #define getCoprocessorNumber(opcode) ((opcode & MASK_COPROCESSOR) >> 8) argument 207 #define getOffset(opcode) (opcode & MASK_OFFSET) argument 210 #define TEST_OPCODE(opcode,mask) (((opcode) & (mask)) == (mask)) argument 212 #define LOAD_OP(opcode) TEST_OPCODE((opcode),MASK_CPDT | BIT_LOAD) argument 213 #define STORE_OP(opcode) ((opcode & (MASK_CPDT | BIT_LOAD)) == MASK_CPDT) argument 215 #define LDF_OP(opcode) (LOAD_OP(opcode) && (getCoprocessorNumber(opcode) == 1)) argument 216 #define LFM_OP(opcode) (LOAD_OP(opcode) && (getCoprocessorNumber(opcode) == 2)) argument 217 #define STF_OP(opcode) (STORE_OP(opcode) && (getCoprocessorNumber(opcode) == 1)) argument 218 #define SFM_OP(opcode) (STORE_OP(opcode) && (getCoprocessorNumber(opcode) == 2)) argument 220 #define PREINDEXED(opcode) ((opcode & BIT_PREINDEX) != 0) argument [all …]
|
D | fpa11_cpdt.c | 224 unsigned int PerformLDF(const unsigned int opcode) in PerformLDF() argument 227 unsigned int nRc = 1, write_back = WRITE_BACK(opcode); in PerformLDF() 229 pBase = (unsigned int __user *) readRegister(getRn(opcode)); in PerformLDF() 230 if (REG_PC == getRn(opcode)) { in PerformLDF() 236 if (BIT_UP_SET(opcode)) in PerformLDF() 237 pFinal += getOffset(opcode); in PerformLDF() 239 pFinal -= getOffset(opcode); in PerformLDF() 241 if (PREINDEXED(opcode)) in PerformLDF() 246 switch (opcode & MASK_TRANSFER_LENGTH) { in PerformLDF() 248 loadSingle(getFd(opcode), pAddress); in PerformLDF() [all …]
|
D | fpa11_cprt.c | 30 unsigned int PerformFLT(const unsigned int opcode); 31 unsigned int PerformFIX(const unsigned int opcode); 33 static unsigned int PerformComparison(const unsigned int opcode); 35 unsigned int EmulateCPRT(const unsigned int opcode) in EmulateCPRT() argument 38 if (opcode & 0x800000) { in EmulateCPRT() 43 return PerformComparison(opcode); in EmulateCPRT() 47 switch ((opcode & 0x700000) >> 20) { in EmulateCPRT() 49 return PerformFLT(opcode); in EmulateCPRT() 52 return PerformFIX(opcode); in EmulateCPRT() 56 writeFPSR(readRegister(getRd(opcode))); in EmulateCPRT() [all …]
|
D | fpa11_cpdo.c | 26 unsigned int SingleCPDO(struct roundingData *roundData, const unsigned int opcode, FPREG * rFd); 27 unsigned int DoubleCPDO(struct roundingData *roundData, const unsigned int opcode, FPREG * rFd); 28 unsigned int ExtendedCPDO(struct roundingData *roundData, const unsigned int opcode, FPREG * rFd); 30 unsigned int EmulateCPDO(const unsigned int opcode) in EmulateCPDO() argument 39 nDest = getDestinationSize(opcode); in EmulateCPDO() 43 roundData.mode = SetRoundingMode(opcode); in EmulateCPDO() 44 roundData.precision = SetRoundingPrecision(opcode); in EmulateCPDO() 52 if (MONADIC_INSTRUCTION(opcode)) in EmulateCPDO() 55 nType = fpa11->fType[getFn(opcode)]; in EmulateCPDO() 57 if (!CONSTANT_FM(opcode)) { in EmulateCPDO() [all …]
|
D | fpa11.c | 47 int8 SetRoundingMode(const unsigned int opcode) in SetRoundingMode() argument 49 switch (opcode & MASK_ROUNDING_MODE) { in SetRoundingMode() 65 int8 SetRoundingPrecision(const unsigned int opcode) in SetRoundingPrecision() argument 68 switch (opcode & MASK_ROUNDING_PRECISION) { in SetRoundingPrecision() 97 unsigned int EmulateAll(unsigned int opcode) in EmulateAll() argument 102 printk("NWFPE: emulating opcode %08x\n", opcode); in EmulateAll() 104 code = opcode & 0x00000f00; in EmulateAll() 107 code = opcode & 0x0e000000; in EmulateAll() 109 if (opcode & 0x00000010) { in EmulateAll() 113 return EmulateCPRT(opcode); in EmulateAll() [all …]
|
D | fpa11.h | 97 extern unsigned int EmulateAll(unsigned int opcode); 99 extern unsigned int EmulateCPDT(const unsigned int opcode); 100 extern unsigned int EmulateCPDO(const unsigned int opcode); 101 extern unsigned int EmulateCPRT(const unsigned int opcode); 104 extern unsigned int PerformLDF(const unsigned int opcode); 105 extern unsigned int PerformSTF(const unsigned int opcode); 106 extern unsigned int PerformLFM(const unsigned int opcode); 107 extern unsigned int PerformSFM(const unsigned int opcode); 112 const unsigned int opcode, FPREG * rFd); 115 const unsigned int opcode, FPREG * rFd); [all …]
|
/Linux-v4.19/arch/arm64/kernel/probes/ |
D | simulate-insn.c | 59 static bool __kprobes check_cbz(u32 opcode, struct pt_regs *regs) in check_cbz() argument 61 int xn = opcode & 0x1f; in check_cbz() 63 return (opcode & (1 << 31)) ? in check_cbz() 67 static bool __kprobes check_cbnz(u32 opcode, struct pt_regs *regs) in check_cbnz() argument 69 int xn = opcode & 0x1f; in check_cbnz() 71 return (opcode & (1 << 31)) ? in check_cbnz() 75 static bool __kprobes check_tbz(u32 opcode, struct pt_regs *regs) in check_tbz() argument 77 int xn = opcode & 0x1f; in check_tbz() 78 int bit_pos = ((opcode & (1 << 31)) >> 26) | ((opcode >> 19) & 0x1f); in check_tbz() 83 static bool __kprobes check_tbnz(u32 opcode, struct pt_regs *regs) in check_tbnz() argument [all …]
|
D | simulate-insn.h | 19 void simulate_adr_adrp(u32 opcode, long addr, struct pt_regs *regs); 20 void simulate_b_bl(u32 opcode, long addr, struct pt_regs *regs); 21 void simulate_b_cond(u32 opcode, long addr, struct pt_regs *regs); 22 void simulate_br_blr_ret(u32 opcode, long addr, struct pt_regs *regs); 23 void simulate_cbz_cbnz(u32 opcode, long addr, struct pt_regs *regs); 24 void simulate_tbz_tbnz(u32 opcode, long addr, struct pt_regs *regs); 25 void simulate_ldr_literal(u32 opcode, long addr, struct pt_regs *regs); 26 void simulate_ldrsw_literal(u32 opcode, long addr, struct pt_regs *regs);
|
/Linux-v4.19/tools/perf/scripts/python/ |
D | powerpc-hcalls.py | 151 def hcall_table_lookup(opcode): argument 152 if (hcall_table.has_key(opcode)): 153 return hcall_table[opcode] 155 return opcode 162 for opcode in output: 163 h_name = hcall_table_lookup(opcode) 164 time = output[opcode]['time'] 165 cnt = output[opcode]['cnt'] 166 min_t = output[opcode]['min'] 167 max_t = output[opcode]['max'] [all …]
|
/Linux-v4.19/include/trace/events/ |
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 = opcode; 60 (int)__entry->opcode, (int)__entry->sid, [all …]
|
/Linux-v4.19/arch/sh/kernel/ |
D | traps_64.c | 40 insn_size_t opcode; in read_opcode() local 49 get_user_error = __get_user(opcode, (insn_size_t *)aligned_pc); in read_opcode() 50 *result_opcode = opcode; in read_opcode() 85 insn_size_t opcode, in generate_and_check_address() argument 100 basereg = (opcode >> 20) & 0x3f; in generate_and_check_address() 104 displacement = (opcode >> 10) & 0x3ff; in generate_and_check_address() 110 offsetreg = (opcode >> 10) & 0x3f; in generate_and_check_address() 133 unaligned_fixups_notify(current, opcode, regs); in generate_and_check_address() 167 insn_size_t opcode, in misaligned_load() argument 177 error = generate_and_check_address(regs, opcode, in misaligned_load() [all …]
|
D | kprobes.c | 45 kprobe_opcode_t opcode = *(kprobe_opcode_t *) (p->addr); in arch_prepare_kprobe() local 47 if (OPCODE_RTE(opcode)) in arch_prepare_kprobe() 50 p->opcode = opcode; in arch_prepare_kprobe() 58 p->opcode = *p->addr; in arch_copy_kprobe() 70 *p->addr = p->opcode; in arch_disarm_kprobe() 112 saved->opcode = 0; in arch_remove_kprobe() 119 saved->opcode = 0; in arch_remove_kprobe() 159 if (OPCODE_JSR(p->opcode) || OPCODE_JMP(p->opcode)) { in prepare_singlestep() 160 unsigned int reg_nr = ((p->opcode >> 8) & 0x000F); in prepare_singlestep() 162 } else if (OPCODE_BRA(p->opcode) || OPCODE_BSR(p->opcode)) { in prepare_singlestep() [all …]
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | trace.h | 63 TP_PROTO(unsigned long opcode, unsigned long *args), 65 TP_ARGS(opcode, args), 70 __field(unsigned long, opcode) 74 __entry->opcode = opcode; 77 TP_printk("opcode=%lu", __entry->opcode), 84 TP_PROTO(unsigned long opcode, long retval, unsigned long *retbuf), 86 TP_ARGS(opcode, retval, retbuf), 91 __field(unsigned long, opcode) 96 __entry->opcode = opcode; 100 TP_printk("opcode=%lu retval=%ld", __entry->opcode, __entry->retval), [all …]
|
/Linux-v4.19/arch/c6x/kernel/ |
D | module.c | 19 u32 opcode; in fixup_pcr() local 26 opcode = *ip; in fixup_pcr() 27 opcode &= ~(mask << shift); in fixup_pcr() 28 opcode |= ((delta & mask) << shift); in fixup_pcr() 29 *ip = opcode; in fixup_pcr() 32 maskbits, ip, (void *)dest, opcode); in fixup_pcr() 53 u32 *location, opcode; in apply_relocate_add() local 88 opcode = *location; in apply_relocate_add() 89 opcode &= ~0x7fff80; in apply_relocate_add() 90 opcode |= ((v & 0xffff) << 7); in apply_relocate_add() [all …]
|
/Linux-v4.19/arch/x86/mm/ |
D | pf_in.c | 118 static int get_opcode(unsigned char *addr, unsigned int *opcode) in get_opcode() argument 124 *opcode = *(unsigned short *)addr; in get_opcode() 127 *opcode = *addr; in get_opcode() 134 #define CHECK_OP_TYPE(opcode, array, type) \ argument 136 if (array[i] == opcode) { \ 144 unsigned int opcode; in get_ins_type() local 152 p += get_opcode(p, &opcode); in get_ins_type() 154 CHECK_OP_TYPE(opcode, reg_rop, REG_READ); in get_ins_type() 155 CHECK_OP_TYPE(opcode, reg_wop, REG_WRITE); in get_ins_type() 156 CHECK_OP_TYPE(opcode, imm_wop, IMM_WRITE); in get_ins_type() [all …]
|
/Linux-v4.19/arch/powerpc/xmon/ |
D | ppc-dis.c | 94 const struct powerpc_opcode *opcode; in lookup_powerpc() local 99 for (opcode = powerpc_opcodes; opcode < opcode_end; ++opcode) in lookup_powerpc() 105 if ((insn & opcode->mask) != opcode->opcode in lookup_powerpc() 107 && ((opcode->flags & dialect) == 0 in lookup_powerpc() 108 || (opcode->deprecated & dialect) != 0))) in lookup_powerpc() 113 for (opindex = opcode->operands; *opindex != 0; opindex++) in lookup_powerpc() 122 return opcode; in lookup_powerpc() 132 const struct powerpc_opcode *opcode; in print_insn_powerpc() local 164 opcode = NULL; in print_insn_powerpc() 167 if (opcode == NULL) in print_insn_powerpc() [all …]
|
/Linux-v4.19/drivers/infiniband/sw/rxe/ |
D | rxe_req.c | 42 u32 opcode); 54 qp->req.opcode = next_opcode(qp, wqe, in retry_first_write_send() 55 wqe->wr.opcode); in retry_first_write_send() 81 qp->req.opcode = -1; in req_retry() 87 mask = wr_opcode_mask(wqe->wr.opcode, qp); in req_retry() 187 wqe->mask = wr_opcode_mask(wqe->wr.opcode, qp); in req_next_wqe() 191 static int next_opcode_rc(struct rxe_qp *qp, u32 opcode, int fits) in next_opcode_rc() argument 193 switch (opcode) { in next_opcode_rc() 195 if (qp->req.opcode == IB_OPCODE_RC_RDMA_WRITE_FIRST || in next_opcode_rc() 196 qp->req.opcode == IB_OPCODE_RC_RDMA_WRITE_MIDDLE) in next_opcode_rc() [all …]
|
/Linux-v4.19/drivers/nvme/host/ |
D | trace.h | 27 #define nvme_admin_opcode_name(opcode) { opcode, #opcode } argument 53 #define nvme_opcode_name(opcode) { opcode, #opcode } argument 68 #define show_opcode_name(qid, opcode) \ argument 69 (qid ? show_nvm_opcode_name(opcode) : show_admin_opcode_name(opcode)) 71 const char *nvme_trace_parse_admin_cmd(struct trace_seq *p, u8 opcode, 73 const char *nvme_trace_parse_nvm_cmd(struct trace_seq *p, u8 opcode, 76 #define parse_nvme_cmd(qid, opcode, cdw10) \ argument 78 nvme_trace_parse_nvm_cmd(p, opcode, cdw10) : \ 79 nvme_trace_parse_admin_cmd(p, opcode, cdw10)) 102 __field(u8, opcode) [all …]
|
/Linux-v4.19/drivers/scsi/aic7xxx/aicasm/ |
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-v4.19/arch/mips/include/uapi/asm/ |
D | inst.h | 626 __BITFIELD_FIELD(unsigned int opcode : 6, /* Jump format */ 632 __BITFIELD_FIELD(unsigned int opcode : 6, 640 __BITFIELD_FIELD(unsigned int opcode : 6, 648 __BITFIELD_FIELD(unsigned int opcode : 6, 657 __BITFIELD_FIELD(unsigned int opcode : 6, 667 __BITFIELD_FIELD(unsigned int opcode : 6, 677 __BITFIELD_FIELD(unsigned int opcode : 6, 689 __BITFIELD_FIELD(unsigned int opcode : 6, 697 __BITFIELD_FIELD(unsigned int opcode : 6, 707 __BITFIELD_FIELD(unsigned int opcode : 6, [all …]
|
/Linux-v4.19/net/bluetooth/ |
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() 108 hdr->opcode = cpu_to_le16(MGMT_EV_CMD_STATUS); in mgmt_cmd_status() 114 ev->opcode = cpu_to_le16(cmd); in mgmt_cmd_status() 152 hdr->opcode = cpu_to_le16(MGMT_EV_CMD_COMPLETE); in mgmt_cmd_complete() 157 ev->opcode = cpu_to_le16(cmd); in mgmt_cmd_complete() 184 struct mgmt_pending_cmd *mgmt_pending_find(unsigned short channel, u16 opcode, in mgmt_pending_find() argument 192 if (cmd->opcode == opcode) in mgmt_pending_find() [all …]
|
/Linux-v4.19/arch/s390/tools/ |
D | gen_opcode_table.c | 24 char opcode[STRING_SIZE_MAX]; member 35 char opcode[2]; member 158 rc = scanf("%s %s %s", insn.opcode, insn.name, insn.format); in read_instructions() 233 char *opcode; in print_opcode() local 235 opcode = insn->opcode; in print_opcode() 237 opcode += 2; in print_opcode() 238 printf("\t[%4d] = { .opfrag = 0x%s, .format = INSTR_%s, ", nr, opcode, insn->format); 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() [all …]
|
/Linux-v4.19/drivers/scsi/sym53c8xx_2/ |
D | sym_fw.c | 363 u32 opcode, new, old, tmp1, tmp2; in sym_fw_bind_script() local 372 opcode = *cur; in sym_fw_bind_script() 380 if (opcode == 0) { in sym_fw_bind_script() 391 if (opcode == SCR_DATA_ZERO) { in sym_fw_bind_script() 398 (unsigned)opcode); in sym_fw_bind_script() 403 switch (opcode >> 28) { in sym_fw_bind_script() 431 if ((opcode & SCR_NO_FLUSH) && in sym_fw_bind_script() 433 opcode = (opcode & ~SCR_NO_FLUSH); in sym_fw_bind_script() 441 opcode = (opcode | OPC_MOVE); in sym_fw_bind_script() 449 opcode = (opcode | OPC_MOVE); in sym_fw_bind_script() [all …]
|
/Linux-v4.19/drivers/scsi/pcmcia/ |
D | nsp_debug.c | 49 #define group(opcode) (((opcode) >> 5) & 7) argument 65 static void print_opcodek(unsigned char opcode) in print_opcodek() argument 67 const char **table = commands[ group(opcode) ]; in print_opcodek() 71 printk("%s[%02x] ", reserved, opcode); in print_opcodek() 74 printk("%s(notext)[%02x] ", unknown, opcode); in print_opcodek() 77 printk("%s[%02x] ", vendor, opcode); in print_opcodek() 80 if (table[opcode & 0x1f] != unknown) in print_opcodek() 81 printk("%s[%02x] ", table[opcode & 0x1f], opcode); in print_opcodek() 83 printk("%s[%02x] ", unknown, opcode); in print_opcodek()
|
/Linux-v4.19/include/scsi/ |
D | srp.h | 120 u8 opcode; member 143 u8 opcode; member 155 u8 opcode; member 167 u8 opcode; member 177 u8 opcode; member 183 u8 opcode; member 195 u8 opcode; member 213 u8 opcode; member 245 u8 opcode; member 261 u8 opcode; member [all …]
|