Searched refs:cthdr (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/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 | 2171 struct ct_hdr_s *cthdr = NULL; in bfa_fcs_lport_fdmi_rhba_response() local 2184 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_fdmi_rhba_response() 2185 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_lport_fdmi_rhba_response() 2187 if (cthdr->cmd_rsp_code == CT_RSP_ACCEPT) { in bfa_fcs_lport_fdmi_rhba_response() 2192 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_fdmi_rhba_response() 2193 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_fdmi_rhba_response() 2494 struct ct_hdr_s *cthdr = NULL; in bfa_fcs_lport_fdmi_rprt_response() local 2507 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_lport_fdmi_rprt_response() 2508 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_lport_fdmi_rprt_response() 2510 if (cthdr->cmd_rsp_code == CT_RSP_ACCEPT) { in bfa_fcs_lport_fdmi_rprt_response() [all …]
|
D | bfa_fcs_rport.c | 1953 struct ct_hdr_s *cthdr; in bfa_fcs_rport_gidpn_response() local 1960 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_rport_gidpn_response() 1961 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_rport_gidpn_response() 1963 if (cthdr->cmd_rsp_code == CT_RSP_ACCEPT) { in bfa_fcs_rport_gidpn_response() 1965 gidpn_rsp = (struct fcgs_gidpn_resp_s *) (cthdr + 1); in bfa_fcs_rport_gidpn_response() 1999 switch (cthdr->reason_code) { in bfa_fcs_rport_gidpn_response() 2026 struct ct_hdr_s *cthdr; in bfa_fcs_rport_gpnid_response() local 2030 cthdr = (struct ct_hdr_s *) BFA_FCXP_RSP_PLD(fcxp); in bfa_fcs_rport_gpnid_response() 2031 cthdr->cmd_rsp_code = be16_to_cpu(cthdr->cmd_rsp_code); in bfa_fcs_rport_gpnid_response() 2033 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);
|