21 #ifndef __ALSA_TOPOLOGY_H
22 #define __ALSA_TOPOLOGY_H
460 #define SND_TPLG_MAX_CHAN 8
503 const char *outfile);
585 struct snd_soc_tplg_private *
priv;
598 struct snd_soc_tplg_private *
priv;
611 struct snd_soc_tplg_private *
priv;
646 struct snd_soc_tplg_private *
priv;
Definition: topology.h:470
struct snd_soc_tplg_private * priv
Definition: topology.h:611
const char * ctl
Definition: topology.h:619
int items
Definition: topology.h:594
struct snd_tplg_channel_elem channel[SND_TPLG_MAX_CHAN]
Definition: topology.h:544
const int ** values
Definition: topology.h:597
Template type for enumerated control objects.
Definition: topology.h:591
Definition: topology.h:532
Template type for array of DAPM graph elements.
Definition: topology.h:626
Definition: topology.h:479
Definition: topology.h:480
snd_tplg_type
Definition: topology.h:466
int mask
Definition: topology.h:595
struct snd_tplg_enum_template * enum_ctl
Definition: topology.h:663
struct snd_tplg_bytes_template * bytes_ctl
Definition: topology.h:662
Definition: topology.h:476
struct snd_soc_tplg_private * priv
Definition: topology.h:585
struct snd_tplg_channel_map_template * map
Definition: topology.h:593
Definition: topology.h:475
int access
Definition: topology.h:570
struct snd_tplg_io_ops_template ops
Definition: topology.h:571
struct snd_tplg_tlv_template hdr
Definition: topology.h:523
int snd_tplg_add_object(snd_tplg_t *tplg, snd_tplg_obj_template_t *t)
Register topology template object.
Definition: parser.c:309
Definition: topology.h:468
snd_tplg_t * snd_tplg_new(void)
Create a new topology parser instance.
Definition: parser.c:376
struct snd_tplg_widget_template * widget
Definition: topology.h:660
Template type for control objects.
Definition: topology.h:567
int platform_max
Definition: topology.h:583
struct snd_tplg_io_ops_template ext_ops
Definition: topology.h:610
unsigned int length
Definition: topology.h:551
Definition: topology.h:654
struct snd_soc_tplg_private * priv
Definition: topology.h:598
int count
Definition: topology.h:627
struct snd_tplg_ctl_template hdr
Definition: topology.h:592
struct snd_tplg snd_tplg_t
Definition: topology.h:463
int reg
Definition: topology.h:534
Template type for TLV Scale objects.
Definition: topology.h:522
int vendor_type
Definition: topology.h:658
struct snd_tplg_ctl_template hdr
Definition: topology.h:605
void snd_tplg_free(snd_tplg_t *tplg)
Free a topology parser instance.
Definition: parser.c:401
int max
Definition: topology.h:606
int max
Definition: topology.h:582
int mute
Definition: topology.h:526
struct snd_tplg_graph_elem elem[0]
Definition: topology.h:628
int num_regs
Definition: topology.h:609
struct snd_tplg_mixer_template * mixer
Definition: topology.h:661
Definition: topology.h:471
#define SND_TPLG_MAX_CHAN
Definition: topology.h:460
const char ** texts
Definition: topology.h:596
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:263
int snd_tplg_set_version(snd_tplg_t *tplg, unsigned int version)
Set an optional vendor specific version number.
Definition: parser.c:364
const char * src
Definition: topology.h:618
Template type for single DAPM graph element.
Definition: topology.h:617
Definition: topology.h:473
int min
Definition: topology.h:524
void snd_tplg_verbose(snd_tplg_t *tplg, int verbose)
Enable verbose reporting of binary file output.
Definition: parser.c:371
const char * sink
Definition: topology.h:620
Template type for TLV Scale objects.
Definition: topology.h:604
Template type for object operations mapping.
Definition: topology.h:558
struct snd_tplg_ctl_template hdr
Definition: topology.h:579
int put
Definition: topology.h:560
struct snd_tplg_channel_map_template * map
Definition: topology.h:580
int mask
Definition: topology.h:607
Template type for all TLV objects.
Definition: topology.h:515
unsigned int len
Definition: seq_event.h:198
const char * name
Definition: topology.h:569
Definition: topology.h:474
Definition: topology.h:477
Definition: topology.h:478
Definition: topology.h:467
int shift
Definition: topology.h:535
const void * data
Definition: topology.h:552
int invert
Definition: topology.h:584
int type
Definition: topology.h:516
int size
Definition: topology.h:533
struct snd_tplg_graph_template * graph
Definition: topology.h:664
Template type for mixer control objects.
Definition: topology.h:578
int snd_tplg_set_manifest_data(snd_tplg_t *tplg, const void *data, int len)
Attach private data to topology manifest.
Definition: parser.c:357
int type
Definition: topology.h:568
int num_channels
Definition: topology.h:543
Template type for channel mapping.
Definition: topology.h:542
int min
Definition: topology.h:581
struct snd_tplg_tlv_template * tlv
Definition: topology.h:572
int base
Definition: topology.h:608
int info
Definition: topology.h:561
int snd_tplg_build(snd_tplg_t *tplg, const char *outfile)
Build all registered topology data into binary file.
Definition: parser.c:328
int step
Definition: topology.h:525
Definition: topology.h:472
int index
Definition: topology.h:656
Template type for private data objects.
Definition: topology.h:550
int id
Definition: topology.h:536
int version
Definition: topology.h:657
Definition: topology.h:469