/third_party/alsa-lib/src/topology/ |
H A D | log.c | 21 void tplg_log_(snd_tplg_t *tplg, char type, size_t pos, const char *fmt, ...) in tplg_log_() argument
|
H A D | text.c | 60 int tplg_parse_text(snd_tplg_t *tplg, snd_config_t *cfg, in tplg_parse_text() argument
|
H A D | decoder.c | 20 int tplg_decode_template(snd_tplg_t *tplg, in tplg_decode_template() argument 43 int snd_tplg_decode(snd_tplg_t *tplg, void *bin, size_t size, int dflags) in snd_tplg_decode() argument [all...] |
H A D | channel.c | 88 int tplg_parse_channel(snd_tplg_t *tplg, snd_config_t *cfg, in tplg_parse_channel() argument
|
H A D | builder.c | 23 static ssize_t twrite(snd_tplg_t *tplg, void *data, size_t data_size) in twrite() argument 33 static ssize_t write_block_header(snd_tplg_t *tplg, unsigned int type, in write_block_header() argument 72 write_elem_block(snd_tplg_t *tplg, struct list_head *base, size_t size, int tplg_type, const char *obj_name) write_elem_block() argument 148 calc_manifest_size(snd_tplg_t *tplg) calc_manifest_size() argument 204 write_manifest_data(snd_tplg_t *tplg) write_manifest_data() argument 229 tplg_write_data(snd_tplg_t *tplg) tplg_write_data() argument [all...] |
H A D | elem.c | 357 struct tplg_elem *tplg_elem_type_lookup(snd_tplg_t *tplg, in tplg_elem_type_lookup() argument 402 struct tplg_elem* tplg_elem_new_common(snd_tplg_t *tplg, in tplg_elem_new_common() argument
|
H A D | parser.c | 110 int tplg_parse_compound(snd_tplg_t *tplg, snd_config_t *cfg, in tplg_parse_compound() argument 145 static int tplg_parse_config(snd_tplg_t *tplg, snd_config_t *cfg) in tplg_parse_config() argument 192 static int tplg_load_config(snd_tplg_t *tplg, snd_input_t *in) in tplg_load_config() argument 218 static int tplg_build_integ(snd_tplg_t *tplg) in tplg_build_integ() argument 261 snd_tplg_load(snd_tplg_t *tplg, const char *buf, size_t size) snd_tplg_load() argument 277 tplg_build(snd_tplg_t *tplg) tplg_build() argument 295 snd_tplg_build_file(snd_tplg_t *tplg, const char *infile, const char *outfile) snd_tplg_build_file() argument 324 snd_tplg_add_object(snd_tplg_t *tplg, snd_tplg_obj_template_t *t) snd_tplg_add_object() argument 351 snd_tplg_build(snd_tplg_t *tplg, const char *outfile) snd_tplg_build() argument 379 snd_tplg_build_bin(snd_tplg_t *tplg, void **bin, size_t *size) snd_tplg_build_bin() argument 395 snd_tplg_set_manifest_data(snd_tplg_t *tplg, const void *data, int len) snd_tplg_set_manifest_data() argument 414 snd_tplg_set_version(snd_tplg_t *tplg, unsigned int version) snd_tplg_set_version() argument 421 snd_tplg_verbose(snd_tplg_t *tplg, int verbose) snd_tplg_verbose() argument 436 snd_tplg_t *tplg; snd_tplg_create() local 479 snd_tplg_free(snd_tplg_t *tplg) snd_tplg_free() argument [all...] |
H A D | save.c | 420 static int tplg_save(snd_tplg_t *tplg, struct tplg_buf *dst, in tplg_save() argument 514 static int tplg_index_groups(snd_tplg_t *tplg, int **indexes) in tplg_index_groups() argument 557 int snd_tplg_save(snd_tplg_t *tplg, char **dst, int flags) in snd_tplg_save() argument [all...] |
H A D | dapm.c | 100 static int tplg_build_widget(snd_tplg_t *tplg, struct tplg_elem *elem) in tplg_build_widget() argument 169 int tplg_build_widgets(snd_tplg_t *tplg) in tplg_build_widgets() argument 196 int tplg_build_routes(snd_tplg_t *tplg) in tplg_build_routes() argument 257 tplg_elem_new_route(snd_tplg_t *tplg, int index) tplg_elem_new_route() argument 336 tplg_parse_routes(snd_tplg_t *tplg, snd_config_t *cfg, int index) tplg_parse_routes() argument 367 tplg_parse_dapm_graph(snd_tplg_t *tplg, snd_config_t *cfg, void *private ATTRIBUTE_UNUSED) tplg_parse_dapm_graph() argument 418 tplg_save_dapm_graph(snd_tplg_t *tplg, int index, struct tplg_buf *dst, const char *pfx) tplg_save_dapm_graph() argument 510 tplg_parse_dapm_widget(snd_tplg_t *tplg, snd_config_t *cfg, void *private ATTRIBUTE_UNUSED) tplg_parse_dapm_widget() argument 743 tplg_add_route(snd_tplg_t *tplg, struct snd_tplg_graph_elem *t, int index) tplg_add_route() argument 765 tplg_add_graph_object(snd_tplg_t *tplg, snd_tplg_obj_template_t *t) tplg_add_graph_object() argument 779 tplg_add_widget_object(snd_tplg_t *tplg, snd_tplg_obj_template_t *t) tplg_add_widget_object() argument 872 tplg_decode_dapm_widget(snd_tplg_t *tplg, size_t pos, struct snd_soc_tplg_hdr *hdr, void *bin, size_t size) tplg_decode_dapm_widget() argument 1040 tplg_decode_dapm_graph(snd_tplg_t *tplg, size_t pos, struct snd_soc_tplg_hdr *hdr, void *bin, size_t size) tplg_decode_dapm_graph() argument [all...] |
H A D | ctl.c | 161 static int tplg_build_mixer_control(snd_tplg_t *tplg, in tplg_build_mixer_control() argument 212 static int tplg_build_enum_control(snd_tplg_t *tplg, in tplg_build_enum_control() argument 249 static int tplg_build_bytes_control(snd_tplg_t *tplg, struct tplg_elem *elem) in tplg_build_bytes_control() argument 273 int tplg_build_controls(snd_tplg_t *tplg) in tplg_build_controls() argument 368 tplg_parse_tlv(snd_tplg_t *tplg, snd_config_t *cfg, void *private ATTRIBUTE_UNUSED) tplg_parse_tlv() argument 432 tplg_parse_control_bytes(snd_tplg_t *tplg, snd_config_t *cfg, void *private ATTRIBUTE_UNUSED) tplg_parse_control_bytes() argument 602 tplg_parse_control_enum(snd_tplg_t *tplg, snd_config_t *cfg, void *private ATTRIBUTE_UNUSED) tplg_parse_control_enum() argument 738 tplg_parse_control_mixer(snd_tplg_t *tplg, snd_config_t *cfg, void *private ATTRIBUTE_UNUSED) tplg_parse_control_mixer() argument 901 init_ctl_hdr(snd_tplg_t *tplg, struct tplg_elem *parent, struct snd_soc_tplg_ctl_hdr *hdr, struct snd_tplg_ctl_template *t) init_ctl_hdr() argument 977 tplg_add_mixer(snd_tplg_t *tplg, struct snd_tplg_mixer_template *mixer, struct tplg_elem **e) tplg_add_mixer() argument 1041 tplg_add_enum(snd_tplg_t *tplg, struct snd_tplg_enum_template *enum_ctl, struct tplg_elem **e) tplg_add_enum() argument 1132 tplg_add_bytes(snd_tplg_t *tplg, struct snd_tplg_bytes_template *bytes_ctl, struct tplg_elem **e) tplg_add_bytes() argument 1197 tplg_add_mixer_object(snd_tplg_t *tplg, snd_tplg_obj_template_t *t) tplg_add_mixer_object() argument 1202 tplg_add_enum_object(snd_tplg_t *tplg, snd_tplg_obj_template_t *t) tplg_add_enum_object() argument 1207 tplg_add_bytes_object(snd_tplg_t *tplg, snd_tplg_obj_template_t *t) tplg_add_bytes_object() argument 1212 tplg_decode_control_mixer1(snd_tplg_t *tplg, struct list_head *heap, struct snd_tplg_mixer_template *mt, size_t pos, void *bin, size_t size) tplg_decode_control_mixer1() argument 1286 tplg_decode_control_mixer(snd_tplg_t *tplg, size_t pos, struct snd_soc_tplg_hdr *hdr, void *bin, size_t size) tplg_decode_control_mixer() argument 1335 tplg_decode_control_enum1(snd_tplg_t *tplg, struct list_head *heap, struct snd_tplg_enum_template *et, size_t pos, struct snd_soc_tplg_enum_control *ec) tplg_decode_control_enum1() argument 1389 tplg_decode_control_enum(snd_tplg_t *tplg, size_t pos, struct snd_soc_tplg_hdr *hdr, void *bin, size_t size) tplg_decode_control_enum() argument 1441 tplg_decode_control_bytes1(snd_tplg_t *tplg, struct snd_tplg_bytes_template *bt, size_t pos, void *bin, size_t size) tplg_decode_control_bytes1() argument 1481 tplg_decode_control_bytes(snd_tplg_t *tplg, size_t pos, struct snd_soc_tplg_hdr *hdr, void *bin, size_t size) tplg_decode_control_bytes() argument [all...] |
H A D | pcm.c | 77 static int tplg_build_stream_caps(snd_tplg_t *tplg, in tplg_build_stream_caps() argument 96 static int build_pcm(snd_tplg_t *tplg, struct tplg_elem *elem) in build_pcm() argument 128 int tplg_build_pcms(snd_tplg_t *tplg, unsigned int type) in tplg_build_pcms() argument 155 static int tplg_build_dai(snd_tplg_t *tplg, struc argument 187 tplg_build_dais(snd_tplg_t *tplg, unsigned int type) tplg_build_dais() argument 210 tplg_build_stream_cfg(snd_tplg_t *tplg, struct snd_soc_tplg_stream *stream, int num_streams, int index) tplg_build_stream_cfg() argument 230 build_link(snd_tplg_t *tplg, struct tplg_elem *elem) build_link() argument 284 tplg_build_links(snd_tplg_t *tplg, unsigned int type) tplg_build_links() argument 397 tplg_parse_stream_caps(snd_tplg_t *tplg, snd_config_t *cfg, void *private ATTRIBUTE_UNUSED) tplg_parse_stream_caps() argument 840 tplg_parse_pcm(snd_tplg_t *tplg, snd_config_t *cfg, void *private ATTRIBUTE_UNUSED) tplg_parse_pcm() argument 989 tplg_parse_dai(snd_tplg_t *tplg, snd_config_t *cfg, void *private ATTRIBUTE_UNUSED) tplg_parse_dai() argument 1153 tplg_parse_link(snd_tplg_t *tplg, snd_config_t *cfg, void *private ATTRIBUTE_UNUSED) tplg_parse_link() argument 1302 tplg_parse_cc(snd_tplg_t *tplg, snd_config_t *cfg, void *private ATTRIBUTE_UNUSED) tplg_parse_cc() argument 1430 tplg_parse_hw_config(snd_tplg_t *tplg, snd_config_t *cfg, void *private ATTRIBUTE_UNUSED) tplg_parse_hw_config() argument 1746 tplg_add_stream_caps(snd_tplg_t *tplg, struct snd_tplg_stream_caps_template *caps_tpl) tplg_add_stream_caps() argument 1778 tplg_add_pcm_object(snd_tplg_t *tplg, snd_tplg_obj_template_t *t) tplg_add_pcm_object() argument 1880 tplg_add_link_object(snd_tplg_t *tplg, snd_tplg_obj_template_t *t) tplg_add_link_object() argument 1940 tplg_add_dai_object(snd_tplg_t *tplg, snd_tplg_obj_template_t *t) tplg_add_dai_object() argument 1993 tplg_decode_pcm(snd_tplg_t *tplg, size_t pos, struct snd_soc_tplg_hdr *hdr, void *bin, size_t size) tplg_decode_pcm() argument 2142 tplg_decode_link(snd_tplg_t *tplg, size_t pos, struct snd_soc_tplg_hdr *hdr, void *bin, size_t size) tplg_decode_link() argument [all...] |
H A D | data.c | 529 static struct tplg_elem *get_tokens(snd_tplg_t *tplg, struct tplg_elem *elem) in get_tokens() argument 674 static int build_tuples(snd_tplg_t *tplg, struct tplg_elem *elem) in build_tuples() argument 1036 int tplg_parse_tokens(snd_tplg_t *tplg, snd_config_t *cfg, in tplg_parse_tokens() argument 1112 tplg_parse_tuples(snd_tplg_t *tplg, snd_config_t *cfg, void *private ATTRIBUTE_UNUSED) tplg_parse_tuples() argument 1196 tplg_parse_manifest_data(snd_tplg_t *tplg, snd_config_t *cfg, void *private ATTRIBUTE_UNUSED) tplg_parse_manifest_data() argument 1292 tplg_build_manifest_data(snd_tplg_t *tplg) tplg_build_manifest_data() argument 1344 tplg_parse_data(snd_tplg_t *tplg, snd_config_t *cfg, void *private ATTRIBUTE_UNUSED) tplg_parse_data() argument 1500 tplg_copy_data(snd_tplg_t *tplg, struct tplg_elem *elem, struct tplg_ref *ref) tplg_copy_data() argument 1551 tplg_build_data(snd_tplg_t *tplg) tplg_build_data() argument 1572 tplg_decode_manifest_data(snd_tplg_t *tplg, size_t pos, struct snd_soc_tplg_hdr *hdr, void *bin, size_t size) tplg_decode_manifest_data() argument 1618 tplg_add_token(snd_tplg_t *tplg, struct tplg_elem *parent, unsigned int token, char str_ref[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]) tplg_add_token() argument 1666 tplg_verify_tuple_set(snd_tplg_t *tplg, size_t pos, const void *bin, size_t size) tplg_verify_tuple_set() argument 1707 tplg_decode_tuple_set(snd_tplg_t *tplg, size_t pos, struct tplg_elem *parent, struct tplg_tuple_set **_set, const void *bin, size_t size) tplg_decode_tuple_set() argument 1801 tplg_verify_tuples(snd_tplg_t *tplg, size_t pos, const void *bin, size_t size) tplg_verify_tuples() argument 1833 tplg_decode_tuples(snd_tplg_t *tplg, size_t pos, struct tplg_elem *parent, struct tplg_vendor_tuples *tuples, const void *bin, size_t size) tplg_decode_tuples() argument 1875 tplg_add_data(snd_tplg_t *tplg, struct tplg_elem *parent, const void *bin, size_t size) tplg_add_data() argument 1968 tplg_add_data_bytes(snd_tplg_t *tplg, struct tplg_elem *parent, const char *suffix, const void *bin, size_t size) tplg_add_data_bytes() argument [all...] |
/third_party/alsa-utils/topology/ |
H A D | topology.c | 143 static int load_topology(snd_tplg_t **tplg, char *config, in load_topology() argument 221 snd_tplg_t *tplg; in dump() local 315 snd_tplg_t *tplg; in compile() local 362 snd_tplg_t *tplg; decode() local [all...] |