Lines Matching refs:pfx
541 struct tplg_buf *dst, const char *pfx) in tplg_save_stream_caps() argument
550 err = tplg_save_printf(dst, pfx, "\tformats '"); in tplg_save_stream_caps()
564 err = tplg_save_printf(dst, pfx, "\trates '"); 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()
587 err = tplg_save_printf(dst, pfx, "\tchannels_max %u\n", in tplg_save_stream_caps()
590 err = tplg_save_printf(dst, pfx, "\tperiods_min %u\n", in tplg_save_stream_caps()
593 err = tplg_save_printf(dst, pfx, "\tperiods_max %u\n", in tplg_save_stream_caps()
596 err = tplg_save_printf(dst, pfx, "\tperiod_size_min %u\n", in tplg_save_stream_caps()
599 err = tplg_save_printf(dst, pfx, "\tperiod_size_max %u\n", in tplg_save_stream_caps()
602 err = tplg_save_printf(dst, pfx, "\tbuffer_size_min %u\n", in tplg_save_stream_caps()
605 err = tplg_save_printf(dst, pfx, "\tbuffer_size_max %u\n", in tplg_save_stream_caps()
608 err = tplg_save_printf(dst, pfx, "\tsig_bits %u\n", in tplg_save_stream_caps()
611 err = tplg_save_printf(dst, pfx, "}\n"); in tplg_save_stream_caps()
689 struct tplg_buf *dst, const char *pfx) in tplg_save_streams() argument
727 err = tplg_save_printf(dst, pfx, "pcm.%s {\n", stream_ids[stream]); in tplg_save_streams()
730 err = tplg_save_printf(dst, pfx, "\tcapabilities '%s'\n", s); in tplg_save_streams()
733 err = tplg_save_printf(dst, pfx, "}\n"); in tplg_save_streams()
781 struct tplg_buf *dst, const char *pfx) in tplg_save_fe_dai() argument
787 err = tplg_save_printf(dst, pfx, "dai.'%s'.id %u\n", pcm->dai_name, pcm->dai_id); in tplg_save_fe_dai()
789 err = tplg_save_printf(dst, pfx, "dai.0.id %u\n", pcm->dai_id); in tplg_save_fe_dai()
813 struct tplg_buf *dst, const char *pfx) in save_flags() argument
831 err = tplg_save_printf(dst, pfx, "%s %u\n", in save_flags()
947 struct tplg_buf *dst, const char *pfx) in tplg_save_pcm() argument
953 snprintf(pfx2, sizeof(pfx2), "%s\t", pfx ?: ""); in tplg_save_pcm()
956 err = tplg_save_printf(dst, pfx, "\tindex %u\n", in tplg_save_pcm()
959 err = tplg_save_printf(dst, pfx, "\tid %u\n", in tplg_save_pcm()
962 err = tplg_save_printf(dst, pfx, "\tcompress 1\n"); in tplg_save_pcm()
963 snprintf(pfx2, sizeof(pfx2), "%s\t", pfx ?: ""); in tplg_save_pcm()
969 err = save_flags(pcm->flags, pcm->flag_mask, dst, pfx); in tplg_save_pcm()
974 err = tplg_save_printf(dst, pfx, "}\n"); in tplg_save_pcm()
1084 struct tplg_buf *dst, const char *pfx) in tplg_save_dai() argument
1092 snprintf(pfx2, sizeof(pfx2), "%s\t", pfx ?: ""); in tplg_save_dai()
1095 err = tplg_save_printf(dst, pfx, "\tindex %u\n", in tplg_save_dai()
1098 err = tplg_save_printf(dst, pfx, "\tid %u\n", in tplg_save_dai()
1101 err = tplg_save_printf(dst, pfx, "\tplayback %u\n", in tplg_save_dai()
1104 err = tplg_save_printf(dst, pfx, "\tcapture %u\n", in tplg_save_dai()
1109 err = save_flags(dai->flags, dai->flag_mask, dst, pfx); in tplg_save_dai()
1114 err = tplg_save_printf(dst, pfx, "}\n"); in tplg_save_dai()
1238 struct tplg_buf *dst, const char *pfx) in tplg_save_link() argument
1246 snprintf(pfx2, sizeof(pfx2), "%s\t", pfx ?: ""); in tplg_save_link()
1249 err = tplg_save_printf(dst, pfx, "\tindex %u\n", in tplg_save_link()
1252 err = tplg_save_printf(dst, pfx, "\tid %u\n", in tplg_save_link()
1255 err = tplg_save_printf(dst, pfx, "\tstream_name '%s'\n", in tplg_save_link()
1258 err = tplg_save_printf(dst, pfx, "\tdefault_hw_conf_id %u\n", in tplg_save_link()
1261 err = save_flags(link->flags, link->flag_mask, dst, pfx); in tplg_save_link()
1269 err = tplg_save_printf(dst, pfx, "}\n"); in tplg_save_link()
1318 struct tplg_buf *dst, const char *pfx) in tplg_save_cc() argument
1326 snprintf(pfx2, sizeof(pfx2), "%s\t", pfx ?: ""); in tplg_save_cc()
1329 err = tplg_save_printf(dst, pfx, "\tindex %u\n", in tplg_save_cc()
1332 err = tplg_save_printf(dst, pfx, "\tid %u\n", in tplg_save_cc()
1335 err = tplg_save_printf(dst, pfx, "}\n"); in tplg_save_cc()
1641 struct tplg_buf *dst, const char *pfx) in tplg_save_hw_config() argument
1648 err = tplg_save_printf(dst, pfx, "\tid %u\n", in tplg_save_hw_config()
1651 err = tplg_save_printf(dst, pfx, "\tformat '%s'\n", in tplg_save_hw_config()
1654 err = tplg_save_printf(dst, pfx, "\tbclk '%s'\n", in tplg_save_hw_config()
1658 err = tplg_save_printf(dst, pfx, "\tbclk_freq %u\n", in tplg_save_hw_config()
1661 err = tplg_save_printf(dst, pfx, "\tbclk_invert 1\n"); in tplg_save_hw_config()
1663 err = tplg_save_printf(dst, pfx, "\tfsync_provider '%s'\n", in tplg_save_hw_config()
1667 err = tplg_save_printf(dst, pfx, "\tfsync_freq %u\n", in tplg_save_hw_config()
1670 err = tplg_save_printf(dst, pfx, "\tfsync_invert 1\n"); in tplg_save_hw_config()
1672 err = tplg_save_printf(dst, pfx, "\tmclk_freq %u\n", in tplg_save_hw_config()
1675 err = tplg_save_printf(dst, pfx, "\tmclk '%s'\n", in tplg_save_hw_config()
1679 err = tplg_save_printf(dst, pfx, "\tpm_gate_clocks 1\n"); in tplg_save_hw_config()
1681 err = tplg_save_printf(dst, pfx, "\ttdm_slots %u\n", in tplg_save_hw_config()
1684 err = tplg_save_printf(dst, pfx, "\ttdm_slot_width %u\n", in tplg_save_hw_config()
1687 err = tplg_save_printf(dst, pfx, "\ttx_slots %u\n", in tplg_save_hw_config()
1690 err = tplg_save_printf(dst, pfx, "\trx_slots %u\n", in tplg_save_hw_config()
1693 err = tplg_save_printf(dst, pfx, "\ttx_channels %u\n", in tplg_save_hw_config()
1696 err = tplg_save_printf(dst, pfx, "\trx_channels %u\n", in tplg_save_hw_config()
1699 err = tplg_save_printf(dst, pfx, "}\n"); in tplg_save_hw_config()