Lines Matching refs:ct_rsp
116 struct ct_sns_rsp *ct_rsp, const char *routine) in qla2x00_chk_ms_status() argument
138 if (ct_rsp->header.response != in qla2x00_chk_ms_status()
146 0x2078, (uint8_t *)&ct_rsp->header, in qla2x00_chk_ms_status()
178 struct ct_sns_rsp *ct_rsp; in qla2x00_ga_nxt() local
192 ct_rsp = &ha->ct_sns->p.rsp; in qla2x00_ga_nxt()
206 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "GA_NXT") != in qla2x00_ga_nxt()
211 fcport->d_id.b.domain = ct_rsp->rsp.ga_nxt.port_id[0]; in qla2x00_ga_nxt()
212 fcport->d_id.b.area = ct_rsp->rsp.ga_nxt.port_id[1]; in qla2x00_ga_nxt()
213 fcport->d_id.b.al_pa = ct_rsp->rsp.ga_nxt.port_id[2]; in qla2x00_ga_nxt()
215 memcpy(fcport->node_name, ct_rsp->rsp.ga_nxt.node_name, in qla2x00_ga_nxt()
217 memcpy(fcport->port_name, ct_rsp->rsp.ga_nxt.port_name, in qla2x00_ga_nxt()
220 if (ct_rsp->rsp.ga_nxt.port_type != NS_N_PORT_TYPE && in qla2x00_ga_nxt()
221 ct_rsp->rsp.ga_nxt.port_type != NS_NL_PORT_TYPE) in qla2x00_ga_nxt()
266 struct ct_sns_rsp *ct_rsp; in qla2x00_gid_pt() local
285 ct_rsp = &ha->ct_sns->p.rsp; in qla2x00_gid_pt()
297 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "GID_PT") != in qla2x00_gid_pt()
303 gid_data = &ct_rsp->rsp.gid_pt.entries[i]; in qla2x00_gid_pt()
345 struct ct_sns_rsp *ct_rsp; in qla2x00_gpn_id() local
360 ct_rsp = &ha->ct_sns->p.rsp; in qla2x00_gpn_id()
375 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, in qla2x00_gpn_id()
382 ct_rsp->rsp.gpn_id.port_name, WWN_SIZE); in qla2x00_gpn_id()
408 struct ct_sns_rsp *ct_rsp; in qla2x00_gnn_id() local
422 ct_rsp = &ha->ct_sns->p.rsp; in qla2x00_gnn_id()
437 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, in qla2x00_gnn_id()
444 ct_rsp->rsp.gnn_id.node_name, WWN_SIZE); in qla2x00_gnn_id()
483 struct ct_sns_rsp *ct_rsp; in qla2x00_rft_id() local
496 ct_rsp = &ha->ct_sns->p.rsp; in qla2x00_rft_id()
512 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "RFT_ID") != in qla2x00_rft_id()
536 struct ct_sns_rsp *ct_rsp; in qla2x00_rff_id() local
552 ct_rsp = &ha->ct_sns->p.rsp; in qla2x00_rff_id()
569 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "RFF_ID") != in qla2x00_rff_id()
593 struct ct_sns_rsp *ct_rsp; in qla2x00_rnn_id() local
606 ct_rsp = &ha->ct_sns->p.rsp; in qla2x00_rnn_id()
622 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "RNN_ID") != in qla2x00_rnn_id()
655 struct ct_sns_rsp *ct_rsp; in qla2x00_rsnn_nn() local
671 ct_rsp = &ha->ct_sns->p.rsp; in qla2x00_rsnn_nn()
695 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "RSNN_NN") != in qla2x00_rsnn_nn()
1283 struct ct_sns_rsp *ct_rsp; in qla2x00_fdmi_rhba() local
1296 ct_rsp = &ha->ct_sns->p.rsp; in qla2x00_fdmi_rhba()
1445 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "RHBA") != in qla2x00_fdmi_rhba()
1448 if (ct_rsp->header.reason_code == CT_REASON_CANNOT_PERFORM && in qla2x00_fdmi_rhba()
1449 ct_rsp->header.explanation_code == in qla2x00_fdmi_rhba()
1476 struct ct_sns_rsp *ct_rsp; in qla2x00_fdmi_dhba() local
1486 ct_rsp = &ha->ct_sns->p.rsp; in qla2x00_fdmi_dhba()
1505 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "DHBA") != in qla2x00_fdmi_dhba()
1530 struct ct_sns_rsp *ct_rsp; in qla2x00_fdmi_rpa() local
1543 ct_rsp = &ha->ct_sns->p.rsp; in qla2x00_fdmi_rpa()
1693 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "RPA") != in qla2x00_fdmi_rpa()
1756 struct ct_sns_rsp *ct_rsp; in qla2x00_gfpn_id() local
1770 ct_rsp = &ha->ct_sns->p.rsp; in qla2x00_gfpn_id()
1785 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, in qla2x00_gfpn_id()
1792 ct_rsp->rsp.gfpn_id.port_name, WWN_SIZE); in qla2x00_gfpn_id()
1864 struct ct_sns_rsp *ct_rsp; in qla2x00_gpsc() local
1884 ct_rsp = &ha->ct_sns->p.rsp; in qla2x00_gpsc()
1897 } else if ((rval = qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, in qla2x00_gpsc()
1901 (ct_rsp->header.reason_code == in qla2x00_gpsc()
1903 ct_rsp->header.reason_code == in qla2x00_gpsc()
1915 switch (be16_to_cpu(ct_rsp->rsp.gpsc.speed)) { in qla2x00_gpsc()
1945 be16_to_cpu(ct_rsp->rsp.gpsc.speeds), in qla2x00_gpsc()
1946 be16_to_cpu(ct_rsp->rsp.gpsc.speed)); in qla2x00_gpsc()
1972 struct ct_sns_rsp *ct_rsp; in qla2x00_gff_id() local
1992 ct_rsp = &ha->ct_sns->p.rsp; in qla2x00_gff_id()
2006 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, in qla2x00_gff_id()
2012 ct_rsp->rsp.gff_id.fc4_features[GFF_FCP_SCSI_OFFSET]; in qla2x00_gff_id()