Home
last modified time | relevance | path

Searched refs:cthdr (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/drivers/scsi/bfa/
Dbfa_fcbuild.c1029 fc_gs_cthdr_build(struct ct_hdr_s *cthdr, u32 s_id, u16 cmd_code) in fc_gs_cthdr_build() argument
1031 memset(cthdr, 0, sizeof(struct ct_hdr_s)); in fc_gs_cthdr_build()
1032 cthdr->rev_id = CT_GS3_REVISION; in fc_gs_cthdr_build()
1033 cthdr->gs_type = CT_GSTYPE_DIRSERVICE; in fc_gs_cthdr_build()
1034 cthdr->gs_sub_type = CT_GSSUBTYPE_NAMESERVER; in fc_gs_cthdr_build()
1035 cthdr->cmd_rsp_code = cpu_to_be16(cmd_code); in fc_gs_cthdr_build()
1039 fc_gs_fdmi_cthdr_build(struct ct_hdr_s *cthdr, u32 s_id, u16 cmd_code) in fc_gs_fdmi_cthdr_build() argument
1041 memset(cthdr, 0, sizeof(struct ct_hdr_s)); in fc_gs_fdmi_cthdr_build()
1042 cthdr->rev_id = CT_GS3_REVISION; in fc_gs_fdmi_cthdr_build()
1043 cthdr->gs_type = CT_GSTYPE_MGMTSERVICE; in fc_gs_fdmi_cthdr_build()
[all …]
Dbfa_fcs_lport.c2159 struct ct_hdr_s *cthdr = NULL; in bfa_fcs_lport_fdmi_rhba_response() local
2172 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_fdmi_rhba_response()
2173 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_lport_fdmi_rhba_response()
2175 if (cthdr->cmd_rsp_code == CT_RSP_ACCEPT) { in bfa_fcs_lport_fdmi_rhba_response()
2180 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_fdmi_rhba_response()
2181 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_fdmi_rhba_response()
2482 struct ct_hdr_s *cthdr = NULL; in bfa_fcs_lport_fdmi_rprt_response() local
2495 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_fdmi_rprt_response()
2496 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_lport_fdmi_rprt_response()
2498 if (cthdr->cmd_rsp_code == CT_RSP_ACCEPT) { in bfa_fcs_lport_fdmi_rprt_response()
[all …]
Dbfa_fcs_rport.c1965 struct ct_hdr_s *cthdr; in bfa_fcs_rport_gidpn_response() local
1972 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_rport_gidpn_response()
1973 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_rport_gidpn_response()
1975 if (cthdr->cmd_rsp_code == CT_RSP_ACCEPT) { in bfa_fcs_rport_gidpn_response()
1977 gidpn_rsp = (struct fcgs_gidpn_resp_s *) (cthdr + 1); in bfa_fcs_rport_gidpn_response()
2011 switch (cthdr->reason_code) { in bfa_fcs_rport_gidpn_response()
2038 struct ct_hdr_s *cthdr; in bfa_fcs_rport_gpnid_response() local
2042 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_rport_gpnid_response()
2043 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_rport_gpnid_response()
2045 if (cthdr->cmd_rsp_code == CT_RSP_ACCEPT) { in bfa_fcs_rport_gpnid_response()
[all …]
Dbfa_fcbuild.h188 u16 fc_gs_rjt_build(struct fchs_s *fchs, struct ct_hdr_s *cthdr,
324 u16 fc_ct_rsp_parse(struct ct_hdr_s *cthdr);