Searched refs:cthdr (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/scsi/bfa/ |
D | bfa_fcbuild.c | 914 fc_gs_cthdr_build(struct ct_hdr_s *cthdr, u32 s_id, u16 cmd_code) in fc_gs_cthdr_build() argument 916 memset(cthdr, 0, sizeof(struct ct_hdr_s)); in fc_gs_cthdr_build() 917 cthdr->rev_id = CT_GS3_REVISION; in fc_gs_cthdr_build() 918 cthdr->gs_type = CT_GSTYPE_DIRSERVICE; in fc_gs_cthdr_build() 919 cthdr->gs_sub_type = CT_GSSUBTYPE_NAMESERVER; in fc_gs_cthdr_build() 920 cthdr->cmd_rsp_code = cpu_to_be16(cmd_code); in fc_gs_cthdr_build() 924 fc_gs_fdmi_cthdr_build(struct ct_hdr_s *cthdr, u32 s_id, u16 cmd_code) in fc_gs_fdmi_cthdr_build() argument 926 memset(cthdr, 0, sizeof(struct ct_hdr_s)); in fc_gs_fdmi_cthdr_build() 927 cthdr->rev_id = CT_GS3_REVISION; in fc_gs_fdmi_cthdr_build() 928 cthdr->gs_type = CT_GSTYPE_MGMTSERVICE; in fc_gs_fdmi_cthdr_build() [all …]
|
D | bfa_fcs_lport.c | 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() [all …]
|
D | bfa_fcs_rport.c | 1969 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 …]
|
D | bfa_fcbuild.h | 180 u16 fc_gs_rjt_build(struct fchs_s *fchs, struct ct_hdr_s *cthdr, 308 u16 fc_ct_rsp_parse(struct ct_hdr_s *cthdr);
|