Lines Matching defs:efct
10 #define frame_printf(efct, hdr, fmt, ...) \
15 efc_log_debug(efct, "[%06x.%s] %02x/%04x/%04x: " fmt, \
22 efct_node_find(struct efct *efct, u32 port_id, u32 node_id)
32 node = xa_load(&efct->lookup, id);
40 efct_dispatch_frame(struct efct *efct, struct efc_hw_sequence *seq)
56 node = efct_node_find(efct, d_id, s_id);
58 efc_log_err(efct,
61 efct_hw_sequence_free(&efct->hw, seq);
67 node = efct_node_find(efct, d_id, s_id);
69 efc_log_err(efct, "ABTS: Node not found, d_id:%x s_id:%x\n",
74 efc_log_err(efct, "Received ABTS for Node:%p\n", node);
79 efct_hw_sequence_free(&efct->hw, seq);
86 struct efct *efct = arg;
89 if (!efct_dispatch_frame(efct, seq))
93 efc_dispatch_frame(efct->efcport, seq);
131 efc_log_err(io->node->efct, "TMF x%x rejected\n", tm_flags);
138 efct_validate_fcp_cmd(struct efct *efct, struct efc_hw_sequence *seq)
149 efc_log_debug(efct,
226 struct efct *efct = node->efct;
227 struct efct_hw *hw = &efct->hw;
264 efc_log_err(efct, "Fill send frame failed offset %d size %d\n",
281 efc_log_err(efct, "Fill send frame failed offset %d size %d\n",
290 rc = efct_hw_send_frame(&efct->hw, (void *)&hdr, FC_SOF_N3,
294 efc_log_debug(efct, "efct_hw_send_frame failed: %d\n", rc);
320 struct efct *efct = node->efct;
333 efc_log_debug(efct, "efct_sframe_send_fcp_rsp failed %d\n", rc);
341 struct efct *efct = node->efct;
348 efc_log_err(efct, "Sequence payload is NULL.\n");
355 if (efct_validate_fcp_cmd(efct, seq))
369 efc_log_err(efct, "Failed to send busy task: %d\n", rc);
387 efc_log_err(efct, "Additional CDB not supported\n");
405 struct efct *efct = io->efct;
411 abortio = efct_io_find_tgt_io(efct, node, ox_id, rx_id);
417 efc_log_info(node->efct, "Abort ox_id [%04x] rx_id [%04x]\n",
453 efc_log_info(node->efct, "Abort: ox_id [%04x], IO not found\n",
465 struct efct *efct = node->efct;
477 io->efct = efct;
483 efc_log_err(efct,
485 efc_log_err(efct, "s_id %06x d_id %06x ox_id %04x rx_id %04x\n",