Searched refs:num_rports (Results 1 – 9 of 9) sorted by relevance
39 int num_rports, num_ios, num_tms; variable88 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()
329 extern int num_rports;
1269 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()1972 cfg->fwcfg.num_rports = DEF_CFG_NUM_RPORTS; in bfa_cfg_get_default()1999 cfg->fwcfg.num_rports = BFA_RPORT_MIN; in bfa_cfg_get_min()
252 u16 num_rports; /* number of rports */ member264 ((_tag) & (BFA_RPORT_MOD(__bfa)->num_rports - 1)))
143 u16 num_rports; /* Num of r-ports */ member262 ((_lport) ? (_lport)->num_rports : 0)
204 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 …]
4798 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()
315 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()
40 u16 num_rports; /* number of remote ports */ member