Searched refs:rscn (Results 1 – 3 of 3) sorted by relevance
1153 fc_rscn_build(struct fchs_s *fchs, struct fc_rscn_pl_s *rscn, in fc_rscn_build() argument1160 rscn->command = FC_ELS_RSCN; in fc_rscn_build()1161 rscn->pagelen = sizeof(rscn->event[0]); in fc_rscn_build()1163 payldlen = sizeof(u32) + rscn->pagelen; in fc_rscn_build()1164 rscn->payldlen = cpu_to_be16(payldlen); in fc_rscn_build()1166 rscn->event[0].format = FC_RSCN_FORMAT_PORTID; in fc_rscn_build()1167 rscn->event[0].portid = s_id; in fc_rscn_build()
5416 struct fc_rscn_pl_s *rscn = (struct fc_rscn_pl_s *) (fchs + 1); in bfa_fcs_lport_scn_process_rscn() local5423 (be16_to_cpu(rscn->payldlen) - in bfa_fcs_lport_scn_process_rscn()5424 sizeof(u32)) / sizeof(rscn->event[0]); in bfa_fcs_lport_scn_process_rscn()5433 rscn_pid = rscn->event[i].portid; in bfa_fcs_lport_scn_process_rscn()5435 bfa_trc(port->fcs, rscn->event[i].format); in bfa_fcs_lport_scn_process_rscn()5441 if (rscn->event[j].portid == rscn_pid) { in bfa_fcs_lport_scn_process_rscn()5453 switch (rscn->event[i].format) { in bfa_fcs_lport_scn_process_rscn()5455 if (rscn->event[i].qualifier == FC_QOS_RSCN_EVENT) { in bfa_fcs_lport_scn_process_rscn()5468 if (rscn->event[i].qualifier == in bfa_fcs_lport_scn_process_rscn()5479 rscn->event[i].format, in bfa_fcs_lport_scn_process_rscn()
326 u16 fc_rscn_build(struct fchs_s *fchs, struct fc_rscn_pl_s *rscn, u32 s_id,