/drivers/scsi/qla2xxx/ |
D | qla_os.c | 639 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2xxx_queuecommand() local 682 atomic_read(&base_vha->loop_state) == LOOP_DEAD) { in qla2xxx_queuecommand() 686 atomic_read(&base_vha->loop_state)); in qla2xxx_queuecommand() 693 sp = qla2x00_get_sp(base_vha, fcport, GFP_ATOMIC); in qla2xxx_queuecommand() 788 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_wait_for_hba_online() local 791 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_hba_online() 792 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_wait_for_hba_online() 793 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_wait_for_hba_online() 798 if (base_vha->flags.online) in qla2x00_wait_for_hba_online() 830 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_wait_for_reset_ready() local [all …]
|
D | qla_mid.c | 170 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qla24xx_enable_vp() local 173 if (atomic_read(&base_vha->loop_state) == LOOP_DOWN || in qla24xx_enable_vp() 174 atomic_read(&base_vha->loop_state) == LOOP_DEAD || in qla24xx_enable_vp() 392 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost); in qla24xx_vport_create_req_sanity_check() local 393 struct qla_hw_data *ha = base_vha->hw; in qla24xx_vport_create_req_sanity_check() 410 if (!memcmp(port_name, base_vha->port_name, WWN_SIZE)) in qla24xx_vport_create_req_sanity_check() 430 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost); in qla24xx_create_vhost() local 431 struct qla_hw_data *ha = base_vha->hw; in qla24xx_create_vhost() 471 vha->req = base_vha->req; in qla24xx_create_vhost() 472 host->can_queue = base_vha->req->length + 128; in qla24xx_create_vhost() [all …]
|
D | qla_inline.h | 140 scsi_qla_host_t *base_vha = pci_get_drvdata(vha->hw->pdev); in qla2x00_reset_active() local 143 return test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags) || in qla2x00_reset_active() 144 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_reset_active() 145 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_reset_active()
|
D | qla_attr.c | 564 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_sysfs_write_reset() local 605 if (!IS_QLA82XX(ha) || vha != base_vha) { in qla2x00_sysfs_write_reset() 1534 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_get_fc_host_stats() local 1559 rval = qla24xx_get_isp_stats(base_vha, stats, stats_dma); in qla2x00_get_fc_host_stats() 1560 } else if (atomic_read(&base_vha->loop_state) == LOOP_READY && in qla2x00_get_fc_host_stats() 1563 rval = qla2x00_get_link_status(base_vha, base_vha->loop_id, in qla2x00_get_fc_host_stats() 1626 struct scsi_qla_host *base_vha = pci_get_drvdata(vha->hw->pdev); in qla2x00_get_host_port_state() local 1628 if (!base_vha->flags.online) { in qla2x00_get_host_port_state() 1633 switch (atomic_read(&base_vha->loop_state)) { in qla2x00_get_host_port_state() 1638 if (test_bit(LOOP_RESYNC_NEEDED, &base_vha->dpc_flags)) in qla2x00_get_host_port_state() [all …]
|
D | qla_dbg.c | 518 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2300_fw_dump() local 656 qla2xxx_dump_post_process(base_vha, rval); in qla2300_fw_dump() 680 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2100_fw_dump() local 854 qla2xxx_dump_post_process(base_vha, rval); in qla2100_fw_dump() 876 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla24xx_fw_dump() local 1095 qla2xxx_dump_post_process(base_vha, rval); in qla24xx_fw_dump() 1118 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla25xx_fw_dump() local 1411 qla2xxx_dump_post_process(base_vha, rval); in qla25xx_fw_dump() 1434 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla81xx_fw_dump() local 1729 qla2xxx_dump_post_process(base_vha, rval); in qla81xx_fw_dump() [all …]
|
D | qla_init.c | 2930 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_configure_fabric() local 3053 base_vha, fcport); in qla2x00_configure_fabric() 3078 rval = qla2x00_find_new_loop_id(base_vha, fcport); in qla2x00_configure_fabric() 3136 struct scsi_qla_host *vp, *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_find_all_fabric_devs() local 3246 if (new_fcport->d_id.b24 == base_vha->d_id.b24) in qla2x00_find_all_fabric_devs() 3771 qla2x00_update_fcports(scsi_qla_host_t *base_vha) in qla2x00_update_fcports() argument 3775 struct qla_hw_data *ha = base_vha->hw; in qla2x00_update_fcports() 3780 list_for_each_entry(vha, &base_vha->hw->vp_list, list) { in qla2x00_update_fcports() 4120 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla25xx_init_queues() local 4128 ret = qla25xx_init_rsp_que(base_vha, rsp); in qla25xx_init_queues() [all …]
|
D | qla_mbx.c | 47 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_mailbox_command() local 65 io_lock_on = base_vha->flags.init_done; in qla2x00_mailbox_command() 68 abort_active = test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2x00_mailbox_command() 322 ql_log(ql_log_info, base_vha, 0x101c, in qla2x00_mailbox_command() 347 ql_log(ql_log_info, base_vha, 0x101e, in qla2x00_mailbox_command() 374 ql_dbg(ql_dbg_mbx, base_vha, 0x1020, in qla2x00_mailbox_command() 378 ql_dbg(ql_dbg_mbx, base_vha, 0x1021, "Done %s.\n", __func__); in qla2x00_mailbox_command() 2998 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla24xx_modify_vp_config() local 3022 rval = qla2x00_issue_iocb(base_vha, vpmod, vpmod_dma, 0); in qla24xx_modify_vp_config() 3070 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla24xx_control_vp() local [all …]
|
D | qla_iocb.c | 526 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in __qla2x00_marker() local 532 ql_log(ql_log_warn, base_vha, 0x3026, in __qla2x00_marker()
|