Lines Matching defs:tplg
143 static int load_topology(snd_tplg_t **tplg, char *config,
148 *tplg = snd_tplg_create(cflags);
149 if (*tplg == NULL) {
154 err = snd_tplg_load(*tplg, config, config_size);
158 snd_tplg_free(*tplg);
221 snd_tplg_t *tplg;
229 err = load_topology(&tplg, config, size, cflags);
233 err = snd_tplg_save(tplg, &text, sflags);
234 snd_tplg_free(tplg);
315 snd_tplg_t *tplg;
337 err = load_topology(&tplg, pconfig, size, cflags);
342 err = load_topology(&tplg, config, config_size, cflags);
347 err = snd_tplg_build_bin(tplg, &bin, &size);
348 snd_tplg_free(tplg);
362 snd_tplg_t *tplg;
370 tplg = snd_tplg_create(cflags);
371 if (tplg == NULL) {
375 err = snd_tplg_decode(tplg, bin, size, dflags);
378 snd_tplg_free(tplg);
383 err = snd_tplg_save(tplg, &text, sflags);
384 snd_tplg_free(tplg);