Home
last modified time | relevance | path

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

/arch/mips/mm/
Dinit.c259 unsigned i, num_configured, num_cfg = 0; in platform_maar_init() local
273 cfg[num_cfg].lower = boot_mem_map.map[i].addr; in platform_maar_init()
274 cfg[num_cfg].lower += skip; in platform_maar_init()
276 cfg[num_cfg].upper = cfg[num_cfg].lower; in platform_maar_init()
277 cfg[num_cfg].upper += boot_mem_map.map[i].size - 1; in platform_maar_init()
278 cfg[num_cfg].upper -= skip; in platform_maar_init()
280 cfg[num_cfg].attrs = MIPS_MAAR_S; in platform_maar_init()
281 num_cfg++; in platform_maar_init()
284 num_configured = maar_config(cfg, num_cfg, num_pairs); in platform_maar_init()
285 if (num_configured < num_cfg) in platform_maar_init()
[all …]
/arch/mips/include/asm/
Dmaar.h108 unsigned num_cfg, unsigned num_pairs) in maar_config() argument
112 for (i = 0; i < min(num_cfg, num_pairs); i++) in maar_config()