Searched refs:num_cfg (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/arch/mips/mm/
H A Dinit.c259 unsigned i, num_configured, num_cfg = 0; platform_maar_init() local
273 cfg[num_cfg].lower = boot_mem_map.map[i].addr; platform_maar_init()
274 cfg[num_cfg].lower += skip; platform_maar_init()
276 cfg[num_cfg].upper = cfg[num_cfg].lower; platform_maar_init()
277 cfg[num_cfg].upper += boot_mem_map.map[i].size - 1; platform_maar_init()
278 cfg[num_cfg].upper -= skip; platform_maar_init()
280 cfg[num_cfg].attrs = MIPS_MAAR_S; platform_maar_init()
281 num_cfg++; platform_maar_init()
284 num_configured = maar_config(cfg, num_cfg, num_pairs); platform_maar_init()
285 if (num_configured < num_cfg) platform_maar_init()
287 num_pairs, num_cfg); platform_maar_init()
/linux-4.4.14/arch/mips/include/asm/
H A Dmaar.h99 * @num_cfg: The number of structs in the cfg array.
108 unsigned num_cfg, unsigned num_pairs) maar_config()
112 for (i = 0; i < min(num_cfg, num_pairs); i++) maar_config()
107 maar_config(const struct maar_config *cfg, unsigned num_cfg, unsigned num_pairs) maar_config() argument

Completed in 97 milliseconds