Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/bfa/
Dbfa_fcbuild.c1038 fc_rscn_build(struct fchs_s *fchs, struct fc_rscn_pl_s *rscn, in fc_rscn_build() argument
1045 rscn->command = FC_ELS_RSCN; in fc_rscn_build()
1046 rscn->pagelen = sizeof(rscn->event[0]); in fc_rscn_build()
1048 payldlen = sizeof(u32) + rscn->pagelen; in fc_rscn_build()
1049 rscn->payldlen = cpu_to_be16(payldlen); in fc_rscn_build()
1051 rscn->event[0].format = FC_RSCN_FORMAT_PORTID; in fc_rscn_build()
1052 rscn->event[0].portid = s_id; in fc_rscn_build()
Dbfa_fcbuild.h310 u16 fc_rscn_build(struct fchs_s *fchs, struct fc_rscn_pl_s *rscn, u32 s_id,
Dbfa_fcs_lport.c5617 struct fc_rscn_pl_s *rscn = (struct fc_rscn_pl_s *) (fchs + 1); in bfa_fcs_lport_scn_process_rscn() local
5624 (be16_to_cpu(rscn->payldlen) - in bfa_fcs_lport_scn_process_rscn()
5625 sizeof(u32)) / sizeof(rscn->event[0]); in bfa_fcs_lport_scn_process_rscn()
5634 rscn_pid = rscn->event[i].portid; in bfa_fcs_lport_scn_process_rscn()
5636 bfa_trc(port->fcs, rscn->event[i].format); in bfa_fcs_lport_scn_process_rscn()
5642 if (rscn->event[j].portid == rscn_pid) { in bfa_fcs_lport_scn_process_rscn()
5654 switch (rscn->event[i].format) { in bfa_fcs_lport_scn_process_rscn()
5656 if (rscn->event[i].qualifier == FC_QOS_RSCN_EVENT) { in bfa_fcs_lport_scn_process_rscn()
5669 if (rscn->event[i].qualifier == in bfa_fcs_lport_scn_process_rscn()
5680 rscn->event[i].format, in bfa_fcs_lport_scn_process_rscn()
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_els.c3274 struct fc_els_rscn rscn; in lpfc_issue_els_rscn() member
3321 event->rscn.rscn_cmd = ELS_RSCN; in lpfc_issue_els_rscn()
3322 event->rscn.rscn_page_len = sizeof(struct fc_els_rscn_page); in lpfc_issue_els_rscn()
3323 event->rscn.rscn_plen = cpu_to_be16(cmdsize); in lpfc_issue_els_rscn()