Lines Matching refs:fwcfg
244 *km_len += cfg->fwcfg.num_ioim_reqs * in bfa_fcpim_meminfo()
250 if (cfg->fwcfg.num_tskim_reqs < BFA_TSKIM_MIN) in bfa_fcpim_meminfo()
251 cfg->fwcfg.num_tskim_reqs = BFA_TSKIM_MIN; in bfa_fcpim_meminfo()
252 *km_len += cfg->fwcfg.num_tskim_reqs * sizeof(struct bfa_tskim_s); in bfa_fcpim_meminfo()
264 bfa_trc(bfa, cfg->fwcfg.num_rports); in bfa_fcpim_attach()
265 bfa_trc(bfa, cfg->fwcfg.num_ioim_reqs); in bfa_fcpim_attach()
266 bfa_trc(bfa, cfg->fwcfg.num_tskim_reqs); in bfa_fcpim_attach()
270 fcpim->num_itnims = cfg->fwcfg.num_rports; in bfa_fcpim_attach()
271 fcpim->num_tskim_reqs = cfg->fwcfg.num_tskim_reqs; in bfa_fcpim_attach()
1051 *km_len += cfg->fwcfg.num_rports * sizeof(struct bfa_itnim_s); in bfa_itnim_meminfo()
3586 if (cfg->fwcfg.num_ioim_reqs && in bfa_fcp_meminfo()
3587 cfg->fwcfg.num_ioim_reqs < BFA_IOIM_MIN) in bfa_fcp_meminfo()
3588 cfg->fwcfg.num_ioim_reqs = BFA_IOIM_MIN; in bfa_fcp_meminfo()
3589 else if (cfg->fwcfg.num_ioim_reqs > BFA_IOIM_MAX) in bfa_fcp_meminfo()
3590 cfg->fwcfg.num_ioim_reqs = BFA_IOIM_MAX; in bfa_fcp_meminfo()
3592 if (cfg->fwcfg.num_fwtio_reqs > BFA_FWTIO_MAX) in bfa_fcp_meminfo()
3593 cfg->fwcfg.num_fwtio_reqs = BFA_FWTIO_MAX; in bfa_fcp_meminfo()
3595 num_io_req = (cfg->fwcfg.num_ioim_reqs + cfg->fwcfg.num_fwtio_reqs); in bfa_fcp_meminfo()
3597 if (cfg->fwcfg.num_ioim_reqs && cfg->fwcfg.num_fwtio_reqs) { in bfa_fcp_meminfo()
3598 cfg->fwcfg.num_ioim_reqs = BFA_IO_MAX/2; in bfa_fcp_meminfo()
3599 cfg->fwcfg.num_fwtio_reqs = BFA_IO_MAX/2; in bfa_fcp_meminfo()
3600 } else if (cfg->fwcfg.num_fwtio_reqs) in bfa_fcp_meminfo()
3601 cfg->fwcfg.num_fwtio_reqs = BFA_FWTIO_MAX; in bfa_fcp_meminfo()
3603 cfg->fwcfg.num_ioim_reqs = BFA_IOIM_MAX; in bfa_fcp_meminfo()
3608 num_io_req = (cfg->fwcfg.num_ioim_reqs + cfg->fwcfg.num_fwtio_reqs); in bfa_fcp_meminfo()
3610 km_len += cfg->fwcfg.num_rports * sizeof(struct bfa_itn_s); in bfa_fcp_meminfo()
3638 fcp->max_ioim_reqs = cfg->fwcfg.num_ioim_reqs; in bfa_fcp_attach()
3639 fcp->num_ioim_reqs = cfg->fwcfg.num_ioim_reqs; in bfa_fcp_attach()
3640 fcp->num_fwtio_reqs = cfg->fwcfg.num_fwtio_reqs; in bfa_fcp_attach()
3641 fcp->num_itns = cfg->fwcfg.num_rports; in bfa_fcp_attach()
3648 num_io_req = (cfg->fwcfg.num_ioim_reqs + cfg->fwcfg.num_fwtio_reqs); in bfa_fcp_attach()