Home
last modified time | relevance | path

Searched refs:tplg_elem (Results 1 – 10 of 10) sorted by relevance

/third_party/alsa-lib/src/topology/
Dtplg_local.h39 struct tplg_elem;
107 struct tplg_elem *elem;
151 struct tplg_elem { struct
225 int (*save)(snd_tplg_t *tplg, struct tplg_elem *elem,
302 int tplg_copy_data(snd_tplg_t *tplg, struct tplg_elem *elem,
305 int tplg_parse_refs(snd_config_t *cfg, struct tplg_elem *elem,
308 int tplg_ref_add(struct tplg_elem *elem, int type, const char* id);
309 int tplg_ref_add_elem(struct tplg_elem *elem, struct tplg_elem *elem_ref);
311 struct tplg_elem *tplg_elem_new(void);
312 void tplg_elem_free(struct tplg_elem *elem);
[all …]
Delem.c245 int tplg_ref_add(struct tplg_elem *elem, int type, const char* id) in tplg_ref_add()
262 int tplg_ref_add_elem(struct tplg_elem *elem, struct tplg_elem *elem_ref) in tplg_ref_add_elem()
290 struct tplg_elem *tplg_elem_new(void) in tplg_elem_new()
292 struct tplg_elem *elem; in tplg_elem_new()
302 void tplg_elem_free(struct tplg_elem *elem) in tplg_elem_free()
324 struct tplg_elem *elem; in tplg_elem_free_list()
327 elem = list_entry(pos, struct tplg_elem, list); in tplg_elem_free_list()
332 struct tplg_elem *tplg_elem_lookup(struct list_head *base, const char* id, in tplg_elem_lookup()
336 struct tplg_elem *elem; in tplg_elem_lookup()
343 elem = list_entry(pos, struct tplg_elem, list); in tplg_elem_lookup()
[all …]
Dbuilder.c78 struct tplg_elem *elem, *elem_next; in write_elem_block()
85 elem = list_entry(pos, struct tplg_elem, list); in write_elem_block()
90 elem_next = list_entry(pos->next, struct tplg_elem, list); in write_elem_block()
106 elem = list_entry(sub_pos, struct tplg_elem, list); in write_elem_block()
159 struct tplg_elem *elem, *elem_next; in calc_real_size()
164 elem = list_entry(pos, struct tplg_elem, list); in calc_real_size()
175 elem_next = list_entry(pos->next, struct tplg_elem, list); in calc_real_size()
187 struct tplg_elem *elem; in calc_block_size()
192 elem = list_entry(pos, struct tplg_elem, list); in calc_block_size()
Ddata.c29 struct snd_soc_tplg_private *get_priv_data(struct tplg_elem *elem) in get_priv_data()
74 int tplg_parse_refs(snd_config_t *cfg, struct tplg_elem *elem, in tplg_parse_refs()
123 struct tplg_elem *elem, unsigned int type, in tplg_save_refs()
163 static int tplg_parse_data_file(snd_config_t *cfg, struct tplg_elem *elem) in tplg_parse_data_file()
234 static void dump_priv_data(struct tplg_elem *elem ATTRIBUTE_UNUSED) in dump_priv_data()
464 static int tplg_parse_data_hex(snd_config_t *cfg, struct tplg_elem *elem, in tplg_parse_data_hex()
530 static struct tplg_elem *get_tokens(snd_tplg_t *tplg, struct tplg_elem *elem) in get_tokens()
555 static bool has_tuples(struct tplg_elem *elem) in has_tuples()
588 static int copy_tuples(struct tplg_elem *elem, in copy_tuples()
675 static int build_tuples(snd_tplg_t *tplg, struct tplg_elem *elem) in build_tuples()
[all …]
Dctl.c147 static int copy_tlv(struct tplg_elem *elem, struct tplg_elem *ref) in copy_tlv()
161 struct tplg_elem *elem) in tplg_build_mixer_control()
199 static void copy_enum_texts(struct tplg_elem *enum_elem, in copy_enum_texts()
200 struct tplg_elem *ref_elem) in copy_enum_texts()
212 struct tplg_elem *elem) in tplg_build_enum_control()
248 static int tplg_build_bytes_control(snd_tplg_t *tplg, struct tplg_elem *elem) in tplg_build_bytes_control()
275 struct tplg_elem *elem; in tplg_build_controls()
281 elem = list_entry(pos, struct tplg_elem, list); in tplg_build_controls()
293 elem = list_entry(pos, struct tplg_elem, list); in tplg_build_controls()
305 elem = list_entry(pos, struct tplg_elem, list); in tplg_build_controls()
[all …]
Ddapm.c76 static int copy_dapm_control(struct tplg_elem *elem, struct tplg_elem *ref) in copy_dapm_control()
101 static int tplg_build_widget(snd_tplg_t *tplg, struct tplg_elem *elem) in tplg_build_widget()
174 struct tplg_elem *elem; in tplg_build_widgets()
180 elem = list_entry(pos, struct tplg_elem, list); in tplg_build_widgets()
200 struct tplg_elem *elem; in tplg_build_routes()
206 elem = list_entry(pos, struct tplg_elem, list); in tplg_build_routes()
258 struct tplg_elem *tplg_elem_new_route(snd_tplg_t *tplg, int index) in tplg_elem_new_route()
260 struct tplg_elem *elem; in tplg_elem_new_route()
341 struct tplg_elem *elem; in tplg_parse_routes()
424 struct tplg_elem *elem; in tplg_save_dapm_graph()
[all …]
Dpcm.c43 struct tplg_elem *lookup_pcm_dai_stream(struct list_head *base, const char* id) in lookup_pcm_dai_stream()
46 struct tplg_elem *elem; in lookup_pcm_dai_stream()
51 elem = list_entry(pos, struct tplg_elem, list); in lookup_pcm_dai_stream()
67 struct tplg_elem *ref_elem) in copy_stream_caps()
82 struct tplg_elem *ref_elem = NULL; in tplg_build_stream_caps()
97 static int build_pcm(snd_tplg_t *tplg, struct tplg_elem *elem) in build_pcm()
132 struct tplg_elem *elem; in tplg_build_pcms()
138 elem = list_entry(pos, struct tplg_elem, list); in tplg_build_pcms()
156 static int tplg_build_dai(snd_tplg_t *tplg, struct tplg_elem *elem) in tplg_build_dai()
191 struct tplg_elem *elem; in tplg_build_dais()
[all …]
Dtext.c27 static int parse_text_values(snd_config_t *cfg, struct tplg_elem *elem) in parse_text_values()
68 struct tplg_elem *elem; in tplg_parse_text()
95 struct tplg_elem *elem, in tplg_save_text()
Dsave.c425 struct tplg_elem *elem; in tplg_save()
441 elem = list_entry(pos, struct tplg_elem, list); in tplg_save()
471 elem = list_entry(pos, struct tplg_elem, list); in tplg_save()
518 struct tplg_elem *elem; in tplg_index_groups()
531 elem = list_entry(pos, struct tplg_elem, list); in tplg_index_groups()
Dparser.c417 struct tplg_elem *elem; in snd_tplg_set_manifest_data()