Lines Matching defs:ct_rsp
121 struct ct_sns_rsp *ct_rsp, const char *routine)
144 if (ct_rsp->header.response !=
150 comp_status, ct_rsp->header.response);
152 0x2078, ct_rsp,
153 offsetof(typeof(*ct_rsp), rsp));
206 struct ct_sns_rsp *ct_rsp;
227 ct_rsp = &ha->ct_sns->p.rsp;
239 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "GA_NXT") !=
244 fcport->d_id = be_to_port_id(ct_rsp->rsp.ga_nxt.port_id);
246 memcpy(fcport->node_name, ct_rsp->rsp.ga_nxt.node_name,
248 memcpy(fcport->port_name, ct_rsp->rsp.ga_nxt.port_name,
251 fcport->fc4_type = (ct_rsp->rsp.ga_nxt.fc4_types[2] & BIT_0) ?
254 if (ct_rsp->rsp.ga_nxt.port_type != NS_N_PORT_TYPE &&
255 ct_rsp->rsp.ga_nxt.port_type != NS_NL_PORT_TYPE)
292 struct ct_sns_rsp *ct_rsp;
318 ct_rsp = &ha->ct_sns->p.rsp;
330 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "GID_PT") !=
336 gid_data = &ct_rsp->rsp.gid_pt.entries[i];
376 struct ct_sns_rsp *ct_rsp;
398 ct_rsp = &ha->ct_sns->p.rsp;
411 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp,
418 ct_rsp->rsp.gpn_id.port_name, WWN_SIZE);
444 struct ct_sns_rsp *ct_rsp;
465 ct_rsp = &ha->ct_sns->p.rsp;
478 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp,
485 ct_rsp->rsp.gnn_id.node_name, WWN_SIZE);
2155 struct ct_sns_rsp *ct_rsp;
2171 ct_rsp = &ha->ct_sns->p.rsp;
2214 rval = qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "RHBA");
2216 if (ct_rsp->header.reason_code == CT_REASON_CANNOT_PERFORM &&
2217 ct_rsp->header.explanation_code ==
2226 ct_rsp->header.reason_code,
2227 ct_rsp->header.explanation_code);
2243 struct ct_sns_rsp *ct_rsp;
2250 ct_rsp = &ha->ct_sns->p.rsp;
2262 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "DHBA") !=
2289 struct ct_sns_rsp *ct_rsp;
2303 ct_rsp = &ha->ct_sns->p.rsp;
2333 rval = qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "RPRT");
2335 if (ct_rsp->header.reason_code == CT_REASON_CANNOT_PERFORM &&
2336 ct_rsp->header.explanation_code ==
2345 ct_rsp->header.reason_code,
2346 ct_rsp->header.explanation_code);
2368 struct ct_sns_rsp *ct_rsp;
2389 ct_rsp = &ha->ct_sns->p.rsp;
2423 rval = qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp, "RPA");
2425 if (ct_rsp->header.reason_code == CT_REASON_CANNOT_PERFORM &&
2426 ct_rsp->header.explanation_code ==
2435 ct_rsp->header.reason_code,
2436 ct_rsp->header.explanation_code);
2535 struct ct_sns_rsp *ct_rsp;
2556 ct_rsp = &ha->ct_sns->p.rsp;
2569 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp,
2576 ct_rsp->rsp.gfpn_id.port_name, WWN_SIZE);
2643 struct ct_sns_rsp *ct_rsp;
2670 ct_rsp = &ha->ct_sns->p.rsp;
2683 } else if ((rval = qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp,
2687 (ct_rsp->header.reason_code ==
2689 ct_rsp->header.reason_code ==
2701 be16_to_cpu(ct_rsp->rsp.gpsc.speed));
2706 be16_to_cpu(ct_rsp->rsp.gpsc.speeds),
2707 be16_to_cpu(ct_rsp->rsp.gpsc.speed));
2733 struct ct_sns_rsp *ct_rsp;
2760 ct_rsp = &ha->ct_sns->p.rsp;
2772 } else if (qla2x00_chk_ms_status(vha, ms_pkt, ct_rsp,
2778 ct_rsp->rsp.gff_id.fc4_features[GFF_FCP_SCSI_OFFSET];
2787 ct_rsp->rsp.gff_id.fc4_features[GFF_NVME_OFFSET];
2849 struct ct_sns_rsp *ct_rsp;
2852 ct_rsp = &fcport->ct_desc.ct_sns->p.rsp;
2867 if ((ct_rsp->header.reason_code ==
2869 (ct_rsp->header.reason_code ==
2878 be16_to_cpu(ct_rsp->rsp.gpsc.speed));
2883 be16_to_cpu(ct_rsp->rsp.gpsc.speeds),
2884 be16_to_cpu(ct_rsp->rsp.gpsc.speed));
2988 struct ct_sns_rsp *ct_rsp;
2996 ct_rsp = sp->u.iocb_cmd.u.ctarg.rsp;
2997 fc4_scsi_feat = ct_rsp->rsp.gff_id.fc4_features[GFF_FCP_SCSI_OFFSET];
2998 fc4_nvme_feat = ct_rsp->rsp.gff_id.fc4_features[GFF_NVME_OFFSET];
3424 struct ct_sns_gpnft_rsp *ct_rsp =
3437 d = &ct_rsp->entries[i];