Lines Matching refs:tplg_save_printf
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()
426 err = tplg_save_printf(dst, pfx, "}\n"); in tplg_save_tlv()
570 err = tplg_save_printf(dst, NULL, "'%s' {\n", elem->id); in tplg_save_control_bytes()
574 err = tplg_save_printf(dst, pfx, "\tindex %u\n", elem->index); in tplg_save_control_bytes()
576 err = tplg_save_printf(dst, pfx, "\tbase %u\n", be->base); in tplg_save_control_bytes()
578 err = tplg_save_printf(dst, pfx, "\tnum_regs %u\n", be->num_regs); in tplg_save_control_bytes()
580 err = tplg_save_printf(dst, pfx, "\tmax %u\n", be->max); in tplg_save_control_bytes()
582 err = tplg_save_printf(dst, pfx, "\tmask %u\n", be->mask); in tplg_save_control_bytes()
596 err = tplg_save_printf(dst, pfx, "}\n"); in tplg_save_control_bytes()
710 err = tplg_save_printf(dst, NULL, "'%s' {\n", elem->id); in tplg_save_control_enum()
714 err = tplg_save_printf(dst, pfx, "\tindex %u\n", elem->index); in tplg_save_control_enum()
729 err = tplg_save_printf(dst, pfx, "}\n"); in tplg_save_control_enum()
870 err = tplg_save_printf(dst, NULL, "'%s' {\n", elem->id); in tplg_save_control_mixer()
875 err = tplg_save_printf(dst, pfx, "\tindex %u\n", elem->index); in tplg_save_control_mixer()
880 err = tplg_save_printf(dst, pfx, "\tmax %u\n", mc->max); in tplg_save_control_mixer()
882 err = tplg_save_printf(dst, pfx, "\tinvert 1\n"); in tplg_save_control_mixer()
884 err = tplg_save_printf(dst, pfx, "\tinvert 1\n"); in tplg_save_control_mixer()
896 err = tplg_save_printf(dst, pfx, "}\n"); in tplg_save_control_mixer()