Lines Matching refs:hio

107 efct_target_io_cb(struct efct_hw_io *hio, u32 length, int status,  in efct_target_io_cb()  argument
201 efct_scsi_build_sgls(struct efct_hw *hw, struct efct_hw_io *hio, in efct_scsi_build_sgls() argument
210 rc = efct_hw_io_init_sges(hw, hio, type); in efct_scsi_build_sgls()
218 rc = efct_hw_io_add_sge(hw, hio, sgl[i].addr, sgl[i].len); in efct_scsi_build_sgls()
231 struct efct_hw_io *hio = io->hio; in efc_log_sgl() local
238 upper_32_bits(hio->def_sgl.phys), in efc_log_sgl()
239 lower_32_bits(hio->def_sgl.phys)); in efc_log_sgl()
240 n_sge = (hio->sgl == &hio->def_sgl) ? hio->n_sge : hio->def_sgl_count; in efc_log_sgl()
241 for (i = 0, data = hio->def_sgl.virt; i < n_sge; i++, data++) { in efc_log_sgl()
265 (cb)(io->hio, 0, SLI4_FC_WCQE_STATUS_DISPATCH_ERROR, 0, io); in efct_scsi_check_pending_async_cb()
270 efct_scsi_io_dispatch_hw_io(struct efct_io *io, struct efct_hw_io *hio) in efct_scsi_io_dispatch_hw_io() argument
278 io->hio = hio; in efct_scsi_io_dispatch_hw_io()
280 io->tgt_task_tag = hio->indicator; in efct_scsi_io_dispatch_hw_io()
282 io->init_task_tag = hio->indicator; in efct_scsi_io_dispatch_hw_io()
283 io->hw_tag = hio->reqtag; in efct_scsi_io_dispatch_hw_io()
285 hio->eq = io->hw_priv; in efct_scsi_io_dispatch_hw_io()
290 hio->wq_steering = EFCT_HW_WQ_STEERING_CLASS; in efct_scsi_io_dispatch_hw_io()
293 hio->wq_steering = EFCT_HW_WQ_STEERING_REQUEST; in efct_scsi_io_dispatch_hw_io()
296 hio->wq_steering = EFCT_HW_WQ_STEERING_CPU; in efct_scsi_io_dispatch_hw_io()
302 rc = efct_scsi_build_sgls(&efct->hw, io->hio, in efct_scsi_io_dispatch_hw_io()
319 rc = efct_hw_io_send(&io->efct->hw, io->hio_type, io->hio, in efct_scsi_io_dispatch_hw_io()
339 hio_to_abort = io->io_to_abort->hio; in efct_scsi_io_dispatch_no_hw_io()
355 ((efct_hw_done_t)io->hw_cb)(io->hio, 0, in efct_scsi_io_dispatch_no_hw_io()
374 cb(io->hio, 0, status, 0, io); in efct_scsi_io_dispatch_no_hw_io()
393 struct efct_hw_io *hio; in efct_scsi_dispatch_pending() local
411 hio = NULL; in efct_scsi_dispatch_pending()
413 hio = efct_hw_io_alloc(&efct->hw); in efct_scsi_dispatch_pending()
414 if (!hio) { in efct_scsi_dispatch_pending()
422 hio->eq = io->hw_priv; in efct_scsi_dispatch_pending()
437 if (!hio) in efct_scsi_dispatch_pending()
440 status = efct_scsi_io_dispatch_hw_io(io, hio); in efct_scsi_dispatch_pending()
491 if (io->io_type == EFCT_IO_TYPE_ABORT && io->io_to_abort->hio) { in efct_scsi_check_pending()
519 struct efct_hw_io *hio; in efct_scsi_io_dispatch() local
530 if (io->hio) in efct_scsi_io_dispatch()
531 return efct_scsi_io_dispatch_hw_io(io, io->hio); in efct_scsi_io_dispatch()
567 hio = efct_hw_io_alloc(&io->efct->hw); in efct_scsi_io_dispatch()
568 if (!hio) { in efct_scsi_io_dispatch()
581 return efct_scsi_io_dispatch_hw_io(io, hio); in efct_scsi_io_dispatch()
837 efct_target_bls_resp_cb(struct efct_hw_io *hio, u32 length, int status, in efct_target_bls_resp_cb() argument
909 static int efct_bls_send_rjt_cb(struct efct_hw_io *hio, u32 length, int status, in efct_bls_send_rjt_cb() argument
1038 efct_target_abort_cb(struct efct_hw_io *hio, u32 length, int status, in efct_target_abort_cb() argument