Home
last modified time | relevance | path

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

/drivers/scsi/qla2xxx/
Dqla_os.c861 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2xxx_queuecommand() local
865 if (unlikely(test_bit(UNLOADING, &base_vha->dpc_flags)) || in qla2xxx_queuecommand()
923 atomic_read(&base_vha->loop_state) == LOOP_DEAD) { in qla2xxx_queuecommand()
927 atomic_read(&base_vha->loop_state)); in qla2xxx_queuecommand()
987 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2xxx_mqueuecommand() local
1014 atomic_read(&base_vha->loop_state) == LOOP_DEAD) { in qla2xxx_mqueuecommand()
1018 atomic_read(&base_vha->loop_state)); in qla2xxx_mqueuecommand()
1128 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_wait_for_hba_online() local
1131 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_hba_online()
1132 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_wait_for_hba_online()
[all …]
Dqla_mid.c210 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qla24xx_enable_vp() local
213 if (atomic_read(&base_vha->loop_state) == LOOP_DOWN || in qla24xx_enable_vp()
214 atomic_read(&base_vha->loop_state) == LOOP_DEAD || in qla24xx_enable_vp()
220 __func__, base_vha->loop_state.counter, in qla24xx_enable_vp()
362 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_do_dpc_vp() local
368 if (test_bit(VP_CONFIG_OK, &base_vha->vp_flags)) { in qla2x00_do_dpc_vp()
467 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost); in qla24xx_vport_create_req_sanity_check() local
468 struct qla_hw_data *ha = base_vha->hw; in qla24xx_vport_create_req_sanity_check()
485 if (!memcmp(port_name, base_vha->port_name, WWN_SIZE)) in qla24xx_vport_create_req_sanity_check()
505 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost); in qla24xx_create_vhost() local
[all …]
Dqla_inline.h165 scsi_qla_host_t *base_vha = pci_get_drvdata(vha->hw->pdev); in qla2x00_reset_active() local
168 return test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags) || in qla2x00_reset_active()
169 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_reset_active()
170 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_reset_active()
Dqla_attr.c699 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()
2815 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_get_fc_host_stats() local
2848 rval = qla24xx_get_isp_stats(base_vha, stats, stats_dma, 0); in qla2x00_get_fc_host_stats()
2849 } else if (atomic_read(&base_vha->loop_state) == LOOP_READY && in qla2x00_get_fc_host_stats()
2852 rval = qla2x00_get_link_status(base_vha, base_vha->loop_id, in qla2x00_get_fc_host_stats()
2925 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_reset_host_stats() local
2955 rval = qla24xx_get_isp_stats(base_vha, stats, stats_dma, BIT_0); in qla2x00_reset_host_stats()
3002 struct scsi_qla_host *base_vha = pci_get_drvdata(vha->hw->pdev); in qla2x00_get_host_port_state() local
3004 if (!base_vha->flags.online) { in qla2x00_get_host_port_state()
[all …]
Dqla_target.c164 scsi_qla_host_t *base_vha = pci_get_drvdata(vha->hw->pdev); in qlt_do_generation_tick() local
165 *dest = atomic_inc_return(&base_vha->generation_tick); in qlt_do_generation_tick()
978 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qlt_free_session_done() local
1168 if (!test_bit(PFLG_DRIVER_REMOVING, &base_vha->pci_flags) && in qlt_free_session_done()
4296 struct scsi_qla_host *base_vha = in qlt_assign_qpair() local
4318 list_for_each_entry(qp, &base_vha->qp_list, in qlt_assign_qpair()
6469 int qlt_add_target(struct qla_hw_data *ha, struct scsi_qla_host *base_vha) in qlt_add_target() argument
6479 ql_log(ql_log_warn, base_vha, 0xe070, in qlt_add_target()
6484 ql_dbg(ql_dbg_tgt, base_vha, 0xe03b, in qlt_add_target()
6485 "Registering target for host %ld(%p).\n", base_vha->host_no, ha); in qlt_add_target()
[all …]
Dqla_dbg.c750 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2300_fw_dump() local
888 qla2xxx_dump_post_process(base_vha, rval); in qla2300_fw_dump()
906 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2100_fw_dump() local
1075 qla2xxx_dump_post_process(base_vha, rval); in qla2100_fw_dump()
1092 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla24xx_fw_dump() local
1321 qla2xxx_dump_post_process(base_vha, rval); in qla24xx_fw_dump()
1337 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla25xx_fw_dump() local
1634 qla2xxx_dump_post_process(base_vha, rval); in qla25xx_fw_dump()
1650 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla81xx_fw_dump() local
1949 qla2xxx_dump_post_process(base_vha, rval); in qla81xx_fw_dump()
[all …]
Dtcm_qla2xxx.c1708 static int tcm_qla2xxx_lport_register_npiv_cb(struct scsi_qla_host *base_vha, in tcm_qla2xxx_lport_register_npiv_cb() argument
1713 struct Scsi_Host *sh = base_vha->host; in tcm_qla2xxx_lport_register_npiv_cb()
1718 (struct tcm_qla2xxx_lport *)base_vha->vha_tgt.target_lport_ptr; in tcm_qla2xxx_lport_register_npiv_cb()
1721 if (qla_ini_mode_enabled(base_vha)) { in tcm_qla2xxx_lport_register_npiv_cb()
1814 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in tcm_qla2xxx_npiv_drop_lport() local
1821 scsi_host_put(base_vha->host); in tcm_qla2xxx_npiv_drop_lport()
Dqla_mr.c53 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qlafx00_mailbox_command() local
68 io_lock_on = base_vha->flags.init_done; in qlafx00_mailbox_command()
71 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_init.c5010 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_configure_hba() local
5026 if (IS_FWI2_CAPABLE(ha) && (vha == base_vha) && in qla2x00_configure_hba()
6467 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_find_all_fabric_devs() local
6590 if (new_fcport->d_id.b24 == base_vha->d_id.b24) in qla2x00_find_all_fabric_devs()
6660 if (qla_tgt_mode_enabled(base_vha)) { in qla2x00_find_all_fabric_devs()
7047 qla2x00_update_fcports(scsi_qla_host_t *base_vha) in qla2x00_update_fcports() argument
7051 struct qla_hw_data *ha = base_vha->hw; in qla2x00_update_fcports()
7056 list_for_each_entry_safe(vha, tvp, &base_vha->hw->vp_list, list) { in qla2x00_update_fcports()
7814 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla25xx_init_queues() local
7822 ret = qla25xx_init_rsp_que(base_vha, rsp); in qla25xx_init_queues()
[all …]
Dqla_mbx.c120 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_mailbox_command() local
139 if (test_bit(PFLG_DISCONNECTED, &base_vha->dpc_flags) && in qla2x00_mailbox_command()
140 test_bit(UNLOADING, &base_vha->dpc_flags)) { in qla2x00_mailbox_command()
147 io_lock_on = base_vha->flags.init_done; in qla2x00_mailbox_command()
150 abort_active = test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2x00_mailbox_command()
168 if (((test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_mailbox_command()
169 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_mailbox_command()
170 test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) && in qla2x00_mailbox_command()
513 ql_log(ql_log_info, base_vha, 0x101c, in qla2x00_mailbox_command()
539 ql_log(ql_log_info, base_vha, 0x101e, in qla2x00_mailbox_command()
[all …]
Dqla_bsg.c2337 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_get_priv_stats() local
2364 rval = qla24xx_get_isp_stats(base_vha, stats, stats_dma, options); in qla2x00_get_priv_stats()
Dqla_iocb.c515 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in __qla2x00_marker() local
519 ql_log(ql_log_warn, base_vha, 0x3026, in __qla2x00_marker()
Dqla_gs.c2282 struct scsi_qla_host *base_vha = pci_get_drvdata(vha->hw->pdev); in qla2x00_fdmi_rprt() local
2304 memcpy(ct_req->req.rprt.hba_identifier, base_vha->port_name, in qla2x00_fdmi_rprt()