Home
last modified time | relevance | path

Searched refs:snd_tplg_t (Results 1 - 15 of 15) sorted by relevance

/third_party/alsa-lib/src/topology/
H A Dtplg_local.h225 int (*parse)(snd_tplg_t *tplg, snd_config_t *cfg, void *priv);
226 int (*save)(snd_tplg_t *tplg, struct tplg_elem *elem,
228 int (*gsave)(snd_tplg_t *tplg, int index,
230 int (*decod)(snd_tplg_t *tplg, size_t pos,
262 void tplg_log_(snd_tplg_t *tplg, char type, size_t pos, const char *fmt, ...);
269 int tplg_parse_compound(snd_tplg_t *tplg, snd_config_t *cfg,
270 int (*fcn)(snd_tplg_t *, snd_config_t *, void *),
273 int tplg_write_data(snd_tplg_t *tplg);
275 int tplg_parse_tlv(snd_tplg_t *tplg, snd_config_t *cfg, void *priv);
276 int tplg_parse_text(snd_tplg_t *tpl
[all...]
H A Delem.c26 .loff = offsetof(snd_tplg_t, manifest_list),
38 .loff = offsetof(snd_tplg_t, mixer_list),
51 .loff = offsetof(snd_tplg_t, enum_list),
64 .loff = offsetof(snd_tplg_t, bytes_ext_list),
77 .loff = offsetof(snd_tplg_t, widget_list),
90 .loff = offsetof(snd_tplg_t, pcm_list),
103 .loff = offsetof(snd_tplg_t, dai_list),
117 .loff = offsetof(snd_tplg_t, be_list),
130 .loff = offsetof(snd_tplg_t, cc_list),
143 .loff = offsetof(snd_tplg_t, route_lis
[all...]
H A Dparser.c110 int tplg_parse_compound(snd_tplg_t *tplg, snd_config_t *cfg, in tplg_parse_compound()
111 int (*fcn)(snd_tplg_t *, snd_config_t *, void *), in tplg_parse_compound()
145 static int tplg_parse_config(snd_tplg_t *tplg, snd_config_t *cfg) in tplg_parse_config()
147 int (*parser)(snd_tplg_t *tplg, snd_config_t *cfg, void *priv); in tplg_parse_config()
192 static int tplg_load_config(snd_tplg_t *tplg, snd_input_t *in) in tplg_load_config()
218 static int tplg_build_integ(snd_tplg_t *tplg) in tplg_build_integ()
261 int snd_tplg_load(snd_tplg_t *tplg, const char *buf, size_t size) in snd_tplg_load()
277 static int tplg_build(snd_tplg_t *tplg) in tplg_build()
295 int snd_tplg_build_file(snd_tplg_t *tplg, in snd_tplg_build_file()
324 int snd_tplg_add_object(snd_tplg_t *tpl
[all...]
H A Dpcm.c77 static int tplg_build_stream_caps(snd_tplg_t *tplg, in tplg_build_stream_caps()
96 static int build_pcm(snd_tplg_t *tplg, struct tplg_elem *elem) in build_pcm()
128 int tplg_build_pcms(snd_tplg_t *tplg, unsigned int type) in tplg_build_pcms()
155 static int tplg_build_dai(snd_tplg_t *tplg, struct tplg_elem *elem) in tplg_build_dai()
187 int tplg_build_dais(snd_tplg_t *tplg, unsigned int type) in tplg_build_dais()
210 static int tplg_build_stream_cfg(snd_tplg_t *tplg, in tplg_build_stream_cfg()
230 static int build_link(snd_tplg_t *tplg, struct tplg_elem *elem) in build_link()
284 int tplg_build_links(snd_tplg_t *tplg, unsigned int type) in tplg_build_links()
397 int tplg_parse_stream_caps(snd_tplg_t *tplg, in tplg_parse_stream_caps()
538 int tplg_save_stream_caps(snd_tplg_t *tpl
[all...]
H A Ddapm.c100 static int tplg_build_widget(snd_tplg_t *tplg, struct tplg_elem *elem) in tplg_build_widget()
169 int tplg_build_widgets(snd_tplg_t *tplg) in tplg_build_widgets()
196 int tplg_build_routes(snd_tplg_t *tplg) in tplg_build_routes()
257 struct tplg_elem *tplg_elem_new_route(snd_tplg_t *tplg, int index) in tplg_elem_new_route()
336 static int tplg_parse_routes(snd_tplg_t *tplg, snd_config_t *cfg, int index) in tplg_parse_routes()
367 int tplg_parse_dapm_graph(snd_tplg_t *tplg, snd_config_t *cfg, in tplg_parse_dapm_graph()
418 int tplg_save_dapm_graph(snd_tplg_t *tplg, int index, in tplg_save_dapm_graph()
510 int tplg_parse_dapm_widget(snd_tplg_t *tplg, in tplg_parse_dapm_widget()
681 int tplg_save_dapm_widget(snd_tplg_t *tplg ATTRIBUTE_UNUSED, in tplg_save_dapm_widget()
743 int tplg_add_route(snd_tplg_t *tpl
[all...]
H A Dbuilder.c23 static ssize_t twrite(snd_tplg_t *tplg, void *data, size_t data_size) in twrite()
33 static ssize_t write_block_header(snd_tplg_t *tplg, unsigned int type, in write_block_header()
72 static int write_elem_block(snd_tplg_t *tplg, in write_elem_block()
148 static size_t calc_manifest_size(snd_tplg_t *tplg) in calc_manifest_size()
204 static ssize_t write_manifest_data(snd_tplg_t *tplg) in write_manifest_data()
229 int tplg_write_data(snd_tplg_t *tplg) in tplg_write_data()
H A Dctl.c108 static int tplg_save_access(snd_tplg_t *tplg ATTRIBUTE_UNUSED, in tplg_save_access()
161 static int tplg_build_mixer_control(snd_tplg_t *tplg, in tplg_build_mixer_control()
212 static int tplg_build_enum_control(snd_tplg_t *tplg, in tplg_build_enum_control()
249 static int tplg_build_bytes_control(snd_tplg_t *tplg, struct tplg_elem *elem) in tplg_build_bytes_control()
273 int tplg_build_controls(snd_tplg_t *tplg) in tplg_build_controls()
368 int tplg_parse_tlv(snd_tplg_t *tplg, snd_config_t *cfg, in tplg_parse_tlv()
401 int tplg_save_tlv(snd_tplg_t *tplg ATTRIBUTE_UNUSED, in tplg_save_tlv()
432 int tplg_parse_control_bytes(snd_tplg_t *tplg, in tplg_parse_control_bytes()
559 int tplg_save_control_bytes(snd_tplg_t *tplg ATTRIBUTE_UNUSED, in tplg_save_control_bytes()
602 int tplg_parse_control_enum(snd_tplg_t *tpl
[all...]
H A Ddata.c121 int tplg_save_refs(snd_tplg_t *tplg ATTRIBUTE_UNUSED, in tplg_save_refs()
529 static struct tplg_elem *get_tokens(snd_tplg_t *tplg, struct tplg_elem *elem) in get_tokens()
674 static int build_tuples(snd_tplg_t *tplg, struct tplg_elem *elem) in build_tuples()
1015 int tplg_save_tuple_sets(snd_tplg_t *tplg ATTRIBUTE_UNUSED, in tplg_save_tuple_sets()
1036 int tplg_parse_tokens(snd_tplg_t *tplg, snd_config_t *cfg, in tplg_parse_tokens()
1086 int tplg_save_tokens(snd_tplg_t *tplg ATTRIBUTE_UNUSED, in tplg_save_tokens()
1112 int tplg_parse_tuples(snd_tplg_t *tplg, snd_config_t *cfg, in tplg_parse_tuples()
1157 int tplg_save_tuples(snd_tplg_t *tplg ATTRIBUTE_UNUSED, in tplg_save_tuples()
1196 int tplg_parse_manifest_data(snd_tplg_t *tplg, snd_config_t *cfg, in tplg_parse_manifest_data()
1244 int tplg_save_manifest_data(snd_tplg_t *tpl
[all...]
H A Dops.c69 int tplg_parse_ops(snd_tplg_t *tplg ATTRIBUTE_UNUSED, snd_config_t *cfg, in tplg_parse_ops()
113 int tplg_save_ops(snd_tplg_t *tplg ATTRIBUTE_UNUSED, in tplg_save_ops()
155 int tplg_parse_ext_ops(snd_tplg_t *tplg ATTRIBUTE_UNUSED, in tplg_parse_ext_ops()
198 int tplg_save_ext_ops(snd_tplg_t *tplg ATTRIBUTE_UNUSED, in tplg_save_ext_ops()
H A Dtext.c60 int tplg_parse_text(snd_tplg_t *tplg, snd_config_t *cfg, in tplg_parse_text()
93 int tplg_save_text(snd_tplg_t *tplg ATTRIBUTE_UNUSED, in tplg_save_text()
H A Ddecoder.c20 int tplg_decode_template(snd_tplg_t *tplg, in tplg_decode_template()
43 int snd_tplg_decode(snd_tplg_t *tplg, void *bin, size_t size, int dflags) in snd_tplg_decode()
H A Dchannel.c88 int tplg_parse_channel(snd_tplg_t *tplg, snd_config_t *cfg, in tplg_parse_channel()
138 int tplg_save_channels(snd_tplg_t *tplg ATTRIBUTE_UNUSED, in tplg_save_channels()
H A Dlog.c21 void tplg_log_(snd_tplg_t *tplg, char type, size_t pos, const char *fmt, ...) in tplg_log_()
/third_party/alsa-lib/include/
H A Dtopology.h744 typedef struct snd_tplg snd_tplg_t; typedef
786 snd_tplg_t *snd_tplg_new(void);
792 snd_tplg_t *snd_tplg_create(int flags);
798 void snd_tplg_free(snd_tplg_t *tplg);
807 int snd_tplg_load(snd_tplg_t *tplg, const char *buf, size_t size);
816 int snd_tplg_build_file(snd_tplg_t *tplg, const char *infile,
824 void snd_tplg_verbose(snd_tplg_t *tplg, int verbose);
1108 int snd_tplg_add_object(snd_tplg_t *tplg, snd_tplg_obj_template_t *t);
1116 int snd_tplg_build(snd_tplg_t *tplg, const char *outfile);
1125 int snd_tplg_build_bin(snd_tplg_t *tpl
[all...]
/third_party/alsa-utils/topology/
H A Dtopology.c143 static int load_topology(snd_tplg_t **tplg, char *config, in load_topology()
221 snd_tplg_t *tplg; in dump()
315 snd_tplg_t *tplg; in compile()
362 snd_tplg_t *tplg; in decode()

Completed in 13 milliseconds