Home
last modified time | relevance | path

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

/linux/arch/mips/mm/
H A Dinit.c279 unsigned int num_cfg; member
286 struct maar_config *cfg = &wi->cfg[wi->num_cfg]; in maar_res_walk()
298 if (!WARN_ON(wi->num_cfg >= ARRAY_SIZE(wi->cfg))) in maar_res_walk()
299 wi->num_cfg++; in maar_res_walk()
310 wi.num_cfg = 0; in platform_maar_init()
313 num_configured = maar_config(wi.cfg, wi.num_cfg, num_pairs); in platform_maar_init()
314 if (num_configured < wi.num_cfg) in platform_maar_init()
316 num_pairs, wi.num_cfg); in platform_maar_init()
/linux/arch/mips/include/asm/
H A Dmaar.h117 unsigned num_cfg, unsigned num_pairs) in maar_config() argument
121 for (i = 0; i < min(num_cfg, num_pairs); i++) in maar_config()
/linux/sound/soc/fsl/
H A Dfsl_sai.c1295 int ret, elems, i, index, num_cfg; in fsl_sai_read_dlcfg() local
1311 num_cfg = elems / 3; in fsl_sai_read_dlcfg()
1313 cfg = devm_kzalloc(&pdev->dev, (num_cfg + 1) * sizeof(*cfg), GFP_KERNEL); in fsl_sai_read_dlcfg()
1329 for (i = 1, index = 0; i < num_cfg + 1; i++) { in fsl_sai_read_dlcfg()
1371 sai->dl_cfg_cnt = num_cfg + 1; in fsl_sai_read_dlcfg()