Lines Matching refs:vha
25 qla2x00_prep_ms_iocb(scsi_qla_host_t *vha, uint32_t req_size, uint32_t rsp_size) in qla2x00_prep_ms_iocb() argument
27 struct qla_hw_data *ha = vha->hw; in qla2x00_prep_ms_iocb()
63 qla24xx_prep_ms_iocb(scsi_qla_host_t *vha, uint32_t req_size, uint32_t rsp_size) in qla24xx_prep_ms_iocb() argument
65 struct qla_hw_data *ha = vha->hw; in qla24xx_prep_ms_iocb()
87 ct_pkt->vp_index = vha->vp_idx; in qla24xx_prep_ms_iocb()
115 qla2x00_chk_ms_status(scsi_qla_host_t *vha, ms_iocb_entry_t *ms_pkt, in qla2x00_chk_ms_status() argument
120 struct qla_hw_data *ha = vha->hw; in qla2x00_chk_ms_status()
126 vha->host_no, routine, ms_pkt->entry_status, in qla2x00_chk_ms_status()
127 vha->d_id.b.domain, vha->d_id.b.area, in qla2x00_chk_ms_status()
128 vha->d_id.b.al_pa)); in qla2x00_chk_ms_status()
143 vha->host_no, routine, in qla2x00_chk_ms_status()
144 vha->d_id.b.domain, vha->d_id.b.area, in qla2x00_chk_ms_status()
145 vha->d_id.b.al_pa)); in qla2x00_chk_ms_status()
156 vha->host_no, routine, comp_status, in qla2x00_chk_ms_status()
157 vha->d_id.b.domain, vha->d_id.b.area, in qla2x00_chk_ms_status()
158 vha->d_id.b.al_pa)); in qla2x00_chk_ms_status()
173 qla2x00_ga_nxt(scsi_qla_host_t *vha, fc_port_t *fcport) in qla2x00_ga_nxt() argument
180 struct qla_hw_data *ha = vha->hw; in qla2x00_ga_nxt()
183 return qla2x00_sns_ga_nxt(vha, fcport); in qla2x00_ga_nxt()
187 ms_pkt = ha->isp_ops->prep_ms_iocb(vha, GA_NXT_REQ_SIZE, in qla2x00_ga_nxt()
201 rval = qla2x00_issue_iocb(vha, ha->ms_iocb, ha->ms_iocb_dma, in qla2x00_ga_nxt()
206 vha->host_no, rval)); in qla2x00_ga_nxt()
207 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "GA_NXT") != in qla2x00_ga_nxt()
229 vha->host_no, in qla2x00_ga_nxt()
255 qla2x00_gid_pt(scsi_qla_host_t *vha, sw_info_t *list) in qla2x00_gid_pt() argument
265 struct qla_hw_data *ha = vha->hw; in qla2x00_gid_pt()
268 return qla2x00_sns_gid_pt(vha, list); in qla2x00_gid_pt()
274 ms_pkt = ha->isp_ops->prep_ms_iocb(vha, GID_PT_REQ_SIZE, in qla2x00_gid_pt()
286 rval = qla2x00_issue_iocb(vha, ha->ms_iocb, ha->ms_iocb_dma, in qla2x00_gid_pt()
291 vha->host_no, rval)); in qla2x00_gid_pt()
292 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "GID_PT") != in qla2x00_gid_pt()
333 qla2x00_gpn_id(scsi_qla_host_t *vha, sw_info_t *list) in qla2x00_gpn_id() argument
341 struct qla_hw_data *ha = vha->hw; in qla2x00_gpn_id()
344 return qla2x00_sns_gpn_id(vha, list); in qla2x00_gpn_id()
349 ms_pkt = ha->isp_ops->prep_ms_iocb(vha, GPN_ID_REQ_SIZE, in qla2x00_gpn_id()
363 rval = qla2x00_issue_iocb(vha, ha->ms_iocb, ha->ms_iocb_dma, in qla2x00_gpn_id()
368 "(%d).\n", vha->host_no, rval)); in qla2x00_gpn_id()
369 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, in qla2x00_gpn_id()
394 qla2x00_gnn_id(scsi_qla_host_t *vha, sw_info_t *list) in qla2x00_gnn_id() argument
398 struct qla_hw_data *ha = vha->hw; in qla2x00_gnn_id()
404 return qla2x00_sns_gnn_id(vha, list); in qla2x00_gnn_id()
409 ms_pkt = ha->isp_ops->prep_ms_iocb(vha, GNN_ID_REQ_SIZE, in qla2x00_gnn_id()
423 rval = qla2x00_issue_iocb(vha, ha->ms_iocb, ha->ms_iocb_dma, in qla2x00_gnn_id()
428 "(%d).\n", vha->host_no, rval)); in qla2x00_gnn_id()
429 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, in qla2x00_gnn_id()
441 vha->host_no, in qla2x00_gnn_id()
469 qla2x00_rft_id(scsi_qla_host_t *vha) in qla2x00_rft_id() argument
472 struct qla_hw_data *ha = vha->hw; in qla2x00_rft_id()
478 return qla2x00_sns_rft_id(vha); in qla2x00_rft_id()
482 ms_pkt = ha->isp_ops->prep_ms_iocb(vha, RFT_ID_REQ_SIZE, in qla2x00_rft_id()
491 ct_req->req.rft_id.port_id[0] = vha->d_id.b.domain; in qla2x00_rft_id()
492 ct_req->req.rft_id.port_id[1] = vha->d_id.b.area; in qla2x00_rft_id()
493 ct_req->req.rft_id.port_id[2] = vha->d_id.b.al_pa; in qla2x00_rft_id()
498 rval = qla2x00_issue_iocb(vha, ha->ms_iocb, ha->ms_iocb_dma, in qla2x00_rft_id()
503 vha->host_no, rval)); in qla2x00_rft_id()
504 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "RFT_ID") != in qla2x00_rft_id()
509 vha->host_no)); in qla2x00_rft_id()
522 qla2x00_rff_id(scsi_qla_host_t *vha) in qla2x00_rff_id() argument
525 struct qla_hw_data *ha = vha->hw; in qla2x00_rff_id()
532 "ISP2100/ISP2200.\n", vha->host_no)); in qla2x00_rff_id()
538 ms_pkt = ha->isp_ops->prep_ms_iocb(vha, RFF_ID_REQ_SIZE, in qla2x00_rff_id()
547 ct_req->req.rff_id.port_id[0] = vha->d_id.b.domain; in qla2x00_rff_id()
548 ct_req->req.rff_id.port_id[1] = vha->d_id.b.area; in qla2x00_rff_id()
549 ct_req->req.rff_id.port_id[2] = vha->d_id.b.al_pa; in qla2x00_rff_id()
555 rval = qla2x00_issue_iocb(vha, ha->ms_iocb, ha->ms_iocb_dma, in qla2x00_rff_id()
560 vha->host_no, rval)); in qla2x00_rff_id()
561 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "RFF_ID") != in qla2x00_rff_id()
566 vha->host_no)); in qla2x00_rff_id()
579 qla2x00_rnn_id(scsi_qla_host_t *vha) in qla2x00_rnn_id() argument
582 struct qla_hw_data *ha = vha->hw; in qla2x00_rnn_id()
588 return qla2x00_sns_rnn_id(vha); in qla2x00_rnn_id()
592 ms_pkt = ha->isp_ops->prep_ms_iocb(vha, RNN_ID_REQ_SIZE, in qla2x00_rnn_id()
601 ct_req->req.rnn_id.port_id[0] = vha->d_id.b.domain; in qla2x00_rnn_id()
602 ct_req->req.rnn_id.port_id[1] = vha->d_id.b.area; in qla2x00_rnn_id()
603 ct_req->req.rnn_id.port_id[2] = vha->d_id.b.al_pa; in qla2x00_rnn_id()
605 memcpy(ct_req->req.rnn_id.node_name, vha->node_name, WWN_SIZE); in qla2x00_rnn_id()
608 rval = qla2x00_issue_iocb(vha, ha->ms_iocb, ha->ms_iocb_dma, in qla2x00_rnn_id()
613 vha->host_no, rval)); in qla2x00_rnn_id()
614 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "RNN_ID") != in qla2x00_rnn_id()
619 vha->host_no)); in qla2x00_rnn_id()
626 qla2x00_get_sym_node_name(scsi_qla_host_t *vha, uint8_t *snn) in qla2x00_get_sym_node_name() argument
628 struct qla_hw_data *ha = vha->hw; in qla2x00_get_sym_node_name()
641 qla2x00_rsnn_nn(scsi_qla_host_t *vha) in qla2x00_rsnn_nn() argument
644 struct qla_hw_data *ha = vha->hw; in qla2x00_rsnn_nn()
651 "ISP2100/ISP2200.\n", vha->host_no)); in qla2x00_rsnn_nn()
658 ms_pkt = ha->isp_ops->prep_ms_iocb(vha, 0, RSNN_NN_RSP_SIZE); in qla2x00_rsnn_nn()
666 memcpy(ct_req->req.rsnn_nn.node_name, vha->node_name, WWN_SIZE); in qla2x00_rsnn_nn()
669 qla2x00_get_sym_node_name(vha, ct_req->req.rsnn_nn.sym_node_name); in qla2x00_rsnn_nn()
681 rval = qla2x00_issue_iocb(vha, ha->ms_iocb, ha->ms_iocb_dma, in qla2x00_rsnn_nn()
686 vha->host_no, rval)); in qla2x00_rsnn_nn()
687 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "RSNN_NN") != in qla2x00_rsnn_nn()
692 vha->host_no)); in qla2x00_rsnn_nn()
708 qla2x00_prep_sns_cmd(scsi_qla_host_t *vha, uint16_t cmd, uint16_t scmd_len, in qla2x00_prep_sns_cmd() argument
713 struct qla_hw_data *ha = vha->hw; in qla2x00_prep_sns_cmd()
739 qla2x00_sns_ga_nxt(scsi_qla_host_t *vha, fc_port_t *fcport) in qla2x00_sns_ga_nxt() argument
742 struct qla_hw_data *ha = vha->hw; in qla2x00_sns_ga_nxt()
747 sns_cmd = qla2x00_prep_sns_cmd(vha, GA_NXT_CMD, GA_NXT_SNS_SCMD_LEN, in qla2x00_sns_ga_nxt()
756 rval = qla2x00_send_sns(vha, ha->sns_cmd_dma, GA_NXT_SNS_CMD_SIZE / 2, in qla2x00_sns_ga_nxt()
761 vha->host_no, rval)); in qla2x00_sns_ga_nxt()
765 "ga_nxt_rsp:\n", vha->host_no)); in qla2x00_sns_ga_nxt()
785 vha->host_no, in qla2x00_sns_ga_nxt()
813 qla2x00_sns_gid_pt(scsi_qla_host_t *vha, sw_info_t *list) in qla2x00_sns_gid_pt() argument
816 struct qla_hw_data *ha = vha->hw; in qla2x00_sns_gid_pt()
823 sns_cmd = qla2x00_prep_sns_cmd(vha, GID_PT_CMD, GID_PT_SNS_SCMD_LEN, in qla2x00_sns_gid_pt()
830 rval = qla2x00_send_sns(vha, ha->sns_cmd_dma, GID_PT_SNS_CMD_SIZE / 2, in qla2x00_sns_gid_pt()
835 vha->host_no, rval)); in qla2x00_sns_gid_pt()
839 "gid_rsp:\n", vha->host_no)); in qla2x00_sns_gid_pt()
880 qla2x00_sns_gpn_id(scsi_qla_host_t *vha, sw_info_t *list) in qla2x00_sns_gpn_id() argument
883 struct qla_hw_data *ha = vha->hw; in qla2x00_sns_gpn_id()
890 sns_cmd = qla2x00_prep_sns_cmd(vha, GPN_ID_CMD, in qla2x00_sns_gpn_id()
899 rval = qla2x00_send_sns(vha, ha->sns_cmd_dma, in qla2x00_sns_gpn_id()
904 "(%d).\n", vha->host_no, rval)); in qla2x00_sns_gpn_id()
908 "request, gpn_rsp:\n", vha->host_no)); in qla2x00_sns_gpn_id()
935 qla2x00_sns_gnn_id(scsi_qla_host_t *vha, sw_info_t *list) in qla2x00_sns_gnn_id() argument
938 struct qla_hw_data *ha = vha->hw; in qla2x00_sns_gnn_id()
945 sns_cmd = qla2x00_prep_sns_cmd(vha, GNN_ID_CMD, in qla2x00_sns_gnn_id()
954 rval = qla2x00_send_sns(vha, ha->sns_cmd_dma, in qla2x00_sns_gnn_id()
959 "(%d).\n", vha->host_no, rval)); in qla2x00_sns_gnn_id()
963 "request, gnn_rsp:\n", vha->host_no)); in qla2x00_sns_gnn_id()
975 vha->host_no, in qla2x00_sns_gnn_id()
1005 qla2x00_sns_rft_id(scsi_qla_host_t *vha) in qla2x00_sns_rft_id() argument
1008 struct qla_hw_data *ha = vha->hw; in qla2x00_sns_rft_id()
1013 sns_cmd = qla2x00_prep_sns_cmd(vha, RFT_ID_CMD, RFT_ID_SNS_SCMD_LEN, in qla2x00_sns_rft_id()
1017 sns_cmd->p.cmd.param[0] = vha->d_id.b.al_pa; in qla2x00_sns_rft_id()
1018 sns_cmd->p.cmd.param[1] = vha->d_id.b.area; in qla2x00_sns_rft_id()
1019 sns_cmd->p.cmd.param[2] = vha->d_id.b.domain; in qla2x00_sns_rft_id()
1024 rval = qla2x00_send_sns(vha, ha->sns_cmd_dma, RFT_ID_SNS_CMD_SIZE / 2, in qla2x00_sns_rft_id()
1029 vha->host_no, rval)); in qla2x00_sns_rft_id()
1033 "rft_rsp:\n", vha->host_no)); in qla2x00_sns_rft_id()
1038 vha->host_no)); in qla2x00_sns_rft_id()
1054 qla2x00_sns_rnn_id(scsi_qla_host_t *vha) in qla2x00_sns_rnn_id() argument
1057 struct qla_hw_data *ha = vha->hw; in qla2x00_sns_rnn_id()
1062 sns_cmd = qla2x00_prep_sns_cmd(vha, RNN_ID_CMD, RNN_ID_SNS_SCMD_LEN, in qla2x00_sns_rnn_id()
1066 sns_cmd->p.cmd.param[0] = vha->d_id.b.al_pa; in qla2x00_sns_rnn_id()
1067 sns_cmd->p.cmd.param[1] = vha->d_id.b.area; in qla2x00_sns_rnn_id()
1068 sns_cmd->p.cmd.param[2] = vha->d_id.b.domain; in qla2x00_sns_rnn_id()
1070 sns_cmd->p.cmd.param[4] = vha->node_name[7]; in qla2x00_sns_rnn_id()
1071 sns_cmd->p.cmd.param[5] = vha->node_name[6]; in qla2x00_sns_rnn_id()
1072 sns_cmd->p.cmd.param[6] = vha->node_name[5]; in qla2x00_sns_rnn_id()
1073 sns_cmd->p.cmd.param[7] = vha->node_name[4]; in qla2x00_sns_rnn_id()
1074 sns_cmd->p.cmd.param[8] = vha->node_name[3]; in qla2x00_sns_rnn_id()
1075 sns_cmd->p.cmd.param[9] = vha->node_name[2]; in qla2x00_sns_rnn_id()
1076 sns_cmd->p.cmd.param[10] = vha->node_name[1]; in qla2x00_sns_rnn_id()
1077 sns_cmd->p.cmd.param[11] = vha->node_name[0]; in qla2x00_sns_rnn_id()
1080 rval = qla2x00_send_sns(vha, ha->sns_cmd_dma, RNN_ID_SNS_CMD_SIZE / 2, in qla2x00_sns_rnn_id()
1085 vha->host_no, rval)); in qla2x00_sns_rnn_id()
1089 "rnn_rsp:\n", vha->host_no)); in qla2x00_sns_rnn_id()
1094 vha->host_no)); in qla2x00_sns_rnn_id()
1107 qla2x00_mgmt_svr_login(scsi_qla_host_t *vha) in qla2x00_mgmt_svr_login() argument
1111 struct qla_hw_data *ha = vha->hw; in qla2x00_mgmt_svr_login()
1113 if (vha->flags.management_server_logged_in) in qla2x00_mgmt_svr_login()
1116 ha->isp_ops->fabric_login(vha, vha->mgmt_svr_loop_id, 0xff, 0xff, 0xfa, in qla2x00_mgmt_svr_login()
1121 __func__, vha->host_no, vha->mgmt_svr_loop_id, mb[0], mb[1], in qla2x00_mgmt_svr_login()
1125 vha->flags.management_server_logged_in = 1; in qla2x00_mgmt_svr_login()
1139 qla2x00_prep_ms_fdmi_iocb(scsi_qla_host_t *vha, uint32_t req_size, in qla2x00_prep_ms_fdmi_iocb() argument
1143 struct qla_hw_data *ha = vha->hw; in qla2x00_prep_ms_fdmi_iocb()
1149 SET_TARGET_ID(ha, ms_pkt->loop_id, vha->mgmt_svr_loop_id); in qla2x00_prep_ms_fdmi_iocb()
1177 qla24xx_prep_ms_fdmi_iocb(scsi_qla_host_t *vha, uint32_t req_size, in qla24xx_prep_ms_fdmi_iocb() argument
1181 struct qla_hw_data *ha = vha->hw; in qla24xx_prep_ms_fdmi_iocb()
1188 ct_pkt->nport_handle = cpu_to_le16(vha->mgmt_svr_loop_id); in qla24xx_prep_ms_fdmi_iocb()
1202 ct_pkt->vp_index = vha->vp_idx; in qla24xx_prep_ms_fdmi_iocb()
1208 qla2x00_update_ms_fdmi_iocb(scsi_qla_host_t *vha, uint32_t req_size) in qla2x00_update_ms_fdmi_iocb() argument
1210 struct qla_hw_data *ha = vha->hw; in qla2x00_update_ms_fdmi_iocb()
1255 qla2x00_fdmi_rhba(scsi_qla_host_t *vha) in qla2x00_fdmi_rhba() argument
1265 struct qla_hw_data *ha = vha->hw; in qla2x00_fdmi_rhba()
1270 ms_pkt = ha->isp_ops->prep_ms_fdmi_iocb(vha, 0, RHBA_RSP_SIZE); in qla2x00_fdmi_rhba()
1278 memcpy(ct_req->req.rhba.hba_identifier, vha->port_name, WWN_SIZE); in qla2x00_fdmi_rhba()
1280 memcpy(ct_req->req.rhba.port_name, vha->port_name, WWN_SIZE); in qla2x00_fdmi_rhba()
1292 memcpy(eiter->a.node_name, vha->node_name, WWN_SIZE); in qla2x00_fdmi_rhba()
1296 __func__, vha->host_no, in qla2x00_fdmi_rhba()
1310 DEBUG13(printk("%s(%ld): MANUFACTURER=%s.\n", __func__, vha->host_no, in qla2x00_fdmi_rhba()
1323 DEBUG13(printk("%s(%ld): SERIALNO=%s.\n", __func__, vha->host_no, in qla2x00_fdmi_rhba()
1335 DEBUG13(printk("%s(%ld): MODEL_NAME=%s.\n", __func__, vha->host_no, in qla2x00_fdmi_rhba()
1348 DEBUG13(printk("%s(%ld): MODEL_DESC=%s.\n", __func__, vha->host_no, in qla2x00_fdmi_rhba()
1360 DEBUG13(printk("%s(%ld): HARDWAREVER=%s.\n", __func__, vha->host_no, in qla2x00_fdmi_rhba()
1372 DEBUG13(printk("%s(%ld): DRIVERVER=%s.\n", __func__, vha->host_no, in qla2x00_fdmi_rhba()
1384 DEBUG13(printk("%s(%ld): OPTROMVER=%s.\n", __func__, vha->host_no, in qla2x00_fdmi_rhba()
1390 ha->isp_ops->fw_version_str(vha, eiter->a.fw_version); in qla2x00_fdmi_rhba()
1396 DEBUG13(printk("%s(%ld): FIRMWAREVER=%s.\n", __func__, vha->host_no, in qla2x00_fdmi_rhba()
1400 qla2x00_update_ms_fdmi_iocb(vha, size + 16); in qla2x00_fdmi_rhba()
1404 vha->host_no, ct_req->req.rhba.hba_identifier[0], in qla2x00_fdmi_rhba()
1415 rval = qla2x00_issue_iocb(vha, ha->ms_iocb, ha->ms_iocb_dma, in qla2x00_fdmi_rhba()
1420 vha->host_no, rval)); in qla2x00_fdmi_rhba()
1421 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "RHBA") != in qla2x00_fdmi_rhba()
1428 __func__, vha->host_no)); in qla2x00_fdmi_rhba()
1433 vha->host_no)); in qla2x00_fdmi_rhba()
1446 qla2x00_fdmi_dhba(scsi_qla_host_t *vha) in qla2x00_fdmi_dhba() argument
1449 struct qla_hw_data *ha = vha->hw; in qla2x00_fdmi_dhba()
1456 ms_pkt = ha->isp_ops->prep_ms_fdmi_iocb(vha, DHBA_REQ_SIZE, in qla2x00_fdmi_dhba()
1465 memcpy(ct_req->req.dhba.port_name, vha->port_name, WWN_SIZE); in qla2x00_fdmi_dhba()
1468 "%02x%02x%02x%02x%02x%02x%02x%02x.\n", __func__, vha->host_no, in qla2x00_fdmi_dhba()
1475 rval = qla2x00_issue_iocb(vha, ha->ms_iocb, ha->ms_iocb_dma, in qla2x00_fdmi_dhba()
1480 vha->host_no, rval)); in qla2x00_fdmi_dhba()
1481 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "DHBA") != in qla2x00_fdmi_dhba()
1486 vha->host_no)); in qla2x00_fdmi_dhba()
1499 qla2x00_fdmi_rpa(scsi_qla_host_t *vha) in qla2x00_fdmi_rpa() argument
1503 struct qla_hw_data *ha = vha->hw; in qla2x00_fdmi_rpa()
1514 ms_pkt = ha->isp_ops->prep_ms_fdmi_iocb(vha, 0, RPA_RSP_SIZE); in qla2x00_fdmi_rpa()
1522 memcpy(ct_req->req.rpa.port_name, vha->port_name, WWN_SIZE); in qla2x00_fdmi_rpa()
1538 vha->host_no, eiter->a.fc4_types[2], in qla2x00_fdmi_rpa()
1564 DEBUG13(printk("%s(%ld): SUPPORTED_SPEED=%x.\n", __func__, vha->host_no, in qla2x00_fdmi_rpa()
1599 DEBUG13(printk("%s(%ld): CURRENT_SPEED=%x.\n", __func__, vha->host_no, in qla2x00_fdmi_rpa()
1612 DEBUG13(printk("%s(%ld): MAX_FRAME_SIZE=%x.\n", __func__, vha->host_no, in qla2x00_fdmi_rpa()
1624 DEBUG13(printk("%s(%ld): OS_DEVICE_NAME=%s.\n", __func__, vha->host_no, in qla2x00_fdmi_rpa()
1628 if (strlen(fc_host_system_hostname(vha->host))) { in qla2x00_fdmi_rpa()
1634 "%s", fc_host_system_hostname(vha->host)); in qla2x00_fdmi_rpa()
1641 vha->host_no, eiter->a.host_name)); in qla2x00_fdmi_rpa()
1645 qla2x00_update_ms_fdmi_iocb(vha, size + 16); in qla2x00_fdmi_rpa()
1649 vha->host_no, ct_req->req.rpa.port_name[0], in qla2x00_fdmi_rpa()
1657 rval = qla2x00_issue_iocb(vha, ha->ms_iocb, ha->ms_iocb_dma, in qla2x00_fdmi_rpa()
1662 vha->host_no, rval)); in qla2x00_fdmi_rpa()
1663 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "RPA") != in qla2x00_fdmi_rpa()
1668 vha->host_no)); in qla2x00_fdmi_rpa()
1681 qla2x00_fdmi_register(scsi_qla_host_t *vha) in qla2x00_fdmi_register() argument
1684 struct qla_hw_data *ha = vha->hw; in qla2x00_fdmi_register()
1689 rval = qla2x00_mgmt_svr_login(vha); in qla2x00_fdmi_register()
1693 rval = qla2x00_fdmi_rhba(vha); in qla2x00_fdmi_register()
1698 rval = qla2x00_fdmi_dhba(vha); in qla2x00_fdmi_register()
1702 rval = qla2x00_fdmi_rhba(vha); in qla2x00_fdmi_register()
1706 rval = qla2x00_fdmi_rpa(vha); in qla2x00_fdmi_register()
1719 qla2x00_gfpn_id(scsi_qla_host_t *vha, sw_info_t *list) in qla2x00_gfpn_id() argument
1723 struct qla_hw_data *ha = vha->hw; in qla2x00_gfpn_id()
1734 ms_pkt = ha->isp_ops->prep_ms_iocb(vha, GFPN_ID_REQ_SIZE, in qla2x00_gfpn_id()
1748 rval = qla2x00_issue_iocb(vha, ha->ms_iocb, ha->ms_iocb_dma, in qla2x00_gfpn_id()
1753 "failed (%d).\n", vha->host_no, rval)); in qla2x00_gfpn_id()
1754 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, in qla2x00_gfpn_id()
1772 qla24xx_prep_ms_fm_iocb(scsi_qla_host_t *vha, uint32_t req_size, in qla24xx_prep_ms_fm_iocb() argument
1776 struct qla_hw_data *ha = vha->hw; in qla24xx_prep_ms_fm_iocb()
1782 ct_pkt->nport_handle = cpu_to_le16(vha->mgmt_svr_loop_id); in qla24xx_prep_ms_fm_iocb()
1796 ct_pkt->vp_index = vha->vp_idx; in qla24xx_prep_ms_fm_iocb()
1825 qla2x00_gpsc(scsi_qla_host_t *vha, sw_info_t *list) in qla2x00_gpsc() argument
1829 struct qla_hw_data *ha = vha->hw; in qla2x00_gpsc()
1839 rval = qla2x00_mgmt_svr_login(vha); in qla2x00_gpsc()
1846 ms_pkt = qla24xx_prep_ms_fm_iocb(vha, GPSC_REQ_SIZE, in qla2x00_gpsc()
1859 rval = qla2x00_issue_iocb(vha, ha->ms_iocb, ha->ms_iocb_dma, in qla2x00_gpsc()
1864 "failed (%d).\n", vha->host_no, rval)); in qla2x00_gpsc()
1865 } else if ((rval = qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, in qla2x00_gpsc()
1875 vha->host_no)); in qla2x00_gpsc()
1903 "speed=%04x.\n", vha->host_no, in qla2x00_gpsc()
1932 qla2x00_gff_id(scsi_qla_host_t *vha, sw_info_t *list) in qla2x00_gff_id() argument
1940 struct qla_hw_data *ha = vha->hw; in qla2x00_gff_id()
1953 ms_pkt = ha->isp_ops->prep_ms_iocb(vha, GFF_ID_REQ_SIZE, in qla2x00_gff_id()
1967 rval = qla2x00_issue_iocb(vha, ha->ms_iocb, ha->ms_iocb_dma, in qla2x00_gff_id()
1973 "(%d).\n", vha->host_no, rval)); in qla2x00_gff_id()
1974 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, in qla2x00_gff_id()
1978 "failure status code\n", vha->host_no)); in qla2x00_gff_id()