Searched refs:num_sgpgs (Results 1 – 6 of 6) sorted by relevance
41 int reqq_size, rspq_size, num_sgpgs; variable106 module_param(num_sgpgs, int, S_IRUGO | S_IWUSR);107 MODULE_PARM_DESC(num_sgpgs, "Number of scatter/gather pages, default=2048");567 if (num_sgpgs > 0 && num_sgpgs <= BFA_SGPG_MAX) in bfad_update_hal_cfg()568 bfa_cfg->drvcfg.num_sgpgs = num_sgpgs; in bfad_update_hal_cfg()581 num_sgpgs = bfa_cfg->drvcfg.num_sgpgs; in bfad_update_hal_cfg()1691 if (num_sgpgs > 0) in bfad_init()1692 num_sgpgs_parm = num_sgpgs; in bfad_init()
339 extern int num_sgpgs;
5133 if (cfg->drvcfg.num_sgpgs < BFA_SGPG_MIN) in bfa_sgpg_meminfo()5134 cfg->drvcfg.num_sgpgs = BFA_SGPG_MIN; in bfa_sgpg_meminfo()5135 else if (cfg->drvcfg.num_sgpgs > BFA_SGPG_MAX) in bfa_sgpg_meminfo()5136 cfg->drvcfg.num_sgpgs = BFA_SGPG_MAX; in bfa_sgpg_meminfo()5138 num_sgpg = cfg->drvcfg.num_sgpgs; in bfa_sgpg_meminfo()5155 cfg->drvcfg.num_sgpgs * sizeof(struct bfa_sgpg_s)); in bfa_sgpg_meminfo()5178 bfa_trc(bfa, cfg->drvcfg.num_sgpgs); in bfa_sgpg_attach()5180 mod->free_sgpgs = mod->num_sgpgs = cfg->drvcfg.num_sgpgs; in bfa_sgpg_attach()5182 num_sgpg = cfg->drvcfg.num_sgpgs; in bfa_sgpg_attach()5248 WARN_ON(mod->free_sgpgs > mod->num_sgpgs); in bfa_sgpg_mfree()
57 int num_sgpgs; /* number of SG pages */ member
1982 cfg->drvcfg.num_sgpgs = DEF_CFG_NUM_SGPGS; in bfa_cfg_get_default()2002 cfg->drvcfg.num_sgpgs = BFA_SGPG_MIN; in bfa_cfg_get_min()
55 u16 num_sgpgs; /* number of total SG pages */ member