Lines Matching refs:vha

433 static int tcm_qla2xxx_handle_cmd(scsi_qla_host_t *vha, struct qla_tgt_cmd *cmd,
584 pr_debug("%ld: ABTS received\n", sess->vha->host_no);
588 pr_debug("%ld: 2G Abort Task received\n", sess->vha->host_no);
592 pr_debug("%ld: CLEAR_ACA received\n", sess->vha->host_no);
596 pr_debug("%ld: TARGET_RESET received\n", sess->vha->host_no);
600 pr_debug("%ld: LUN_RESET received\n", sess->vha->host_no);
604 pr_debug("%ld: CLEAR_TS received\n", sess->vha->host_no);
608 pr_debug("%ld: ABORT_TS received\n", sess->vha->host_no);
613 sess->vha->host_no, tmr_func);
914 struct scsi_qla_host *vha = lport->qla_vha;
923 qlt_enable_vha(vha);
929 qlt_stop_phase1(vha->vha_tgt.qla_tgt);
930 qlt_stop_phase2(vha->vha_tgt.qla_tgt);
1035 struct scsi_qla_host *vha = lport->qla_vha;
1040 if (vha->vha_tgt.qla_tgt && !vha->vha_tgt.qla_tgt->tgt_stop)
1041 qlt_stop_phase1(vha->vha_tgt.qla_tgt);
1057 struct scsi_qla_host *vha = lport->qla_vha;
1066 qlt_enable_vha(vha);
1072 qlt_stop_phase1(vha->vha_tgt.qla_tgt);
1073 qlt_stop_phase2(vha->vha_tgt.qla_tgt);
1122 static struct fc_port *tcm_qla2xxx_find_sess_by_s_id(scsi_qla_host_t *vha,
1130 lport = vha->vha_tgt.target_lport_ptr;
1227 scsi_qla_host_t *vha,
1235 lport = vha->vha_tgt.target_lport_ptr;
1344 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev);
1355 lport = vha->vha_tgt.target_lport_ptr;
1399 scsi_qla_host_t *vha,
1403 struct qla_hw_data *ha = vha->hw;
1411 lport = vha->vha_tgt.target_lport_ptr;
1450 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev);
1451 struct tcm_qla2xxx_lport *lport = vha->vha_tgt.target_lport_ptr;
1565 static int tcm_qla2xxx_lport_register_cb(struct scsi_qla_host *vha,
1569 struct qla_hw_data *ha = vha->hw;
1573 * Setup tgt_ops, local pointer to vha and target_lport_ptr
1576 vha->vha_tgt.target_lport_ptr = target_lport_ptr;
1577 lport->qla_vha = vha;
1626 struct scsi_qla_host *vha = lport->qla_vha;
1635 if (vha->vha_tgt.qla_tgt && !vha->vha_tgt.qla_tgt->tgt_stopped)
1636 qlt_stop_phase2(vha->vha_tgt.qla_tgt);
1638 qlt_lport_deregister(vha);
1757 * Notify libfc that we want to release the vha->fc_vport