21 #ifndef __ALSA_TOPOLOGY_H 22 #define __ALSA_TOPOLOGY_H 462 #define SND_TPLG_MAX_CHAN 8 505 const char *outfile);
587 struct snd_soc_tplg_private *
priv;
600 struct snd_soc_tplg_private *
priv;
613 struct snd_soc_tplg_private *
priv;
648 struct snd_soc_tplg_private *
priv;
Definition: topology.h:472
struct snd_soc_tplg_private * priv
Definition: topology.h:613
const char * ctl
Definition: topology.h:621
const char * name
Definition: topology.h:669
int rate
Definition: topology.h:659
uint64_t formats
Definition: topology.h:670
int items
Definition: topology.h:596
const int ** values
Definition: topology.h:599
Template type for enumerated control objects.
Definition: topology.h:593
Definition: topology.h:534
unsigned int rate_min
Definition: topology.h:672
Template type for array of DAPM graph elements.
Definition: topology.h:628
Definition: topology.h:481
Definition: topology.h:482
snd_tplg_type
Definition: topology.h:468
struct snd_tplg_pcm_template * pcm
Definition: topology.h:724
int mask
Definition: topology.h:597
struct snd_tplg_enum_template * enum_ctl
Definition: topology.h:722
struct snd_tplg_bytes_template * bytes_ctl
Definition: topology.h:721
Definition: topology.h:478
struct snd_soc_tplg_private * priv
Definition: topology.h:587
struct snd_tplg_channel_map_template * map
Definition: topology.h:595
Definition: topology.h:477
int access
Definition: topology.h:572
int snd_tplg_add_object(snd_tplg_t *tplg, snd_tplg_obj_template_t *t)
Register topology template object.
Definition: parser.c:301
Definition: topology.h:470
snd_tplg_t * snd_tplg_new(void)
Create a new topology parser instance.
Definition: parser.c:373
struct snd_tplg_widget_template * widget
Definition: topology.h:719
Template type for control objects.
Definition: topology.h:569
int platform_max
Definition: topology.h:585
unsigned int length
Definition: topology.h:553
Definition: topology.h:713
const char * name
Definition: topology.h:704
unsigned int buffer_size_max
Definition: topology.h:681
struct snd_soc_tplg_private * priv
Definition: topology.h:600
unsigned int rate_max
Definition: topology.h:673
int count
Definition: topology.h:629
const char * dai_name
Definition: topology.h:689
int format
Definition: topology.h:658
struct snd_tplg snd_tplg_t
Definition: topology.h:465
int reg
Definition: topology.h:536
Template type for TLV Scale objects.
Definition: topology.h:524
int vendor_type
Definition: topology.h:717
Stream configurations.
Definition: topology.h:656
void snd_tplg_free(snd_tplg_t *tplg)
Free a topology parser instance.
Definition: parser.c:398
int max
Definition: topology.h:608
unsigned int capture
Definition: topology.h:693
int max
Definition: topology.h:584
int buffer_bytes
Definition: topology.h:661
int mute
Definition: topology.h:528
int num_regs
Definition: topology.h:611
struct snd_tplg_mixer_template * mixer
Definition: topology.h:720
Definition: topology.h:473
#define SND_TPLG_MAX_CHAN
Definition: topology.h:462
Template type for PCM (FE DAI & DAI links).
Definition: topology.h:687
const char ** texts
Definition: topology.h:598
int snd_tplg_build_file(snd_tplg_t *tplg, const char *infile, const char *outfile)
Parse and build topology text file into binary file.
Definition: parser.c:255
int snd_tplg_set_version(snd_tplg_t *tplg, unsigned int version)
Set an optional vendor specific version number.
Definition: parser.c:361
unsigned int buffer_size_min
Definition: topology.h:680
const char * src
Definition: topology.h:620
Template type for single DAPM graph element.
Definition: topology.h:619
Definition: topology.h:475
int min
Definition: topology.h:526
void snd_tplg_verbose(snd_tplg_t *tplg, int verbose)
Enable verbose reporting of binary file output.
Definition: parser.c:368
const char * sink
Definition: topology.h:622
Template type for TLV Scale objects.
Definition: topology.h:606
Template type for object operations mapping.
Definition: topology.h:560
int put
Definition: topology.h:562
struct snd_tplg_channel_map_template * map
Definition: topology.h:582
int mask
Definition: topology.h:609
unsigned int pcm_id
Definition: topology.h:690
Template type for all TLV objects.
Definition: topology.h:517
unsigned int len
Definition: seq_event.h:198
unsigned int periods_max
Definition: topology.h:677
const char * name
Definition: topology.h:571
int id
Definition: topology.h:705
Definition: topology.h:476
unsigned int periods_min
Definition: topology.h:676
Definition: topology.h:479
Definition: topology.h:480
Definition: topology.h:469
int shift
Definition: topology.h:537
const void * data
Definition: topology.h:554
int invert
Definition: topology.h:586
int num_streams
Definition: topology.h:696
int type
Definition: topology.h:518
int size
Definition: topology.h:535
struct snd_tplg_graph_template * graph
Definition: topology.h:723
Template type for BE and CC DAI Links.
Definition: topology.h:703
Template type for mixer control objects.
Definition: topology.h:580
int num_streams
Definition: topology.h:706
struct snd_tplg_link_template * link
Definition: topology.h:725
unsigned int channels_min
Definition: topology.h:674
const char * name
Definition: topology.h:657
unsigned int dai_id
Definition: topology.h:691
int snd_tplg_set_manifest_data(snd_tplg_t *tplg, const void *data, int len)
Attach private data to topology manifest.
Definition: parser.c:354
unsigned int playback
Definition: topology.h:692
int type
Definition: topology.h:570
int channels
Definition: topology.h:662
int num_channels
Definition: topology.h:545
unsigned int period_size_min
Definition: topology.h:678
Template type for channel mapping.
Definition: topology.h:544
unsigned int period_size_max
Definition: topology.h:679
unsigned int compress
Definition: topology.h:694
int min
Definition: topology.h:583
unsigned int channels_max
Definition: topology.h:675
struct snd_tplg_tlv_template * tlv
Definition: topology.h:574
int base
Definition: topology.h:610
int info
Definition: topology.h:563
int snd_tplg_build(snd_tplg_t *tplg, const char *outfile)
Build all registered topology data into binary file.
Definition: parser.c:325
int step
Definition: topology.h:527
Definition: topology.h:474
unsigned int rates
Definition: topology.h:671
int index
Definition: topology.h:715
Template type for private data objects.
Definition: topology.h:552
int id
Definition: topology.h:538
Stream Capabilities.
Definition: topology.h:668
int period_bytes
Definition: topology.h:660
int version
Definition: topology.h:716
Definition: topology.h:471
const char * pcm_name
Definition: topology.h:688