Searched refs:num_cfg (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/arch/mips/mm/ |
D | init.c | 277 unsigned int num_cfg; member 284 struct maar_config *cfg = &wi->cfg[wi->num_cfg]; in maar_res_walk() 296 if (!WARN_ON(wi->num_cfg >= ARRAY_SIZE(wi->cfg))) in maar_res_walk() 297 wi->num_cfg++; in maar_res_walk() 308 wi.num_cfg = 0; in platform_maar_init() 311 num_configured = maar_config(wi.cfg, wi.num_cfg, num_pairs); in platform_maar_init() 312 if (num_configured < wi.num_cfg) in platform_maar_init() 314 num_pairs, wi.num_cfg); in platform_maar_init()
|
/Linux-v6.6/arch/mips/include/asm/ |
D | maar.h | 117 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-v6.6/sound/soc/fsl/ |
D | fsl_sai.c | 1206 int ret, elems, i, index, num_cfg; in fsl_sai_read_dlcfg() local 1222 num_cfg = elems / 3; in fsl_sai_read_dlcfg() 1224 cfg = devm_kzalloc(&pdev->dev, (num_cfg + 1) * sizeof(*cfg), GFP_KERNEL); in fsl_sai_read_dlcfg() 1240 for (i = 1, index = 0; i < num_cfg + 1; i++) { in fsl_sai_read_dlcfg() 1282 sai->dl_cfg_cnt = num_cfg + 1; in fsl_sai_read_dlcfg()
|