doxygen: topology: silence 'not documented' warnings

This commit is contained in:
borine 2023-07-30 12:05:13 +01:00
parent b5cbe912ba
commit c2689003cb
5 changed files with 41 additions and 26 deletions

View file

@ -20,12 +20,14 @@
#include "list.h"
#include "tplg_local.h"
#ifndef DOC_HIDDEN
#define ENUM_VAL_SIZE (SNDRV_CTL_ELEM_ID_NAME_MAXLEN >> 2)
struct ctl_access_elem {
const char *name;
unsigned int value;
};
#endif /* DOC_HIDDEN */
/* CTL access strings and codes */
/* place the multi-bit values on top - like read_write - for save */

View file

@ -713,11 +713,13 @@ static int build_tuples(snd_tplg_t *tplg, struct tplg_elem *elem)
return 0;
}
#ifndef DOC_HIDDEN
struct tuple_type {
unsigned int type;
const char *name;
unsigned int size;
};
#endif /* DOC_HIDDEN */
static struct tuple_type tuple_types[] = {
{

View file

@ -482,10 +482,12 @@ struct tplg_elem* tplg_elem_new_common(snd_tplg_t *tplg,
return elem;
}
#ifndef DOC_HIDDEN
struct tplg_alloc {
struct list_head list;
void *data[0];
};
#endif /* DOC_HIDDEN */
void *tplg_calloc(struct list_head *heap, size_t size)
{

View file

@ -1365,10 +1365,12 @@ int tplg_save_cc(snd_tplg_t *tplg ATTRIBUTE_UNUSED,
return err;
}
#ifndef DOC_HIDDEN
struct audio_hw_format {
unsigned int type;
const char *name;
};
#endif /* DOC_HIDDEN */
static struct audio_hw_format audio_hw_formats[] = {
{