Lines Matching refs:base_vha
708 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_sysfs_write_reset() local
775 if (!IS_P3P_TYPE(ha) || vha != base_vha) { in qla2x00_sysfs_write_reset()
1864 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_get_fc_host_stats() local
1895 rval = qla24xx_get_isp_stats(base_vha, stats, stats_dma); in qla2x00_get_fc_host_stats()
1896 } else if (atomic_read(&base_vha->loop_state) == LOOP_READY && in qla2x00_get_fc_host_stats()
1899 rval = qla2x00_get_link_status(base_vha, base_vha->loop_id, in qla2x00_get_fc_host_stats()
1983 struct scsi_qla_host *base_vha = pci_get_drvdata(vha->hw->pdev); in qla2x00_get_host_port_state() local
1985 if (!base_vha->flags.online) { in qla2x00_get_host_port_state()
1990 switch (atomic_read(&base_vha->loop_state)) { in qla2x00_get_host_port_state()
1995 if (test_bit(LOOP_RESYNC_NEEDED, &base_vha->dpc_flags)) in qla2x00_get_host_port_state()
2017 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost); in qla24xx_vport_create() local
2019 struct qla_hw_data *ha = base_vha->hw; in qla24xx_vport_create()
2051 if (atomic_read(&base_vha->loop_state) == LOOP_DOWN || in qla24xx_vport_create()
2052 atomic_read(&base_vha->loop_state) == LOOP_DEAD) { in qla24xx_vport_create()
2100 fc_host_supported_classes(base_vha->host); in qla24xx_vport_create()
2102 fc_host_supported_speeds(base_vha->host); in qla24xx_vport_create()