Lines Matching refs:hio

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