Home
last modified time | relevance | path

Searched refs:opcode (Results 1 – 200 of 660) sorted by relevance

1234

/linux-4.1.27/arch/arm/nwfpe/
Dfpopcode.h204 #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 …]
Dfpa11_cpdt.c224 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 …]
Dfpa11_cprt.c30 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 …]
Dfpa11_cpdo.c26 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 …]
Dfpa11.c47 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 …]
Dfpa11.h97 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 …]
Dsingle_cpdo.c88 unsigned int SingleCPDO(struct roundingData *roundData, const unsigned int opcode, FPREG * rFd) in SingleCPDO() argument
94 Fm = getFm(opcode); in SingleCPDO()
95 if (CONSTANT_FM(opcode)) { in SingleCPDO()
103 opc_mask_shift = (opcode & MASK_ARITHMETIC_OPCODE) >> 20; in SingleCPDO()
104 if (!MONADIC_INSTRUCTION(opcode)) { in SingleCPDO()
105 unsigned int Fn = getFn(opcode); in SingleCPDO()
Ddouble_cpdo.c111 unsigned int DoubleCPDO(struct roundingData *roundData, const unsigned int opcode, FPREG * rFd) in DoubleCPDO() argument
117 Fm = getFm(opcode); in DoubleCPDO()
118 if (CONSTANT_FM(opcode)) { in DoubleCPDO()
135 opc_mask_shift = (opcode & MASK_ARITHMETIC_OPCODE) >> 20; in DoubleCPDO()
136 if (!MONADIC_INSTRUCTION(opcode)) { in DoubleCPDO()
137 unsigned int Fn = getFn(opcode); in DoubleCPDO()
Dextended_cpdo.c90 unsigned int ExtendedCPDO(struct roundingData *roundData, const unsigned int opcode, FPREG * rFd) in ExtendedCPDO() argument
96 Fm = getFm(opcode); in ExtendedCPDO()
97 if (CONSTANT_FM(opcode)) { in ExtendedCPDO()
118 opc_mask_shift = (opcode & MASK_ARITHMETIC_OPCODE) >> 20; in ExtendedCPDO()
119 if (!MONADIC_INSTRUCTION(opcode)) { in ExtendedCPDO()
120 unsigned int Fn = getFn(opcode); in ExtendedCPDO()
/linux-4.1.27/arch/powerpc/include/asm/
Dtrace.h62 TP_PROTO(unsigned long opcode, unsigned long *args),
64 TP_ARGS(opcode, args),
67 __field(unsigned long, opcode)
71 __entry->opcode = opcode;
74 TP_printk("opcode=%lu", __entry->opcode),
81 TP_PROTO(unsigned long opcode, unsigned long retval,
84 TP_ARGS(opcode, retval, retbuf),
87 __field(unsigned long, opcode)
92 __entry->opcode = opcode;
96 TP_printk("opcode=%lu retval=%lu", __entry->opcode, __entry->retval),
[all …]
Dhvcall.h298 long plpar_hcall_norets(unsigned long opcode, ...);
311 long plpar_hcall(unsigned long opcode, unsigned long *retbuf, ...);
325 long plpar_hcall_raw(unsigned long opcode, unsigned long *retbuf, ...);
336 long plpar_hcall9(unsigned long opcode, unsigned long *retbuf, ...);
337 long plpar_hcall9_raw(unsigned long opcode, unsigned long *retbuf, ...);
/linux-4.1.27/arch/sh/kernel/
Dtraps_64.c39 insn_size_t opcode; in read_opcode() local
48 get_user_error = __get_user(opcode, (insn_size_t *)aligned_pc); in read_opcode()
49 *result_opcode = opcode; in read_opcode()
84 insn_size_t opcode, in generate_and_check_address() argument
99 basereg = (opcode >> 20) & 0x3f; in generate_and_check_address()
103 displacement = (opcode >> 10) & 0x3ff; in generate_and_check_address()
109 offsetreg = (opcode >> 10) & 0x3f; in generate_and_check_address()
132 unaligned_fixups_notify(current, opcode, regs); in generate_and_check_address()
166 insn_size_t opcode, in misaligned_load() argument
176 error = generate_and_check_address(regs, opcode, in misaligned_load()
[all …]
Dkprobes.c45 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 …]
Dtraps.c111 insn_size_t opcode; in is_valid_bugaddr() local
115 if (probe_kernel_address((insn_size_t *)addr, opcode)) in is_valid_bugaddr()
117 if (opcode == TRAPA_BUG_OPCODE) in is_valid_bugaddr()
/linux-4.1.27/arch/blackfin/kernel/
Dtrace.c274 static void decode_ProgCtrl_0(unsigned int opcode) in decode_ProgCtrl_0() argument
276 int poprnd = ((opcode >> ProgCtrl_poprnd_bits) & ProgCtrl_poprnd_mask); in decode_ProgCtrl_0()
277 int prgfunc = ((opcode >> ProgCtrl_prgfunc_bits) & ProgCtrl_prgfunc_mask); in decode_ProgCtrl_0()
316 pr_cont("0x%04x", opcode); in decode_ProgCtrl_0()
330 static void decode_BRCC_0(unsigned int opcode) in decode_BRCC_0() argument
332 int B = ((opcode >> BRCC_B_bits) & BRCC_B_mask); in decode_BRCC_0()
333 int T = ((opcode >> BRCC_T_bits) & BRCC_T_mask); in decode_BRCC_0()
346 static void decode_CALLa_0(unsigned int opcode) in decode_CALLa_0() argument
348 int S = ((opcode >> (CALLa_S_bits - 16)) & CALLa_S_mask); in decode_CALLa_0()
372 static void decode_LoopSetup_0(unsigned int opcode) in decode_LoopSetup_0() argument
[all …]
Dpseudodbg.c106 bool execute_pseudodbg_assert(struct pt_regs *fp, unsigned int opcode) in execute_pseudodbg_assert() argument
108 int expected = ((opcode >> PseudoDbg_Assert_expected_bits) & PseudoDbg_Assert_expected_mask); in execute_pseudodbg_assert()
109 int dbgop = ((opcode >> (PseudoDbg_Assert_dbgop_bits)) & PseudoDbg_Assert_dbgop_mask); in execute_pseudodbg_assert()
110 int grp = ((opcode >> (PseudoDbg_Assert_grp_bits)) & PseudoDbg_Assert_grp_mask); in execute_pseudodbg_assert()
111 int regtest = ((opcode >> (PseudoDbg_Assert_regtest_bits)) & PseudoDbg_Assert_regtest_mask); in execute_pseudodbg_assert()
114 if ((opcode & 0xFF000000) != PseudoDbg_Assert_opcode) in execute_pseudodbg_assert()
158 bool execute_pseudodbg(struct pt_regs *fp, unsigned int opcode) in execute_pseudodbg() argument
163 if ((opcode & 0xFF000000) != PseudoDbg_opcode) in execute_pseudodbg()
166 opcode >>= 16; in execute_pseudodbg()
167 grp = ((opcode >> PseudoDbg_grp_bits) & PseudoDbg_reg_mask); in execute_pseudodbg()
[all …]
Ddumpstack.c21 unsigned int opcode; in is_bfin_call() local
23 if (!get_instruction(&opcode, addr)) in is_bfin_call()
26 if ((opcode >= 0x0060 && opcode <= 0x0067) || in is_bfin_call()
27 (opcode >= 0x0070 && opcode <= 0x0077) || in is_bfin_call()
28 (opcode >= 0xE3000000 && opcode <= 0xE3FFFFFF)) in is_bfin_call()
Dtraps.c75 int opcode; in trap_c() local
215 if (!kernel_mode_regs(fp) && get_instruction(&opcode, (unsigned short *)fp->pc)) { in trap_c()
216 if (execute_pseudodbg_assert(fp, opcode)) in trap_c()
218 if (execute_pseudodbg(fp, opcode)) in trap_c()
568 unsigned int opcode; in is_valid_bugaddr() local
570 if (!get_instruction(&opcode, (unsigned short *)addr)) in is_valid_bugaddr()
573 return opcode == BFIN_BUG_OPCODE; in is_valid_bugaddr()
/linux-4.1.27/arch/c6x/kernel/
Dmodule.c19 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-4.1.27/arch/x86/mm/
Dpf_in.c119 static int get_opcode(unsigned char *addr, unsigned int *opcode) in get_opcode() argument
125 *opcode = *(unsigned short *)addr; in get_opcode()
128 *opcode = *addr; in get_opcode()
135 #define CHECK_OP_TYPE(opcode, array, type) \ argument
137 if (array[i] == opcode) { \
145 unsigned int opcode; in get_ins_type() local
153 p += get_opcode(p, &opcode); in get_ins_type()
155 CHECK_OP_TYPE(opcode, reg_rop, REG_READ); in get_ins_type()
156 CHECK_OP_TYPE(opcode, reg_wop, REG_WRITE); in get_ins_type()
157 CHECK_OP_TYPE(opcode, imm_wop, IMM_WRITE); in get_ins_type()
[all …]
Dmmio-mod.c182 my_trace->opcode = MMIO_READ; in pre()
186 my_trace->opcode = MMIO_WRITE; in pre()
191 my_trace->opcode = MMIO_WRITE; in pre()
198 my_trace->opcode = MMIO_UNKNOWN_OP; in pre()
244 .opcode = MMIO_PROBE in ioremap_trace_core()
299 .opcode = MMIO_UNPROBE in iounmap_trace_core()
Dfault.c89 unsigned char opcode, int *prefetch) in check_prefetch_opcode() argument
91 unsigned char instr_hi = opcode & 0xf0; in check_prefetch_opcode()
92 unsigned char instr_lo = opcode & 0x0f; in check_prefetch_opcode()
123 if (probe_kernel_address(instr, opcode)) in check_prefetch_opcode()
127 (opcode == 0x0D || opcode == 0x18); in check_prefetch_opcode()
155 unsigned char opcode; in is_prefetch() local
157 if (probe_kernel_address(instr, opcode)) in is_prefetch()
162 if (!check_prefetch_opcode(regs, instr, opcode, &prefetch)) in is_prefetch()
/linux-4.1.27/net/bluetooth/
Dmgmt_util.c41 hdr->opcode = cpu_to_le16(event); in mgmt_send_event()
75 hdr->opcode = cpu_to_le16(MGMT_EV_CMD_STATUS); in mgmt_cmd_status()
81 ev->opcode = cpu_to_le16(cmd); in mgmt_cmd_status()
106 hdr->opcode = cpu_to_le16(MGMT_EV_CMD_COMPLETE); in mgmt_cmd_complete()
111 ev->opcode = cpu_to_le16(cmd); in mgmt_cmd_complete()
124 struct mgmt_pending_cmd *mgmt_pending_find(unsigned short channel, u16 opcode, in mgmt_pending_find() argument
132 if (cmd->opcode == opcode) in mgmt_pending_find()
140 u16 opcode, in mgmt_pending_find_data() argument
149 if (cmd->opcode == opcode) in mgmt_pending_find_data()
156 void mgmt_pending_foreach(u16 opcode, struct hci_dev *hdev, in mgmt_pending_foreach() argument
[all …]
Dhci_sock.c141 if (!flt->opcode) in is_filtered_packet()
145 flt->opcode != get_unaligned((__le16 *)(skb->data + 3))) in is_filtered_packet()
149 flt->opcode != get_unaligned((__le16 *)(skb->data + 4))) in is_filtered_packet()
256 __le16 opcode; in hci_send_to_monitor() local
265 opcode = cpu_to_le16(HCI_MON_COMMAND_PKT); in hci_send_to_monitor()
268 opcode = cpu_to_le16(HCI_MON_EVENT_PKT); in hci_send_to_monitor()
272 opcode = cpu_to_le16(HCI_MON_ACL_RX_PKT); in hci_send_to_monitor()
274 opcode = cpu_to_le16(HCI_MON_ACL_TX_PKT); in hci_send_to_monitor()
278 opcode = cpu_to_le16(HCI_MON_SCO_RX_PKT); in hci_send_to_monitor()
280 opcode = cpu_to_le16(HCI_MON_SCO_TX_PKT); in hci_send_to_monitor()
[all …]
Dmgmt_util.h25 u16 opcode; member
40 struct mgmt_pending_cmd *mgmt_pending_find(unsigned short channel, u16 opcode,
43 u16 opcode,
46 void mgmt_pending_foreach(u16 opcode, struct hci_dev *hdev,
49 struct mgmt_pending_cmd *mgmt_pending_add(struct sock *sk, u16 opcode,
Dhci_request.h36 void hci_req_add(struct hci_request *req, u16 opcode, u32 plen,
38 void hci_req_add_ev(struct hci_request *req, u16 opcode, u32 plen,
40 void hci_req_cmd_complete(struct hci_dev *hdev, u16 opcode, u8 status,
44 struct sk_buff *hci_prepare_cmd(struct hci_dev *hdev, u16 opcode, u32 plen,
Dhci_request.c81 struct sk_buff *hci_prepare_cmd(struct hci_dev *hdev, u16 opcode, u32 plen, in hci_prepare_cmd() argument
93 hdr->opcode = cpu_to_le16(opcode); in hci_prepare_cmd()
102 bt_cb(skb)->opcode = opcode; in hci_prepare_cmd()
108 void hci_req_add_ev(struct hci_request *req, u16 opcode, u32 plen, in hci_req_add_ev() argument
114 BT_DBG("%s opcode 0x%4.4x plen %d", hdev->name, opcode, plen); in hci_req_add_ev()
122 skb = hci_prepare_cmd(hdev, opcode, plen, param); in hci_req_add_ev()
125 hdev->name, opcode); in hci_req_add_ev()
138 void hci_req_add(struct hci_request *req, u16 opcode, u32 plen, in hci_req_add() argument
141 hci_req_add_ev(req, opcode, plen, param, 0); in hci_req_add()
549 u16 opcode) in update_background_scan_complete() argument
/linux-4.1.27/arch/powerpc/xmon/
Dppc-dis.c33 const struct powerpc_opcode *opcode; in print_insn_powerpc() local
57 for (opcode = powerpc_opcodes; opcode < opcode_end; opcode++) in print_insn_powerpc()
66 table_op = PPC_OP (opcode->opcode); in print_insn_powerpc()
72 if ((insn & opcode->mask) != opcode->opcode in print_insn_powerpc()
73 || (opcode->flags & dialect) == 0) in print_insn_powerpc()
80 for (opindex = opcode->operands; *opindex != 0; opindex++) in print_insn_powerpc()
90 printf("%s", opcode->name); in print_insn_powerpc()
91 if (opcode->operands[0] != 0) in print_insn_powerpc()
97 for (opindex = opcode->operands; *opindex != 0; opindex++) in print_insn_powerpc()
Dspu-dis.c45 int o = spu_opcodes[i].opcode; in init_spu_disassemble()
58 unsigned int opcode = insn >> (32-11); in get_index_for_opcode() local
65 if ((index = spu_disassemble_table[opcode & 0x780]) != 0 in get_index_for_opcode()
69 if ((index = spu_disassemble_table[opcode & 0x7f0]) != 0 in get_index_for_opcode()
73 if ((index = spu_disassemble_table[opcode & 0x7f8]) != 0 in get_index_for_opcode()
77 if ((index = spu_disassemble_table[opcode & 0x7fc]) != 0 in get_index_for_opcode()
81 if ((index = spu_disassemble_table[opcode & 0x7fe]) != 0 in get_index_for_opcode()
85 if ((index = spu_disassemble_table[opcode & 0x7ff]) != 0) in get_index_for_opcode()
/linux-4.1.27/drivers/scsi/aic7xxx/aicasm/
Daicasm_insformat.h54 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 …]
Daicasm_gram.y96 static void format_1_instr(int opcode, symbol_ref_t *dest,
98 static void format_2_instr(int opcode, symbol_ref_t *dest,
100 static void format_3_instr(int opcode, symbol_ref_t *src,
1650 format_1_instr(int opcode, symbol_ref_t *dest, expression_t *immed, in format_1_instr() argument
1665 type_check(dest, immed, opcode); in format_1_instr()
1672 f1_instr->opcode = opcode; in format_1_instr()
1698 switch (opcode) { in format_1_instr()
1727 format_2_instr(int opcode, symbol_ref_t *dest, expression_t *places, in format_2_instr() argument
1745 f2_instr->opcode = AIC_OP_ROL; in format_2_instr()
1754 switch (opcode) { in format_2_instr()
[all …]
/linux-4.1.27/arch/mips/include/uapi/asm/
Dinst.h514 __BITFIELD_FIELD(unsigned int opcode : 6, /* Jump format */
520 __BITFIELD_FIELD(unsigned int opcode : 6,
528 __BITFIELD_FIELD(unsigned int opcode : 6,
536 __BITFIELD_FIELD(unsigned int opcode : 6,
545 __BITFIELD_FIELD(unsigned int opcode : 6,
555 __BITFIELD_FIELD(unsigned int opcode : 6,
565 __BITFIELD_FIELD(unsigned int opcode : 6,
576 __BITFIELD_FIELD(unsigned int opcode : 6,
587 __BITFIELD_FIELD(unsigned int opcode : 6,
594 __BITFIELD_FIELD(unsigned int opcode : 6,
[all …]
/linux-4.1.27/arch/mn10300/mm/
Dmisalignment.c44 unsigned params, unsigned opcode,
50 unsigned opcode, unsigned long disp,
53 static void misalignment_MOV_Lcc(struct pt_regs *regs, uint32_t opcode);
154 u_int32_t opcode; member
325 uint32_t opcode, noc, xo, xm; in misalignment() local
351 opcode = byte; in misalignment()
355 npop = ilog2(pop->opcode | pop->opmask); in misalignment()
362 if ((opcode & pop->opmask) == pop->opcode) in misalignment()
365 xo = pop->opcode >> (npop - noc); in misalignment()
368 if ((opcode & xm) != xo) in misalignment()
[all …]
/linux-4.1.27/drivers/scsi/sym53c8xx_2/
Dsym_fw.c367 u32 opcode, new, old, tmp1, tmp2; in sym_fw_bind_script() local
376 opcode = *cur; in sym_fw_bind_script()
384 if (opcode == 0) { in sym_fw_bind_script()
395 if (opcode == SCR_DATA_ZERO) { in sym_fw_bind_script()
402 (unsigned)opcode); in sym_fw_bind_script()
407 switch (opcode >> 28) { in sym_fw_bind_script()
435 if ((opcode & SCR_NO_FLUSH) && in sym_fw_bind_script()
437 opcode = (opcode & ~SCR_NO_FLUSH); in sym_fw_bind_script()
445 opcode = (opcode | OPC_MOVE); in sym_fw_bind_script()
453 opcode = (opcode | OPC_MOVE); in sym_fw_bind_script()
[all …]
/linux-4.1.27/drivers/mmc/core/
Dmmc_ops.c65 cmd.opcode = MMC_SEND_STATUS; in __mmc_send_status()
97 cmd.opcode = MMC_SELECT_CARD; in _mmc_select_card()
138 cmd.opcode = MMC_SET_DSR; in mmc_set_dsr()
165 cmd.opcode = MMC_GO_IDLE_STATE; in mmc_go_idle()
190 cmd.opcode = MMC_SEND_OP_COND; in mmc_send_op_cond()
231 cmd.opcode = MMC_ALL_SEND_CID; in mmc_all_send_cid()
252 cmd.opcode = MMC_SET_RELATIVE_ADDR; in mmc_set_relative_addr()
264 mmc_send_cxd_native(struct mmc_host *host, u32 arg, u32 *cxd, int opcode) in mmc_send_cxd_native() argument
272 cmd.opcode = opcode; in mmc_send_cxd_native()
291 u32 opcode, void *buf, unsigned len) in mmc_send_cxd_data() argument
[all …]
Dsd_ops.c33 cmd.opcode = MMC_APP_CMD; in mmc_app_cmd()
129 cmd.opcode = SD_APP_SET_BUS_WIDTH; in mmc_app_set_bus_width()
157 cmd.opcode = SD_APP_OP_COND; in mmc_send_app_op_cond()
208 cmd.opcode = SD_SEND_IF_COND; in mmc_send_if_cond()
235 cmd.opcode = SD_SEND_RELATIVE_ADDR; in mmc_send_relative_addr()
277 cmd.opcode = SD_APP_SEND_SCR; in mmc_app_send_scr()
326 cmd.opcode = SD_SWITCH; in mmc_sd_switch()
373 cmd.opcode = SD_APP_SD_STATUS; in mmc_app_sd_status()
Dcore.c155 mmc_hostname(host), mrq->sbc->opcode, in mmc_request_done()
162 mmc_hostname(host), cmd->opcode, err, in mmc_request_done()
174 mmc_hostname(host), mrq->stop->opcode, in mmc_request_done()
200 mmc_hostname(host), mrq->sbc->opcode, in mmc_start_request()
205 mmc_hostname(host), mrq->cmd->opcode, in mmc_start_request()
219 mmc_hostname(host), mrq->stop->opcode, in mmc_start_request()
424 cmd->opcode, cmd->error); in mmc_wait_for_data_req_done()
473 mmc_hostname(host), cmd->opcode, cmd->error); in mmc_wait_for_req_done()
1097 u32 opcode; in mmc_execute_tuning() local
1104 opcode = MMC_SEND_TUNING_BLOCK_HS200; in mmc_execute_tuning()
[all …]
Dsdio_ops.c29 cmd.opcode = SD_IO_SEND_OP_COND; in mmc_send_io_op_cond()
81 cmd.opcode = SD_IO_RW_DIRECT; in mmc_io_rw_direct_host()
143 cmd.opcode = SD_IO_RW_EXTENDED; in mmc_io_rw_extended()
/linux-4.1.27/drivers/scsi/pcmcia/
Dnsp_debug.c49 #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-4.1.27/drivers/infiniband/hw/qib/
Dqib_uc.c105 switch (wqe->wr.opcode) { in qib_make_uc_req()
113 if (wqe->wr.opcode == IB_WR_SEND) in qib_make_uc_req()
142 if (wqe->wr.opcode == IB_WR_RDMA_WRITE) in qib_make_uc_req()
172 if (wqe->wr.opcode == IB_WR_SEND) in qib_make_uc_req()
196 if (wqe->wr.opcode == IB_WR_RDMA_WRITE) in qib_make_uc_req()
246 u32 opcode; in qib_uc_rcv() local
264 opcode = be32_to_cpu(ohdr->bth[0]); in qib_uc_rcv()
265 if (qib_ruc_check_hdr(ibp, hdr, has_grh, qp, opcode)) in qib_uc_rcv()
269 opcode >>= 24; in qib_uc_rcv()
286 switch (opcode) { in qib_uc_rcv()
[all …]
Dqib_rc.c121 if (e->opcode == OP(RDMA_READ_REQUEST)) { in qib_make_rc_ack()
334 switch (wqe->wr.opcode) { in qib_make_rc_req()
350 if (wqe->wr.opcode == IB_WR_SEND) in qib_make_rc_req()
389 if (wqe->wr.opcode == IB_WR_RDMA_WRITE) in qib_make_rc_req()
458 if (wqe->wr.opcode == IB_WR_ATOMIC_CMP_AND_SWP) { in qib_make_rc_req()
497 if (wqe->wr.opcode == IB_WR_RDMA_READ) in qib_make_rc_req()
531 if (wqe->wr.opcode == IB_WR_SEND) in qib_make_rc_req()
572 if (wqe->wr.opcode == IB_WR_RDMA_WRITE) in qib_make_rc_req()
787 u32 opcode; in reset_psn() local
801 opcode = wqe->wr.opcode; in reset_psn()
[all …]
Dqib_ud.c133 if (swqe->wr.opcode == IB_WR_SEND_WITH_IMM) { in qib_ud_loopback()
209 wc.opcode = IB_WC_RECV; in qib_ud_loopback()
341 if (wqe->wr.opcode == IB_WR_SEND_WITH_IMM) { in qib_make_ud_req()
432 int opcode; in qib_ud_rcv() local
513 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; in qib_ud_rcv()
515 opcode == IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE) { in qib_ud_rcv()
519 } else if (opcode == IB_OPCODE_UD_SEND_ONLY) { in qib_ud_rcv()
567 wc.opcode = IB_WC_RECV; in qib_ud_rcv()
/linux-4.1.27/arch/x86/lib/
Dinat.c27 insn_attr_t inat_get_opcode_attribute(insn_byte_t opcode) in inat_get_opcode_attribute() argument
29 return inat_primary_table[opcode]; in inat_get_opcode_attribute()
40 insn_attr_t inat_get_escape_attribute(insn_byte_t opcode, int lpfx_id, in inat_get_escape_attribute() argument
51 if (inat_has_variant(table[opcode]) && lpfx_id) { in inat_get_escape_attribute()
56 return table[opcode]; in inat_get_escape_attribute()
79 insn_attr_t inat_get_avx_attribute(insn_byte_t opcode, insn_byte_t vex_m, in inat_get_avx_attribute() argument
89 if (!inat_is_group(table[opcode]) && vex_p) { in inat_get_avx_attribute()
95 return table[opcode]; in inat_get_avx_attribute()
Dinsn.c205 struct insn_field *opcode = &insn->opcode; in insn_get_opcode() local
208 if (opcode->got) in insn_get_opcode()
215 opcode->bytes[0] = op; in insn_get_opcode()
216 opcode->nbytes = 1; in insn_get_opcode()
233 opcode->bytes[opcode->nbytes++] = op; in insn_get_opcode()
240 opcode->got = 1; in insn_get_opcode()
260 if (!insn->opcode.got) in insn_get_modrm()
/linux-4.1.27/include/scsi/
Dsrp.h119 u8 opcode; member
137 u8 opcode; member
149 u8 opcode; member
159 u8 opcode; member
165 u8 opcode; member
177 u8 opcode; member
195 u8 opcode; member
227 u8 opcode; member
243 u8 opcode; member
251 u8 opcode; member
[all …]
Discsi_proto.h88 uint8_t opcode; member
150 uint8_t opcode; member
195 uint8_t opcode; member
226 uint8_t opcode; member
254 uint8_t opcode; member
269 uint8_t opcode; member
285 uint8_t opcode; member
316 uint8_t opcode; member
343 uint8_t opcode; member
361 uint8_t opcode; member
[all …]
/linux-4.1.27/drivers/infiniband/hw/ipath/
Dipath_uc.c102 switch (wqe->wr.opcode) { in ipath_make_uc_req()
110 if (wqe->wr.opcode == IB_WR_SEND) in ipath_make_uc_req()
139 if (wqe->wr.opcode == IB_WR_RDMA_WRITE) in ipath_make_uc_req()
169 if (wqe->wr.opcode == IB_WR_SEND) in ipath_make_uc_req()
193 if (wqe->wr.opcode == IB_WR_RDMA_WRITE) in ipath_make_uc_req()
244 int opcode; in ipath_uc_rcv() local
283 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; in ipath_uc_rcv()
296 switch (opcode) { in ipath_uc_rcv()
317 if (opcode == OP(SEND_MIDDLE) || in ipath_uc_rcv()
318 opcode == OP(SEND_LAST) || in ipath_uc_rcv()
[all …]
Dipath_rc.c125 if (e->opcode == OP(RDMA_READ_REQUEST)) { in ipath_make_rc_ack()
310 switch (wqe->wr.opcode) { in ipath_make_rc_req()
326 if (wqe->wr.opcode == IB_WR_SEND) in ipath_make_rc_req()
365 if (wqe->wr.opcode == IB_WR_RDMA_WRITE) in ipath_make_rc_req()
433 if (wqe->wr.opcode == IB_WR_ATOMIC_CMP_AND_SWP) { in ipath_make_rc_req()
471 if (wqe->wr.opcode == IB_WR_RDMA_READ) in ipath_make_rc_req()
510 if (wqe->wr.opcode == IB_WR_SEND) in ipath_make_rc_req()
546 if (wqe->wr.opcode == IB_WR_RDMA_WRITE) in ipath_make_rc_req()
728 u32 opcode; in reset_psn() local
742 opcode = wqe->wr.opcode; in reset_psn()
[all …]
Dipath_ud.c96 if (swqe->wr.opcode == IB_WR_SEND_WITH_IMM) { in ipath_ud_loopback()
214 wc.opcode = IB_WC_RECV; in ipath_ud_loopback()
343 if (wqe->wr.opcode == IB_WR_SEND_WITH_IMM) { in ipath_make_ud_req()
413 int opcode; in ipath_ud_rcv() local
479 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; in ipath_ud_rcv()
481 opcode == IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE) { in ipath_ud_rcv()
489 } else if (opcode == IB_OPCODE_UD_SEND_ONLY) { in ipath_ud_rcv()
559 wc.opcode = IB_WC_RECV; in ipath_ud_rcv()
Dipath_ruc.c148 wc.opcode = IB_WC_RECV; in ipath_init_sge()
332 switch (wqe->wr.opcode) { in ipath_ruc_loopback()
388 (wqe->wr.opcode == IB_WR_ATOMIC_FETCH_AND_ADD) ? in ipath_ruc_loopback()
432 if (wqe->wr.opcode == IB_WR_RDMA_WRITE_WITH_IMM) in ipath_ruc_loopback()
433 wc.opcode = IB_WC_RECV_RDMA_WITH_IMM; in ipath_ruc_loopback()
435 wc.opcode = IB_WC_RECV; in ipath_ruc_loopback()
716 wc.opcode = ib_ipath_wc_opcode[wqe->wr.opcode]; in ipath_send_complete()
/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event_p4.c23 unsigned int opcode; /* Event code and ESCR selector */ member
73 .opcode = P4_OPCODE(P4_EVENT_TC_DELIVER_MODE),
87 .opcode = P4_OPCODE(P4_EVENT_BPU_FETCH_REQUEST),
94 .opcode = P4_OPCODE(P4_EVENT_ITLB_REFERENCE),
103 .opcode = P4_OPCODE(P4_EVENT_MEMORY_CANCEL),
111 .opcode = P4_OPCODE(P4_EVENT_MEMORY_COMPLETE),
119 .opcode = P4_OPCODE(P4_EVENT_LOAD_PORT_REPLAY),
126 .opcode = P4_OPCODE(P4_EVENT_STORE_PORT_REPLAY),
133 .opcode = P4_OPCODE(P4_EVENT_MOB_LOAD_REPLAY),
143 .opcode = P4_OPCODE(P4_EVENT_PAGE_WALK_TYPE),
[all …]
/linux-4.1.27/arch/x86/kernel/kprobes/
Dcore.c168 kprobe_opcode_t opcode; in can_boost() local
177 opcode = *(opcodes++); in can_boost()
180 if (opcode == 0x0f) { in can_boost()
187 switch (opcode & 0xf0) { in can_boost()
193 if (0x63 < opcode && opcode < 0x67) in can_boost()
196 return (opcode != 0x62 && opcode != 0x67); in can_boost()
201 return (0xc1 < opcode && opcode < 0xcc) || opcode == 0xcf; in can_boost()
204 return (opcode == 0xd4 || opcode == 0xd5 || opcode == 0xd7); in can_boost()
207 return ((opcode & 0x04) || opcode == 0xea); in can_boost()
209 if ((opcode & 0x0c) == 0 && opcode != 0xf1) in can_boost()
[all …]
Dopt.c69 buf[0] = kp->opcode; in __recover_optprobed_insn()
196 return ((insn->opcode.bytes[0] == 0xff && in insn_is_indirect_jump()
198 insn->opcode.bytes[0] == 0xea); /* Segment based jump */ in insn_is_indirect_jump()
206 switch (insn->opcode.bytes[0]) { in insn_jump_into_range()
215 if ((insn->opcode.bytes[1] & 0xf0) == 0x80) /* jcc near */ in insn_jump_into_range()
219 if ((insn->opcode.bytes[0] & 0xf0) == 0x70) /* jcc short */ in insn_jump_into_range()
267 if (insn.opcode.bytes[0] == BREAKPOINT_INSTRUCTION) in can_optimize()
/linux-4.1.27/drivers/scsi/
Dnsp32_debug.c47 #define group(opcode) (((opcode) >> 5) & 7) argument
63 static void print_opcodek(unsigned char opcode) in print_opcodek() argument
65 const char **table = commands[ group(opcode) ]; in print_opcodek()
69 printk("%s[%02x] ", reserved, opcode); in print_opcodek()
72 printk("%s(notext)[%02x] ", unknown, opcode); in print_opcodek()
75 printk("%s[%02x] ", vendor, opcode); in print_opcodek()
78 if (table[opcode & 0x1f] != unknown) in print_opcodek()
79 printk("%s[%02x] ", table[opcode & 0x1f], opcode); in print_opcodek()
81 printk("%s[%02x] ", unknown, opcode); in print_opcodek()
Dconstants.c26 int opcode; member
259 bool scsi_opcode_sa_name(int opcode, int service_action, in scsi_opcode_sa_name() argument
267 if (opcode >= VENDOR_SPECIFIC_CDB) in scsi_opcode_sa_name()
270 if (opcode < ARRAY_SIZE(cdb_byte0_names)) in scsi_opcode_sa_name()
271 *cdb_name = cdb_byte0_names[opcode]; in scsi_opcode_sa_name()
274 if (sa_name_ptr->opcode == opcode) { in scsi_opcode_sa_name()
Datari_scsi.c633 unsigned char opcode = cmd->cmnd[0]; in falcon_classify_cmd() local
635 if (opcode == READ_DEFECT_DATA || opcode == READ_LONG || in falcon_classify_cmd()
636 opcode == READ_BUFFER) in falcon_classify_cmd()
638 else if (opcode == READ_6 || opcode == READ_10 || in falcon_classify_cmd()
639 opcode == 0xa8 /* READ_12 */ || opcode == READ_REVERSE || in falcon_classify_cmd()
640 opcode == RECOVER_BUFFERED_DATA) { in falcon_classify_cmd()
Dps3rom.c100 unsigned char opcode = cmd->cmnd[0]; in ps3rom_atapi_request() local
105 __LINE__, opcode); in ps3rom_atapi_request()
146 __func__, __LINE__, opcode); in ps3rom_atapi_request()
153 __LINE__, opcode, res); in ps3rom_atapi_request()
220 unsigned char opcode; in ps3rom_queuecommand_lck() local
226 opcode = cmd->cmnd[0]; in ps3rom_queuecommand_lck()
232 switch (opcode) { in ps3rom_queuecommand_lck()
Dlibiscsi.c148 hdr->opcode = ISCSI_OP_SCSI_DATA_OUT; in iscsi_prep_data_out_pdu()
259 static int iscsi_check_tmf_restrictions(struct iscsi_task *task, int opcode) in iscsi_check_tmf_restrictions() argument
268 if ((tmf->opcode & ISCSI_OPCODE_MASK) != ISCSI_OP_SCSI_TMFUNC) in iscsi_check_tmf_restrictions()
284 if (opcode != ISCSI_OP_SCSI_DATA_OUT) { in iscsi_check_tmf_restrictions()
289 task->hdr->opcode, opcode, in iscsi_check_tmf_restrictions()
301 task->hdr->opcode, opcode, in iscsi_check_tmf_restrictions()
313 if (opcode == ISCSI_OP_SCSI_DATA_OUT && in iscsi_check_tmf_restrictions()
367 hdr->opcode = ISCSI_OP_SCSI_CMD; in iscsi_prep_scsi_cmd_pdu()
654 uint8_t opcode = hdr->opcode & ISCSI_OPCODE_MASK; in iscsi_prep_mgmt_task() local
659 if (opcode != ISCSI_OP_LOGIN && opcode != ISCSI_OP_TEXT) in iscsi_prep_mgmt_task()
[all …]
/linux-4.1.27/drivers/acpi/acpica/
Dexoparg2.c97 acpi_ps_get_opcode_name(walk_state->opcode)); in acpi_ex_opcode_2A_0T_0R()
101 switch (walk_state->opcode) { in acpi_ex_opcode_2A_0T_0R()
136 walk_state->opcode)); in acpi_ex_opcode_2A_0T_0R()
164 acpi_ps_get_opcode_name(walk_state->opcode)); in acpi_ex_opcode_2A_2T_1R()
168 switch (walk_state->opcode) { in acpi_ex_opcode_2A_2T_1R()
201 walk_state->opcode)); in acpi_ex_opcode_2A_2T_1R()
263 acpi_ps_get_opcode_name(walk_state->opcode)); in acpi_ex_opcode_2A_1T_1R()
278 acpi_ex_do_math_op(walk_state->opcode, in acpi_ex_opcode_2A_1T_1R()
284 switch (walk_state->opcode) { in acpi_ex_opcode_2A_1T_1R()
443 walk_state->opcode)); in acpi_ex_opcode_2A_1T_1R()
[all …]
Dpsargs.c272 if (walk_state->opcode == AML_UNLOAD_OP) { in acpi_ps_get_next_namepath()
395 u16 opcode; in acpi_ps_get_next_simple_arg() local
405 opcode = AML_BYTE_OP; in acpi_ps_get_next_simple_arg()
414 opcode = AML_WORD_OP; in acpi_ps_get_next_simple_arg()
423 opcode = AML_DWORD_OP; in acpi_ps_get_next_simple_arg()
432 opcode = AML_QWORD_OP; in acpi_ps_get_next_simple_arg()
441 opcode = AML_STRING_OP; in acpi_ps_get_next_simple_arg()
467 acpi_ps_init_op(arg, opcode); in acpi_ps_get_next_simple_arg()
490 u16 opcode; in acpi_ps_get_next_field() local
509 opcode = AML_INT_RESERVEDFIELD_OP; in acpi_ps_get_next_field()
[all …]
Dpsutils.c89 void acpi_ps_init_op(union acpi_parse_object *op, u16 opcode) in acpi_ps_init_op() argument
94 op->common.aml_opcode = opcode; in acpi_ps_init_op()
98 (opcode))->name, in acpi_ps_init_op()
116 union acpi_parse_object *acpi_ps_alloc_op(u16 opcode) in acpi_ps_alloc_op() argument
124 op_info = acpi_ps_get_opcode_info(opcode); in acpi_ps_alloc_op()
132 } else if (opcode == AML_INT_BYTELIST_OP) { in acpi_ps_alloc_op()
152 acpi_ps_init_op(op, opcode); in acpi_ps_alloc_op()
Dexoparg1.c93 acpi_ps_get_opcode_name(walk_state->opcode)); in acpi_ex_opcode_0A_0T_1R()
97 switch (walk_state->opcode) { in acpi_ex_opcode_0A_0T_1R()
113 walk_state->opcode)); in acpi_ex_opcode_0A_0T_1R()
153 acpi_ps_get_opcode_name(walk_state->opcode)); in acpi_ex_opcode_1A_0T_0R()
157 switch (walk_state->opcode) { in acpi_ex_opcode_1A_0T_0R()
192 walk_state->opcode)); in acpi_ex_opcode_1A_0T_0R()
219 acpi_ps_get_opcode_name(walk_state->opcode)); in acpi_ex_opcode_1A_1T_0R()
223 switch (walk_state->opcode) { in acpi_ex_opcode_1A_1T_0R()
232 walk_state->opcode)); in acpi_ex_opcode_1A_1T_0R()
267 acpi_ps_get_opcode_name(walk_state->opcode)); in acpi_ex_opcode_1A_1T_1R()
[all …]
Dpsopinfo.c72 const struct acpi_opcode_info *acpi_ps_get_opcode_info(u16 opcode) in acpi_ps_get_opcode_info() argument
83 if (!(opcode & 0xFF00)) { in acpi_ps_get_opcode_info()
88 [acpi_gbl_short_op_index[(u8)opcode]]); in acpi_ps_get_opcode_info()
91 if (((opcode & 0xFF00) == AML_EXTENDED_OPCODE) && in acpi_ps_get_opcode_info()
92 (((u8)opcode) <= MAX_EXTENDED_OPCODE)) { in acpi_ps_get_opcode_info()
97 [acpi_gbl_long_op_index[(u8)opcode]]); in acpi_ps_get_opcode_info()
102 switch (opcode) { in acpi_ps_get_opcode_info()
146 ACPI_DEBUG_PRINT((ACPI_DB_EXEC, "%s [%4.4X]\n", opcode_name, opcode)); in acpi_ps_get_opcode_info()
164 char *acpi_ps_get_opcode_name(u16 opcode) in acpi_ps_get_opcode_name() argument
170 op = acpi_ps_get_opcode_info(opcode); in acpi_ps_get_opcode_name()
Dpsobject.c75 walk_state->opcode = acpi_ps_peek_opcode(&(walk_state->parser_state)); in acpi_ps_get_aml_opcode()
83 walk_state->op_info = acpi_ps_get_opcode_info(walk_state->opcode); in acpi_ps_get_aml_opcode()
92 walk_state->opcode = AML_INT_NAMEPATH_OP; in acpi_ps_get_aml_opcode()
103 walk_state->opcode, in acpi_ps_get_aml_opcode()
117 walk_state->opcode, in acpi_ps_get_aml_opcode()
135 if (walk_state->opcode > 0xFF) { /* Can only happen if first byte is 0x5B */ in acpi_ps_get_aml_opcode()
146 acpi_ps_get_opcode_size(walk_state->opcode); in acpi_ps_get_aml_opcode()
182 unnamed_op->common.aml_opcode = walk_state->opcode; in acpi_ps_build_named_op()
296 walk_state->op_info = acpi_ps_get_opcode_info(walk_state->opcode); in acpi_ps_create_op()
297 op = acpi_ps_alloc_op(walk_state->opcode); in acpi_ps_create_op()
[all …]
Dacparser.h103 u32 name, u32 opcode);
131 const struct acpi_opcode_info *acpi_ps_get_opcode_info(u16 opcode);
133 char *acpi_ps_get_opcode_name(u16 opcode);
142 u32 acpi_ps_get_opcode_size(u32 opcode);
190 char *path, u16 opcode, u32 create);
227 void acpi_ps_init_op(union acpi_parse_object *op, u16 opcode);
229 union acpi_parse_object *acpi_ps_alloc_op(u16 opcode);
Dexoparg3.c92 acpi_ps_get_opcode_name(walk_state->opcode)); in acpi_ex_opcode_3A_0T_0R()
94 switch (walk_state->opcode) { in acpi_ex_opcode_3A_0T_0R()
133 walk_state->opcode)); in acpi_ex_opcode_3A_0T_0R()
165 acpi_ps_get_opcode_name(walk_state->opcode)); in acpi_ex_opcode_3A_1T_1R()
167 switch (walk_state->opcode) { in acpi_ex_opcode_3A_1T_1R()
257 walk_state->opcode)); in acpi_ex_opcode_3A_1T_1R()
Drsmisc.c117 switch (info->opcode) { in acpi_rs_convert_aml_to_resource()
256 info->opcode); in acpi_rs_convert_aml_to_resource()
272 info->opcode); in acpi_rs_convert_aml_to_resource()
288 info->opcode); in acpi_rs_convert_aml_to_resource()
304 info->opcode); in acpi_rs_convert_aml_to_resource()
322 info->opcode); in acpi_rs_convert_aml_to_resource()
502 switch (info->opcode) { in acpi_rs_convert_resource_to_aml()
636 info->opcode); in acpi_rs_convert_resource_to_aml()
646 info->opcode); in acpi_rs_convert_resource_to_aml()
658 info->opcode); in acpi_rs_convert_resource_to_aml()
[all …]
Dexresop.c133 acpi_ex_resolve_operands(u16 opcode, in acpi_ex_resolve_operands() argument
146 ACPI_FUNCTION_TRACE_U32(ex_resolve_operands, opcode); in acpi_ex_resolve_operands()
148 op_info = acpi_ps_get_opcode_info(opcode); in acpi_ex_resolve_operands()
155 ACPI_ERROR((AE_INFO, "Unknown AML opcode 0x%X", opcode)); in acpi_ex_resolve_operands()
162 opcode, op_info->name, arg_types)); in acpi_ex_resolve_operands()
334 if ((opcode == AML_STORE_OP) && in acpi_ex_resolve_operands()
697 acpi_ps_get_opcode_name(opcode), in acpi_ex_resolve_operands()
Dpsparse.c74 u32 acpi_ps_get_opcode_size(u32 opcode) in acpi_ps_get_opcode_size() argument
79 if (opcode > 0x00FF) { in acpi_ps_get_opcode_size()
103 u16 opcode; in acpi_ps_peek_opcode() local
106 opcode = (u16) ACPI_GET8(aml); in acpi_ps_peek_opcode()
108 if (opcode == AML_EXTENDED_OP_PREFIX) { in acpi_ps_peek_opcode()
113 opcode = (u16) ((opcode << 8) | ACPI_GET8(aml)); in acpi_ps_peek_opcode()
116 return (opcode); in acpi_ps_peek_opcode()
Dexmisc.c414 u64 acpi_ex_do_math_op(u16 opcode, u64 integer0, u64 integer1) in acpi_ex_do_math_op() argument
419 switch (opcode) { in acpi_ex_do_math_op()
501 acpi_ex_do_logical_numeric_op(u16 opcode, in acpi_ex_do_logical_numeric_op() argument
509 switch (opcode) { in acpi_ex_do_logical_numeric_op()
563 acpi_ex_do_logical_op(u16 opcode, in acpi_ex_do_logical_op() argument
624 switch (opcode) { in acpi_ex_do_logical_op()
667 switch (opcode) { in acpi_ex_do_logical_op()
Ddswload.c182 switch (walk_state->opcode) { in acpi_ds_load1_begin_op()
316 if ((walk_state->opcode != AML_SCOPE_OP) && in acpi_ds_load1_begin_op()
382 op = acpi_ps_alloc_op(walk_state->opcode); in acpi_ds_load1_begin_op()
451 if (walk_state->opcode == AML_FIELD_OP || in acpi_ds_load1_end_op()
452 walk_state->opcode == AML_BANK_FIELD_OP || in acpi_ds_load1_end_op()
453 walk_state->opcode == AML_INDEX_FIELD_OP) { in acpi_ds_load1_end_op()
Dexoparg6.c219 acpi_ps_get_opcode_name(walk_state->opcode)); in acpi_ex_opcode_6A_0T_1R()
221 switch (walk_state->opcode) { in acpi_ex_opcode_6A_0T_1R()
312 walk_state->opcode)); in acpi_ex_opcode_6A_0T_1R()
Ddsobject.c629 u16 opcode, in acpi_ds_init_object_from_op() argument
639 op_info = acpi_ps_get_opcode_info(opcode); in acpi_ds_init_object_from_op()
686 switch (opcode) { in acpi_ds_init_object_from_op()
717 opcode)); in acpi_ds_init_object_from_op()
774 ((u32)opcode) - AML_LOCAL_OP; in acpi_ds_init_object_from_op()
794 obj_desc->reference.value = ((u32)opcode) - AML_ARG_OP; in acpi_ds_init_object_from_op()
833 opcode)); in acpi_ds_init_object_from_op()
Ddswexec.c231 walk_state->opcode = op->common.aml_opcode; in acpi_ds_exec_begin_op()
400 if (walk_state->opcode == AML_INT_NAMEPATH_OP) { in acpi_ds_exec_end_op()
425 status = acpi_ex_resolve_operands(walk_state->opcode, in acpi_ds_exec_end_op()
447 (walk_state->opcode == AML_STORE_OP) && in acpi_ds_exec_end_op()
461 (walk_state->opcode))); in acpi_ds_exec_end_op()
689 walk_state->opcode, op)); in acpi_ds_exec_end_op()
Ddsutils.c468 u16 opcode; in acpi_ds_create_operand() local
507 (u32) ((walk_state->opcode == in acpi_ds_create_operand()
621 opcode = AML_ZERO_OP; /* Has no arguments! */ in acpi_ds_create_operand()
626 opcode = arg->common.aml_opcode; in acpi_ds_create_operand()
631 op_info = acpi_ps_get_opcode_info(opcode); in acpi_ds_create_operand()
673 acpi_ds_init_object_from_op(walk_state, arg, opcode, in acpi_ds_create_operand()
Dacinterp.h68 u8 opcode; member
204 acpi_ex_do_logical_numeric_op(u16 opcode,
208 acpi_ex_do_logical_op(u16 opcode,
212 u64 acpi_ex_do_math_op(u16 opcode, u64 operand0, u64 operand1);
365 acpi_ex_resolve_operands(u16 opcode,
/linux-4.1.27/scripts/rt-tester/
Dt2-l1-signal.tst5 # | opcode
7 # | | | opcode argument
13 # opcode opcode argument
28 # opcode opcode argument
40 # opcodeeq command opcode or number
Dt2-l1-pi.tst5 # | opcode
7 # | | | opcode argument
13 # opcode opcode argument
28 # opcode opcode argument
40 # opcodeeq command opcode or number
Dt3-l1-pi-1rt.tst5 # | opcode
7 # | | | opcode argument
13 # opcode opcode argument
28 # opcode opcode argument
40 # opcodeeq command opcode or number
Dt2-l2-2rt-deadlock.tst5 # | opcode
7 # | | | opcode argument
13 # opcode opcode argument
28 # opcode opcode argument
40 # opcodeeq command opcode or number
Dt3-l1-pi-3rt.tst5 # | opcode
7 # | | | opcode argument
13 # opcode opcode argument
28 # opcode opcode argument
40 # opcodeeq command opcode or number
Dt3-l2-pi.tst5 # | opcode
7 # | | | opcode argument
13 # opcode opcode argument
28 # opcode opcode argument
40 # opcodeeq command opcode or number
Dt2-l1-2rt-sameprio.tst5 # | opcode
7 # | | | opcode argument
13 # opcode opcode argument
28 # opcode opcode argument
40 # opcodeeq command opcode or number
Dt3-l1-pi-2rt.tst5 # | opcode
7 # | | | opcode argument
13 # opcode opcode argument
28 # opcode opcode argument
40 # opcodeeq command opcode or number
Dt3-l1-pi-steal.tst5 # | opcode
7 # | | | opcode argument
13 # opcode opcode argument
28 # opcode opcode argument
40 # opcodeeq command opcode or number
Dt3-l1-pi-signal.tst5 # | opcode
7 # | | | opcode argument
13 # opcode opcode argument
28 # opcode opcode argument
40 # opcodeeq command opcode or number
Dt5-l4-pi-boost-deboost.tst5 # | opcode
7 # | | | opcode argument
13 # opcode opcode argument
28 # opcode opcode argument
40 # opcodeeq command opcode or number
Dt4-l2-pi-deboost.tst5 # | opcode
7 # | | | opcode argument
13 # opcode opcode argument
28 # opcode opcode argument
40 # opcodeeq command opcode or number
Dt5-l4-pi-boost-deboost-setsched.tst5 # | opcode
7 # | | | opcode argument
13 # opcode opcode argument
28 # opcode opcode argument
40 # opcodeeq command opcode or number
/linux-4.1.27/arch/mips/kernel/
Dtraps.c513 static inline int simulate_ll(struct pt_regs *regs, unsigned int opcode) in simulate_ll() argument
524 offset = opcode & OFFSET; in simulate_ll()
529 ((unsigned long)(regs->regs[(opcode & BASE) >> 21]) + offset); in simulate_ll()
547 regs->regs[(opcode & RT) >> 16] = value; in simulate_ll()
552 static inline int simulate_sc(struct pt_regs *regs, unsigned int opcode) in simulate_sc() argument
564 offset = opcode & OFFSET; in simulate_sc()
569 ((unsigned long)(regs->regs[(opcode & BASE) >> 21]) + offset); in simulate_sc()
570 reg = (opcode & RT) >> 16; in simulate_sc()
600 static int simulate_llsc(struct pt_regs *regs, unsigned int opcode) in simulate_llsc() argument
602 if ((opcode & OPCODE) == LL) { in simulate_llsc()
[all …]
Dprocess.c210 return (mmi.mm16_r5_format.opcode == mm_swsp16_op && in is_ra_save_ins()
212 (mmi.mm16_m_format.opcode == mm_pool16c_op && in is_ra_save_ins()
218 return (mmi.mm_m_format.opcode == mm_pool32b_op && in is_ra_save_ins()
222 (mmi.i_format.opcode == mm_sw32_op && in is_ra_save_ins()
228 return (ip->i_format.opcode == sw_op || ip->i_format.opcode == sd_op) && in is_ra_save_ins()
249 if ((mmi.mm16_r5_format.opcode == mm_pool16c_op && in is_jump_ins()
251 ip->j_format.opcode == mm_jal32_op) in is_jump_ins()
253 if (ip->r_format.opcode != mm_pool32a_op || in is_jump_ins()
258 if (ip->j_format.opcode == j_op) in is_jump_ins()
260 if (ip->j_format.opcode == jal_op) in is_jump_ins()
[all …]
Dkprobes.c39 .opcode = spec_op,
47 .opcode = spec_op,
58 switch (insn.i_format.opcode) { in insn_has_delayslot()
128 switch (insn.i_format.opcode) { in insn_has_ll_or_sc()
190 p->opcode = *p->addr; in arch_prepare_kprobe()
204 *p->addr = p->opcode; in arch_disarm_kprobe()
258 union mips_instruction insn = p->opcode; in evaluate_branch_instruction()
297 if (p->opcode.word == breakpoint_insn.word || in prepare_singlestep()
298 p->opcode.word == breakpoint2_insn.word) in prepare_singlestep()
300 else if (insn_has_delayslot(p->opcode)) { in prepare_singlestep()
[all …]
Dbranch.c42 if (inst_mips16e.ri.opcode == MIPS16e_jal_op) in __isa_exception_epc()
68 switch (insn.mm_i_format.opcode) { in __mm_isBranchInstr()
331 switch (inst.ri.opcode) { in __MIPS16e_compute_return_epc()
423 switch (insn.i_format.opcode) { in __compute_return_epc_for_insn()
567 if (insn.i_format.opcode == jalx_op) in __compute_return_epc_for_insn()
581 if (insn.i_format.opcode == beql_op) in __compute_return_epc_for_insn()
595 if (insn.i_format.opcode == bnel_op) in __compute_return_epc_for_insn()
620 if ((insn.i_format.opcode == blez_op) && in __compute_return_epc_for_insn()
630 if (insn.i_format.opcode == blezl_op) in __compute_return_epc_for_insn()
655 if ((insn.i_format.opcode == blez_op) && in __compute_return_epc_for_insn()
[all …]
/linux-4.1.27/kernel/locking/
Drtmutex-tester.c28 int opcode; member
59 switch(td->opcode) { in handle_op()
87 switch(td->opcode) { in handle_op()
154 op = td->opcode; in schedule_rt_mutex_test()
208 td->opcode = 0; in schedule_rt_mutex_test()
213 if (td->opcode > 0) { in schedule_rt_mutex_test()
219 if (td->opcode == RTTEST_LOCKCONT) in schedule_rt_mutex_test()
221 td->opcode = ret; in schedule_rt_mutex_test()
229 td->opcode = op; in schedule_rt_mutex_test()
246 if (td->opcode > 0) { in test_func()
[all …]
/linux-4.1.27/arch/x86/include/asm/
Diosf_mbi.h89 int iosf_mbi_read(u8 port, u8 opcode, u32 offset, u32 *mdr);
101 int iosf_mbi_write(u8 port, u8 opcode, u32 offset, u32 mdr);
114 int iosf_mbi_modify(u8 port, u8 opcode, u32 offset, u32 mdr, u32 mask);
124 int iosf_mbi_read(u8 port, u8 opcode, u32 offset, u32 *mdr) in iosf_mbi_read() argument
131 int iosf_mbi_write(u8 port, u8 opcode, u32 offset, u32 mdr) in iosf_mbi_write() argument
138 int iosf_mbi_modify(u8 port, u8 opcode, u32 offset, u32 mdr, u32 mask) in iosf_mbi_modify() argument
Dinat.h99 extern insn_attr_t inat_get_opcode_attribute(insn_byte_t opcode);
101 extern insn_attr_t inat_get_escape_attribute(insn_byte_t opcode,
107 extern insn_attr_t inat_get_avx_attribute(insn_byte_t opcode,
Dinsn.h43 struct insn_field opcode; /* member
139 return insn->opcode.got && insn->modrm.got && insn->sib.got && in insn_complete()
186 return insn_offset_opcode(insn) + insn->opcode.nbytes; in insn_offset_modrm()
Dalternative.h248 extern void *text_poke_early(void *addr, const void *opcode, size_t len);
264 extern void *text_poke(void *addr, const void *opcode, size_t len);
266 extern void *text_poke_bp(void *addr, const void *opcode, size_t len, void *handler);
/linux-4.1.27/arch/arm/probes/
Ddecode-arm.h56 void __kprobes simulate_bbl(probes_opcode_t opcode,
58 void __kprobes simulate_blx1(probes_opcode_t opcode,
60 void __kprobes simulate_blx2bx(probes_opcode_t opcode,
62 void __kprobes simulate_mrs(probes_opcode_t opcode,
64 void __kprobes simulate_mov_ipsp(probes_opcode_t opcode,
Ddecode-thumb.c846 static void __kprobes thumb16_singlestep(probes_opcode_t opcode, in thumb16_singlestep() argument
851 asi->insn_handler(opcode, asi, regs); in thumb16_singlestep()
855 static void __kprobes thumb32_singlestep(probes_opcode_t opcode, in thumb32_singlestep() argument
860 asi->insn_handler(opcode, asi, regs); in thumb32_singlestep()
/linux-4.1.27/drivers/gpu/drm/sti/
Dsti_awg_utils.c11 enum opcode { enum
23 static int awg_generate_instr(enum opcode opcode, in awg_generate_instr() argument
46 switch (opcode) { in awg_generate_instr()
62 opcode = SET; in awg_generate_instr()
101 DRM_ERROR("instruction %d does not exist\n", opcode); in awg_generate_instr()
109 instruction = ((opcode) << AWG_OPCODE_OFFSET) | arg; in awg_generate_instr()
/linux-4.1.27/drivers/atm/
Dfore200e.h248 typedef enum opcode { enum
281 enum opcode opcode : 8, /* cp opcode */
292 struct activate_opcode opcode; /* activate VC command opcode */ member
303 enum opcode opcode : 8, /* cp opcode */
312 struct deactivate_opcode opcode; /* deactivate VC command opcode */ member
330 enum opcode opcode : 8, /* cp opcode */
343 struct oc3_opcode opcode; /* set/get OC-3 regs command opcode */ member
455 enum opcode opcode : 8, /* cp opcode */
464 struct stats_opcode opcode; /* get statistics command opcode */ member
482 enum opcode opcode : 8, /* cp opcode */
[all …]
Dfore200e.c609 struct prom_opcode opcode; in fore200e_pca_prom_read() local
615 opcode.opcode = OPCODE_GET_PROM; in fore200e_pca_prom_read()
616 opcode.pad = 0; in fore200e_pca_prom_read()
624 fore200e->bus->write(*(u32*)&opcode, (u32 __iomem *)&entry->cp_entry->cmd.prom_block.opcode); in fore200e_pca_prom_read()
1331 activ_opcode.opcode = OPCODE_ACTIVATE_VCIN; in fore200e_activate_vcin()
1337 deactiv_opcode.opcode = OPCODE_DEACTIVATE_VCIN; in fore200e_activate_vcin()
1354 …200e->bus->write(*(u32*)&activ_opcode, (u32 __iomem *)&entry->cp_entry->cmd.activate_block.opcode); in fore200e_activate_vcin()
1358 …->bus->write(*(u32*)&deactiv_opcode, (u32 __iomem *)&entry->cp_entry->cmd.deactivate_block.opcode); in fore200e_activate_vcin()
1747 struct stats_opcode opcode; in fore200e_getstats() local
1762 opcode.opcode = OPCODE_GET_STATS; in fore200e_getstats()
[all …]
/linux-4.1.27/arch/powerpc/platforms/powernv/
Dopal-tracepoints.c44 void __trace_opal_entry(unsigned long opcode, unsigned long *args) in __trace_opal_entry() argument
58 trace_opal_entry(opcode, args); in __trace_opal_entry()
65 void __trace_opal_exit(long opcode, unsigned long retval) in __trace_opal_exit() argument
78 trace_opal_exit(opcode, retval); in __trace_opal_exit()
/linux-4.1.27/arch/powerpc/platforms/pseries/
DhvCall_inst.c106 static void probe_hcall_entry(void *ignored, unsigned long opcode, unsigned long *args) in probe_hcall_entry() argument
110 if (opcode > MAX_HCALL_OPCODE) in probe_hcall_entry()
113 h = this_cpu_ptr(&hcall_stats[opcode / 4]); in probe_hcall_entry()
118 static void probe_hcall_exit(void *ignored, unsigned long opcode, unsigned long retval, in probe_hcall_exit() argument
123 if (opcode > MAX_HCALL_OPCODE) in probe_hcall_exit()
126 h = this_cpu_ptr(&hcall_stats[opcode / 4]); in probe_hcall_exit()
/linux-4.1.27/arch/x86/tools/
Dgen-insn-attr-x86.awk283 opcode = $(i++)
302 if (match(opcode, group_expr)) {
303 if (!(opcode in group)) {
304 group[opcode] = ggid
307 flags = add_flags(flags, "INAT_MAKE_GROUP(" group[opcode] ")")
314 if (match(opcode, rex_expr))
318 if (match(opcode, fpu_expr))
324 else if (match(ext, vexok_expr) || match(opcode, vexok_opcode_expr))
329 if (!prefix_num[opcode])
330 semantic_error("Unknown prefix: " opcode)
[all …]
/linux-4.1.27/drivers/bluetooth/
Dhci_vhci.c99 static int __vhci_create_device(struct vhci_data *data, __u8 opcode) in __vhci_create_device() argument
109 dev_type = opcode & 0x03; in __vhci_create_device()
115 if (opcode & 0x3c) in __vhci_create_device()
140 if (opcode & 0x40) in __vhci_create_device()
144 if (opcode & 0x80) in __vhci_create_device()
158 *skb_put(skb, 1) = opcode; in __vhci_create_device()
166 static int vhci_create_device(struct vhci_data *data, __u8 opcode) in vhci_create_device() argument
171 err = __vhci_create_device(data, opcode); in vhci_create_device()
182 __u8 pkt_type, opcode; in vhci_get_user() local
217 opcode = *((__u8 *) skb->data); in vhci_get_user()
[all …]
Dbtbcm.c105 u16 opcode; in btbcm_patchram() local
148 opcode = le16_to_cpu(cmd->opcode); in btbcm_patchram()
150 skb = __hci_cmd_sync(hdev, opcode, cmd->plen, cmd_param, in btbcm_patchram()
155 hdev->name, opcode, err); in btbcm_patchram()
Dbtmrvl_main.c60 u16 opcode; in btmrvl_check_evtpkt() local
63 opcode = __le16_to_cpu(ec->opcode); in btmrvl_check_evtpkt()
70 if (hci_opcode_ogf(opcode) == 0x3F) { in btmrvl_check_evtpkt()
72 opcode); in btmrvl_check_evtpkt()
175 static int btmrvl_send_sync_cmd(struct btmrvl_private *priv, u16 opcode, in btmrvl_send_sync_cmd() argument
193 hdr->opcode = cpu_to_le16(opcode); in btmrvl_send_sync_cmd()
/linux-4.1.27/include/trace/events/
Dtarget.h14 #define scsi_opcode_name(opcode) { opcode, #opcode } argument
139 __field( unsigned int, opcode )
148 __entry->opcode = cmd->t_task_cdb[0];
157 show_opcode_name(__entry->opcode),
174 __field( unsigned int, opcode )
186 __entry->opcode = cmd->t_task_cdb[0];
202 show_opcode_name(__entry->opcode),
Dscsi.h12 #define scsi_opcode_name(opcode) { opcode, #opcode } argument
212 __field( unsigned int, opcode )
225 __entry->opcode = cmd->cmnd[0];
238 show_opcode_name(__entry->opcode),
255 __field( unsigned int, opcode )
269 __entry->opcode = cmd->cmnd[0];
282 show_opcode_name(__entry->opcode),
300 __field( unsigned int, opcode )
314 __entry->opcode = cmd->cmnd[0];
328 show_opcode_name(__entry->opcode),
/linux-4.1.27/drivers/infiniband/hw/cxgb3/
Diwch_cq.c97 wc->opcode = IB_WC_RECV; in iwch_poll_cq_one()
106 wc->opcode = IB_WC_RDMA_WRITE; in iwch_poll_cq_one()
109 wc->opcode = IB_WC_RDMA_READ; in iwch_poll_cq_one()
116 wc->opcode = IB_WC_SEND; in iwch_poll_cq_one()
119 wc->opcode = IB_WC_BIND_MW; in iwch_poll_cq_one()
123 wc->opcode = IB_WC_LOCAL_INV; in iwch_poll_cq_one()
126 wc->opcode = IB_WC_FAST_REG_MR; in iwch_poll_cq_one()
Diwch_qp.c48 switch (wr->opcode) { in build_rdma_send()
101 if (wr->opcode == IB_WR_RDMA_WRITE_WITH_IMM) { in build_rdma_write()
134 if (wr->opcode == IB_WR_RDMA_READ_WITH_INV) in build_rdma_read()
393 switch (wr->opcode) { in iwch_post_send()
430 wr->opcode); in iwch_post_send()
437 sqp->opcode = wr2opcode(t3_wr_opcode); in iwch_post_send()
449 sqp->opcode); in iwch_post_send()
591 sqp->opcode = T3_BIND_MW; in iwch_bind_mw()
615 int opcode = -1; in build_term_codes() local
621 opcode = CQE_OPCODE(rsp_msg->cqe); in build_term_codes()
[all …]
/linux-4.1.27/include/uapi/linux/
Dnvme.h235 __u8 opcode; member
247 __u8 opcode; member
289 __u8 opcode; member
366 __u8 opcode; member
378 __u8 opcode; member
391 __u8 opcode; member
405 __u8 opcode; member
419 __u8 opcode; member
429 __u8 opcode; member
439 __u8 opcode; member
[all …]
Dcoda.h282 #define DOWNCALL(opcode) (opcode >= CODA_REPLACE && opcode <= CODA_PURGEFID) argument
296 u_int32_t opcode; member
305 u_int32_t opcode; member
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c529 vhcr->opcode = cpu_to_be16((((u16) op_modifier) << 12) | (op & 0xfff)); in mlx4_slave_cmd()
1047 .opcode = MLX4_CMD_QUERY_FW,
1056 .opcode = MLX4_CMD_QUERY_HCA,
1065 .opcode = MLX4_CMD_QUERY_DEV_CAP,
1074 .opcode = MLX4_CMD_QUERY_FUNC_CAP,
1083 .opcode = MLX4_CMD_QUERY_ADAPTER,
1092 .opcode = MLX4_CMD_INIT_PORT,
1101 .opcode = MLX4_CMD_CLOSE_PORT,
1110 .opcode = MLX4_CMD_QUERY_PORT,
1119 .opcode = MLX4_CMD_SET_PORT,
[all …]
/linux-4.1.27/arch/mips/oprofile/
Dbacktrace.c34 return (ip->i_format.opcode == sw_op || ip->i_format.opcode == sd_op) in is_ra_save_ins()
43 if (ip->i_format.opcode == addiu_op || ip->i_format.opcode == daddiu_op) in is_sp_move_ins()
58 if (ip->i_format.opcode == lui_op && ip->i_format.rt == 28) in is_end_of_function_marker()
/linux-4.1.27/kernel/bpf/
Dverifier.c387 u8 opcode = BPF_OP(insn->code); in print_bpf_insn() local
389 if (opcode == BPF_CALL) { in print_bpf_insn()
916 u8 opcode = BPF_OP(insn->code); in check_alu_op() local
919 if (opcode == BPF_END || opcode == BPF_NEG) { in check_alu_op()
920 if (opcode == BPF_NEG) { in check_alu_op()
945 } else if (opcode == BPF_MOV) { in check_alu_op()
987 } else if (opcode > BPF_END) { in check_alu_op()
988 verbose("invalid BPF_ALU opcode %x\n", opcode); in check_alu_op()
1016 if ((opcode == BPF_MOD || opcode == BPF_DIV) && in check_alu_op()
1022 if ((opcode == BPF_LSH || opcode == BPF_RSH || in check_alu_op()
[all …]
/linux-4.1.27/arch/s390/kernel/
Djump_label.c16 u16 opcode; member
28 insn->opcode = 0xc004; in jump_label_make_nop()
35 insn->opcode = 0xc0f4; in jump_label_make_branch()
57 .opcode = 0xc004,
Dtraps.c183 __u8 opcode[6]; in illegal_op() local
191 if (get_user(*((__u16 *) opcode), (__u16 __user *) location)) in illegal_op()
193 if (*((__u16 *) opcode) == S390_BREAKPOINT_U16) { in illegal_op()
203 } else if (*((__u16 *) opcode) == UPROBE_SWBP_INSN) { in illegal_op()
/linux-4.1.27/arch/s390/include/uapi/asm/
Dsie.h81 #define exit_code_ipa0(ipa0, opcode, mnemonic) \ argument
82 { (ipa0 << 8 | opcode), #ipa0 " " mnemonic }
83 #define exit_code(opcode, mnemonic) \ argument
84 { opcode, mnemonic }
/linux-4.1.27/drivers/infiniband/hw/mthca/
Dmthca_cq.c127 u8 opcode; member
141 u8 opcode; member
271 if ((cqe->opcode & MTHCA_ERROR_CQE_OPCODE_MASK) == in is_recv_cqe()
273 return !(cqe->opcode & 0x01); in is_recv_cqe()
515 is_error = (cqe->opcode & MTHCA_ERROR_CQE_OPCODE_MASK) == in mthca_poll_one()
517 is_send = is_error ? cqe->opcode & 0x01 : cqe->is_send & 0x80; in mthca_poll_one()
584 switch (cqe->opcode) { in mthca_poll_one()
586 entry->opcode = IB_WC_RDMA_WRITE; in mthca_poll_one()
589 entry->opcode = IB_WC_RDMA_WRITE; in mthca_poll_one()
593 entry->opcode = IB_WC_SEND; in mthca_poll_one()
[all …]
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_stats.c167 u32 opcode = bnx2x_dmae_opcode(bp, DMAE_SRC_PCI, DMAE_DST_GRC, in bnx2x_hw_stats_post() local
169 opcode = bnx2x_dmae_opcode_clr_src_reset(opcode); in bnx2x_hw_stats_post()
172 dmae->opcode = opcode; in bnx2x_hw_stats_post()
219 u32 opcode; in bnx2x_stats_pmf_update() local
231 opcode = bnx2x_dmae_opcode(bp, DMAE_SRC_GRC, DMAE_DST_PCI, false, 0); in bnx2x_stats_pmf_update()
234 dmae->opcode = bnx2x_dmae_opcode_add_comp(opcode, DMAE_COMP_GRC); in bnx2x_stats_pmf_update()
245 dmae->opcode = bnx2x_dmae_opcode_add_comp(opcode, DMAE_COMP_PCI); in bnx2x_stats_pmf_update()
267 u32 opcode; in bnx2x_port_stats_init() local
281 opcode = bnx2x_dmae_opcode(bp, DMAE_SRC_PCI, DMAE_DST_GRC, in bnx2x_port_stats_init()
287 dmae->opcode = opcode; in bnx2x_port_stats_init()
[all …]
/linux-4.1.27/arch/cris/arch-v32/kernel/
Dptrace.c277 unsigned long opcode; in insn_size() local
282 copied = access_process_vm(child, pc, &opcode, sizeof(opcode), 0); in insn_size()
283 if (copied != sizeof(opcode)) in insn_size()
286 switch ((opcode & 0x0f00) >> 8) { in insn_size()
298 if ((opcode & 0xff) == 0xff) in insn_size()
305 opcode, pc); in insn_size()
/linux-4.1.27/arch/arm/kernel/
Dinsn.c38 unsigned long opcode = 0xea000000; in __arm_gen_branch_arm() local
42 opcode |= 1 << 24; in __arm_gen_branch_arm()
52 return opcode | offset; in __arm_gen_branch_arm()
Dopcodes.c55 asmlinkage unsigned int arm_check_condition(u32 opcode, u32 psr) in arm_check_condition() argument
57 u32 cc_bits = opcode >> 28; in arm_check_condition()
/linux-4.1.27/drivers/mmc/host/
Dsdricoh_cs.c167 static int sdricoh_mmc_cmd(struct sdricoh_host *host, unsigned char opcode, in sdricoh_mmc_cmd() argument
177 sdricoh_writel(host, R200_CMD, (0x10000 << 8) | opcode); in sdricoh_mmc_cmd()
179 if (opcode) { in sdricoh_mmc_cmd()
271 unsigned char opcode = cmd->opcode; in sdricoh_request() local
275 dev_dbg(dev, "sdricoh_request opcode=%i\n", opcode); in sdricoh_request()
281 opcode |= 64; in sdricoh_request()
283 } else if (opcode == 55) in sdricoh_request()
292 cmd->error = sdricoh_mmc_cmd(host, opcode, cmd->arg); in sdricoh_request()
334 "block transfer failed\n", cmd->opcode); in sdricoh_request()
Dusdhi6rol0.c277 int opc = host->mrq ? host->mrq->cmd->opcode : -1; in usdhi6_error_code()
295 err, host->wait, host->mrq ? host->mrq->cmd->opcode : -1); in usdhi6_error_code()
317 __func__, host->mrq->cmd->opcode, data->sg_len, in usdhi6_blk_bounce()
385 sg->offset, host->mrq->cmd->opcode, host->mrq); in usdhi6_sg_map()
508 host->mrq->cmd->opcode, host->mrq); in usdhi6_sg_advance()
556 mrq->cmd->opcode); in usdhi6_dma_complete()
900 host->pg.page, host->head_pg.page, host->wait, mrq->cmd->opcode, in usdhi6_request_done()
910 __func__, mrq->cmd->opcode, data ? data->blocks : 0, in usdhi6_request_done()
928 u16 opc = cmd->opcode; in usdhi6_cmd_flags()
941 if (cmd->opcode == MMC_READ_MULTIPLE_BLOCK || in usdhi6_cmd_flags()
[all …]
Drtsx_pci_sdmmc.c111 SD_CMD_START | cmd->opcode); in sd_cmd_set_sd_cmd()
227 u8 cmd_idx = (u8)cmd->opcode; in sd_send_cmd_get_rsp()
249 if (cmd->opcode == SD_SWITCH_VOLTAGE) { in sd_send_cmd_get_rsp()
349 __func__, cmd->opcode, cmd->arg); in sd_read_data()
354 if (cmd->opcode == MMC_SEND_TUNING_BLOCK) in sd_read_data()
402 __func__, cmd->opcode, cmd->arg); in sd_write_data()
456 __func__, cmd->opcode, cmd->arg); in sd_read_long_data()
517 __func__, cmd->opcode, cmd->arg); in sd_write_long_data()
709 u8 opcode, u8 sample_point) in sd_tuning_rx_cmd() argument
718 cmd.opcode = opcode; in sd_tuning_rx_cmd()
[all …]
Drtsx_usb_sdmmc.c116 , cmd->opcode); in sd_read_data()
117 if (cmd->opcode == MMC_SEND_TUNING_BLOCK) in sd_read_data()
123 SD_CMD0, 0xFF, (u8)(cmd->opcode) | 0x40); in sd_read_data()
235 cmd->opcode); in sd_write_data()
237 SD_CMD0, 0xFF, (u8)(cmd->opcode) | 0x40); in sd_write_data()
300 u8 cmd_idx = (u8)cmd->opcode; in sd_send_cmd_get_rsp()
348 if (cmd->opcode == SD_SWITCH_VOLTAGE) { in sd_send_cmd_get_rsp()
682 u8 opcode, u8 sample_point) in sd_tuning_rx_cmd() argument
691 cmd.opcode = MMC_SEND_TUNING_BLOCK; in sd_tuning_rx_cmd()
704 u8 opcode, u16 *phase_map) in sd_tuning_phase() argument
[all …]
Dtoshsd.c258 cmd->opcode, cmd->error, cmd->flags); in toshsd_cmd_irq()
408 int c = cmd->opcode; in toshsd_start_cmd()
410 dev_dbg(&host->pdev->dev, "Command opcode: %d\n", cmd->opcode); in toshsd_start_cmd()
412 if (cmd->opcode == MMC_STOP_TRANSMISSION) { in toshsd_start_cmd()
416 cmd->resp[0] = cmd->opcode; in toshsd_start_cmd()
451 if (cmd->opcode == MMC_APP_CMD) in toshsd_start_cmd()
454 if (cmd->opcode == MMC_GO_IDLE_STATE) in toshsd_start_cmd()
/linux-4.1.27/arch/x86/kernel/
Dalternative.c259 void *text_poke_early(void *addr, const void *opcode, size_t len);
264 static inline bool is_jmp(const u8 opcode) in is_jmp() argument
266 return opcode == 0xeb || opcode == 0xe9; in is_jmp()
649 void *__init_or_module text_poke_early(void *addr, const void *opcode, in text_poke_early() argument
654 memcpy(addr, opcode, len); in text_poke_early()
675 void *text_poke(void *addr, const void *opcode, size_t len) in text_poke() argument
696 memcpy(&vaddr[(unsigned long)addr & ~PAGE_MASK], opcode, len); in text_poke()
705 BUG_ON(((char *)addr)[i] != ((char *)opcode)[i]); in text_poke()
758 void *text_poke_bp(void *addr, const void *opcode, size_t len, void *handler) in text_poke_bp() argument
779 (const char *) opcode + sizeof(int3), in text_poke_bp()
[all …]
Dstep.c55 unsigned char opcode[15]; in is_setting_trap_flag() local
58 copied = access_process_vm(child, addr, opcode, sizeof(opcode), 0); in is_setting_trap_flag()
60 switch (opcode[i]) { in is_setting_trap_flag()
Diosf_mbi.c101 int iosf_mbi_read(u8 port, u8 opcode, u32 offset, u32 *mdr) in iosf_mbi_read() argument
113 mcr = iosf_mbi_form_mcr(opcode, port, offset & MBI_MASK_LO); in iosf_mbi_read()
124 int iosf_mbi_write(u8 port, u8 opcode, u32 offset, u32 mdr) in iosf_mbi_write() argument
136 mcr = iosf_mbi_form_mcr(opcode, port, offset & MBI_MASK_LO); in iosf_mbi_write()
147 int iosf_mbi_modify(u8 port, u8 opcode, u32 offset, u32 mdr, u32 mask) in iosf_mbi_modify() argument
160 mcr = iosf_mbi_form_mcr(opcode, port, offset & MBI_MASK_LO); in iosf_mbi_modify()
Duprobes.c53 #define OPCODE1(insn) ((insn)->opcode.bytes[0])
54 #define OPCODE2(insn) ((insn)->opcode.bytes[1])
55 #define OPCODE3(insn) ((insn)->opcode.bytes[2])
306 if (insn->opcode.nbytes == 2) { in uprobe_init_insn()
616 static bool is_cond_jmp_opcode(u8 opcode) in is_cond_jmp_opcode() argument
618 switch (opcode) { in is_cond_jmp_opcode()
728 if (insn->opcode.nbytes != 2) in branch_setup_xol_ops()
/linux-4.1.27/drivers/scsi/megaraid/
Dmegaraid_mm.c289 uint8_t opcode; in handle_drvrcmd() local
307 opcode = kmimd.ui.fcs.opcode; in handle_drvrcmd()
315 if (opcode != 0x82) in handle_drvrcmd()
364 uint8_t opcode; in mimd_to_kioc() local
378 opcode = mimd.ui.fcs.opcode; in mimd_to_kioc()
389 switch (opcode) { in mimd_to_kioc()
395 kioc->opcode = GET_ADAP_INFO; in mimd_to_kioc()
412 kioc->opcode = MBOX_CMD; in mimd_to_kioc()
427 kioc->opcode = MBOX_CMD; in mimd_to_kioc()
448 if (opcode == 0x82) in mimd_to_kioc()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/mtd/
Djedec,spi-nor.txt12 be identified by the JEDEC READ ID opcode (0x9F).
17 - m25p,fast-read : Use the "fast read" opcode to read data from the chip instead
18 of the usual "read" opcode. This opcode is not supported by
/linux-4.1.27/arch/tile/kernel/
Dkgdb.c185 unsigned int opcode; in get_step_address() local
197 opcode = get_UnaryOpcodeExtension_Y1(bundle); in get_step_address()
199 switch (opcode) { in get_step_address()
212 opcode = get_UnaryOpcodeExtension_X1(bundle); in get_step_address()
214 switch (opcode) { in get_step_address()
225 opcode = get_JumpOpcodeExtension_X1(bundle); in get_step_address()
227 switch (opcode) { in get_step_address()
237 opcode = get_BrType_X1(bundle); in get_step_address()
239 switch (opcode) { in get_step_address()
Dbacktrace.c78 if (insn->opcode->mnemonic != mnemonic) in find_matching_insn()
141 if (insn->opcode->mnemonic == TILE_OPC_INFO || in bt_get_info_ops()
142 insn->opcode->mnemonic == TILE_OPC_INFOL) { in bt_get_info_ops()
172 if (insn->opcode->implicitly_written_register == reg) in bt_modifies_reg()
175 for (j = 0; j < insn->opcode->num_operands; j++) in bt_modifies_reg()
220 if (insn->opcode->mnemonic == TILEGX_OPC_MOVELI) { in bt_update_moveli()
Dunaligned.c589 unsigned int mod, opcode; in jit_bundle_gen() local
595 opcode = get_UnaryOpcodeExtension_Y1(bundle); in jit_bundle_gen()
601 switch (opcode) { in jit_bundle_gen()
620 opcode = get_Opcode_Y2(bundle); in jit_bundle_gen()
641 load_store_size = 1 << opcode; in jit_bundle_gen()
651 switch (opcode) { in jit_bundle_gen()
668 if (opcode == LD2S_OPCODE_Y2) { in jit_bundle_gen()
671 } else if (opcode == LD2U_OPCODE_Y2) { in jit_bundle_gen()
682 unsigned int opcode; in jit_bundle_gen() local
691 opcode = get_UnaryOpcodeExtension_X1(bundle); in jit_bundle_gen()
[all …]
Dkprobes.c109 p->opcode = *p->addr; in arch_prepare_kprobe()
136 if (probe_kernel_write((void *)addr_wr, &kp->opcode, in arch_disarm_kprobe()
137 sizeof(kp->opcode))) in arch_disarm_kprobe()
176 if (p->opcode == breakpoint_insn || in prepare_singlestep()
177 p->opcode == breakpoint2_insn) in prepare_singlestep()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/
Dfw.c49 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_QUERY_ADAPTER); in mlx5_cmd_query_adapter()
86 MLX5_SET(query_hca_cap_in, in, opcode, MLX5_CMD_OP_QUERY_HCA_CAP); in mlx5_query_odp_caps()
120 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_INIT_HCA); in mlx5_cmd_init_hca()
139 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_TEARDOWN_HCA); in mlx5_cmd_teardown_hca()
Dmr.c66 in->hdr.opcode = cpu_to_be16(MLX5_CMD_OP_CREATE_MKEY); in mlx5_core_create_mkey()
128 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_DESTROY_MKEY); in mlx5_core_destroy_mkey()
150 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_QUERY_MKEY); in mlx5_core_query_mkey()
173 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_QUERY_SPECIAL_CONTEXTS); in mlx5_core_dump_fill_mkey()
200 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_CREATE_PSV); in mlx5_core_create_psv()
231 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_DESTROY_PSV); in mlx5_core_destroy_psv()
Dsrq.c92 in->hdr.opcode = cpu_to_be16(MLX5_CMD_OP_CREATE_SRQ); in mlx5_core_create_srq()
119 din.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_DESTROY_SRQ); in mlx5_core_create_srq()
147 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_DESTROY_SRQ); in mlx5_core_destroy_srq()
173 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_QUERY_SRQ); in mlx5_core_query_srq()
196 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_ARM_RQ); in mlx5_core_arm_srq()
Dcq.c100 in->hdr.opcode = cpu_to_be16(MLX5_CMD_OP_CREATE_CQ); in mlx5_core_create_cq()
132 din.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_DESTROY_CQ); in mlx5_core_create_cq()
160 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_DESTROY_CQ); in mlx5_core_destroy_cq()
189 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_QUERY_CQ); in mlx5_core_query_cq()
210 in->hdr.opcode = cpu_to_be16(MLX5_CMD_OP_MODIFY_CQ); in mlx5_core_modify_cq()
Dqp.c192 in->hdr.opcode = cpu_to_be16(MLX5_CMD_OP_CREATE_QP); in mlx5_core_create_qp()
233 din.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_DESTROY_QP); in mlx5_core_create_qp()
261 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_DESTROY_QP); in mlx5_core_destroy_qp()
327 in->hdr.opcode = cpu_to_be16(op); in mlx5_core_qp_modify()
359 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_QUERY_QP); in mlx5_core_qp_query()
380 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_ALLOC_XRCD); in mlx5_core_xrcd_alloc()
402 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_DEALLOC_XRCD); in mlx5_core_xrcd_dealloc()
425 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_PAGE_FAULT_RESUME); in mlx5_core_page_fault_resume()
Dpd.c69 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_ALLOC_PD); in mlx5_core_alloc_pd()
90 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_DEALLOC_PD); in mlx5_core_dealloc_pd()
Dmcg.c72 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_ATTACH_TO_MCG); in mlx5_core_attach_mcg()
94 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_DETACH_FROM_MCG); in mlx5_core_detach_mcg()
/linux-4.1.27/drivers/media/firewire/
Dfiredtv-avc.c81 u8 opcode; member
88 u8 opcode; member
164 static const char *debug_fcp_opcode(unsigned int opcode, in debug_fcp_opcode() argument
167 switch (opcode) { in debug_fcp_opcode()
208 unsigned int subunit_type, subunit_id, opcode; in debug_fcp() local
214 opcode = subunit_type == 0x1e || subunit_id == 5 ? ~0 : data[2]; in debug_fcp()
215 op = debug_fcp_opcode(opcode, data, length); in debug_fcp()
268 return r->opcode == AVC_OPCODE_VENDOR && in is_register_rc()
342 c->opcode = AVC_OPCODE_VENDOR; in avc_tuner_tuneqpsk()
423 c->opcode = AVC_OPCODE_DSD; in avc_tuner_dsd_dvb_c()
[all …]
/linux-4.1.27/drivers/scsi/lpfc/
Dlpfc_debugfs.c1281 idiag_cmd->opcode = simple_strtol(step_str, NULL, 0); in lpfc_idiag_cmd_get()
1282 if (idiag_cmd->opcode == 0) in lpfc_idiag_cmd_get()
1371 switch (idiag.cmd.opcode) { in lpfc_idiag_cmd_release()
1440 if (idiag.cmd.opcode == LPFC_IDIAG_CMD_PCICFG_RD) { in lpfc_idiag_pcicfg_read()
1556 if (idiag.cmd.opcode == LPFC_IDIAG_CMD_PCICFG_RD) { in lpfc_idiag_pcicfg_write()
1590 } else if (idiag.cmd.opcode == LPFC_IDIAG_CMD_PCICFG_WR || in lpfc_idiag_pcicfg_write()
1591 idiag.cmd.opcode == LPFC_IDIAG_CMD_PCICFG_ST || in lpfc_idiag_pcicfg_write()
1592 idiag.cmd.opcode == LPFC_IDIAG_CMD_PCICFG_CL) { in lpfc_idiag_pcicfg_write()
1610 if (idiag.cmd.opcode == LPFC_IDIAG_CMD_PCICFG_WR) in lpfc_idiag_pcicfg_write()
1613 if (idiag.cmd.opcode == LPFC_IDIAG_CMD_PCICFG_ST) { in lpfc_idiag_pcicfg_write()
[all …]
Dlpfc_nl.h110 uint32_t opcode; member
143 uint8_t opcode; member
/linux-4.1.27/arch/blackfin/include/asm/
Dpseudo_instructions.h15 extern bool execute_pseudodbg_assert(struct pt_regs *fp, unsigned int opcode);
16 extern bool execute_pseudodbg(struct pt_regs *fp, unsigned int opcode);
/linux-4.1.27/include/linux/ceph/
Dosd_client.h199 u8 opcode; member
252 unsigned int which, u16 opcode);
261 unsigned int which, u16 opcode,
303 unsigned int which, u16 opcode,
306 u16 opcode, const char *name, const void *value,
309 unsigned int which, u16 opcode,
332 int opcode, int flags,
/linux-4.1.27/tools/firewire/
Ddecode-fcp.c136 uint32_t opcode:8; member
153 info = &opcode_info[frame->opcode]; in decode_avc()
156 "(unknown opcode 0x%02x)", frame->opcode); in decode_avc()
/linux-4.1.27/drivers/scsi/aic94xx/
Daic94xx_scb.c420 int edb = (dl->opcode & DL_PHY_MASK) - 1; /* [0xc1,0xc7] -> [0,6] */ in escb_tasklet_complete()
428 edb, dl->opcode); in escb_tasklet_complete()
439 ascb->scb->header.opcode); in escb_tasklet_complete()
471 a->scb->header.opcode); in escb_tasklet_complete()
594 edb, dl->opcode); in escb_tasklet_complete()
605 ascb->scb->header.opcode); in escb_tasklet_complete()
782 scb->header.opcode = CONTROL_PHY; in asd_build_control_phy()
828 u8 opcode = dl->opcode;
832 if (opcode != TC_NO_ERROR) {
834 "0x%x\n", phy_id, link_adm->sub_func, opcode);
[all …]
Daic94xx_task.c218 u8 opcode = dl->opcode; in asd_task_tasklet_complete() local
223 switch (opcode) { in asd_task_tasklet_complete()
288 opcode = dl->status_block[0]; in asd_task_tasklet_complete()
323 ASD_DPRINTK("%s: dl opcode: 0x%x?\n", __func__, opcode); in asd_task_tasklet_complete()
350 task, opcode, ts->resp, ts->stat); in asd_task_tasklet_complete()
375 scb->header.opcode = CONTROL_ATA_DEV; in asd_build_ata_ascb()
377 scb->header.opcode = INITIATE_ATAPI_TASK; in asd_build_ata_ascb()
379 scb->header.opcode = INITIATE_ATA_TASK; in asd_build_ata_ascb()
446 scb->header.opcode = INITIATE_SMP_TASK; in asd_build_smp_ascb()
491 scb->header.opcode = INITIATE_SSP_TASK; in asd_build_ssp_ascb()
Daic94xx_tmf.c84 ASD_DPRINTK("%s: opcode: 0x%x\n", __func__, dl->opcode); in asd_clear_nexus_tasklet_complete()
85 tcs->dl_opcode = dl->opcode; in asd_clear_nexus_tasklet_complete()
116 scb->header.opcode = CLEAR_NEXUS
331 tcs->dl_opcode = dl->opcode; in asd_tmf_tasklet_complete()
333 if (dl->opcode == TC_SSP_RESP) { in asd_tmf_tasklet_complete()
436 scb->header.opcode = SCB_ABORT_TASK; in asd_abort_task()
597 scb->header.opcode = QUERY_SSP_TASK; in asd_initiate_ssp_tmf()
599 scb->header.opcode = INITIATE_SSP_TMF; in asd_initiate_ssp_tmf()
/linux-4.1.27/drivers/infiniband/hw/ehca/
Dehca_reqs.c123 send_wr->opcode); in trace_send_wr_ud()
183 switch (send_wr->opcode) { in ehca_write_swqe()
196 ehca_gen_err("Invalid opcode=%x", send_wr->opcode); in ehca_write_swqe()
200 wqe_p->wqef = (send_wr->opcode) & WQEF_HIGH_NIBBLE; in ehca_write_swqe()
211 if (send_wr->opcode == IB_WR_SEND_WITH_IMM || in ehca_write_swqe()
212 send_wr->opcode == IB_WR_RDMA_WRITE_WITH_IMM) { in ehca_write_swqe()
292 if (send_wr->opcode == IB_WR_RDMA_READ) { in ehca_write_swqe()
472 circ_wr.opcode = IB_WR_RDMA_READ; in ehca_post_send()
758 wc->opcode = ib_wc_opcode[cqe->optype]-1; in ehca_poll_cq_one()
759 if (unlikely(wc->opcode == -1)) { in ehca_poll_cq_one()
[all …]
Dhcp_if.c93 static long ehca_plpar_hcall_norets(unsigned long opcode, in ehca_plpar_hcall_norets() argument
108 opcode, arg1, arg2, arg3, arg4, arg5, arg6, arg7); in ehca_plpar_hcall_norets()
115 ret = plpar_hcall_norets(opcode, arg1, arg2, arg3, arg4, in ehca_plpar_hcall_norets()
129 opcode, ret, arg1, arg2, arg3, in ehca_plpar_hcall_norets()
133 ehca_gen_dbg("opcode=%lx ret=%li", opcode, ret); in ehca_plpar_hcall_norets()
141 static long ehca_plpar_hcall9(unsigned long opcode, in ehca_plpar_hcall9() argument
158 ehca_gen_dbg("INPUT -- opcode=%lx " HCALL9_REGS_FORMAT, opcode, in ehca_plpar_hcall9()
167 ret = plpar_hcall9(opcode, outs, in ehca_plpar_hcall9()
182 opcode, arg1, arg2, arg3, arg4, arg5, in ehca_plpar_hcall9()
/linux-4.1.27/net/ceph/
Dosd_client.c435 static bool osd_req_opcode_valid(u16 opcode) in osd_req_opcode_valid() argument
437 switch (opcode) { in osd_req_opcode_valid()
438 #define GENERATE_CASE(op, opcode, str) case CEPH_OSD_OP_##op: return true; in osd_req_opcode_valid() argument
453 u16 opcode) in _osd_req_op_init() argument
458 BUG_ON(!osd_req_opcode_valid(opcode)); in _osd_req_op_init()
462 op->op = opcode; in _osd_req_op_init()
468 unsigned int which, u16 opcode) in osd_req_op_init() argument
470 (void)_osd_req_op_init(osd_req, which, opcode); in osd_req_op_init()
475 unsigned int which, u16 opcode, in osd_req_op_extent_init() argument
479 struct ceph_osd_req_op *op = _osd_req_op_init(osd_req, which, opcode); in osd_req_op_extent_init()
[all …]
/linux-4.1.27/drivers/net/wimax/i2400m/
Dfw.c453 ssize_t __i2400m_bm_ack_verify(struct i2400m *i2400m, int opcode, in __i2400m_bm_ack_verify() argument
461 i2400m, opcode, ack, ack_size); in __i2400m_bm_ack_verify()
466 opcode, ack_size, sizeof(*ack)); in __i2400m_bm_ack_verify()
472 d_printf(6, dev, "boot-mode cmd %d: HW boot barker\n", opcode); in __i2400m_bm_ack_verify()
479 opcode); in __i2400m_bm_ack_verify()
490 opcode, i2400m_brh_get_opcode(ack), in __i2400m_bm_ack_verify()
498 "0x%04x\n", opcode, i2400m_brh_get_signature(ack)); in __i2400m_bm_ack_verify()
501 if (opcode != -1 && opcode != i2400m_brh_get_opcode(ack)) { in __i2400m_bm_ack_verify()
504 opcode, i2400m_brh_get_opcode(ack), opcode); in __i2400m_bm_ack_verify()
509 opcode, i2400m_brh_get_response(ack)); in __i2400m_bm_ack_verify()
[all …]
Di2400m.h729 __le32 i2400m_brh_command(enum i2400m_brh_opcode opcode, unsigned use_checksum, in i2400m_brh_command() argument
737 | (opcode & I2400M_BRH_OPCODE_MASK)); in i2400m_brh_command()
742 enum i2400m_brh_opcode opcode) in i2400m_brh_set_opcode() argument
746 | (opcode & I2400M_BRH_OPCODE_MASK)); in i2400m_brh_set_opcode()
/linux-4.1.27/arch/arc/kernel/
Dkgdb.c80 uint16_t opcode[2]; member
93 &single_step_data.opcode[i], in undo_single_step()
120 place_trap(single_step_data.address[0], &single_step_data.opcode[0]); in do_single_step()
124 &single_step_data.opcode[1]); in do_single_step()
/linux-4.1.27/drivers/infiniband/hw/mlx5/
Dcq.c128 wc->opcode = IB_WC_RDMA_WRITE; in handle_good_req()
134 wc->opcode = IB_WC_SEND; in handle_good_req()
137 wc->opcode = IB_WC_RDMA_READ; in handle_good_req()
141 wc->opcode = IB_WC_COMP_SWAP; in handle_good_req()
145 wc->opcode = IB_WC_FETCH_ADD; in handle_good_req()
149 wc->opcode = IB_WC_MASKED_COMP_SWAP; in handle_good_req()
153 wc->opcode = IB_WC_MASKED_FETCH_ADD; in handle_good_req()
157 wc->opcode = IB_WC_BIND_MW; in handle_good_req()
160 wc->opcode = get_umr_comp(wq, idx); in handle_good_req()
205 wc->opcode = IB_WC_RECV_RDMA_WITH_IMM; in handle_responder()
[all …]
/linux-4.1.27/arch/mn10300/kernel/
Dgdb-stub.c417 u8 opcode[2]; member
452 if (gdbstub_read_byte(addr + 0, &step_bp[ix].opcode[0]) < 0 || in __gdbstub_mark_bp()
453 gdbstub_read_byte(addr + 1, &step_bp[ix].opcode[1]) < 0) in __gdbstub_mark_bp()
464 gdbstub_write_byte(step_bp[0].opcode[0], step_bp[0].addr + 0); in __gdbstub_restore_bp()
465 gdbstub_write_byte(step_bp[0].opcode[1], step_bp[0].addr + 1); in __gdbstub_restore_bp()
468 gdbstub_write_byte(step_bp[1].opcode[0], step_bp[1].addr + 0); in __gdbstub_restore_bp()
469 gdbstub_write_byte(step_bp[1].opcode[1], step_bp[1].addr + 1); in __gdbstub_restore_bp()
473 gdbstub_write_byte(step_bp[0].opcode[0], step_bp[0].addr + 0); in __gdbstub_restore_bp()
475 gdbstub_write_byte(step_bp[1].opcode[0], step_bp[1].addr + 0); in __gdbstub_restore_bp()
481 step_bp[0].opcode[0] = 0; in __gdbstub_restore_bp()
[all …]
Dkgdb.c364 u8 opcode; in kgdb_arch_undo_singlestep() local
370 if (probe_kernel_read(&opcode, x, in kgdb_arch_undo_singlestep()
372 opcode != 0xff) in kgdb_arch_undo_singlestep()
380 if (probe_kernel_read(&opcode, y, in kgdb_arch_undo_singlestep()
382 opcode != 0xff) in kgdb_arch_undo_singlestep()
/linux-4.1.27/drivers/video/fbdev/
Dmetronomefb.c312 u16 opcode; in metronome_display_cmd() local
320 if (par->metromem_cmd->opcode == 0xCC40) in metronome_display_cmd()
321 opcode = cs = 0xCC41; in metronome_display_cmd()
323 opcode = cs = 0xCC40; in metronome_display_cmd()
336 par->metromem_cmd->opcode = opcode; /* display cmd */ in metronome_display_cmd()
347 par->metromem_cmd->opcode = 0x1234; /* pwr up pseudo cmd */ in metronome_powerup_cmd()
348 cs = par->metromem_cmd->opcode; in metronome_powerup_cmd()
383 par->metromem_cmd->opcode = 0xCC10; /* config cmd */ in metronome_config_cmd()
409 par->metromem_cmd->opcode = 0xCC20; /* init cmd */ in metronome_init_cmd()
/linux-4.1.27/net/irda/
Diriap.c820 __u8 opcode; in iriap_data_indication() local
836 opcode = frame[0]; in iriap_data_indication()
837 if (~opcode & IAP_LST) { in iriap_data_indication()
844 if (opcode & IAP_ACK) { in iriap_data_indication()
849 opcode &= ~IAP_LST; /* Mask away LST bit */ in iriap_data_indication()
851 switch (opcode) { in iriap_data_indication()
892 opcode); in iriap_data_indication()
911 __u8 opcode; in iriap_call_indication() local
919 opcode = fp[0]; in iriap_call_indication()
920 if (~opcode & 0x80) { in iriap_call_indication()
[all …]
/linux-4.1.27/net/rds/
Diw_send.c144 send->s_wr.opcode = IB_WR_SEND; in rds_iw_send_init_ring()
181 if (send->s_wr.opcode == 0xdead) in rds_iw_send_clear_ring()
220 printk(KERN_ERR "WC Error: status = %d opcode = %d\n", wc.status, wc.opcode); in rds_iw_send_cq_comp_handler()
224 if (wc.opcode == IB_WC_LOCAL_INV && wc.wr_id == RDS_IW_LOCAL_INV_WR_ID) { in rds_iw_send_cq_comp_handler()
229 if (wc.opcode == IB_WC_FAST_REG_MR && wc.wr_id == RDS_IW_FAST_REG_WR_ID) { in rds_iw_send_cq_comp_handler()
249 switch (send->s_wr.opcode) { in rds_iw_send_cq_comp_handler()
264 __func__, send->s_wr.opcode); in rds_iw_send_cq_comp_handler()
268 send->s_wr.opcode = 0xdead; in rds_iw_send_cq_comp_handler()
458 send->s_wr.opcode = IB_WR_SEND; in rds_iw_xmit_populate_wr()
776 send->s_wr.opcode = IB_WR_FAST_REG_MR; in rds_iw_build_send_fastreg()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dlproc_ptlrpc.c49 __u32 opcode; member
140 __u32 opcode; member
159 const char *ll_opcode2str(__u32 opcode) in ll_opcode2str() argument
168 __u32 offset = opcode_offset(opcode); in ll_opcode2str()
172 LASSERTF(ll_rpc_opcode_table[offset].opcode == opcode, in ll_opcode2str()
174 offset, ll_rpc_opcode_table[offset].opcode, opcode); in ll_opcode2str()
178 static const char *ll_eopcode2str(__u32 opcode) in ll_eopcode2str() argument
180 LASSERT(ll_eopcode_table[opcode].opcode == opcode); in ll_eopcode2str()
181 return ll_eopcode_table[opcode].opname; in ll_eopcode2str()
241 __u32 opcode = ll_rpc_opcode_table[i].opcode; in ptlrpc_lprocfs_register() local
[all …]
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_offload.c767 t3c_tid->client->handlers[p->opcode]) { in do_stid_rpl()
768 return t3c_tid->client->handlers[p->opcode] (dev, skb, in do_stid_rpl()
772 dev->name, p->opcode); in do_stid_rpl()
785 t3c_tid->client->handlers[p->opcode]) { in do_hwtid_rpl()
786 return t3c_tid->client->handlers[p->opcode] in do_hwtid_rpl()
790 dev->name, p->opcode); in do_hwtid_rpl()
852 t3c_tid->client->handlers[p->opcode]) { in do_abort_req_rss()
853 return t3c_tid->client->handlers[p->opcode] in do_abort_req_rss()
947 unsigned int opcode = get_opcode(skb); in do_term() local
952 t3c_tid->client->handlers[opcode]) { in do_term()
[all …]
/linux-4.1.27/fs/coda/
Dpsdev.c112 if (DOWNCALL(hdr.opcode)) { in coda_psdev_write()
118 hdr.opcode, hdr.unique); in coda_psdev_write()
124 hdr.opcode, hdr.unique); in coda_psdev_write()
135 error = coda_downcall(vcp, hdr.opcode, dcbuf); in coda_psdev_write()
162 __func__, hdr.opcode, hdr.unique); in coda_psdev_write()
171 hdr.opcode, hdr.unique); in coda_psdev_write()
Dupcall.c44 static void *alloc_upcall(int opcode, int size) in alloc_upcall() argument
52 inp->ih.opcode = opcode; in alloc_upcall()
694 req->uc_opcode = ((union inputArgs *)buffer)->ih.opcode; in coda_upcall()
754 sig_inputArgs->ih.opcode = CODA_SIGNAL; in coda_upcall()
758 sig_req->uc_opcode = sig_inputArgs->ih.opcode; in coda_upcall()
807 int coda_downcall(struct venus_comm *vcp, int opcode, union outputArgs *out) in coda_downcall() argument
819 switch (opcode) { in coda_downcall()
856 switch (opcode) { in coda_downcall()
/linux-4.1.27/drivers/infiniband/hw/mlx4/
Dcq.c777 wc->opcode = IB_WC_RDMA_WRITE; in mlx4_ib_poll_one()
783 wc->opcode = IB_WC_SEND; in mlx4_ib_poll_one()
786 wc->opcode = IB_WC_RDMA_READ; in mlx4_ib_poll_one()
790 wc->opcode = IB_WC_COMP_SWAP; in mlx4_ib_poll_one()
794 wc->opcode = IB_WC_FETCH_ADD; in mlx4_ib_poll_one()
798 wc->opcode = IB_WC_MASKED_COMP_SWAP; in mlx4_ib_poll_one()
802 wc->opcode = IB_WC_MASKED_FETCH_ADD; in mlx4_ib_poll_one()
806 wc->opcode = IB_WC_BIND_MW; in mlx4_ib_poll_one()
809 wc->opcode = IB_WC_LSO; in mlx4_ib_poll_one()
812 wc->opcode = IB_WC_FAST_REG_MR; in mlx4_ib_poll_one()
[all …]
/linux-4.1.27/kernel/trace/
Dtrace_entries.h272 __field_desc( unsigned char, rw, opcode )
278 __entry->map_id, __entry->opcode, __entry->width),
293 __field_desc( unsigned char, map, opcode )
298 __entry->map_id, __entry->opcode),
/linux-4.1.27/arch/ia64/kernel/
Dbrl_emu.c58 unsigned long opcode, btype, qp, offset, cpl; in ia64_emulate_brl() local
81 opcode = (bundle[1] >> 60); in ia64_emulate_brl()
91 switch(opcode) { in ia64_emulate_brl()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Dmemx.fuc81 // $r3 - opcode desciption
125 // $r3 - opcode desciption
169 // $r3 - opcode desciption
207 // $r3 - opcode desciption
221 // $r3 - opcode desciption
240 // $r3 - opcode desciption
257 // $r3 - opcode desciption
269 // $r3 - opcode desciption
381 // execute the opcode handler
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c376 u8 opcode = 0, inner_hdr_len = 0, outer_hdr_len = 0, total_hdr_len = 0; in qlcnic_tx_encap_pkt() local
382 opcode = QLCNIC_TX_ETHER_PKT; in qlcnic_tx_encap_pkt()
425 opcode = QLCNIC_TX_ENCAP_LSO; in qlcnic_tx_encap_pkt()
436 opcode = QLCNIC_TX_ENCAP_PKT; in qlcnic_tx_encap_pkt()
454 qlcnic_set_tx_flags_opcode(first_desc, flags, opcode); in qlcnic_tx_encap_pkt()
463 u8 l4proto, opcode = 0, hdr_len = 0; in qlcnic_tx_pkt() local
491 qlcnic_set_tx_flags_opcode(first_desc, flags, opcode); in qlcnic_tx_pkt()
497 opcode = QLCNIC_TX_ETHER_PKT; in qlcnic_tx_pkt()
502 opcode = (protocol == ETH_P_IPV6) ? QLCNIC_TX_TCP_LSO6 : in qlcnic_tx_pkt()
560 opcode = QLCNIC_TX_TCP_PKT; in qlcnic_tx_pkt()
[all …]
/linux-4.1.27/include/linux/
Dspmi.h91 int (*cmd)(struct spmi_controller *ctrl, u8 opcode, u8 sid);
92 int (*read_cmd)(struct spmi_controller *ctrl, u8 opcode,
94 int (*write_cmd)(struct spmi_controller *ctrl, u8 opcode,
Dmmiotrace.h92 unsigned char opcode; /* one of MMIO_{READ,WRITE,UNKNOWN_OP} */ member
101 unsigned char opcode; /* MMIO_PROBE or MMIO_UNPROBE */ member
/linux-4.1.27/drivers/spmi/
Dspmi.c97 spmi_cmd(struct spmi_controller *ctrl, u8 opcode, u8 sid) in spmi_cmd() argument
102 return ctrl->cmd(ctrl, opcode, sid); in spmi_cmd()
105 static inline int spmi_read_cmd(struct spmi_controller *ctrl, u8 opcode, in spmi_read_cmd() argument
111 return ctrl->read_cmd(ctrl, opcode, sid, addr, buf, len); in spmi_read_cmd()
114 static inline int spmi_write_cmd(struct spmi_controller *ctrl, u8 opcode, in spmi_write_cmd() argument
120 return ctrl->write_cmd(ctrl, opcode, sid, addr, buf, len); in spmi_write_cmd()
/linux-4.1.27/drivers/infiniband/core/
Dud_header.c155 { STRUCT_FIELD(bth, opcode),
267 header->bth.opcode = IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE; in ib_ud_header_init()
269 header->bth.opcode = IB_OPCODE_UD_SEND_ONLY; in ib_ud_header_init()
386 switch (header->bth.opcode) { in ib_ud_header_unpack()
395 header->bth.opcode); in ib_ud_header_unpack()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dt4_msg.h167 u8 opcode; member
176 #define MK_OPCODE_TID(opcode, tid) (CPL_OPCODE_V(opcode) | (tid)) argument
194 u8 opcode; member
775 u8 opcode; member
875 u8 opcode; member
896 __u8 opcode; member
970 u8 opcode; member
980 u8 opcode; member
987 u8 opcode; member
1005 u8 opcode; member
/linux-4.1.27/arch/x86/kvm/
Demulate.c208 struct opcode { struct
213 const struct opcode *group; argument
225 struct opcode mod012[8]; argument
226 struct opcode mod3[8];
230 struct opcode pfx_no;
231 struct opcode pfx_66;
232 struct opcode pfx_f2;
233 struct opcode pfx_f3;
237 struct opcode op[8];
238 struct opcode high[64];
[all …]
/linux-4.1.27/drivers/spi/
Dspi-bcm63xx-hsspi.c155 u16 opcode = 0; in bcm63xx_hsspi_do_txrx() local
165 opcode = HSSPI_OP_READ_WRITE; in bcm63xx_hsspi_do_txrx()
167 opcode = HSSPI_OP_WRITE; in bcm63xx_hsspi_do_txrx()
169 opcode = HSSPI_OP_READ; in bcm63xx_hsspi_do_txrx()
171 if (opcode != HSSPI_OP_READ) in bcm63xx_hsspi_do_txrx()
188 __raw_writew(opcode | curr_step, bs->fifo); in bcm63xx_hsspi_do_txrx()
/linux-4.1.27/arch/arm/probes/kprobes/
Dcore.c94 p->opcode = insn; in arch_prepare_kprobe()
139 if (is_wide_instruction(p->opcode)) in arch_arm_kprobe()
144 kprobe_opcode_t insn = p->opcode; in arch_arm_kprobe()
190 p->opcode); in arch_disarm_kprobe()
223 if (is_wide_instruction(p->opcode)) in singlestep_skip()
235 p->ainsn.insn_singlestep(p->opcode, &p->ainsn, regs); in singlestep()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/
Dcpl5_cmd.h162 u8 opcode; member
171 #define MK_OPCODE_TID(opcode, tid) (V_OPCODE(opcode) | (tid)) argument
436 u8 opcode; member
456 u8 opcode; member
485 u8 opcode; member
/linux-4.1.27/arch/arm/probes/uprobes/
Dcore.c51 probes_opcode_t opcode; in arch_uprobe_skip_sstep() local
56 opcode = __mem_to_opcode_arm(*(unsigned int *) auprobe->insn); in arch_uprobe_skip_sstep()
58 auprobe->asi.insn_singlestep(opcode, &auprobe->asi, regs); in arch_uprobe_skip_sstep()
/linux-4.1.27/drivers/crypto/vmx/
Dppc-xlate.pl197 my $opcode = eval("\$$mnemonic");
199 if (ref($opcode) eq 'CODE') { $line = &$opcode($f,split(',',$line)); }
/linux-4.1.27/arch/avr32/kernel/
Dkprobes.c42 p->opcode = *p->addr; in arch_prepare_kprobe()
61 *p->addr = p->opcode; in arch_disarm_kprobe()
85 *p->addr = p->opcode; in prepare_singlestep()
Dtraps.c175 unsigned short opcode; in is_valid_bugaddr() local
179 if (probe_kernel_address((u16 *)pc, opcode)) in is_valid_bugaddr()
182 return opcode == AVR32_BUG_OPCODE; in is_valid_bugaddr()
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_sideband.c43 u32 port, u32 opcode, u32 addr, u32 *val) in vlv_sideband_rw() argument
46 bool is_read = (opcode == SB_MRD_NP || opcode == SB_CRRDDA_NP); in vlv_sideband_rw()
48 cmd = (devfn << IOSF_DEVFN_SHIFT) | (opcode << IOSF_OPCODE_SHIFT) | in vlv_sideband_rw()
/linux-4.1.27/drivers/net/ethernet/ibm/ehea/
Dehea_phyp.c49 static long ehea_plpar_hcall_norets(unsigned long opcode, in ehea_plpar_hcall_norets() argument
62 ret = plpar_hcall_norets(opcode, arg1, arg2, arg3, arg4, in ehea_plpar_hcall_norets()
75 opcode, ret, in ehea_plpar_hcall_norets()
84 static long ehea_plpar_hcall9(unsigned long opcode, in ehea_plpar_hcall9() argument
101 ret = plpar_hcall9(opcode, outs, in ehea_plpar_hcall9()
114 && (opcode == H_MODIFY_HEA_PORT)) in ehea_plpar_hcall9()
125 opcode, ret, in ehea_plpar_hcall9()
/linux-4.1.27/drivers/gpu/ipu-v3/
Dipu-dc.c130 static void dc_write_tmpl(struct ipu_dc *dc, int word, u32 opcode, u32 operand, in dc_write_tmpl() argument
136 if (opcode == WCLK) { in dc_write_tmpl()
138 reg2 = operand >> 12 | opcode << 1 | stop << 9; in dc_write_tmpl()
139 } else if (opcode == WRG) { in dc_write_tmpl()
141 reg2 = operand >> 17 | opcode << 7 | stop << 9; in dc_write_tmpl()
144 reg2 = operand >> 12 | opcode << 4 | stop << 9; in dc_write_tmpl()
/linux-4.1.27/arch/alpha/kernel/
Dtraps.c460 do_entUna(void * va, unsigned long opcode, unsigned long reg, in do_entUna() argument
476 switch (opcode) { in do_entUna()
632 pc, va, opcode, reg); in do_entUna()
775 do_entUnaUser(void __user * va, unsigned long opcode, in do_entUnaUser() argument
792 regs->pc - 4, va, opcode, reg); in do_entUnaUser()
811 if ((1L << opcode) & OP_INT_MASK) { in do_entUnaUser()
829 switch (opcode) { in do_entUnaUser()
/linux-4.1.27/arch/mips/math-emu/
Dcp1emu.c101 switch (insn.mm_i_format.opcode) { in microMIPS32_to_MIPS32()
103 mips32_insn.mm_i_format.opcode = ldc1_op; in microMIPS32_to_MIPS32()
108 mips32_insn.mm_i_format.opcode = lwc1_op; in microMIPS32_to_MIPS32()
113 mips32_insn.mm_i_format.opcode = sdc1_op; in microMIPS32_to_MIPS32()
118 mips32_insn.mm_i_format.opcode = swc1_op; in microMIPS32_to_MIPS32()
126 mips32_insn.fb_format.opcode = cop1_op; in microMIPS32_to_MIPS32()
160 mips32_insn.fp6_format.opcode = cop1x_op; in microMIPS32_to_MIPS32()
180 mips32_insn.r_format.opcode = cop1x_op; in microMIPS32_to_MIPS32()
198 mips32_insn.fp0_format.opcode = cop1_op; in microMIPS32_to_MIPS32()
222 mips32_insn.fp0_format.opcode = cop1_op; in microMIPS32_to_MIPS32()
[all …]
/linux-4.1.27/include/linux/mmc/
Dmmc.h87 static inline bool mmc_op_multi(u32 opcode) in mmc_op_multi() argument
89 return opcode == MMC_WRITE_MULTIPLE_BLOCK || in mmc_op_multi()
90 opcode == MMC_READ_MULTIPLE_BLOCK; in mmc_op_multi()
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Dmci.c210 static void ath_mci_cal_msg(struct ath_softc *sc, u8 opcode, u8 *rx_payload) in ath_mci_cal_msg() argument
217 switch (opcode) { in ath_mci_cal_msg()
367 static void ath_mci_msg(struct ath_softc *sc, u8 opcode, u8 *rx_payload) in ath_mci_msg() argument
383 switch (opcode) { in ath_mci_msg()
427 ath_dbg(common, MCI, "Unknown GPM COEX message = 0x%02x\n", opcode); in ath_mci_msg()
490 u32 offset, subtype, opcode; in ath_mci_intr() local
574 opcode = MCI_GPM_OPCODE(pgpm); in ath_mci_intr()
584 ath_mci_msg(sc, opcode, (u8 *)pgpm); in ath_mci_intr()
/linux-4.1.27/drivers/infiniband/hw/amso1100/
Dc2_cq.c168 entry->opcode = IB_WC_SEND; in c2_poll_one()
171 entry->opcode = IB_WC_RDMA_WRITE; in c2_poll_one()
174 entry->opcode = IB_WC_RDMA_READ; in c2_poll_one()
177 entry->opcode = IB_WC_BIND_MW; in c2_poll_one()
181 entry->opcode = IB_WC_RECV; in c2_poll_one()
/linux-4.1.27/drivers/mtd/spi-nor/
Dfsl-quadspi.c529 u8 opcode, unsigned int to, u32 *txbuf, in fsl_qspi_nor_write() argument
550 ret = fsl_qspi_runcmd(q, opcode, to, count); in fsl_qspi_nor_write()
677 static int fsl_qspi_read_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in fsl_qspi_read_reg() argument
682 ret = fsl_qspi_runcmd(q, opcode, 0, len); in fsl_qspi_read_reg()
690 static int fsl_qspi_write_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len, in fsl_qspi_write_reg() argument
697 ret = fsl_qspi_runcmd(q, opcode, 0, 1); in fsl_qspi_write_reg()
701 if (opcode == SPINOR_OP_CHIP_ERASE) in fsl_qspi_write_reg()
705 ret = fsl_qspi_nor_write(q, nor, opcode, 0, in fsl_qspi_write_reg()
708 dev_err(q->dev, "invalid cmd %d\n", opcode); in fsl_qspi_write_reg()

1234