Home
last modified time | relevance | path

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

1234

/linux-4.4.14/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.4.14/include/trace/events/
Dspmi.h15 TP_PROTO(u8 opcode, u8 sid, u16 addr, u8 len, const u8 *buf),
16 TP_ARGS(opcode, sid, addr, len, buf),
19 __field ( u8, opcode )
27 __entry->opcode = opcode;
35 (int)__entry->opcode, (int)__entry->sid,
41 TP_PROTO(u8 opcode, u8 sid, u16 addr, int ret),
42 TP_ARGS(opcode, sid, addr, ret),
45 __field ( u8, opcode )
52 __entry->opcode = opcode;
59 (int)__entry->opcode, (int)__entry->sid,
[all …]
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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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()
/linux-4.4.14/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.c138 if (!flt->opcode) in is_filtered_packet()
142 flt->opcode != get_unaligned((__le16 *)(skb->data + 3))) in is_filtered_packet()
146 flt->opcode != get_unaligned((__le16 *)(skb->data + 4))) in is_filtered_packet()
258 __le16 opcode; in hci_send_to_monitor() local
267 opcode = cpu_to_le16(HCI_MON_COMMAND_PKT); in hci_send_to_monitor()
270 opcode = cpu_to_le16(HCI_MON_EVENT_PKT); in hci_send_to_monitor()
274 opcode = cpu_to_le16(HCI_MON_ACL_RX_PKT); in hci_send_to_monitor()
276 opcode = cpu_to_le16(HCI_MON_ACL_TX_PKT); in hci_send_to_monitor()
280 opcode = cpu_to_le16(HCI_MON_SCO_RX_PKT); in hci_send_to_monitor()
282 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)->hci.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()
555 u16 opcode) in update_background_scan_complete() argument
[all …]
/linux-4.4.14/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.4.14/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.4.14/arch/mips/include/uapi/asm/
Dinst.h537 __BITFIELD_FIELD(unsigned int opcode : 6, /* Jump format */
543 __BITFIELD_FIELD(unsigned int opcode : 6,
551 __BITFIELD_FIELD(unsigned int opcode : 6,
559 __BITFIELD_FIELD(unsigned int opcode : 6,
568 __BITFIELD_FIELD(unsigned int opcode : 6,
578 __BITFIELD_FIELD(unsigned int opcode : 6,
588 __BITFIELD_FIELD(unsigned int opcode : 6,
599 __BITFIELD_FIELD(unsigned int opcode : 6,
610 __BITFIELD_FIELD(unsigned int opcode : 6,
617 __BITFIELD_FIELD(unsigned int opcode : 6,
[all …]
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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()
390 if (wqe->rdma_wr.wr.opcode == IB_WR_RDMA_WRITE) in qib_make_rc_req()
460 if (wqe->atomic_wr.wr.opcode == IB_WR_ATOMIC_CMP_AND_SWP) { in qib_make_rc_req()
499 if (wqe->wr.opcode == IB_WR_RDMA_READ) in qib_make_rc_req()
533 if (wqe->wr.opcode == IB_WR_SEND) in qib_make_rc_req()
574 if (wqe->wr.opcode == IB_WR_RDMA_WRITE) in qib_make_rc_req()
789 u32 opcode; in reset_psn() local
803 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.4.14/drivers/mmc/core/
Dmmc_ops.c66 cmd.opcode = MMC_SEND_STATUS; in __mmc_send_status()
98 cmd.opcode = MMC_SELECT_CARD; in _mmc_select_card()
139 cmd.opcode = MMC_SET_DSR; in mmc_set_dsr()
166 cmd.opcode = MMC_GO_IDLE_STATE; in mmc_go_idle()
191 cmd.opcode = MMC_SEND_OP_COND; in mmc_send_op_cond()
232 cmd.opcode = MMC_ALL_SEND_CID; in mmc_all_send_cid()
253 cmd.opcode = MMC_SET_RELATIVE_ADDR; in mmc_set_relative_addr()
265 mmc_send_cxd_native(struct mmc_host *host, u32 arg, u32 *cxd, int opcode) in mmc_send_cxd_native() argument
273 cmd.opcode = opcode; in mmc_send_cxd_native()
292 u32 opcode, void *buf, unsigned len) in mmc_send_cxd_data() argument
[all …]
Dsdio_ops.h24 static inline bool mmc_is_io_op(u32 opcode) in mmc_is_io_op() argument
26 return opcode == SD_IO_RW_DIRECT || opcode == SD_IO_RW_EXTENDED; in mmc_is_io_op()
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.c137 if ((cmd->opcode != MMC_SEND_TUNING_BLOCK && in mmc_request_done()
138 cmd->opcode != MMC_SEND_TUNING_BLOCK_HS200) && in mmc_request_done()
163 mmc_hostname(host), mrq->sbc->opcode, in mmc_request_done()
170 mmc_hostname(host), cmd->opcode, err, in mmc_request_done()
182 mmc_hostname(host), mrq->stop->opcode, in mmc_request_done()
211 if (mmc_is_io_op(mrq->cmd->opcode) && host->ops->card_busy) { in __mmc_start_request()
240 mmc_hostname(host), mrq->sbc->opcode, in mmc_start_request()
245 mmc_hostname(host), mrq->cmd->opcode, in mmc_start_request()
259 mmc_hostname(host), mrq->stop->opcode, in mmc_start_request()
469 cmd->opcode, cmd->error); in mmc_wait_for_data_req_done()
[all …]
/linux-4.4.14/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.4.14/tools/perf/util/intel-pt-decoder/
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()
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 …]
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()
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,
DBuild4 inat_tables_maps = util/intel-pt-decoder/x86-opcode-map.txt
14 …diff -B util/intel-pt-decoder/x86-opcode-map.txt ../../arch/x86/lib/x86-opcode-map.txt >/dev/null …
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()
/linux-4.4.14/include/scsi/
Dsrp.h120 u8 opcode; member
138 u8 opcode; member
150 u8 opcode; member
160 u8 opcode; member
166 u8 opcode; member
178 u8 opcode; member
196 u8 opcode; member
228 u8 opcode; member
244 u8 opcode; member
252 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 …]
Dscsi_common.h18 #define COMMAND_SIZE(opcode) scsi_command_size_tbl[((opcode) >> 5) & 7] argument
/linux-4.4.14/drivers/staging/rdma/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.c95 if (swqe->wr.opcode == IB_WR_SEND_WITH_IMM) { in ipath_ud_loopback()
213 wc.opcode = IB_WC_RECV; in ipath_ud_loopback()
342 if (wqe->ud_wr.wr.opcode == IB_WR_SEND_WITH_IMM) { in ipath_make_ud_req()
412 int opcode; in ipath_ud_rcv() local
478 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; in ipath_ud_rcv()
480 opcode == IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE) { in ipath_ud_rcv()
488 } else if (opcode == IB_OPCODE_UD_SEND_ONLY) { in ipath_ud_rcv()
558 wc.opcode = IB_WC_RECV; in ipath_ud_rcv()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Duc.c123 switch (wqe->wr.opcode) { in hfi1_make_uc_req()
131 if (wqe->wr.opcode == IB_WR_SEND) in hfi1_make_uc_req()
160 if (wqe->wr.opcode == IB_WR_RDMA_WRITE) in hfi1_make_uc_req()
191 if (wqe->wr.opcode == IB_WR_SEND) in hfi1_make_uc_req()
216 if (wqe->wr.opcode == IB_WR_RDMA_WRITE) in hfi1_make_uc_req()
271 u32 opcode; in hfi1_uc_rcv() local
283 opcode = be32_to_cpu(ohdr->bth[0]); in hfi1_uc_rcv()
284 if (hfi1_ruc_check_hdr(ibp, hdr, has_grh, qp, opcode)) in hfi1_uc_rcv()
319 opcode >>= 24; in hfi1_uc_rcv()
336 switch (opcode) { in hfi1_uc_rcv()
[all …]
Drc.c142 if (e->opcode == OP(RDMA_READ_REQUEST)) { in make_rc_ack()
364 switch (wqe->wr.opcode) { in hfi1_make_rc_req()
380 if (wqe->wr.opcode == IB_WR_SEND) in hfi1_make_rc_req()
419 if (wqe->wr.opcode == IB_WR_RDMA_WRITE) in hfi1_make_rc_req()
488 if (wqe->wr.opcode == IB_WR_ATOMIC_CMP_AND_SWP) { in hfi1_make_rc_req()
527 if (wqe->wr.opcode == IB_WR_RDMA_READ) in hfi1_make_rc_req()
562 if (wqe->wr.opcode == IB_WR_SEND) in hfi1_make_rc_req()
604 if (wqe->wr.opcode == IB_WR_RDMA_WRITE) in hfi1_make_rc_req()
800 u32 opcode; in reset_psn() local
814 opcode = wqe->wr.opcode; in reset_psn()
[all …]
Dtrace.c56 u8 opcode; in ibhdr_exhdr_len() local
63 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; in ibhdr_exhdr_len()
64 return hdr_len_by_opcode[opcode] == 0 ? in ibhdr_exhdr_len()
65 0 : hdr_len_by_opcode[opcode] - (12 + 8); in ibhdr_exhdr_len()
84 u8 opcode, in parse_everbs_hdrs() argument
90 switch (opcode) { in parse_everbs_hdrs()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Dtransobj.c46 MLX5_SET(alloc_transport_domain_in, in, opcode, in mlx5_alloc_transport_domain()
65 MLX5_SET(dealloc_transport_domain_in, in, opcode, in mlx5_dealloc_transport_domain()
77 MLX5_SET(create_rq_in, in, opcode, MLX5_CMD_OP_CREATE_RQ); in mlx5_core_create_rq()
92 MLX5_SET(modify_rq_in, in, opcode, MLX5_CMD_OP_MODIFY_RQ); in mlx5_core_modify_rq()
105 MLX5_SET(destroy_rq_in, in, opcode, MLX5_CMD_OP_DESTROY_RQ); in mlx5_core_destroy_rq()
116 MLX5_SET(create_sq_in, in, opcode, MLX5_CMD_OP_CREATE_SQ); in mlx5_core_create_sq()
131 MLX5_SET(modify_sq_in, in, opcode, MLX5_CMD_OP_MODIFY_SQ); in mlx5_core_modify_sq()
144 MLX5_SET(destroy_sq_in, in, opcode, MLX5_CMD_OP_DESTROY_SQ); in mlx5_core_destroy_sq()
156 MLX5_SET(create_tir_in, in, opcode, MLX5_CMD_OP_CREATE_TIR); in mlx5_core_create_tir()
172 MLX5_SET(modify_tir_in, in, opcode, MLX5_CMD_OP_MODIFY_TIR); in mlx5_core_modify_tir()
[all …]
Dmr.c67 in->hdr.opcode = cpu_to_be16(MLX5_CMD_OP_CREATE_MKEY); in mlx5_core_create_mkey()
129 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_DESTROY_MKEY); in mlx5_core_destroy_mkey()
151 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_QUERY_MKEY); in mlx5_core_query_mkey()
174 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_QUERY_SPECIAL_CONTEXTS); in mlx5_core_dump_fill_mkey()
201 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_CREATE_PSV); in mlx5_core_create_psv()
232 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_DESTROY_PSV); in mlx5_core_destroy_psv()
Dqp.c193 in->hdr.opcode = cpu_to_be16(MLX5_CMD_OP_CREATE_QP); in mlx5_core_create_qp()
240 din.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_DESTROY_QP); in mlx5_core_create_qp()
268 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_DESTROY_QP); in mlx5_core_destroy_qp()
334 in->hdr.opcode = cpu_to_be16(op); in mlx5_core_qp_modify()
367 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_QUERY_QP); in mlx5_core_qp_query()
388 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_ALLOC_XRCD); in mlx5_core_xrcd_alloc()
410 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_DEALLOC_XRCD); in mlx5_core_xrcd_dealloc()
433 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_PAGE_FAULT_RESUME); in mlx5_core_page_fault_resume()
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()
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()
Dfw.c45 MLX5_SET(query_adapter_in, in, opcode, MLX5_CMD_OP_QUERY_ADAPTER); in mlx5_cmd_query_adapter()
174 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_INIT_HCA); in mlx5_cmd_init_hca()
193 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_TEARDOWN_HCA); in mlx5_cmd_teardown_hca()
Dsrq.c159 in->hdr.opcode = cpu_to_be16(MLX5_CMD_OP_CREATE_SRQ); in create_srq_cmd()
177 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_DESTROY_SRQ); in destroy_srq_cmd()
193 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_ARM_RQ); in arm_srq_cmd()
210 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_QUERY_SRQ); in query_srq_cmd()
246 MLX5_SET(create_xrc_srq_in, create_in, opcode, in create_xrc_srq_cmd()
270 MLX5_SET(destroy_xrc_srq_in, xrcsrq_in, opcode, in destroy_xrc_srq_cmd()
287 MLX5_SET(arm_xrc_srq_in, xrcsrq_in, opcode, MLX5_CMD_OP_ARM_XRC_SRQ); in arm_xrc_srq_cmd()
311 MLX5_SET(query_xrc_srq_in, xrcsrq_in, opcode, in query_xrc_srq_cmd()
Dvport.c47 MLX5_SET(query_vport_state_in, in, opcode, in mlx5_query_vport_state()
76 MLX5_SET(query_nic_vport_context_in, in, opcode, in mlx5_query_nic_vport_mac_address()
124 MLX5_SET(query_hca_vport_gid_in, in, opcode, MLX5_CMD_OP_QUERY_HCA_VPORT_GID); in mlx5_query_hca_vport_gid()
193 MLX5_SET(query_hca_vport_pkey_in, in, opcode, MLX5_CMD_OP_QUERY_HCA_VPORT_PKEY); in mlx5_query_hca_vport_pkey()
246 MLX5_SET(query_hca_vport_context_in, in, opcode, MLX5_CMD_OP_QUERY_HCA_VPORT_CONTEXT); in mlx5_query_hca_vport_context()
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_DETTACH_FROM_MCG); in mlx5_core_detach_mcg()
Dflow_table.c77 MLX5_SET(set_fte_in, in, opcode, MLX5_CMD_OP_SET_FLOW_TABLE_ENTRY); in mlx5_set_flow_entry_cmd()
106 MLX5_SET_DFTEI(in, opcode, MLX5_CMD_OP_DELETE_FLOW_TABLE_ENTRY); in mlx5_del_flow_entry_cmd()
122 MLX5_SET_DFGI(in, opcode, MLX5_CMD_OP_DESTROY_FLOW_GROUP); in mlx5_destroy_flow_group_cmd()
151 MLX5_SET_CFGI(in, opcode, MLX5_CMD_OP_CREATE_FLOW_GROUP); in mlx5_create_flow_group_cmd()
210 MLX5_SET(create_flow_table_in, in, opcode, in mlx5_create_flow_table_cmd()
235 MLX5_SET_DFTI(in, opcode, MLX5_CMD_OP_DESTROY_FLOW_TABLE); in mlx5_destroy_flow_table_cmd()
/linux-4.4.14/drivers/nfc/s3fwrn5/
Dnci.c36 .opcode = nci_opcode_pack(NCI_GID_PROPRIETARY,
41 .opcode = nci_opcode_pack(NCI_GID_PROPRIETARY,
46 .opcode = nci_opcode_pack(NCI_GID_PROPRIETARY,
51 .opcode = nci_opcode_pack(NCI_GID_PROPRIETARY,
56 .opcode = nci_opcode_pack(NCI_GID_PROPRIETARY,
61 .opcode = nci_opcode_pack(NCI_GID_PROPRIETARY,
66 .opcode = nci_opcode_pack(NCI_GID_PROPRIETARY,
71 .opcode = nci_opcode_pack(NCI_GID_PROPRIETARY,
76 .opcode = nci_opcode_pack(NCI_GID_PROPRIETARY,
/linux-4.4.14/drivers/acpi/acpica/
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
508 opcode = AML_INT_RESERVEDFIELD_OP; in acpi_ps_get_next_field()
[all …]
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()
447 walk_state->opcode)); in acpi_ex_opcode_2A_1T_1R()
[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()
97 (acpi_ps_get_opcode_info(opcode))-> in acpi_ps_init_op()
116 union acpi_parse_object *acpi_ps_alloc_op(u16 opcode, u8 *aml) 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.c69 const struct acpi_opcode_info *acpi_ps_get_opcode_info(u16 opcode) in acpi_ps_get_opcode_info() argument
80 if (!(opcode & 0xFF00)) { in acpi_ps_get_opcode_info()
85 [acpi_gbl_short_op_index[(u8)opcode]]); in acpi_ps_get_opcode_info()
88 if (((opcode & 0xFF00) == AML_EXTENDED_OPCODE) && in acpi_ps_get_opcode_info()
89 (((u8)opcode) <= MAX_EXTENDED_OPCODE)) { in acpi_ps_get_opcode_info()
94 [acpi_gbl_long_op_index[(u8)opcode]]); in acpi_ps_get_opcode_info()
99 switch (opcode) { in acpi_ps_get_opcode_info()
143 ACPI_DEBUG_PRINT((ACPI_DB_EXEC, "%s [%4.4X]\n", opcode_name, opcode)); in acpi_ps_get_opcode_info()
161 char *acpi_ps_get_opcode_name(u16 opcode) in acpi_ps_get_opcode_name() argument
167 op = acpi_ps_get_opcode_info(opcode); in acpi_ps_get_opcode_name()
Dpsobject.c74 walk_state->opcode = acpi_ps_peek_opcode(&(walk_state->parser_state)); in acpi_ps_get_aml_opcode()
82 walk_state->op_info = acpi_ps_get_opcode_info(walk_state->opcode); in acpi_ps_get_aml_opcode()
91 walk_state->opcode = AML_INT_NAMEPATH_OP; in acpi_ps_get_aml_opcode()
106 walk_state->opcode, in acpi_ps_get_aml_opcode()
120 walk_state->opcode, in acpi_ps_get_aml_opcode()
138 if (walk_state->opcode > 0xFF) { /* Can only happen if first byte is 0x5B */ in acpi_ps_get_aml_opcode()
149 acpi_ps_get_opcode_size(walk_state->opcode); in acpi_ps_get_aml_opcode()
185 unnamed_op->common.aml_opcode = walk_state->opcode; in acpi_ps_build_named_op()
299 walk_state->op_info = acpi_ps_get_opcode_info(walk_state->opcode); in acpi_ps_create_op()
300 op = acpi_ps_alloc_op(walk_state->opcode, aml_op_start); in acpi_ps_create_op()
[all …]
Dacparser.h106 u32 name, u32 opcode);
134 const struct acpi_opcode_info *acpi_ps_get_opcode_info(u16 opcode);
136 char *acpi_ps_get_opcode_name(u16 opcode);
145 u32 acpi_ps_get_opcode_size(u32 opcode);
193 char *path, u16 opcode, u32 create);
228 void acpi_ps_init_op(union acpi_parse_object *op, u16 opcode);
230 union acpi_parse_object *acpi_ps_alloc_op(u16 opcode, u8 *aml);
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()
336 if ((opcode == AML_STORE_OP) && in acpi_ex_resolve_operands()
699 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()
391 op = acpi_ps_alloc_op(walk_state->opcode, walk_state->aml); in acpi_ds_load1_begin_op()
460 if (walk_state->opcode == AML_FIELD_OP || in acpi_ds_load1_end_op()
461 walk_state->opcode == AML_BANK_FIELD_OP || in acpi_ds_load1_end_op()
462 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()
773 ((u32)opcode) - AML_LOCAL_OP; in acpi_ds_init_object_from_op()
793 obj_desc->reference.value = ((u32)opcode) - AML_ARG_OP; in acpi_ds_init_object_from_op()
832 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()
/linux-4.4.14/arch/mips/kernel/
Dtraps.c510 static inline int simulate_ll(struct pt_regs *regs, unsigned int opcode) in simulate_ll() argument
521 offset = opcode & OFFSET; in simulate_ll()
526 ((unsigned long)(regs->regs[(opcode & BASE) >> 21]) + offset); in simulate_ll()
544 regs->regs[(opcode & RT) >> 16] = value; in simulate_ll()
549 static inline int simulate_sc(struct pt_regs *regs, unsigned int opcode) in simulate_sc() argument
561 offset = opcode & OFFSET; in simulate_sc()
566 ((unsigned long)(regs->regs[(opcode & BASE) >> 21]) + offset); in simulate_sc()
567 reg = (opcode & RT) >> 16; in simulate_sc()
597 static int simulate_llsc(struct pt_regs *regs, unsigned int opcode) in simulate_llsc() argument
599 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.4.14/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.h254 extern void *text_poke_early(void *addr, const void *opcode, size_t len);
270 extern void *text_poke(void *addr, const void *opcode, size_t len);
272 extern void *text_poke_bp(void *addr, const void *opcode, size_t len, void *handler);
/linux-4.4.14/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.4.14/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()
97 DRM_ERROR("instruction %d does not exist\n", opcode); in awg_generate_instr()
105 instruction = ((opcode) << AWG_OPCODE_OFFSET) | arg; in awg_generate_instr()
/linux-4.4.14/include/linux/mlx5/
Dmlx5_ifc.h2573 u8 opcode[0x10]; member
2595 u8 opcode[0x10]; member
2625 u8 opcode[0x10]; member
2655 u8 opcode[0x10]; member
2684 u8 opcode[0x10]; member
2707 u8 opcode[0x10]; member
2739 u8 opcode[0x10]; member
2761 u8 opcode[0x10]; member
2782 u8 opcode[0x10]; member
2815 u8 opcode[0x10]; member
[all …]
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/bluetooth/
Dhci_vhci.c91 static int __vhci_create_device(struct vhci_data *data, __u8 opcode) in __vhci_create_device() argument
101 dev_type = opcode & 0x03; in __vhci_create_device()
107 if (opcode & 0x3c) in __vhci_create_device()
132 if (opcode & 0x40) in __vhci_create_device()
136 if (opcode & 0x80) in __vhci_create_device()
150 *skb_put(skb, 1) = opcode; in __vhci_create_device()
158 static int vhci_create_device(struct vhci_data *data, __u8 opcode) in vhci_create_device() argument
163 err = __vhci_create_device(data, opcode); in vhci_create_device()
174 __u8 pkt_type, opcode; in vhci_get_user() local
209 opcode = *((__u8 *) skb->data); in vhci_get_user()
[all …]
Dbtrtl.c75 u8 opcode, length, data, rom_version = 0; in rtl8723b_parse_firmware() local
109 opcode = *--fwptr; in rtl8723b_parse_firmware()
113 BT_DBG("check op=%x len=%x data=%x", opcode, length, data); in rtl8723b_parse_firmware()
115 if (opcode == 0xff) /* EOF */ in rtl8723b_parse_firmware()
124 if (opcode == 0 && length == 1) { in rtl8723b_parse_firmware()
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.4.14/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.4.14/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_REG_MR; in iwch_poll_cq_one()
/linux-4.4.14/drivers/nvme/host/
Dlightnvm.c38 __u8 opcode; member
54 __u8 opcode; member
70 __u8 opcode; member
82 __u8 opcode; member
95 __u8 opcode; member
107 __u8 opcode; member
122 __u8 opcode; member
282 c.identity.opcode = nvme_nvm_admin_identity; in nvme_nvm_identity()
323 c.l2p.opcode = nvme_nvm_admin_get_l2p_tbl; in nvme_nvm_get_l2p_tbl()
370 c.get_bb.opcode = nvme_nvm_admin_get_bb_tbl; in nvme_nvm_get_bb_tbl()
[all …]
/linux-4.4.14/drivers/spmi/
Dspmi.c99 spmi_cmd(struct spmi_controller *ctrl, u8 opcode, u8 sid) in spmi_cmd() argument
106 ret = ctrl->cmd(ctrl, opcode, sid); in spmi_cmd()
107 trace_spmi_cmd(opcode, sid, ret); in spmi_cmd()
111 static inline int spmi_read_cmd(struct spmi_controller *ctrl, u8 opcode, in spmi_read_cmd() argument
119 trace_spmi_read_begin(opcode, sid, addr); in spmi_read_cmd()
120 ret = ctrl->read_cmd(ctrl, opcode, sid, addr, buf, len); in spmi_read_cmd()
121 trace_spmi_read_end(opcode, sid, addr, ret, len, buf); in spmi_read_cmd()
125 static inline int spmi_write_cmd(struct spmi_controller *ctrl, u8 opcode, in spmi_write_cmd() argument
133 trace_spmi_write_begin(opcode, sid, addr, len, buf); in spmi_write_cmd()
134 ret = ctrl->write_cmd(ctrl, opcode, sid, addr, buf, len); in spmi_write_cmd()
[all …]
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/
Dliquidio_common.h82 (OPCODE_SUBCODE(rh->r.opcode, rh->r.subcode) != \
348 u64 opcode:4; member
362 u64 opcode:4;
384 u64 opcode:4; member
392 u64 opcode:4; member
402 u64 opcode:4; member
412 u64 opcode:4; member
428 u64 opcode:4;
438 u64 opcode:4;
448 u64 opcode:4;
[all …]
Docteon_device.c845 oct->dispatch.dlist[i].opcode = 0; in octeon_init_dispatch_list()
876 oct->dispatch.dlist[i].opcode = 0; in octeon_delete_dispatch_list()
890 octeon_get_dispatch(struct octeon_device *octeon_dev, u16 opcode, in octeon_get_dispatch() argument
896 u16 combined_opcode = OPCODE_SUBCODE(opcode, subcode); in octeon_get_dispatch()
907 if (!(octeon_dev->dispatch.dlist[idx].opcode)) { in octeon_get_dispatch()
912 if (octeon_dev->dispatch.dlist[idx].opcode == combined_opcode) { in octeon_get_dispatch()
917 if (((struct octeon_dispatch *)dispatch)->opcode == in octeon_get_dispatch()
949 u16 opcode, in octeon_register_dispatch_fn() argument
955 u16 combined_opcode = OPCODE_SUBCODE(opcode, subcode); in octeon_register_dispatch_fn()
961 if (oct->dispatch.dlist[idx].opcode == 0) { in octeon_register_dispatch_fn()
[all …]
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c530 vhcr->opcode = cpu_to_be16((((u16) op_modifier) << 12) | (op & 0xfff)); in mlx4_slave_cmd()
1063 .opcode = MLX4_CMD_QUERY_FW,
1072 .opcode = MLX4_CMD_QUERY_HCA,
1081 .opcode = MLX4_CMD_QUERY_DEV_CAP,
1090 .opcode = MLX4_CMD_QUERY_FUNC_CAP,
1099 .opcode = MLX4_CMD_QUERY_ADAPTER,
1108 .opcode = MLX4_CMD_INIT_PORT,
1117 .opcode = MLX4_CMD_CLOSE_PORT,
1126 .opcode = MLX4_CMD_QUERY_PORT,
1135 .opcode = MLX4_CMD_SET_PORT,
[all …]
/linux-4.4.14/include/linux/
Dnvme.h295 __u8 opcode; member
307 __u8 opcode; member
349 __u8 opcode; member
426 __u8 opcode; member
438 __u8 opcode; member
451 __u8 opcode; member
465 __u8 opcode; member
479 __u8 opcode; member
489 __u8 opcode; member
499 __u8 opcode; member
[all …]
Dmmiotrace.h92 unsigned char opcode; /* one of MMIO_{READ,WRITE,UNKNOWN_OP} */ member
101 unsigned char opcode; /* MMIO_PROBE or MMIO_UNPROBE */ member
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,
/linux-4.4.14/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()
54 .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.4.14/drivers/net/ethernet/qlogic/qed/
Dqed_hw.c347 u32 opcode = 0; in qed_dmae_opcode() local
354 opcode |= (is_src_type_grc ? DMAE_CMD_SRC_MASK_GRC in qed_dmae_opcode()
357 opcode |= ((p_hwfn->rel_pf_id & DMAE_CMD_SRC_PF_ID_MASK) << in qed_dmae_opcode()
361 opcode |= (is_dst_type_grc ? DMAE_CMD_DST_MASK_GRC in qed_dmae_opcode()
364 opcode |= ((p_hwfn->rel_pf_id & DMAE_CMD_DST_PF_ID_MASK) << in qed_dmae_opcode()
371 opcode |= (DMAE_CMD_COMP_WORD_EN_MASK << DMAE_CMD_COMP_WORD_EN_SHIFT); in qed_dmae_opcode()
372 opcode |= (DMAE_CMD_SRC_ADDR_RESET_MASK << in qed_dmae_opcode()
376 opcode |= (1 << DMAE_CMD_COMP_FUNC_SHIFT); in qed_dmae_opcode()
378 opcode |= (DMAE_CMD_ENDIANITY << DMAE_CMD_ENDIANITY_MODE_SHIFT); in qed_dmae_opcode()
380 opcode |= ((p_hwfn->port_id) << DMAE_CMD_PORT_ID_SHIFT); in qed_dmae_opcode()
[all …]
Dqed_l2.c84 enum qed_filter_opcode opcode; member
98 enum qed_filter_opcode opcode; member
813 qed_filter_action(enum qed_filter_opcode opcode) in qed_filter_action() argument
817 switch (opcode) { in qed_filter_action()
894 switch (p_filter_cmd->opcode) { in qed_filter_ucast_common()
951 if (p_filter_cmd->opcode == QED_FILTER_MOVE) { in qed_filter_ucast_common()
966 action = qed_filter_action(p_filter_cmd->opcode); in qed_filter_ucast_common()
971 p_filter_cmd->opcode); in qed_filter_ucast_common()
976 p_first_filter->vport_id = (p_filter_cmd->opcode == in qed_filter_ucast_common()
1016 (p_filter_cmd->opcode == QED_FILTER_ADD) ? "ADD" : in qed_sp_eth_filter_ucast()
[all …]
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_stats.c169 u32 opcode = bnx2x_dmae_opcode(bp, DMAE_SRC_PCI, DMAE_DST_GRC, in bnx2x_hw_stats_post() local
171 opcode = bnx2x_dmae_opcode_clr_src_reset(opcode); in bnx2x_hw_stats_post()
174 dmae->opcode = opcode; in bnx2x_hw_stats_post()
221 u32 opcode; in bnx2x_stats_pmf_update() local
233 opcode = bnx2x_dmae_opcode(bp, DMAE_SRC_GRC, DMAE_DST_PCI, false, 0); in bnx2x_stats_pmf_update()
236 dmae->opcode = bnx2x_dmae_opcode_add_comp(opcode, DMAE_COMP_GRC); in bnx2x_stats_pmf_update()
247 dmae->opcode = bnx2x_dmae_opcode_add_comp(opcode, DMAE_COMP_PCI); in bnx2x_stats_pmf_update()
269 u32 opcode; in bnx2x_port_stats_init() local
283 opcode = bnx2x_dmae_opcode(bp, DMAE_SRC_PCI, DMAE_DST_GRC, in bnx2x_port_stats_init()
289 dmae->opcode = opcode; in bnx2x_port_stats_init()
[all …]
/linux-4.4.14/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.4.14/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 …]
Dmtk-sd.c622 u32 opcode = cmd->opcode; in msdc_cmd_prepare_raw_cmd() local
624 u32 rawcmd = (opcode & 0x3f) | ((resp & 0x7) << 7); in msdc_cmd_prepare_raw_cmd()
628 if ((opcode == SD_IO_RW_DIRECT && cmd->flags == (unsigned int) -1) || in msdc_cmd_prepare_raw_cmd()
629 opcode == MMC_STOP_TRANSMISSION) in msdc_cmd_prepare_raw_cmd()
631 else if (opcode == SD_SWITCH_VOLTAGE) in msdc_cmd_prepare_raw_cmd()
633 else if (opcode == SD_APP_SEND_SCR || in msdc_cmd_prepare_raw_cmd()
634 opcode == SD_APP_SEND_NUM_WR_BLKS || in msdc_cmd_prepare_raw_cmd()
635 (opcode == SD_SWITCH && mmc_cmd_type(cmd) == MMC_CMD_ADTC) || in msdc_cmd_prepare_raw_cmd()
636 (opcode == SD_APP_SD_STATUS && mmc_cmd_type(cmd) == MMC_CMD_ADTC) || in msdc_cmd_prepare_raw_cmd()
637 (opcode == MMC_SEND_EXT_CSD && mmc_cmd_type(cmd) == MMC_CMD_ADTC)) in msdc_cmd_prepare_raw_cmd()
[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 …]
/linux-4.4.14/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.4.14/arch/x86/kernel/
Dalternative.c272 void *text_poke_early(void *addr, const void *opcode, size_t len);
277 static inline bool is_jmp(const u8 opcode) in is_jmp() argument
279 return opcode == 0xeb || opcode == 0xe9; in is_jmp()
663 void *__init_or_module text_poke_early(void *addr, const void *opcode, in text_poke_early() argument
668 memcpy(addr, opcode, len); in text_poke_early()
689 void *text_poke(void *addr, const void *opcode, size_t len) in text_poke() argument
710 memcpy(&vaddr[(unsigned long)addr & ~PAGE_MASK], opcode, len); in text_poke()
719 BUG_ON(((char *)addr)[i] != ((char *)opcode)[i]); in text_poke()
772 void *text_poke_bp(void *addr, const void *opcode, size_t len, void *handler) in text_poke_bp() argument
793 (const char *) opcode + sizeof(int3), in text_poke_bp()
[all …]
Dstep.c57 unsigned char opcode[15]; in is_setting_trap_flag() local
60 copied = access_process_vm(child, addr, opcode, sizeof(opcode), 0); in is_setting_trap_flag()
62 switch (opcode[i]) { in is_setting_trap_flag()
Duprobes.c54 #define OPCODE1(insn) ((insn)->opcode.bytes[0])
55 #define OPCODE2(insn) ((insn)->opcode.bytes[1])
56 #define OPCODE3(insn) ((insn)->opcode.bytes[2])
307 if (insn->opcode.nbytes == 2) { in uprobe_init_insn()
608 static bool is_cond_jmp_opcode(u8 opcode) in is_cond_jmp_opcode() argument
610 switch (opcode) { in is_cond_jmp_opcode()
720 if (insn->opcode.nbytes != 2) in branch_setup_xol_ops()
/linux-4.4.14/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.4.14/kernel/bpf/
Dverifier.c388 u8 opcode = BPF_OP(insn->code); in print_bpf_insn() local
390 if (opcode == BPF_CALL) { in print_bpf_insn()
1018 u8 opcode = BPF_OP(insn->code); in check_alu_op() local
1021 if (opcode == BPF_END || opcode == BPF_NEG) { in check_alu_op()
1022 if (opcode == BPF_NEG) { in check_alu_op()
1053 } else if (opcode == BPF_MOV) { in check_alu_op()
1100 } else if (opcode > BPF_END) { in check_alu_op()
1101 verbose("invalid BPF_ALU opcode %x\n", opcode); in check_alu_op()
1129 if ((opcode == BPF_MOD || opcode == BPF_DIV) && in check_alu_op()
1135 if ((opcode == BPF_LSH || opcode == BPF_RSH || in check_alu_op()
[all …]
/linux-4.4.14/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.4.14/arch/x86/platform/intel/
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()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/spi/
Dspi-bcm63xx-hsspi.c156 u16 opcode = 0; in bcm63xx_hsspi_do_txrx() local
166 opcode = HSSPI_OP_READ_WRITE; in bcm63xx_hsspi_do_txrx()
168 opcode = HSSPI_OP_WRITE; in bcm63xx_hsspi_do_txrx()
170 opcode = HSSPI_OP_READ; in bcm63xx_hsspi_do_txrx()
172 if (opcode != HSSPI_OP_READ) in bcm63xx_hsspi_do_txrx()
175 if ((opcode == HSSPI_OP_READ && t->rx_nbits == SPI_NBITS_DUAL) || in bcm63xx_hsspi_do_txrx()
176 (opcode == HSSPI_OP_WRITE && t->tx_nbits == SPI_NBITS_DUAL)) in bcm63xx_hsspi_do_txrx()
177 opcode |= HSSPI_OP_MULTIBIT; in bcm63xx_hsspi_do_txrx()
192 __raw_writew(opcode | curr_step, bs->fifo); in bcm63xx_hsspi_do_txrx()
/linux-4.4.14/Documentation/acpi/
Dmethod-tracing.txt65 method, or an AML opcode. Note that the format of the log entries are
110 d. Filter out the method/opcode start/stop "AML tracer" when the
116 # echo "opcode" > trace_state
117 e. Filter out the method/opcode start/stop "AML tracer" when the
123 # echo "opcode-opcode" > trace_state
128 acpi.trace_method_name=\_SB.LID0._LID acpi.trace_state=opcode-once
173 "opcode"
176 "trace_debug_layer/trace_debug_level" during method/opcode
178 "opcode-once"
181 "trace_debug_layer/trace_debug_level" during method/opcode
[all …]
/linux-4.4.14/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.4.14/include/linux/ceph/
Dosd_client.h199 u8 opcode; member
252 unsigned int which, u16 opcode, u32 flags);
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.4.14/net/nfc/nci/
Dcore.c342 __u16 opcode; member
352 nci_send_cmd(ndev, param->opcode, param->len, param->payload); in nci_generic_req()
359 param.opcode = nci_opcode_pack(NCI_GID_PROPRIETARY, oid); in nci_prop_cmd()
368 int nci_core_cmd(struct nci_dev *ndev, __u16 opcode, size_t len, __u8 *payload) in nci_core_cmd() argument
372 param.opcode = opcode; in nci_core_cmd()
1242 int nci_send_cmd(struct nci_dev *ndev, __u16 opcode, __u8 plen, void *payload) in nci_send_cmd() argument
1247 pr_debug("opcode 0x%x, plen %d\n", opcode, plen); in nci_send_cmd()
1256 hdr->gid = nci_opcode_gid(opcode); in nci_send_cmd()
1257 hdr->oid = nci_opcode_oid(opcode); in nci_send_cmd()
1276 __u16 opcode) in ops_cmd_lookup() argument
[all …]
/linux-4.4.14/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.4.14/drivers/net/ethernet/mellanox/mlxsw/
Dcmd.h60 int mlxsw_cmd_exec(struct mlxsw_core *mlxsw_core, u16 opcode, u8 opcode_mod,
65 static inline int mlxsw_cmd_exec_in(struct mlxsw_core *mlxsw_core, u16 opcode, in mlxsw_cmd_exec_in() argument
69 return mlxsw_cmd_exec(mlxsw_core, opcode, opcode_mod, in_mod, false, in mlxsw_cmd_exec_in()
73 static inline int mlxsw_cmd_exec_out(struct mlxsw_core *mlxsw_core, u16 opcode, in mlxsw_cmd_exec_out() argument
78 return mlxsw_cmd_exec(mlxsw_core, opcode, opcode_mod, in_mod, in mlxsw_cmd_exec_out()
83 static inline int mlxsw_cmd_exec_none(struct mlxsw_core *mlxsw_core, u16 opcode, in mlxsw_cmd_exec_none() argument
86 return mlxsw_cmd_exec(mlxsw_core, opcode, opcode_mod, in_mod, false, in mlxsw_cmd_exec_none()
110 static inline const char *mlxsw_cmd_opcode_str(u16 opcode) in mlxsw_cmd_opcode_str() argument
112 switch (opcode) { in mlxsw_cmd_opcode_str()
/linux-4.4.14/net/ceph/
Dosd_client.c441 static bool osd_req_opcode_valid(u16 opcode) in osd_req_opcode_valid() argument
443 switch (opcode) { in osd_req_opcode_valid()
444 #define GENERATE_CASE(op, opcode, str) case CEPH_OSD_OP_##op: return true; in osd_req_opcode_valid() argument
459 u16 opcode, u32 flags) in _osd_req_op_init() argument
464 BUG_ON(!osd_req_opcode_valid(opcode)); in _osd_req_op_init()
468 op->op = opcode; in _osd_req_op_init()
475 unsigned int which, u16 opcode, u32 flags) in osd_req_op_init() argument
477 (void)_osd_req_op_init(osd_req, which, opcode, flags); in osd_req_op_init()
482 unsigned int which, u16 opcode, in osd_req_op_extent_init() argument
487 opcode, 0); in osd_req_op_extent_init()
[all …]
/linux-4.4.14/drivers/staging/rdma/ehca/
Dehca_reqs.c123 ud_wr->.wr.opcode); in trace_ud_wr()
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()
293 if (send_wr->opcode == IB_WR_RDMA_READ) { in ehca_write_swqe()
473 circ_wr.opcode = IB_WR_RDMA_READ; in ehca_post_send()
759 wc->opcode = ib_wc_opcode[cqe->optype]-1; in ehca_poll_cq_one()
760 if (unlikely(wc->opcode == -1)) { in ehca_poll_cq_one()
[all …]
/linux-4.4.14/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.4.14/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.4.14/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 …]
/linux-4.4.14/drivers/infiniband/hw/mlx5/
Dcq.c129 wc->opcode = IB_WC_RDMA_WRITE; in handle_good_req()
135 wc->opcode = IB_WC_SEND; in handle_good_req()
138 wc->opcode = IB_WC_RDMA_READ; in handle_good_req()
142 wc->opcode = IB_WC_COMP_SWAP; in handle_good_req()
146 wc->opcode = IB_WC_FETCH_ADD; in handle_good_req()
150 wc->opcode = IB_WC_MASKED_COMP_SWAP; in handle_good_req()
154 wc->opcode = IB_WC_MASKED_FETCH_ADD; in handle_good_req()
158 wc->opcode = IB_WC_BIND_MW; in handle_good_req()
161 wc->opcode = get_umr_comp(wq, idx); in handle_good_req()
206 wc->opcode = IB_WC_RECV_RDMA_WITH_IMM; in handle_responder()
[all …]
/linux-4.4.14/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.4.14/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.4.14/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.4.14/net/rds/
Diw_send.c144 send->s_send_wr.opcode = IB_WR_SEND; in rds_iw_send_init_ring()
173 if (send->s_send_wr.opcode == 0xdead) in rds_iw_send_clear_ring()
212 printk(KERN_ERR "WC Error: status = %d opcode = %d\n", wc.status, wc.opcode); in rds_iw_send_cq_comp_handler()
216 if (wc.opcode == IB_WC_LOCAL_INV && wc.wr_id == RDS_IW_LOCAL_INV_WR_ID) { in rds_iw_send_cq_comp_handler()
221 if (wc.opcode == IB_WC_REG_MR && wc.wr_id == RDS_IW_REG_WR_ID) { in rds_iw_send_cq_comp_handler()
241 switch (send->s_send_wr.opcode) { in rds_iw_send_cq_comp_handler()
256 __func__, send->s_send_wr.opcode); in rds_iw_send_cq_comp_handler()
260 send->s_send_wr.opcode = 0xdead; in rds_iw_send_cq_comp_handler()
450 send->s_send_wr.opcode = IB_WR_SEND; in rds_iw_xmit_populate_wr()
774 send->s_reg_wr.wr.opcode = IB_WR_REG_MR; in rds_iw_build_send_reg()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dlproc_ptlrpc.c47 __u32 opcode; member
138 __u32 opcode; member
157 const char *ll_opcode2str(__u32 opcode) in ll_opcode2str() argument
166 __u32 offset = opcode_offset(opcode); in ll_opcode2str()
171 LASSERTF(ll_rpc_opcode_table[offset].opcode == opcode, in ll_opcode2str()
173 offset, ll_rpc_opcode_table[offset].opcode, opcode); in ll_opcode2str()
177 static const char *ll_eopcode2str(__u32 opcode) in ll_eopcode2str() argument
179 LASSERT(ll_eopcode_table[opcode].opcode == opcode); in ll_eopcode2str()
180 return ll_eopcode_table[opcode].opname; in ll_eopcode2str()
240 __u32 opcode = ll_rpc_opcode_table[i].opcode; in ptlrpc_ldebugfs_register() local
[all …]
/linux-4.4.14/include/net/nfc/
Dnci_core.h71 __u16 opcode; member
286 int nci_core_cmd(struct nci_dev *ndev, __u16 opcode, size_t len, __u8 *payload);
355 int nci_prop_rsp_packet(struct nci_dev *ndev, __u16 opcode,
357 int nci_prop_ntf_packet(struct nci_dev *ndev, __u16 opcode,
359 int nci_core_rsp_packet(struct nci_dev *ndev, __u16 opcode,
361 int nci_core_ntf_packet(struct nci_dev *ndev, __u16 opcode,
364 int nci_send_cmd(struct nci_dev *ndev, __u16 opcode, __u8 plen, void *payload);
/linux-4.4.14/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.4.14/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()
/linux-4.4.14/drivers/infiniband/hw/mlx4/
Dcq.c786 wc->opcode = IB_WC_RDMA_WRITE; in mlx4_ib_poll_one()
792 wc->opcode = IB_WC_SEND; in mlx4_ib_poll_one()
795 wc->opcode = IB_WC_RDMA_READ; in mlx4_ib_poll_one()
799 wc->opcode = IB_WC_COMP_SWAP; in mlx4_ib_poll_one()
803 wc->opcode = IB_WC_FETCH_ADD; in mlx4_ib_poll_one()
807 wc->opcode = IB_WC_MASKED_COMP_SWAP; in mlx4_ib_poll_one()
811 wc->opcode = IB_WC_MASKED_FETCH_ADD; in mlx4_ib_poll_one()
815 wc->opcode = IB_WC_BIND_MW; in mlx4_ib_poll_one()
818 wc->opcode = IB_WC_LSO; in mlx4_ib_poll_one()
821 wc->opcode = IB_WC_REG_MR; in mlx4_ib_poll_one()
[all …]
/linux-4.4.14/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.4.14/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.4.14/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.4.14/include/uapi/linux/
Dnvme_ioctl.h21 __u8 opcode; member
36 __u8 opcode; member
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.4.14/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.4.14/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.4.14/arch/parisc/kernel/
Dsignal.c445 u32 opcode, source_reg; in check_syscallno_in_delay_branch() local
464 err = get_user(opcode, uaddr); in check_syscallno_in_delay_branch()
469 if ((opcode & 0xffff0000) == 0x34140000) in check_syscallno_in_delay_branch()
473 if (opcode == INSN_NOP) in check_syscallno_in_delay_branch()
477 if ((opcode & 0xffe0ffff) == 0x08000254) { in check_syscallno_in_delay_branch()
478 source_reg = (opcode >> 16) & 31; in check_syscallno_in_delay_branch()
484 current->comm, task_pid_nr(current), opcode); in check_syscallno_in_delay_branch()
/linux-4.4.14/drivers/lightnvm/
Dcore.c537 char opcode, devname[DISK_NAME_LEN]; in nvm_configure_show() local
540 ret = sscanf(val, "%c %32s", &opcode, devname); in nvm_configure_show()
565 char opcode; in nvm_configure_remove() local
568 ret = sscanf(val, "%c %256s", &opcode, remove.tgtname); in nvm_configure_remove()
582 char opcode; in nvm_configure_create() local
585 ret = sscanf(val, "%c %256s %256s %48s %u:%u", &opcode, create.dev, in nvm_configure_create()
606 char opcode; in nvm_configure_by_str_event() local
609 ret = sscanf(val, "%c", &opcode); in nvm_configure_by_str_event()
615 switch (opcode) { in nvm_configure_by_str_event()
/linux-4.4.14/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.4.14/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.4.14/drivers/crypto/vmx/
Dppc-xlate.pl198 my $opcode = eval("\$$mnemonic");
200 if (ref($opcode) eq 'CODE') { $line = &$opcode($f,split(',',$line)); }
/linux-4.4.14/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()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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
859 u8 opcode; member
962 u8 opcode; member
983 __u8 opcode; member
1057 u8 opcode; member
1067 u8 opcode; member
1074 u8 opcode; member
1092 u8 opcode; member
/linux-4.4.14/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.4.14/arch/x86/kvm/
Demulate.c209 struct opcode { struct
214 const struct opcode *group; argument
226 struct opcode mod012[8]; argument
227 struct opcode mod3[8];
231 struct opcode pfx_no;
232 struct opcode pfx_66;
233 struct opcode pfx_f2;
234 struct opcode pfx_f3;
238 struct opcode op[8];
239 struct opcode high[64];
[all …]

1234