/third_party/alsa-lib/src/topology/ |
D | ops.c | 123 err = tplg_save_printf(dst, pfx, "ops.0 {\n"); in tplg_save_ops() 127 err = tplg_save_printf(dst, pfx, "\tinfo %u\n", in tplg_save_ops() 130 err = tplg_save_printf(dst, pfx, "\tinfo %s\n", s); in tplg_save_ops() 135 err = tplg_save_printf(dst, pfx, "\tget %u\n", in tplg_save_ops() 138 err = tplg_save_printf(dst, pfx, "\tget %s\n", s); in tplg_save_ops() 143 err = tplg_save_printf(dst, pfx, "\tput %u\n", in tplg_save_ops() 146 err = tplg_save_printf(dst, pfx, "\tput %s\n", s); in tplg_save_ops() 149 err = tplg_save_printf(dst, pfx, "}\n"); in tplg_save_ops() 208 err = tplg_save_printf(dst, pfx, "extops.0 {\n"); in tplg_save_ext_ops() 212 err = tplg_save_printf(dst, pfx, "\tinfo %u\n", in tplg_save_ext_ops() [all …]
|
D | pcm.c | 548 err = tplg_save_printf(dst, NULL, "'%s' {\n", elem->id); in tplg_save_stream_caps() 550 err = tplg_save_printf(dst, pfx, "\tformats '"); in tplg_save_stream_caps() 555 err = tplg_save_printf(dst, NULL, "%s%s", in tplg_save_stream_caps() 561 err = tplg_save_printf(dst, NULL, "'\n"); in tplg_save_stream_caps() 564 err = tplg_save_printf(dst, pfx, "\trates '"); in tplg_save_stream_caps() 569 err = tplg_save_printf(dst, NULL, "%s%s", in tplg_save_stream_caps() 575 err = tplg_save_printf(dst, NULL, "'\n"); in tplg_save_stream_caps() 578 err = tplg_save_printf(dst, pfx, "\trate_min %u\n", in tplg_save_stream_caps() 581 err = tplg_save_printf(dst, pfx, "\trate_max %u\n", in tplg_save_stream_caps() 584 err = tplg_save_printf(dst, pfx, "\tchannels_min %u\n", in tplg_save_stream_caps() [all …]
|
D | channel.c | 151 err = tplg_save_printf(dst, pfx, "channel {\n"); in tplg_save_channels() 156 err = tplg_save_printf(dst, pfx, "\t%u", c->id); in tplg_save_channels() 158 err = tplg_save_printf(dst, pfx, "\t%s", s); in tplg_save_channels() 160 err = tplg_save_printf(dst, NULL, " {\n"); in tplg_save_channels() 162 err = tplg_save_printf(dst, pfx, "\t\treg %d\n", c->reg); in tplg_save_channels() 164 err = tplg_save_printf(dst, pfx, "\t\tshift %u\n", c->shift); in tplg_save_channels() 166 err = tplg_save_printf(dst, pfx, "\t}\n"); in tplg_save_channels() 169 err = tplg_save_printf(dst, pfx, "}\n"); in tplg_save_channels()
|
D | save.c | 47 int tplg_save_printf(struct tplg_buf *dst, const char *pfx, const char *fmt, ...) in tplg_save_printf() function 281 return tplg_save_printf(dst, NULL, "'%s'", d); in tplg_save_quoted() 289 return tplg_save_printf(dst, NULL, "''"); in tplg_save_string() 297 return tplg_save_printf(dst, NULL, "%s", str); in tplg_save_string() 327 err = tplg_save_printf(dst, NULL, "\n"); in save_config() 331 err = tplg_save_printf(dst, NULL, "\t"); in save_config() 337 err = tplg_save_printf(dst, NULL, "%s'%s'\n", delim, val); in save_config() 339 err = tplg_save_printf(dst, NULL, "%s%s\n", delim, val); in save_config() 365 err = tplg_save_printf(dst, NULL, "."); in save_config() 378 err = tplg_save_printf(dst, NULL, "%s%s\n", delim, in save_config() [all …]
|
D | dapm.c | 458 err = tplg_save_printf(dst, pfx, "SectionGraph {\n"); in tplg_save_dapm_graph() 467 err = tplg_save_printf(dst, pfx, "\t\t]\n"); in tplg_save_dapm_graph() 470 err = tplg_save_printf(dst, pfx, "\t}\n"); in tplg_save_dapm_graph() 477 err = tplg_save_printf(dst, pfx, fmt, block); in tplg_save_dapm_graph() 479 err = tplg_save_printf(dst, pfx, "\t\tindex %u\n", in tplg_save_dapm_graph() 486 err = tplg_save_printf(dst, pfx, "\t\tlines [\n"); in tplg_save_dapm_graph() 491 err = tplg_save_printf(dst, pfx, "\t\t\t'%s, %s, %s'\n", in tplg_save_dapm_graph() 500 err = tplg_save_printf(dst, pfx, "\t\t]\n"); in tplg_save_dapm_graph() 502 err = tplg_save_printf(dst, pfx, "\t}\n"); in tplg_save_dapm_graph() 506 err = tplg_save_printf(dst, pfx, "}\n"); in tplg_save_dapm_graph() [all …]
|
D | data.c | 145 return tplg_save_printf(dst, pfx, "%s '%s'\n", id, last->id); in tplg_save_refs() 147 err = tplg_save_printf(dst, pfx, "%s [\n", id); in tplg_save_refs() 153 err = tplg_save_printf(dst, pfx, "\t'%s'\n", ref->id); in tplg_save_refs() 159 return tplg_save_printf(dst, pfx, "]\n"); in tplg_save_refs() 915 err = tplg_save_printf(dst, NULL, buf, set_index, s); in tplg_save_tuple_set() 923 err = tplg_save_printf(dst, NULL, buf, in tplg_save_tuple_set() 926 err = tplg_save_printf(dst, pfx, "\t'%s' ", in tplg_save_tuple_set() 933 err = tplg_save_printf(dst, NULL, "'" UUID_FORMAT "'\n", in tplg_save_tuple_set() 944 err = tplg_save_printf(dst, NULL, "'%s'\n", in tplg_save_tuple_set() 950 err = tplg_save_printf(dst, NULL, "%u\n", tuple->value); in tplg_save_tuple_set() [all …]
|
D | ctl.c | 128 return tplg_save_printf(dst, pfx, "access.0 %s\n", last); in tplg_save_access() 129 err = tplg_save_printf(dst, pfx, "access [\n"); in tplg_save_access() 136 err = tplg_save_printf(dst, pfx, "\t%s\n", in tplg_save_access() 143 return tplg_save_printf(dst, pfx, "]\n"); in tplg_save_access() 414 err = tplg_save_printf(dst, NULL, "'%s' {\n", elem->id); in tplg_save_tlv() 416 err = tplg_save_printf(dst, pfx, "\tscale {\n"); in tplg_save_tlv() 418 err = tplg_save_printf(dst, pfx, "\t\tmin %i\n", scale->min); in tplg_save_tlv() 420 err = tplg_save_printf(dst, pfx, "\t\tstep %i\n", scale->step); in tplg_save_tlv() 422 err = tplg_save_printf(dst, pfx, "\t\tmute %i\n", scale->mute); in tplg_save_tlv() 424 err = tplg_save_printf(dst, pfx, "\t}\n"); in tplg_save_tlv() [all …]
|
D | text.c | 104 err = tplg_save_printf(dst, pfx, "'%s'.values [\n", elem->id); in tplg_save_text() 106 err = tplg_save_printf(dst, pfx, "\t'%s'\n", texts->items[i]); in tplg_save_text() 108 err = tplg_save_printf(dst, pfx, "]\n"); in tplg_save_text()
|
D | tplg_local.h | 366 int tplg_save_printf(struct tplg_buf *dst, const char *prefix, const char *fmt, ...);
|