• Home
  • Raw
  • Download

Lines Matching refs:tplg_pp

26 int tplg_build_base_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg,  in tplg_build_base_object()  argument
33 top = tplg_object_get_section(tplg_pp, parent); in tplg_build_base_object()
37 parent_obj = tplg_object_get_instance_config(tplg_pp, parent); in tplg_build_base_object()
40 parent_name = tplg_object_get_name(tplg_pp, parent_obj); in tplg_build_base_object()
52 return tplg_build_object_from_template(tplg_pp, obj_cfg, &cfg, dest, skip_name); in tplg_build_base_object()
55 int tplg_build_scale_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg, in tplg_build_scale_object() argument
58 return tplg_build_base_object(tplg_pp, obj_cfg, parent, true); in tplg_build_scale_object()
61 int tplg_build_ops_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg, in tplg_build_ops_object() argument
64 return tplg_build_base_object(tplg_pp, obj_cfg, parent, false); in tplg_build_ops_object()
67 int tplg_build_channel_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg, in tplg_build_channel_object() argument
70 return tplg_build_base_object(tplg_pp, obj_cfg, parent, false); in tplg_build_channel_object()
73 int tplg_build_tlv_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg, in tplg_build_tlv_object() argument
80 cfg = tplg_object_get_instance_config(tplg_pp, obj_cfg); in tplg_build_tlv_object()
82 name = tplg_object_get_name(tplg_pp, cfg); in tplg_build_tlv_object()
86 ret = tplg_build_object_from_template(tplg_pp, obj_cfg, &cfg, NULL, false); in tplg_build_tlv_object()
90 return tplg_parent_update(tplg_pp, parent, "tlv", name); in tplg_build_tlv_object()
93 static int tplg_build_control(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg, in tplg_build_control() argument
100 obj = tplg_object_get_instance_config(tplg_pp, obj_cfg); in tplg_build_control()
111 ret = tplg_build_object_from_template(tplg_pp, obj_cfg, &cfg, NULL, false); in tplg_build_control()
115 ret = tplg_add_object_data(tplg_pp, obj_cfg, cfg, NULL); in tplg_build_control()
119 return tplg_parent_update(tplg_pp, parent, type, name); in tplg_build_control()
122 int tplg_build_mixer_control(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg, in tplg_build_mixer_control() argument
125 return tplg_build_control(tplg_pp, obj_cfg, parent, "mixer"); in tplg_build_mixer_control()
128 int tplg_build_bytes_control(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg, in tplg_build_bytes_control() argument
131 return tplg_build_control(tplg_pp, obj_cfg, parent, "bytes"); in tplg_build_bytes_control()
140 static int tplg_pp_get_widget_name(struct tplg_pre_processor *tplg_pp, in tplg_pp_get_widget_name() argument
176 class_cfg = tplg_class_lookup(tplg_pp, temp_cfg); in tplg_pp_get_widget_name()
264 int tplg_build_dapm_route_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg, in tplg_build_dapm_route_object() argument
275 obj = tplg_object_get_instance_config(tplg_pp, obj_cfg); in tplg_build_dapm_route_object()
283 parent_obj = tplg_object_get_instance_config(tplg_pp, parent); in tplg_build_dapm_route_object()
292 ret = snd_config_search(tplg_pp->output_cfg, "SectionGraph", &top); in tplg_build_dapm_route_object()
295 SND_CONFIG_TYPE_COMPOUND, tplg_pp->output_cfg); in tplg_build_dapm_route_object()
325 ret = tplg_pp_get_widget_name(tplg_pp, wname, index, &src_widget_name); in tplg_build_dapm_route_object()
346 ret = tplg_pp_get_widget_name(tplg_pp, wname, index, &sink_widget_name); in tplg_build_dapm_route_object()
439 int tplg_update_buffer_auto_attr(struct tplg_pre_processor *tplg_pp, in tplg_update_buffer_auto_attr() argument
488 pipeline_cfg = tplg_object_get_instance_config(tplg_pp, parent); in tplg_update_buffer_auto_attr()