• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/qla2xxx/

Lines Matching refs:vha

15 qla2x00_get_ctx_bsg_sp(scsi_qla_host_t *vha, fc_port_t *fcport, size_t size)
18 struct qla_hw_data *ha = vha->hw;
98 scsi_qla_host_t *vha = shost_priv(host);
99 struct qla_hw_data *ha = vha->hw;
111 if (test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) ||
112 test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) ||
113 test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) {
132 qla24xx_update_all_fcp_prio(vha);
147 qla24xx_update_all_fcp_prio(vha);
217 qla24xx_update_all_fcp_prio(vha);
234 scsi_qla_host_t *vha;
247 vha = shost_priv(host);
248 ha = vha->hw;
252 vha = shost_priv(host);
253 ha = vha->hw;
261 "adapters\n", vha->host_no));
283 if (qla2x00_fabric_login(vha, fcport, &nextlid)) {
296 fcport = qla2x00_alloc_fcport(vha, GFP_KERNEL);
303 fcport->vha = vha;
304 fcport->vp_idx = vha->vp_idx;
316 if (!vha->flags.online) {
351 sp = qla2x00_get_ctx_bsg_sp(vha, fcport, sizeof(struct srb_ctx));
368 "portid=%02x%02x%02x.\n", vha->host_no, sp->handle, type,
401 scsi_qla_host_t *vha = shost_priv(host);
402 struct qla_hw_data *ha = vha->hw;
436 if (!vha->flags.online) {
451 loop_id = vha->mgmt_svr_loop_id;
465 fcport = qla2x00_alloc_fcport(vha, GFP_KERNEL);
472 fcport->vha = vha;
473 fcport->vp_idx = vha->vp_idx;
480 sp = qla2x00_get_ctx_bsg_sp(vha, fcport, sizeof(struct srb_ctx));
493 "portid=%02x%02x%02x.\n", vha->host_no, sp->handle, type,
522 qla81xx_set_internal_loopback(scsi_qla_host_t *vha, uint16_t *config,
527 struct qla_hw_data *ha = vha->hw;
536 ret = qla81xx_set_port_config(vha, new_config);
540 __func__, vha->host_no));
564 qla81xx_reset_internal_loopback(scsi_qla_host_t *vha, uint16_t *config,
570 struct qla_hw_data *ha = vha->hw;
582 ret = qla81xx_set_port_config(vha, new_config);
586 __func__, vha->host_no));
614 scsi_qla_host_t *vha = shost_priv(host);
615 struct qla_hw_data *ha = vha->hw;
630 if (test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) ||
631 test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) ||
632 test_bit(ISP_ABORT_RETRY, &vha->dpc_flags))
635 if (!vha->flags.online) {
672 "failed for host=%lu\n", __func__, vha->host_no));
681 "failed for host=%lu\n", __func__, vha->host_no));
703 "scsi(%ld) bsg rqst type: %s\n", vha->host_no, type));
705 rval = qla2x00_echo_test(vha, &elreq, response);
710 if (qla81xx_get_port_config(vha, config)) {
713 __func__, vha->host_no));
724 if (qla81xx_set_internal_loopback(vha, config,
737 if (qla81xx_reset_internal_loopback(vha,
751 vha->host_no, type));
754 rval = qla2x00_loopback_test(vha, &elreq, response);
760 qla81xx_reset_internal_loopback(vha,
767 "ISP\n", __func__, vha->host_no));
768 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags);
769 qla2xxx_wake_dpc(vha);
770 qla2x00_wait_for_chip_reset(vha);
772 if (qla81xx_restart_mpi_firmware(vha) !=
776 vha->host_no);
788 vha->host_no, type));
790 rval = qla2x00_loopback_test(vha, &elreq, response);
796 "request %s failed\n", vha->host_no, type));
809 "request %s completed\n", vha->host_no, type));
847 scsi_qla_host_t *vha = shost_priv(host);
848 struct qla_hw_data *ha = vha->hw;
852 if (test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) ||
853 test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) ||
854 test_bit(ISP_ABORT_RETRY, &vha->dpc_flags))
859 "exiting.\n", vha->host_no));
865 rval = qla84xx_reset_chip(vha, flag == A84_ISSUE_RESET_DIAG_FW);
869 "request 84xx reset failed\n", vha->host_no));
875 "request 84xx reset completed\n", vha->host_no));
887 scsi_qla_host_t *vha = shost_priv(host);
888 struct qla_hw_data *ha = vha->hw;
899 if (test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) ||
900 test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) ||
901 test_bit(ISP_ABORT_RETRY, &vha->dpc_flags))
906 "exiting.\n", vha->host_no));
929 "failed for host=%lu\n", __func__, vha->host_no));
940 "failed for host=%lu\n", __func__, vha->host_no));
965 rval = qla2x00_issue_iocb_timeout(vha, mn, mn_dma, 0, 120);
969 "request 84xx updatefw failed\n", vha->host_no));
976 "request 84xx updatefw completed\n", vha->host_no));
999 scsi_qla_host_t *vha = shost_priv(host);
1000 struct qla_hw_data *ha = vha->hw;
1010 if (test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) ||
1011 test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) ||
1012 test_bit(ISP_ABORT_RETRY, &vha->dpc_flags))
1017 "exiting.\n", vha->host_no));
1025 __func__, vha->host_no));
1032 "failed for host=%lu\n", __func__, vha->host_no));
1069 __func__, vha->host_no));
1118 __func__, vha->host_no));
1156 rval = qla2x00_issue_iocb(vha, mn, mn_dma, 0);
1160 "request 84xx mgmt failed\n", vha->host_no));
1167 "request 84xx mgmt completed\n", vha->host_no));
1206 scsi_qla_host_t *vha = shost_priv(host);
1207 struct qla_hw_data *ha = vha->hw;
1216 if (test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) ||
1217 test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) ||
1218 test_bit(ISP_ABORT_RETRY, &vha->dpc_flags))
1221 if (!IS_IIDMA_CAPABLE(vha->hw)) {
1223 "supported\n", __func__, vha->host_no));
1231 "exiting.\n", __func__, vha->host_no));
1237 __func__, vha->host_no));
1241 list_for_each_entry(fcport, &vha->vp_fcports, list) {
1253 __func__, vha->host_no));
1260 __func__, vha->host_no, fcport->loop_id));
1267 __func__, vha->host_no, fcport->flags));
1272 rval = qla2x00_set_idma_speed(vha, fcport->loop_id,
1275 rval = qla2x00_get_idma_speed(vha, fcport->loop_id,
1282 vha->host_no, fcport->port_name[0],
1368 scsi_qla_host_t *vha = shost_priv(bsg_job->shost);
1369 struct qla_hw_data *ha = vha->hw;
1395 vha->host_no));
1402 vha->host_no));
1413 "scsi(%ld) SRB not found to abort\n", vha->host_no));