Lines Matching defs:vha

115 	scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev);
119 if (qla_pci_disconnected(vha, reg))
145 if (qla_pci_disconnected(vha, reg))
202 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev);
206 if (qla_pci_disconnected(vha, reg))
230 if (qla_pci_disconnected(vha, reg))
709 qla2xxx_dump_post_process(scsi_qla_host_t *vha, int rval)
711 struct qla_hw_data *ha = vha->hw;
714 ql_log(ql_log_warn, vha, 0xd000,
719 ql_log(ql_log_info, vha, 0xd001,
721 vha->host_no, ha->fw_dump, ha->fw_dump_cap_flags);
723 qla2x00_post_uevent_work(vha, QLA_UEVENT_CODE_FW_DUMP);
727 void qla2xxx_dump_fw(scsi_qla_host_t *vha)
731 spin_lock_irqsave(&vha->hw->hardware_lock, flags);
732 vha->hw->isp_ops->fw_dump(vha);
733 spin_unlock_irqrestore(&vha->hw->hardware_lock, flags);
738 * @vha: HA context
741 qla2300_fw_dump(scsi_qla_host_t *vha)
745 struct qla_hw_data *ha = vha->hw;
755 ql_log(ql_log_warn, vha, 0xd002,
761 ql_log(ql_log_warn, vha, 0xd003,
893 * @vha: HA context
896 qla2100_fw_dump(scsi_qla_host_t *vha)
902 struct qla_hw_data *ha = vha->hw;
911 ql_log(ql_log_warn, vha, 0xd004,
917 ql_log(ql_log_warn, vha, 0xd005,
1079 qla24xx_fw_dump(scsi_qla_host_t *vha)
1083 struct qla_hw_data *ha = vha->hw;
1102 ql_log(ql_log_warn, vha, 0xd006,
1108 ql_log(ql_log_warn, vha, 0xd007,
1325 qla25xx_fw_dump(scsi_qla_host_t *vha)
1329 struct qla_hw_data *ha = vha->hw;
1344 ql_log(ql_log_warn, vha, 0xd008,
1350 ql_log(ql_log_warn, vha, 0xd009,
1638 qla81xx_fw_dump(scsi_qla_host_t *vha)
1642 struct qla_hw_data *ha = vha->hw;
1657 ql_log(ql_log_warn, vha, 0xd00a,
1663 ql_log(ql_log_warn, vha, 0xd00b,
1953 qla83xx_fw_dump(scsi_qla_host_t *vha)
1957 struct qla_hw_data *ha = vha->hw;
1972 ql_log(ql_log_warn, vha, 0xd00c,
1978 ql_log(ql_log_warn, vha, 0xd00d,
2395 ql_log(ql_log_warn, vha, 0xd00e,
2399 ql_log(ql_log_warn, vha, 0xd00f, "try a bigger hammer!!!\n");
2420 ql_log(ql_log_warn, vha, 0xd010,
2459 const scsi_qla_host_t *vha, uint msg_id)
2461 if (vha) {
2462 const struct pci_dev *pdev = vha->hw->pdev;
2466 dev_name(&(pdev->dev)), msg_id, vha->host_no);
2476 * It is to be used when vha is available. It formats the message
2482 * vha: Pointer to the scsi_qla_host_t.
2488 ql_dbg(uint level, scsi_qla_host_t *vha, uint id, const char *fmt, ...)
2502 ql_dbg_prefix(pbuf, ARRAY_SIZE(pbuf), vha, id);
2515 * It is to be used when vha is not available and pci is available,
2552 * It is to be used when vha is available. It formats the message
2558 * vha: Pointer to the scsi_qla_host_t
2564 ql_log(uint level, scsi_qla_host_t *vha, uint id, const char *fmt, ...)
2573 ql_dbg_prefix(pbuf, ARRAY_SIZE(pbuf), vha, id);
2600 * It is to be used when vha is not available and pci is available,
2650 ql_dump_regs(uint level, scsi_qla_host_t *vha, uint id)
2653 struct qla_hw_data *ha = vha->hw;
2669 ql_dbg(level, vha, id, "Mailbox registers:\n");
2671 ql_dbg(level, vha, id,
2676 ql_dump_buffer(uint level, scsi_qla_host_t *vha, uint id, const void *buf,
2684 ql_dbg(level, vha, id,
2686 ql_dbg(level, vha, id,
2689 ql_dbg(level, vha, id, "%04x: ", cnt);
2697 * It is to be used when vha is available. It formats the message
2703 * vha: Pointer to the scsi_qla_host_t
2719 ql_dbg_prefix(pbuf, ARRAY_SIZE(pbuf), qpair ? qpair->vha : NULL, id);
2746 * It is to be used when vha is available. It formats the message
2752 * vha: Pointer to the scsi_qla_host_t.
2773 ql_dbg_prefix(pbuf, ARRAY_SIZE(pbuf), qpair ? qpair->vha : NULL,