/linux-6.6.21/drivers/scsi/qla2xxx/ |
D | qla_os.c | 879 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2xxx_queuecommand() local 883 if (unlikely(test_bit(UNLOADING, &base_vha->dpc_flags)) || in qla2xxx_queuecommand() 941 atomic_read(&base_vha->loop_state) == LOOP_DEAD) { in qla2xxx_queuecommand() 945 atomic_read(&base_vha->loop_state)); in qla2xxx_queuecommand() 1003 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2xxx_mqueuecommand() local 1030 atomic_read(&base_vha->loop_state) == LOOP_DEAD) { in qla2xxx_mqueuecommand() 1034 atomic_read(&base_vha->loop_state)); in qla2xxx_mqueuecommand() 1106 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_wait_for_hba_online() local 1109 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_hba_online() 1110 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_wait_for_hba_online() [all …]
|
D | qla_mid.c | 210 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() 458 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost); in qla24xx_vport_create_req_sanity_check() local 459 struct qla_hw_data *ha = base_vha->hw; in qla24xx_vport_create_req_sanity_check() 476 if (!memcmp(port_name, base_vha->port_name, WWN_SIZE)) in qla24xx_vport_create_req_sanity_check() 496 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost); in qla24xx_create_vhost() local [all …]
|
D | qla_inline.h | 165 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()
|
D | qla_attr.c | 699 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() 2824 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_get_fc_host_stats() local 2857 rval = qla24xx_get_isp_stats(base_vha, stats, stats_dma, 0); in qla2x00_get_fc_host_stats() 2858 } else if (atomic_read(&base_vha->loop_state) == LOOP_READY && in qla2x00_get_fc_host_stats() 2861 rval = qla2x00_get_link_status(base_vha, base_vha->loop_id, in qla2x00_get_fc_host_stats() 2934 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_reset_host_stats() local 2964 rval = qla24xx_get_isp_stats(base_vha, stats, stats_dma, BIT_0); in qla2x00_reset_host_stats() 3011 struct scsi_qla_host *base_vha = pci_get_drvdata(vha->hw->pdev); in qla2x00_get_host_port_state() local 3013 if (!base_vha->flags.online) { in qla2x00_get_host_port_state() [all …]
|
D | qla_target.c | 157 scsi_qla_host_t *base_vha = pci_get_drvdata(vha->hw->pdev); in qlt_do_generation_tick() local 158 *dest = atomic_inc_return(&base_vha->generation_tick); in qlt_do_generation_tick() 955 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qlt_free_session_done() local 1147 if (!test_bit(PFLG_DRIVER_REMOVING, &base_vha->pci_flags) && in qlt_free_session_done() 4262 struct scsi_qla_host *base_vha = in qlt_assign_qpair() local 4284 list_for_each_entry(qp, &base_vha->qp_list, in qlt_assign_qpair() 6360 int qlt_add_target(struct qla_hw_data *ha, struct scsi_qla_host *base_vha) in qlt_add_target() argument 6370 ql_log(ql_log_warn, base_vha, 0xe070, in qlt_add_target() 6375 ql_dbg(ql_dbg_tgt, base_vha, 0xe03b, in qlt_add_target() 6376 "Registering target for host %ld(%p).\n", base_vha->host_no, ha); in qlt_add_target() [all …]
|
D | tcm_qla2xxx.c | 1647 static int tcm_qla2xxx_lport_register_npiv_cb(struct scsi_qla_host *base_vha, in tcm_qla2xxx_lport_register_npiv_cb() argument 1652 struct Scsi_Host *sh = base_vha->host; in tcm_qla2xxx_lport_register_npiv_cb() 1657 (struct tcm_qla2xxx_lport *)base_vha->vha_tgt.target_lport_ptr; in tcm_qla2xxx_lport_register_npiv_cb() 1660 if (qla_ini_mode_enabled(base_vha)) { in tcm_qla2xxx_lport_register_npiv_cb() 1753 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in tcm_qla2xxx_npiv_drop_lport() local 1760 scsi_host_put(base_vha->host); in tcm_qla2xxx_npiv_drop_lport()
|
D | qla_dbg.c | 749 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2300_fw_dump() local 887 qla2xxx_dump_post_process(base_vha, rval); in qla2300_fw_dump() 905 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2100_fw_dump() local 1074 qla2xxx_dump_post_process(base_vha, rval); in qla2100_fw_dump() 1091 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla24xx_fw_dump() local 1320 qla2xxx_dump_post_process(base_vha, rval); in qla24xx_fw_dump() 1336 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla25xx_fw_dump() local 1633 qla2xxx_dump_post_process(base_vha, rval); in qla25xx_fw_dump() 1649 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla81xx_fw_dump() local 1948 qla2xxx_dump_post_process(base_vha, rval); in qla81xx_fw_dump() [all …]
|
D | qla_mr.c | 53 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()
|
D | qla_nvme.c | 1205 scsi_qla_host_t *base_vha, *vha, *tvp; in qla2xxx_get_vha_from_vp_idx() local 1208 base_vha = pci_get_drvdata(ha->pdev); in qla2xxx_get_vha_from_vp_idx() 1211 return base_vha; in qla2xxx_get_vha_from_vp_idx()
|
D | qla_mbx.c | 120 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 …]
|
D | qla_init.c | 5008 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_configure_hba() local 5024 if (IS_FWI2_CAPABLE(ha) && (vha == base_vha) && in qla2x00_configure_hba() 6437 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_find_all_fabric_devs() local 6560 if (new_fcport->d_id.b24 == base_vha->d_id.b24) in qla2x00_find_all_fabric_devs() 6630 if (qla_tgt_mode_enabled(base_vha)) { in qla2x00_find_all_fabric_devs() 7736 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla25xx_init_queues() local 7744 ret = qla25xx_init_rsp_que(base_vha, rsp); in qla25xx_init_queues() 7746 ql_dbg(ql_dbg_init, base_vha, 0x00ff, in qla25xx_init_queues() 7750 ql_dbg(ql_dbg_init, base_vha, 0x0100, in qla25xx_init_queues() 7760 ret = qla25xx_init_req_que(base_vha, req); in qla25xx_init_queues() [all …]
|
D | qla_bsg.c | 2337 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()
|
D | qla_iocb.c | 516 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in __qla2x00_marker() local 520 ql_log(ql_log_warn, base_vha, 0x3026, in __qla2x00_marker()
|
D | qla_gs.c | 2283 struct scsi_qla_host *base_vha = pci_get_drvdata(vha->hw->pdev); in qla2x00_fdmi_rprt() local 2305 memcpy(ct_req->req.rprt.hba_identifier, base_vha->port_name, in qla2x00_fdmi_rprt()
|