• Home
  • Raw
  • Download

Lines Matching refs:tplg_pp

114 void tplg_pp_config_debug(struct tplg_pre_processor *tplg_pp, snd_config_t *cfg)  in tplg_pp_config_debug()  argument
116 snd_config_save(cfg, tplg_pp->dbg_output); in tplg_pp_config_debug()
120 void tplg_pp_config_debug(struct tplg_pre_processor *tplg_pp, snd_config_t *cfg){} in tplg_pp_config_debug() argument
123 static int pre_process_config(struct tplg_pre_processor *tplg_pp, snd_config_t *cfg) in pre_process_config() argument
161 err = tplg_pre_process_objects(tplg_pp, n2, NULL); in pre_process_config()
170 void free_pre_preprocessor(struct tplg_pre_processor *tplg_pp) in free_pre_preprocessor() argument
172 snd_output_close(tplg_pp->output); in free_pre_preprocessor()
173 snd_output_close(tplg_pp->dbg_output); in free_pre_preprocessor()
174 snd_config_delete(tplg_pp->output_cfg); in free_pre_preprocessor()
175 free(tplg_pp); in free_pre_preprocessor()
178 int init_pre_processor(struct tplg_pre_processor **tplg_pp, snd_output_type_t type, in init_pre_processor() argument
188 *tplg_pp = _tplg_pp; in init_pre_processor()
228 static int pre_process_defines(struct tplg_pre_processor *tplg_pp, const char *pre_processor_defs, in pre_process_defines() argument
234 ret = snd_config_search(tplg_pp->input_cfg, "Define", &conf_defines); in pre_process_defines()
265 struct tplg_pre_processor *tplg_pp = private_data; in pre_process_variables_expand_fcn() local
270 ret = snd_config_search(tplg_pp->input_cfg, "Define", &conf_defines); in pre_process_variables_expand_fcn()
313 static int pre_process_includes(struct tplg_pre_processor *tplg_pp, snd_config_t *top,
316 static int pre_process_include_conf(struct tplg_pre_processor *tplg_pp, snd_config_t *config, in pre_process_include_conf() argument
419 ret = pre_process_defines(tplg_pp, pre_processor_defs, *new); in pre_process_include_conf()
426 return pre_process_includes(tplg_pp, *new, pre_processor_defs, inc_path); in pre_process_include_conf()
434 static int pre_process_includes(struct tplg_pre_processor *tplg_pp, snd_config_t *top, in pre_process_includes() argument
448 ret = snd_config_search(tplg_pp->input_cfg, "Define", &conf_defines); in pre_process_includes()
468 ret = pre_process_include_conf(tplg_pp, n, pre_processor_defs, &new, define, inc_path); in pre_process_includes()
488 static int pre_process_includes_all(struct tplg_pre_processor *tplg_pp, snd_config_t *top, in pre_process_includes_all() argument
498 ret = pre_process_includes(tplg_pp, top, pre_processor_defs, inc_path); in pre_process_includes_all()
510 ret = pre_process_includes_all(tplg_pp, n, pre_processor_defs, inc_path); in pre_process_includes_all()
519 int pre_process(struct tplg_pre_processor *tplg_pp, char *config, size_t config_size, in pre_process() argument
545 tplg_pp->input_cfg = top; in pre_process()
549 err = pre_process_defines(tplg_pp, pre_processor_defs, tplg_pp->input_cfg); in pre_process()
556 err = pre_process_includes_all(tplg_pp, tplg_pp->input_cfg, pre_processor_defs, inc_path); in pre_process()
563 …err = snd_config_expand_custom(tplg_pp->input_cfg, tplg_pp->input_cfg, pre_process_variables_expan… in pre_process()
564 tplg_pp, &tplg_pp->input_cfg); in pre_process()
571 err = pre_process_config(tplg_pp, tplg_pp->input_cfg); in pre_process()
578 err = snd_config_save(tplg_pp->output_cfg, tplg_pp->output); in pre_process()