Lines Matching refs:efct

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