Lines Matching refs:ct_rsp

122     struct ct_sns_rsp *ct_rsp, const char *routine)
144 if (ct_rsp->header.response !=
150 comp_status, ct_rsp->header.response);
152 0x2078, (uint8_t *)&ct_rsp->header,
184 struct ct_sns_rsp *ct_rsp;
198 ct_rsp = &ha->ct_sns->p.rsp;
212 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "GA_NXT") !=
217 fcport->d_id.b.domain = ct_rsp->rsp.ga_nxt.port_id[0];
218 fcport->d_id.b.area = ct_rsp->rsp.ga_nxt.port_id[1];
219 fcport->d_id.b.al_pa = ct_rsp->rsp.ga_nxt.port_id[2];
221 memcpy(fcport->node_name, ct_rsp->rsp.ga_nxt.node_name,
223 memcpy(fcport->port_name, ct_rsp->rsp.ga_nxt.port_name,
226 fcport->fc4_type = (ct_rsp->rsp.ga_nxt.fc4_types[2] & BIT_0) ?
229 if (ct_rsp->rsp.ga_nxt.port_type != NS_N_PORT_TYPE &&
230 ct_rsp->rsp.ga_nxt.port_type != NS_NL_PORT_TYPE)
267 struct ct_sns_rsp *ct_rsp;
285 ct_rsp = &ha->ct_sns->p.rsp;
297 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "GID_PT") !=
303 gid_data = &ct_rsp->rsp.gid_pt.entries[i];
345 struct ct_sns_rsp *ct_rsp;
360 ct_rsp = &ha->ct_sns->p.rsp;
375 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp,
382 ct_rsp->rsp.gpn_id.port_name, WWN_SIZE);
408 struct ct_sns_rsp *ct_rsp;
422 ct_rsp = &ha->ct_sns->p.rsp;
437 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp,
444 ct_rsp->rsp.gnn_id.node_name, WWN_SIZE);
475 struct ct_sns_rsp *ct_rsp;
488 ct_rsp = &ha->ct_sns->p.rsp;
504 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "RFT_ID") !=
528 struct ct_sns_rsp *ct_rsp;
544 ct_rsp = &ha->ct_sns->p.rsp;
562 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "RFF_ID") !=
586 struct ct_sns_rsp *ct_rsp;
598 ct_rsp = &ha->ct_sns->p.rsp;
614 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "RNN_ID") !=
653 struct ct_sns_rsp *ct_rsp;
669 ct_rsp = &ha->ct_sns->p.rsp;
694 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "RSNN_NN") !=
1268 struct ct_sns_rsp *ct_rsp;
1280 ct_rsp = &ha->ct_sns->p.rsp;
1441 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "RHBA") !=
1444 if (ct_rsp->header.reason_code == CT_REASON_CANNOT_PERFORM &&
1445 ct_rsp->header.explanation_code ==
1453 ct_rsp->header.reason_code,
1454 ct_rsp->header.explanation_code);
1478 struct ct_sns_rsp *ct_rsp;
1492 ct_rsp = &ha->ct_sns->p.rsp;
1657 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "RPA") !=
1660 if (ct_rsp->header.reason_code == CT_REASON_CANNOT_PERFORM &&
1661 ct_rsp->header.explanation_code ==
1689 struct ct_sns_rsp *ct_rsp;
1704 ct_rsp = &ha->ct_sns->p.rsp;
1968 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "RHBA") !=
1972 if (ct_rsp->header.reason_code == CT_REASON_CANNOT_PERFORM &&
1973 ct_rsp->header.explanation_code ==
1981 ct_rsp->header.reason_code,
1982 ct_rsp->header.explanation_code);
2005 struct ct_sns_rsp *ct_rsp;
2014 ct_rsp = &ha->ct_sns->p.rsp;
2029 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "DHBA") !=
2054 struct ct_sns_rsp *ct_rsp;
2067 ct_rsp = &ha->ct_sns->p.rsp;
2331 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "RPA") !=
2334 if (ct_rsp->header.reason_code == CT_REASON_CANNOT_PERFORM &&
2335 ct_rsp->header.explanation_code ==
2343 ct_rsp->header.reason_code,
2344 ct_rsp->header.explanation_code);
2427 struct ct_sns_rsp *ct_rsp;
2441 ct_rsp = &ha->ct_sns->p.rsp;
2456 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp,
2463 ct_rsp->rsp.gfpn_id.port_name, WWN_SIZE);
2535 struct ct_sns_rsp *ct_rsp;
2555 ct_rsp = &ha->ct_sns->p.rsp;
2568 } else if ((rval = qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp,
2572 (ct_rsp->header.reason_code ==
2574 ct_rsp->header.reason_code ==
2586 switch (be16_to_cpu(ct_rsp->rsp.gpsc.speed)) {
2614 be16_to_cpu(ct_rsp->rsp.gpsc.speeds),
2615 be16_to_cpu(ct_rsp->rsp.gpsc.speed));
2641 struct ct_sns_rsp *ct_rsp;
2661 ct_rsp = &ha->ct_sns->p.rsp;
2675 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp,
2681 ct_rsp->rsp.gff_id.fc4_features[GFF_FCP_SCSI_OFFSET];