Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/scsi/bfa/
Dbfa_fcbuild.c1025 fc_gs_cthdr_build(struct ct_hdr_s *cthdr, u32 s_id, u16 cmd_code) in fc_gs_cthdr_build() argument
1027 memset(cthdr, 0, sizeof(struct ct_hdr_s)); in fc_gs_cthdr_build()
1028 cthdr->rev_id = CT_GS3_REVISION; in fc_gs_cthdr_build()
1029 cthdr->gs_type = CT_GSTYPE_DIRSERVICE; in fc_gs_cthdr_build()
1030 cthdr->gs_sub_type = CT_GSSUBTYPE_NAMESERVER; in fc_gs_cthdr_build()
1031 cthdr->cmd_rsp_code = cpu_to_be16(cmd_code); in fc_gs_cthdr_build()
1035 fc_gs_fdmi_cthdr_build(struct ct_hdr_s *cthdr, u32 s_id, u16 cmd_code) in fc_gs_fdmi_cthdr_build() argument
1037 memset(cthdr, 0, sizeof(struct ct_hdr_s)); in fc_gs_fdmi_cthdr_build()
1038 cthdr->rev_id = CT_GS3_REVISION; in fc_gs_fdmi_cthdr_build()
1039 cthdr->gs_type = CT_GSTYPE_MGMTSERVICE; in fc_gs_fdmi_cthdr_build()
[all …]
Dbfa_fcs_lport.c1897 struct ct_hdr_s *cthdr = NULL; in bfa_fcs_lport_fdmi_rhba_response() local
1910 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_fdmi_rhba_response()
1911 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_lport_fdmi_rhba_response()
1913 if (cthdr->cmd_rsp_code == CT_RSP_ACCEPT) { in bfa_fcs_lport_fdmi_rhba_response()
1918 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_fdmi_rhba_response()
1919 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_fdmi_rhba_response()
2112 struct ct_hdr_s *cthdr = NULL; in bfa_fcs_lport_fdmi_rprt_response() local
2125 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_fdmi_rprt_response()
2126 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_lport_fdmi_rprt_response()
2128 if (cthdr->cmd_rsp_code == CT_RSP_ACCEPT) { in bfa_fcs_lport_fdmi_rprt_response()
[all …]
Dbfa_fcs_rport.c1619 struct ct_hdr_s *cthdr; in bfa_fcs_rport_gidpn_response() local
1626 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_rport_gidpn_response()
1627 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_rport_gidpn_response()
1629 if (cthdr->cmd_rsp_code == CT_RSP_ACCEPT) { in bfa_fcs_rport_gidpn_response()
1631 gidpn_rsp = (struct fcgs_gidpn_resp_s *) (cthdr + 1); in bfa_fcs_rport_gidpn_response()
1665 switch (cthdr->reason_code) { in bfa_fcs_rport_gidpn_response()
1692 struct ct_hdr_s *cthdr; in bfa_fcs_rport_gpnid_response() local
1696 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_rport_gpnid_response()
1697 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_rport_gpnid_response()
1699 if (cthdr->cmd_rsp_code == CT_RSP_ACCEPT) { in bfa_fcs_rport_gpnid_response()
[all …]
Dbfa_fcbuild.h186 u16 fc_gs_rjt_build(struct fchs_s *fchs, struct ct_hdr_s *cthdr,
322 u16 fc_ct_rsp_parse(struct ct_hdr_s *cthdr);