Home
last modified time | relevance | path

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

/linux/drivers/scsi/bfa/
H A Dbfa_fcbuild.c572 fc_gs_cthdr_build(struct ct_hdr_s *cthdr, u32 s_id, u16 cmd_code) in fc_gs_cthdr_build() argument
574 memset(cthdr, 0, sizeof(struct ct_hdr_s)); in fc_gs_cthdr_build()
575 cthdr->rev_id = CT_GS3_REVISION; in fc_gs_cthdr_build()
576 cthdr->gs_type = CT_GSTYPE_DIRSERVICE; in fc_gs_cthdr_build()
577 cthdr->gs_sub_type = CT_GSSUBTYPE_NAMESERVER; in fc_gs_cthdr_build()
578 cthdr->cmd_rsp_code = cpu_to_be16(cmd_code); in fc_gs_cthdr_build()
582 fc_gs_fdmi_cthdr_build(struct ct_hdr_s *cthdr, u32 s_id, u16 cmd_code) in fc_gs_fdmi_cthdr_build() argument
584 memset(cthdr, 0, sizeof(struct ct_hdr_s)); in fc_gs_fdmi_cthdr_build()
585 cthdr->rev_id = CT_GS3_REVISION; in fc_gs_fdmi_cthdr_build()
586 cthdr->gs_type = CT_GSTYPE_MGMTSERVICE; in fc_gs_fdmi_cthdr_build()
[all …]
H A Dbfa_fcs_lport.c2125 struct ct_hdr_s *cthdr = NULL; in bfa_fcs_lport_fdmi_rhba_response() local
2138 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_fdmi_rhba_response()
2139 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_lport_fdmi_rhba_response()
2141 if (cthdr->cmd_rsp_code == CT_RSP_ACCEPT) { in bfa_fcs_lport_fdmi_rhba_response()
2146 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_fdmi_rhba_response()
2147 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_fdmi_rhba_response()
2448 struct ct_hdr_s *cthdr = NULL; in bfa_fcs_lport_fdmi_rprt_response() local
2461 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_fdmi_rprt_response()
2462 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_lport_fdmi_rprt_response()
2464 if (cthdr->cmd_rsp_code == CT_RSP_ACCEPT) { in bfa_fcs_lport_fdmi_rprt_response()
[all …]
H A Dbfa_fcs_rport.c1969 struct ct_hdr_s *cthdr; in bfa_fcs_rport_gidpn_response() local
1976 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_rport_gidpn_response()
1977 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_rport_gidpn_response()
1979 if (cthdr->cmd_rsp_code == CT_RSP_ACCEPT) { in bfa_fcs_rport_gidpn_response()
1981 gidpn_rsp = (struct fcgs_gidpn_resp_s *) (cthdr + 1); in bfa_fcs_rport_gidpn_response()
2015 switch (cthdr->reason_code) { in bfa_fcs_rport_gidpn_response()
2042 struct ct_hdr_s *cthdr; in bfa_fcs_rport_gpnid_response() local
2046 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_rport_gpnid_response()
2047 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_rport_gpnid_response()
2049 if (cthdr->cmd_rsp_code == CT_RSP_ACCEPT) { in bfa_fcs_rport_gpnid_response()
[all …]
H A Dbfa_fcbuild.h159 u16 fc_gs_rjt_build(struct fchs_s *fchs, struct ct_hdr_s *cthdr,