Lines Matching refs:pfx
540 struct tplg_buf *dst, const char *pfx)
549 err = tplg_save_printf(dst, pfx, "\tformats '");
563 err = tplg_save_printf(dst, pfx, "\trates '");
577 err = tplg_save_printf(dst, pfx, "\trate_min %u\n",
580 err = tplg_save_printf(dst, pfx, "\trate_max %u\n",
583 err = tplg_save_printf(dst, pfx, "\tchannels_min %u\n",
586 err = tplg_save_printf(dst, pfx, "\tchannels_max %u\n",
589 err = tplg_save_printf(dst, pfx, "\tperiods_min %u\n",
592 err = tplg_save_printf(dst, pfx, "\tperiods_max %u\n",
595 err = tplg_save_printf(dst, pfx, "\tperiod_size_min %u\n",
598 err = tplg_save_printf(dst, pfx, "\tperiod_size_max %u\n",
601 err = tplg_save_printf(dst, pfx, "\tbuffer_size_min %u\n",
604 err = tplg_save_printf(dst, pfx, "\tbuffer_size_max %u\n",
607 err = tplg_save_printf(dst, pfx, "\tsig_bits %u\n",
610 err = tplg_save_printf(dst, pfx, "}\n");
688 struct tplg_buf *dst, const char *pfx)
726 err = tplg_save_printf(dst, pfx, "pcm.%s {\n", stream_ids[stream]);
729 err = tplg_save_printf(dst, pfx, "\tcapabilities '%s'\n", s);
732 err = tplg_save_printf(dst, pfx, "}\n");
780 struct tplg_buf *dst, const char *pfx)
786 err = tplg_save_printf(dst, pfx, "dai.'%s'.id %u\n", pcm->dai_name, pcm->dai_id);
788 err = tplg_save_printf(dst, pfx, "dai.0.id %u\n", pcm->dai_id);
812 struct tplg_buf *dst, const char *pfx)
832 err = tplg_save_printf(dst, pfx, "%s %u\n",
957 struct tplg_buf *dst, const char *pfx)
963 snprintf(pfx2, sizeof(pfx2), "%s\t", pfx ?: "");
966 err = tplg_save_printf(dst, pfx, "\tindex %u\n",
969 err = tplg_save_printf(dst, pfx, "\tid %u\n",
972 err = tplg_save_printf(dst, pfx, "\tcompress 1\n");
973 snprintf(pfx2, sizeof(pfx2), "%s\t", pfx ?: "");
979 err = save_flags(pcm->flags, pcm->flag_mask, dst, pfx);
984 err = tplg_save_printf(dst, pfx, "}\n");
1103 struct tplg_buf *dst, const char *pfx)
1111 snprintf(pfx2, sizeof(pfx2), "%s\t", pfx ?: "");
1114 err = tplg_save_printf(dst, pfx, "\tindex %u\n",
1117 err = tplg_save_printf(dst, pfx, "\tid %u\n",
1120 err = tplg_save_printf(dst, pfx, "\tplayback %u\n",
1123 err = tplg_save_printf(dst, pfx, "\tcapture %u\n",
1128 err = save_flags(dai->flags, dai->flag_mask, dst, pfx);
1133 err = tplg_save_printf(dst, pfx, "}\n");
1266 struct tplg_buf *dst, const char *pfx)
1274 snprintf(pfx2, sizeof(pfx2), "%s\t", pfx ?: "");
1277 err = tplg_save_printf(dst, pfx, "\tindex %u\n",
1280 err = tplg_save_printf(dst, pfx, "\tid %u\n",
1283 err = tplg_save_printf(dst, pfx, "\tstream_name '%s'\n",
1286 err = tplg_save_printf(dst, pfx, "\tdefault_hw_conf_id %u\n",
1289 err = save_flags(link->flags, link->flag_mask, dst, pfx);
1297 err = tplg_save_printf(dst, pfx, "}\n");
1346 struct tplg_buf *dst, const char *pfx)
1354 snprintf(pfx2, sizeof(pfx2), "%s\t", pfx ?: "");
1357 err = tplg_save_printf(dst, pfx, "\tindex %u\n",
1360 err = tplg_save_printf(dst, pfx, "\tid %u\n",
1363 err = tplg_save_printf(dst, pfx, "}\n");
1671 struct tplg_buf *dst, const char *pfx)
1678 err = tplg_save_printf(dst, pfx, "\tid %u\n",
1681 err = tplg_save_printf(dst, pfx, "\tformat '%s'\n",
1684 err = tplg_save_printf(dst, pfx, "\tbclk '%s'\n",
1688 err = tplg_save_printf(dst, pfx, "\tbclk_freq %u\n",
1691 err = tplg_save_printf(dst, pfx, "\tbclk_invert 1\n");
1693 err = tplg_save_printf(dst, pfx, "\tfsync_provider '%s'\n",
1697 err = tplg_save_printf(dst, pfx, "\tfsync_freq %u\n",
1700 err = tplg_save_printf(dst, pfx, "\tfsync_invert 1\n");
1702 err = tplg_save_printf(dst, pfx, "\tmclk_freq %u\n",
1705 err = tplg_save_printf(dst, pfx, "\tmclk '%s'\n",
1709 err = tplg_save_printf(dst, pfx, "\tpm_gate_clocks 1\n");
1711 err = tplg_save_printf(dst, pfx, "\ttdm_slots %u\n",
1714 err = tplg_save_printf(dst, pfx, "\ttdm_slot_width %u\n",
1717 err = tplg_save_printf(dst, pfx, "\ttx_slots %u\n",
1720 err = tplg_save_printf(dst, pfx, "\trx_slots %u\n",
1723 err = tplg_save_printf(dst, pfx, "\ttx_channels %u\n",
1726 err = tplg_save_printf(dst, pfx, "\trx_channels %u\n",
1729 err = tplg_save_printf(dst, pfx, "}\n");