Lines Matching defs:cfg
194 * @cfg: Array of parsed config options
195 * @ncfg: Number of entries in @cfg
198 * in @cfg. @cfg does not need to be empty, entries are added beginning at
199 * @ncfg. @ncfg is updated to reflect the number of entries after parsing. @cfg
204 unsigned int count, unsigned long *cfg,
225 cfg[*ncfg] = pinconf_to_config_packed(par->param, val);
244 unsigned long *cfg;
255 cfg = kcalloc(max_cfg, sizeof(*cfg), GFP_KERNEL);
256 if (!cfg)
259 parse_dt_cfg(np, dt_params, ARRAY_SIZE(dt_params), cfg, &ncfg);
263 pctldev->desc->num_custom_params, cfg, &ncfg);
278 *configs = kmemdup(cfg, ncfg * sizeof(unsigned long), GFP_KERNEL);
287 kfree(cfg);