Searched refs:enum_ctl (Results 1 – 3 of 3) sorted by relevance
/third_party/alsa-lib/src/topology/ |
D | ctl.c | 1040 int tplg_add_enum(snd_tplg_t *tplg, struct snd_tplg_enum_template *enum_ctl, in tplg_add_enum() argument 1048 tplg_dbg(" Control Enum: %s", enum_ctl->hdr.name); in tplg_add_enum() 1050 if (enum_ctl->hdr.type != SND_SOC_TPLG_TYPE_ENUM) { in tplg_add_enum() 1051 SNDERR("invalid enum type %d", enum_ctl->hdr.type); in tplg_add_enum() 1055 elem = tplg_elem_new_common(tplg, NULL, enum_ctl->hdr.name, in tplg_add_enum() 1062 ret = init_ctl_hdr(tplg, elem, &ec->hdr, &enum_ctl->hdr); in tplg_add_enum() 1068 num_items = enum_ctl->items < SND_SOC_TPLG_NUM_TEXTS ? in tplg_add_enum() 1069 enum_ctl->items : SND_SOC_TPLG_NUM_TEXTS; in tplg_add_enum() 1071 ec->mask = enum_ctl->mask; in tplg_add_enum() 1072 ec->count = enum_ctl->items; in tplg_add_enum() [all …]
|
D | tplg_local.h | 352 int tplg_add_enum(snd_tplg_t *tplg, struct snd_tplg_enum_template *enum_ctl,
|
/third_party/alsa-lib/include/ |
D | topology.h | 1096 struct snd_tplg_enum_template *enum_ctl; /*!< Enum control */ member
|