Lines Matching refs:seq
40 efct_dispatch_frame(struct efct *efct, struct efc_hw_sequence *seq) in efct_dispatch_frame() argument
46 hdr = seq->header->dma.virt; in efct_dispatch_frame()
61 efct_hw_sequence_free(&efct->hw, seq); in efct_dispatch_frame()
65 efct_dispatch_fcp_cmd(node, seq); in efct_dispatch_frame()
75 efct_node_recv_abts_frame(node, seq); in efct_dispatch_frame()
79 efct_hw_sequence_free(&efct->hw, seq); in efct_dispatch_frame()
84 efct_unsolicited_cb(void *arg, struct efc_hw_sequence *seq) in efct_unsolicited_cb() argument
89 if (!efct_dispatch_frame(efct, seq)) in efct_unsolicited_cb()
93 efc_dispatch_frame(efct->efcport, seq); in efct_unsolicited_cb()
138 efct_validate_fcp_cmd(struct efct *efct, struct efc_hw_sequence *seq) in efct_validate_fcp_cmd() argument
146 if (seq->payload->dma.len < sizeof(struct fcp_cmnd)) { in efct_validate_fcp_cmd()
147 struct fc_frame_header *fchdr = seq->header->dma.virt; in efct_validate_fcp_cmd()
152 seq->payload->dma.len, sizeof(struct fcp_cmnd)); in efct_validate_fcp_cmd()
217 efct_hw_sequence_free(hw, ctx->seq); in efct_sframe_common_send_cb()
222 struct efc_hw_sequence *seq, in efct_sframe_common_send() argument
229 struct fc_frame_header *req_hdr = seq->header->dma.virt; in efct_sframe_common_send()
233 u32 heap_size = seq->payload->dma.size; in efct_sframe_common_send()
234 uintptr_t heap_phys_base = seq->payload->dma.phys; in efct_sframe_common_send()
235 u8 *heap_virt_base = seq->payload->dma.virt; in efct_sframe_common_send()
272 ctx->seq = seq; in efct_sframe_common_send()
300 efct_sframe_send_fcp_rsp(struct efct_node *node, struct efc_hw_sequence *seq, in efct_sframe_send_fcp_rsp() argument
303 return efct_sframe_common_send(node, seq, FC_RCTL_DD_CMD_STATUS, in efct_sframe_send_fcp_rsp()
314 struct efc_hw_sequence *seq) in efct_sframe_send_task_set_full_or_busy() argument
317 struct fcp_cmnd *fcpcmd = seq->payload->dma.virt; in efct_sframe_send_task_set_full_or_busy()
331 rc = efct_sframe_send_fcp_rsp(node, seq, &fcprsp, sizeof(fcprsp)); in efct_sframe_send_task_set_full_or_busy()
339 efct_dispatch_fcp_cmd(struct efct_node *node, struct efc_hw_sequence *seq) in efct_dispatch_fcp_cmd() argument
342 struct fc_frame_header *fchdr = seq->header->dma.virt; in efct_dispatch_fcp_cmd()
347 if (!seq->payload) { in efct_dispatch_fcp_cmd()
352 cmnd = seq->payload->dma.virt; in efct_dispatch_fcp_cmd()
355 if (efct_validate_fcp_cmd(efct, seq)) in efct_dispatch_fcp_cmd()
367 rc = efct_sframe_send_task_set_full_or_busy(node, seq); in efct_dispatch_fcp_cmd()
374 io->hw_priv = seq->hw_priv; in efct_dispatch_fcp_cmd()
463 efct_node_recv_abts_frame(struct efct_node *node, struct efc_hw_sequence *seq) in efct_node_recv_abts_frame() argument
466 struct fc_frame_header *hdr = seq->header->dma.virt; in efct_node_recv_abts_frame()
472 io->hw_priv = seq->hw_priv; in efct_node_recv_abts_frame()
481 efct_process_abts(io, seq->header->dma.virt); in efct_node_recv_abts_frame()