Home
last modified time | relevance | path

Searched refs:base_vha (Results 1 – 11 of 11) sorted by relevance

/drivers/scsi/qla2xxx/
Dqla_os.c686 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2xxx_queuecommand() local
729 atomic_read(&base_vha->loop_state) == LOOP_DEAD) { in qla2xxx_queuecommand()
733 atomic_read(&base_vha->loop_state)); in qla2xxx_queuecommand()
846 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_wait_for_hba_online() local
849 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_hba_online()
850 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_wait_for_hba_online()
851 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_wait_for_hba_online()
856 if (base_vha->flags.online) in qla2x00_wait_for_hba_online()
894 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_wait_for_chip_reset() local
897 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_chip_reset()
[all …]
Dqla_mid.c181 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qla24xx_enable_vp() local
184 if (atomic_read(&base_vha->loop_state) == LOOP_DOWN || in qla24xx_enable_vp()
185 atomic_read(&base_vha->loop_state) == LOOP_DEAD || in qla24xx_enable_vp()
401 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost); in qla24xx_vport_create_req_sanity_check() local
402 struct qla_hw_data *ha = base_vha->hw; in qla24xx_vport_create_req_sanity_check()
419 if (!memcmp(port_name, base_vha->port_name, WWN_SIZE)) in qla24xx_vport_create_req_sanity_check()
439 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost); in qla24xx_create_vhost() local
440 struct qla_hw_data *ha = base_vha->hw; in qla24xx_create_vhost()
480 vha->req = base_vha->req; in qla24xx_create_vhost()
481 host->can_queue = base_vha->req->length + 128; in qla24xx_create_vhost()
[all …]
Dqla_inline.h208 scsi_qla_host_t *base_vha = pci_get_drvdata(vha->hw->pdev); in qla2x00_reset_active() local
211 return test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags) || in qla2x00_reset_active()
212 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_reset_active()
213 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_reset_active()
Dqla_attr.c708 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_sysfs_write_reset() local
774 if (!IS_P3P_TYPE(ha) || vha != base_vha) { in qla2x00_sysfs_write_reset()
1849 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_get_fc_host_stats() local
1880 rval = qla24xx_get_isp_stats(base_vha, stats, stats_dma); in qla2x00_get_fc_host_stats()
1881 } else if (atomic_read(&base_vha->loop_state) == LOOP_READY && in qla2x00_get_fc_host_stats()
1884 rval = qla2x00_get_link_status(base_vha, base_vha->loop_id, in qla2x00_get_fc_host_stats()
1968 struct scsi_qla_host *base_vha = pci_get_drvdata(vha->hw->pdev); in qla2x00_get_host_port_state() local
1970 if (!base_vha->flags.online) { in qla2x00_get_host_port_state()
1975 switch (atomic_read(&base_vha->loop_state)) { in qla2x00_get_host_port_state()
1980 if (test_bit(LOOP_RESYNC_NEEDED, &base_vha->dpc_flags)) in qla2x00_get_host_port_state()
[all …]
Dtcm_qla2xxx.c1005 struct scsi_qla_host *base_vha = base_tpg->lport->qla_vha; in tcm_qla2xxx_depend_tpg() local
1010 qlt_enable_vha(base_vha); in tcm_qla2xxx_depend_tpg()
1020 struct scsi_qla_host *base_vha = base_tpg->lport->qla_vha; in tcm_qla2xxx_undepend_tpg() local
1022 if (!qlt_stop_phase1(base_vha->vha_tgt.qla_tgt)) { in tcm_qla2xxx_undepend_tpg()
1793 static int tcm_qla2xxx_lport_register_npiv_cb(struct scsi_qla_host *base_vha, in tcm_qla2xxx_lport_register_npiv_cb() argument
1798 struct Scsi_Host *sh = base_vha->host; in tcm_qla2xxx_lport_register_npiv_cb()
1803 (struct tcm_qla2xxx_lport *)base_vha->vha_tgt.target_lport_ptr; in tcm_qla2xxx_lport_register_npiv_cb()
1807 if (!qla_tgt_mode_enabled(base_vha)) { in tcm_qla2xxx_lport_register_npiv_cb()
1901 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in tcm_qla2xxx_npiv_drop_lport() local
1908 scsi_host_put(base_vha->host); in tcm_qla2xxx_npiv_drop_lport()
Dqla_target.c134 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()
3323 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qlt_host_reset_handler() local
3325 struct qla_tgt *tgt = base_vha->vha_tgt.qla_tgt; in qlt_host_reset_handler()
3328 if (!base_vha->hw->tgt.tgt_ops) in qlt_host_reset_handler()
3331 if (!tgt || qla_ini_mode_enabled(base_vha)) { in qlt_host_reset_handler()
3339 base_vha->dpc_flags); in qlt_host_reset_handler()
3343 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()
[all …]
Dqla_init.c2385 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_configure_hba() local
2399 if (IS_FWI2_CAPABLE(ha) && (vha == base_vha) && in qla2x00_configure_hba()
3327 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_configure_fabric() local
3423 if (qla_ini_mode_enabled(base_vha) && in qla2x00_configure_fabric()
3438 } else if (!qla_ini_mode_enabled(base_vha)) { in qla2x00_configure_fabric()
3489 if (!qla_ini_mode_enabled(base_vha)) { in qla2x00_configure_fabric()
3505 base_vha, fcport); in qla2x00_configure_fabric()
3537 if (qla_ini_mode_enabled(base_vha)) { in qla2x00_configure_fabric()
3540 rval = qla2x00_find_new_loop_id(base_vha, in qla2x00_configure_fabric()
3606 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_find_all_fabric_devs() local
[all …]
Dqla_dbg.c694 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2300_fw_dump() local
832 qla2xxx_dump_post_process(base_vha, rval); in qla2300_fw_dump()
856 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2100_fw_dump() local
1030 qla2xxx_dump_post_process(base_vha, rval); in qla2100_fw_dump()
1054 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla24xx_fw_dump() local
1285 qla2xxx_dump_post_process(base_vha, rval); in qla24xx_fw_dump()
1308 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla25xx_fw_dump() local
1604 qla2xxx_dump_post_process(base_vha, rval); in qla25xx_fw_dump()
1627 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla81xx_fw_dump() local
1925 qla2xxx_dump_post_process(base_vha, rval); in qla81xx_fw_dump()
[all …]
Dqla_mr.c53 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qlafx00_mailbox_command() local
69 io_lock_on = base_vha->flags.init_done; in qlafx00_mailbox_command()
72 abort_active = test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qlafx00_mailbox_command()
232 ql_log(ql_log_info, base_vha, 0x115e, in qlafx00_mailbox_command()
249 ql_log(ql_log_info, base_vha, 0x1161, in qlafx00_mailbox_command()
273 ql_log(ql_log_warn, base_vha, 0x1163, in qlafx00_mailbox_command()
278 ql_dbg(ql_dbg_mbx, base_vha, 0x1164, "Done %s.\n", __func__); in qlafx00_mailbox_command()
Dqla_mbx.c48 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_mailbox_command() local
66 io_lock_on = base_vha->flags.init_done; in qla2x00_mailbox_command()
69 abort_active = test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2x00_mailbox_command()
324 ql_log(ql_log_info, base_vha, 0x101c, in qla2x00_mailbox_command()
349 ql_log(ql_log_info, base_vha, 0x101e, in qla2x00_mailbox_command()
376 ql_dbg(ql_dbg_disc, base_vha, 0x1020, in qla2x00_mailbox_command()
380 ql_dbg(ql_dbg_mbx, base_vha, 0x1021, "Done %s.\n", __func__); in qla2x00_mailbox_command()
3427 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla24xx_modify_vp_config() local
3455 rval = qla2x00_issue_iocb(base_vha, vpmod, vpmod_dma, 0); in qla24xx_modify_vp_config()
3504 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla24xx_control_vp() local
[all …]
Dqla_iocb.c529 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in __qla2x00_marker() local
534 ql_log(ql_log_warn, base_vha, 0x3026, in __qla2x00_marker()