Home
last modified time | relevance | path

Searched refs:num_rports (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/scsi/bfa/
Dbfad.c39 int num_rports, num_ios, num_tms; variable
88 module_param(num_rports, int, S_IRUGO | S_IWUSR);
89 MODULE_PARM_DESC(num_rports, "Max number of rports supported per port "
553 if (num_rports > 0) in bfad_update_hal_cfg()
554 bfa_cfg->fwcfg.num_rports = num_rports; in bfad_update_hal_cfg()
574 num_rports = bfa_cfg->fwcfg.num_rports; in bfad_update_hal_cfg()
Dbfad_drv.h330 extern int num_rports;
Dbfa_core.c1269 bfa_rport_res_recfg(bfa, fwcfg->num_rports); in bfa_iocfc_res_recfg()
1291 fwcfg->num_rports = be16_to_cpu(fwcfg->num_rports); in bfa_iocfc_cfgrsp()
1974 cfg->fwcfg.num_rports = DEF_CFG_NUM_RPORTS; in bfa_cfg_get_default()
2001 cfg->fwcfg.num_rports = BFA_RPORT_MIN; in bfa_cfg_get_min()
Dbfa_fcs.h143 u16 num_rports; /* Num of r-ports */ member
262 ((_lport) ? (_lport)->num_rports : 0)
Dbfa_svc.h252 u16 num_rports; /* number of rports */ member
264 ((_tag) & (BFA_RPORT_MOD(__bfa)->num_rports - 1)))
Dbfa_fcs_lport.c204 if (port->num_rports == 0) { in bfa_fcs_lport_sm_online()
224 if (port->num_rports == 0) { in bfa_fcs_lport_sm_online()
262 if (port->num_rports == 0) { in bfa_fcs_lport_sm_offline()
279 if (port->num_rports == 0) { in bfa_fcs_lport_sm_offline()
309 if (port->num_rports == 0) { in bfa_fcs_lport_sm_stopping()
334 if (port->num_rports == 0) { in bfa_fcs_lport_sm_deleting()
1001 port->num_rports++; in bfa_fcs_lport_add_rport()
1014 port->num_rports--; in bfa_fcs_lport_del_rport()
1084 lport->num_rports = 0; in bfa_fcs_lport_attach()
1260 if (port->num_rports > 0) { in bfa_fcs_lport_n2n_online()
[all …]
Dbfa_svc.c4798 if (cfg->fwcfg.num_rports < BFA_RPORT_MIN) in bfa_rport_meminfo()
4799 cfg->fwcfg.num_rports = BFA_RPORT_MIN; in bfa_rport_meminfo()
4803 cfg->fwcfg.num_rports * sizeof(struct bfa_rport_s)); in bfa_rport_meminfo()
4820 mod->num_rports = cfg->fwcfg.num_rports; in bfa_rport_attach()
4822 WARN_ON(!mod->num_rports || in bfa_rport_attach()
4823 (mod->num_rports & (mod->num_rports - 1))); in bfa_rport_attach()
4825 for (i = 0; i < mod->num_rports; i++, rp++) { in bfa_rport_attach()
5038 for (i = 0; i < (mod->num_rports - num_rport_fw); i++) { in bfa_rport_res_recfg()
Dbfa_fcpim.c315 bfa_trc(bfa, cfg->fwcfg.num_rports); in bfa_fcpim_attach()
321 fcpim->num_itnims = cfg->fwcfg.num_rports; in bfa_fcpim_attach()
1102 *km_len += cfg->fwcfg.num_rports * sizeof(struct bfa_itnim_s); in bfa_itnim_meminfo()
3661 km_len += cfg->fwcfg.num_rports * sizeof(struct bfa_itn_s); in bfa_fcp_meminfo()
3692 fcp->num_itns = cfg->fwcfg.num_rports; in bfa_fcp_attach()
Dbfa_defs_svc.h40 u16 num_rports; /* number of remote ports */ member