Lines Matching refs:opcode
232 ibd->fault->opcode = false; in hfi1_fault_init_debugfs()
255 &ibd->fault->opcode); in hfi1_fault_init_debugfs()
274 static bool __hfi1_should_fault(struct hfi1_ibdev *ibd, u32 opcode, in __hfi1_should_fault() argument
283 if (ibd->fault->opcode) { in __hfi1_should_fault()
288 if (!(test_bit(opcode, ibd->fault->opcodes))) in __hfi1_should_fault()
307 bool hfi1_dbg_should_fault_tx(struct rvt_qp *qp, u32 opcode) in hfi1_dbg_should_fault_tx() argument
311 if (__hfi1_should_fault(ibd, opcode, HFI1_FAULT_DIR_TX)) { in hfi1_dbg_should_fault_tx()
312 trace_hfi1_fault_opcode(qp, opcode); in hfi1_dbg_should_fault_tx()
313 ibd->fault->n_txfaults[opcode]++; in hfi1_dbg_should_fault_tx()
323 if (__hfi1_should_fault(ibd, packet->opcode, HFI1_FAULT_DIR_RX)) { in hfi1_dbg_should_fault_rx()
325 ibd->fault->n_rxfaults[packet->opcode]++; in hfi1_dbg_should_fault_rx()