/third_party/alsa-lib/src/topology/ |
H A D | ops.c | 122 err = tplg_save_printf(dst, pfx, "ops.0 {\n"); in tplg_save_ops() 126 err = tplg_save_printf(dst, pfx, "\tinfo %u\n", in tplg_save_ops() 129 err = tplg_save_printf(dst, pfx, "\tinfo %s\n", s); in tplg_save_ops() 134 err = tplg_save_printf(dst, pfx, "\tget %u\n", in tplg_save_ops() 137 err = tplg_save_printf(dst, pfx, "\tget %s\n", s); in tplg_save_ops() 142 err = tplg_save_printf(dst, pfx, "\tput %u\n", in tplg_save_ops() 145 err = tplg_save_printf(dst, pfx, "\tput %s\n", s); in tplg_save_ops() 148 err = tplg_save_printf(dst, pfx, "}\n"); in tplg_save_ops() 207 err = tplg_save_printf(dst, pfx, "extops.0 {\n"); in tplg_save_ext_ops() 211 err = tplg_save_printf(ds in tplg_save_ext_ops() [all...] |
H A D | pcm.c | 547 err = tplg_save_printf(dst, NULL, "'%s' {\n", elem->id); in tplg_save_stream_caps() 549 err = tplg_save_printf(dst, pfx, "\tformats '"); in tplg_save_stream_caps() 554 err = tplg_save_printf(dst, NULL, "%s%s", in tplg_save_stream_caps() 560 err = tplg_save_printf(dst, NULL, "'\n"); in tplg_save_stream_caps() 563 err = tplg_save_printf(dst, pfx, "\trates '"); in tplg_save_stream_caps() 568 err = tplg_save_printf(dst, NULL, "%s%s", in tplg_save_stream_caps() 574 err = tplg_save_printf(dst, NULL, "'\n"); in tplg_save_stream_caps() 577 err = tplg_save_printf(dst, pfx, "\trate_min %u\n", in tplg_save_stream_caps() 580 err = tplg_save_printf(dst, pfx, "\trate_max %u\n", in tplg_save_stream_caps() 583 err = tplg_save_printf(ds in tplg_save_stream_caps() [all...] |
H A D | channel.c | 150 err = tplg_save_printf(dst, pfx, "channel {\n"); in tplg_save_channels() 155 err = tplg_save_printf(dst, pfx, "\t%u", c->id); in tplg_save_channels() 157 err = tplg_save_printf(dst, pfx, "\t%s", s); in tplg_save_channels() 159 err = tplg_save_printf(dst, NULL, " {\n"); in tplg_save_channels() 161 err = tplg_save_printf(dst, pfx, "\t\treg %d\n", c->reg); in tplg_save_channels() 163 err = tplg_save_printf(dst, pfx, "\t\tshift %u\n", c->shift); in tplg_save_channels() 165 err = tplg_save_printf(dst, pfx, "\t}\n"); in tplg_save_channels() 168 err = tplg_save_printf(dst, pfx, "}\n"); in tplg_save_channels()
|
H A D | dapm.c | 457 err = tplg_save_printf(dst, pfx, "SectionGraph {\n"); in tplg_save_dapm_graph() 466 err = tplg_save_printf(dst, pfx, "\t\t]\n"); in tplg_save_dapm_graph() 469 err = tplg_save_printf(dst, pfx, "\t}\n"); in tplg_save_dapm_graph() 476 err = tplg_save_printf(dst, pfx, fmt, block); in tplg_save_dapm_graph() 478 err = tplg_save_printf(dst, pfx, "\t\tindex %u\n", in tplg_save_dapm_graph() 485 err = tplg_save_printf(dst, pfx, "\t\tlines [\n"); in tplg_save_dapm_graph() 490 err = tplg_save_printf(dst, pfx, "\t\t\t'%s, %s, %s'\n", in tplg_save_dapm_graph() 499 err = tplg_save_printf(dst, pfx, "\t\t]\n"); in tplg_save_dapm_graph() 501 err = tplg_save_printf(dst, pfx, "\t}\n"); in tplg_save_dapm_graph() 505 err = tplg_save_printf(ds in tplg_save_dapm_graph() [all...] |
H A D | data.c | 144 return tplg_save_printf(dst, pfx, "%s '%s'\n", id, last->id); in tplg_save_refs() 146 err = tplg_save_printf(dst, pfx, "%s [\n", id); in tplg_save_refs() 152 err = tplg_save_printf(dst, pfx, "\t'%s'\n", ref->id); in tplg_save_refs() 158 return tplg_save_printf(dst, pfx, "]\n"); in tplg_save_refs() 916 err = tplg_save_printf(dst, NULL, buf, set_index, s); in tplg_save_tuple_set() 924 err = tplg_save_printf(dst, NULL, buf, in tplg_save_tuple_set() 927 err = tplg_save_printf(dst, pfx, "\t'%s' ", in tplg_save_tuple_set() 934 err = tplg_save_printf(dst, NULL, "'" UUID_FORMAT "'\n", in tplg_save_tuple_set() 945 err = tplg_save_printf(dst, NULL, "'%s'\n", in tplg_save_tuple_set() 951 err = tplg_save_printf(ds in tplg_save_tuple_set() [all...] |
H A D | text.c | 103 err = tplg_save_printf(dst, pfx, "'%s'.values [\n", elem->id); in tplg_save_text() 105 err = tplg_save_printf(dst, pfx, "\t'%s'\n", texts->items[i]); in tplg_save_text() 107 err = tplg_save_printf(dst, pfx, "]\n"); in tplg_save_text()
|
H A D | ctl.c | 129 return tplg_save_printf(dst, pfx, "access.0 %s\n", last); in tplg_save_access() 130 err = tplg_save_printf(dst, pfx, "access [\n"); in tplg_save_access() 137 err = tplg_save_printf(dst, pfx, "\t%s\n", in tplg_save_access() 144 return tplg_save_printf(dst, pfx, "]\n"); in tplg_save_access() 415 err = tplg_save_printf(dst, NULL, "'%s' {\n", elem->id); in tplg_save_tlv() 417 err = tplg_save_printf(dst, pfx, "\tscale {\n"); in tplg_save_tlv() 419 err = tplg_save_printf(dst, pfx, "\t\tmin %i\n", scale->min); in tplg_save_tlv() 421 err = tplg_save_printf(dst, pfx, "\t\tstep %i\n", scale->step); in tplg_save_tlv() 423 err = tplg_save_printf(dst, pfx, "\t\tmute %i\n", scale->mute); in tplg_save_tlv() 425 err = tplg_save_printf(ds in tplg_save_tlv() [all...] |
H A D | save.c | 46 int tplg_save_printf(struct tplg_buf *dst, const char *pfx, const char *fmt, ...) in tplg_save_printf() function 280 return tplg_save_printf(dst, NULL, "'%s'", d); in tplg_save_quoted() 288 return tplg_save_printf(dst, NULL, "''"); in tplg_save_string() 296 return tplg_save_printf(dst, NULL, "%s", str); in tplg_save_string() 326 err = tplg_save_printf(dst, NULL, "\n"); in save_config() 330 err = tplg_save_printf(dst, NULL, "\t"); in save_config() 336 err = tplg_save_printf(dst, NULL, "%s'%s'\n", delim, val); in save_config() 338 err = tplg_save_printf(dst, NULL, "%s%s\n", delim, val); in save_config() 364 err = tplg_save_printf(dst, NULL, "."); in save_config() 377 err = tplg_save_printf(ds in save_config() [all...] |
H A D | tplg_local.h | 367 int tplg_save_printf(struct tplg_buf *dst, const char *prefix, const char *fmt, ...);
|