Lines Matching defs:tplg
420 static int tplg_save(snd_tplg_t *tplg, struct tplg_buf *dst,
435 list = (struct list_head *)((void *)tplg + tptr->loff);
478 err = tptr->save(tplg, elem, dst, count > 1 ? pfx2 : prefix);
496 err = tptr->gsave(tplg, gindex, dst, prefix);
514 static int tplg_index_groups(snd_tplg_t *tplg, int **indexes)
528 list = (struct list_head *)((void *)tplg + tptr->loff);
557 int snd_tplg_save(snd_tplg_t *tplg, char **dst, int flags)
565 assert(tplg);
572 err = tplg_index_groups(tplg, &indexes);
580 err = tplg_save(tplg, &buf, *a, "\t");
586 err = tplg_save(tplg, &buf, -1, NULL);