Lines Matching refs:base_vha
134 scsi_qla_host_t *base_vha = pci_get_drvdata(vha->hw->pdev); in qlt_do_generation_tick() local
135 *dest = atomic_inc_return(&base_vha->generation_tick); in qlt_do_generation_tick()
3328 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qlt_host_reset_handler() local
3330 struct qla_tgt *tgt = base_vha->vha_tgt.qla_tgt; in qlt_host_reset_handler()
3333 if (!base_vha->hw->tgt.tgt_ops) in qlt_host_reset_handler()
3336 if (!tgt || qla_ini_mode_enabled(base_vha)) { in qlt_host_reset_handler()
3344 base_vha->dpc_flags); in qlt_host_reset_handler()
3348 cmd = qlt_get_cmd(base_vha, i); in qlt_host_reset_handler()
5751 int qlt_add_target(struct qla_hw_data *ha, struct scsi_qla_host *base_vha) in qlt_add_target() argument
5759 ql_log(ql_log_warn, base_vha, 0xe070, in qlt_add_target()
5764 ql_dbg(ql_dbg_tgt, base_vha, 0xe03b, in qlt_add_target()
5765 "Registering target for host %ld(%p).\n", base_vha->host_no, ha); in qlt_add_target()
5767 BUG_ON(base_vha->vha_tgt.qla_tgt != NULL); in qlt_add_target()
5771 ql_dbg(ql_dbg_tgt, base_vha, 0xe066, in qlt_add_target()
5776 if (!(base_vha->host->hostt->supported_mode & MODE_TARGET)) in qlt_add_target()
5777 base_vha->host->hostt->supported_mode |= MODE_TARGET; in qlt_add_target()
5780 tgt->vha = base_vha; in qlt_add_target()
5795 base_vha->vha_tgt.qla_tgt = tgt; in qlt_add_target()
5797 ql_dbg(ql_dbg_tgt, base_vha, 0xe067, in qlt_add_target()
5799 base_vha->vp_idx); in qlt_add_target()
5802 tgt->sg_tablesize = QLA_TGT_MAX_SG_24XX(base_vha->req->length - 3); in qlt_add_target()
5806 if (base_vha->fc_vport) in qlt_add_target()
6010 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qlt_enable_vha() local
6029 set_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags); in qlt_enable_vha()
6030 qla2xxx_wake_dpc(base_vha); in qlt_enable_vha()
6031 WARN_ON_ONCE(qla2x00_wait_for_hba_online(base_vha) != in qlt_enable_vha()
6410 qlt_probe_one_stage1(struct scsi_qla_host *base_vha, struct qla_hw_data *ha) in qlt_probe_one_stage1() argument
6416 ISP_ATIO_Q_IN(base_vha) = &ha->mqiobase->isp25mq.atio_q_in; in qlt_probe_one_stage1()
6417 ISP_ATIO_Q_OUT(base_vha) = &ha->mqiobase->isp25mq.atio_q_out; in qlt_probe_one_stage1()
6419 ISP_ATIO_Q_IN(base_vha) = &ha->iobase->isp24.atio_q_in; in qlt_probe_one_stage1()
6420 ISP_ATIO_Q_OUT(base_vha) = &ha->iobase->isp24.atio_q_out; in qlt_probe_one_stage1()
6423 mutex_init(&base_vha->vha_tgt.tgt_mutex); in qlt_probe_one_stage1()
6424 mutex_init(&base_vha->vha_tgt.tgt_host_action_mutex); in qlt_probe_one_stage1()
6425 qlt_clear_mode(base_vha); in qlt_probe_one_stage1()