Lines Matching refs:cthdr
2144 struct ct_hdr_s *cthdr = NULL; in bfa_fcs_lport_fdmi_rhba_response() local
2157 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_fdmi_rhba_response()
2158 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_lport_fdmi_rhba_response()
2160 if (cthdr->cmd_rsp_code == CT_RSP_ACCEPT) { in bfa_fcs_lport_fdmi_rhba_response()
2165 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_fdmi_rhba_response()
2166 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_fdmi_rhba_response()
2467 struct ct_hdr_s *cthdr = NULL; in bfa_fcs_lport_fdmi_rprt_response() local
2480 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_fdmi_rprt_response()
2481 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_lport_fdmi_rprt_response()
2483 if (cthdr->cmd_rsp_code == CT_RSP_ACCEPT) { in bfa_fcs_lport_fdmi_rprt_response()
2488 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_fdmi_rprt_response()
2489 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_fdmi_rprt_response()
2559 struct ct_hdr_s *cthdr = NULL; in bfa_fcs_lport_fdmi_rpa_response() local
2572 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_fdmi_rpa_response()
2573 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_lport_fdmi_rpa_response()
2575 if (cthdr->cmd_rsp_code == CT_RSP_ACCEPT) { in bfa_fcs_lport_fdmi_rpa_response()
2580 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_fdmi_rpa_response()
2581 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_fdmi_rpa_response()
3140 struct ct_hdr_s *cthdr = NULL; in bfa_fcs_lport_ms_gmal_response() local
3158 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ms_gmal_response()
3159 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_lport_ms_gmal_response()
3161 if (cthdr->cmd_rsp_code == CT_RSP_ACCEPT) { in bfa_fcs_lport_ms_gmal_response()
3162 gmal_resp = (struct fcgs_gmal_resp_s *)(cthdr + 1); in bfa_fcs_lport_ms_gmal_response()
3206 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ms_gmal_response()
3207 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ms_gmal_response()
3340 struct ct_hdr_s *cthdr = NULL; in bfa_fcs_lport_ms_gfn_response() local
3355 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ms_gfn_response()
3356 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_lport_ms_gfn_response()
3358 if (cthdr->cmd_rsp_code == CT_RSP_ACCEPT) { in bfa_fcs_lport_ms_gfn_response()
3359 gfn_resp = (wwn_t *)(cthdr + 1); in bfa_fcs_lport_ms_gfn_response()
3369 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ms_gfn_response()
3370 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ms_gfn_response()
4466 struct ct_hdr_s *cthdr = NULL; in bfa_fcs_lport_ns_rnn_id_response() local
4480 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_rnn_id_response()
4481 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_lport_ns_rnn_id_response()
4483 if (cthdr->cmd_rsp_code == CT_RSP_ACCEPT) { in bfa_fcs_lport_ns_rnn_id_response()
4490 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rnn_id_response()
4491 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rnn_id_response()
4545 struct ct_hdr_s *cthdr = NULL; in bfa_fcs_lport_ns_rsnn_nn_response() local
4559 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_rsnn_nn_response()
4560 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_lport_ns_rsnn_nn_response()
4562 if (cthdr->cmd_rsp_code == CT_RSP_ACCEPT) { in bfa_fcs_lport_ns_rsnn_nn_response()
4569 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rsnn_nn_response()
4570 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rsnn_nn_response()
4643 struct ct_hdr_s *cthdr = NULL; in bfa_fcs_lport_ns_rspn_id_response() local
4657 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_rspn_id_response()
4658 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_lport_ns_rspn_id_response()
4660 if (cthdr->cmd_rsp_code == CT_RSP_ACCEPT) { in bfa_fcs_lport_ns_rspn_id_response()
4667 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rspn_id_response()
4668 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rspn_id_response()
4716 struct ct_hdr_s *cthdr = NULL; in bfa_fcs_lport_ns_rft_id_response() local
4730 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_rft_id_response()
4731 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_lport_ns_rft_id_response()
4733 if (cthdr->cmd_rsp_code == CT_RSP_ACCEPT) { in bfa_fcs_lport_ns_rft_id_response()
4740 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rft_id_response()
4741 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rft_id_response()
4794 struct ct_hdr_s *cthdr = NULL; in bfa_fcs_lport_ns_rff_id_response() local
4808 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_rff_id_response()
4809 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_lport_ns_rff_id_response()
4811 if (cthdr->cmd_rsp_code == CT_RSP_ACCEPT) { in bfa_fcs_lport_ns_rff_id_response()
4818 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rff_id_response()
4819 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rff_id_response()
4821 if (cthdr->reason_code == CT_RSN_NOT_SUPP) { in bfa_fcs_lport_ns_rff_id_response()
4878 struct ct_hdr_s *cthdr = NULL; in bfa_fcs_lport_ns_gid_ft_response() local
4903 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_ns_gid_ft_response()
4904 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_lport_ns_gid_ft_response()
4906 switch (cthdr->cmd_rsp_code) { in bfa_fcs_lport_ns_gid_ft_response()
4914 (u32 *) (cthdr + 1), in bfa_fcs_lport_ns_gid_ft_response()
4926 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_gid_ft_response()
4927 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_gid_ft_response()
4929 if ((cthdr->reason_code == CT_RSN_UNABLE_TO_PERF) in bfa_fcs_lport_ns_gid_ft_response()
4930 && (cthdr->exp_code == CT_NS_EXP_FT_NOT_REG)) { in bfa_fcs_lport_ns_gid_ft_response()
4943 bfa_trc(port->fcs, cthdr->cmd_rsp_code); in bfa_fcs_lport_ns_gid_ft_response()