Searched refs:ec (Results 1 – 4 of 4) sorted by relevance
/sound/soc/ |
D | soc-topology.c | 842 struct snd_soc_tplg_enum_control *ec) in soc_tplg_denum_create_texts() argument 847 kzalloc(sizeof(char *) * ec->items, GFP_KERNEL); in soc_tplg_denum_create_texts() 851 for (i = 0; i < ec->items; i++) { in soc_tplg_denum_create_texts() 853 if (strnlen(ec->texts[i], SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_denum_create_texts() 859 se->dobj.control.dtexts[i] = kstrdup(ec->texts[i], GFP_KERNEL); in soc_tplg_denum_create_texts() 876 struct snd_soc_tplg_enum_control *ec) in soc_tplg_denum_create_values() argument 878 if (ec->items > sizeof(*ec->values)) in soc_tplg_denum_create_values() 881 se->dobj.control.dvalues = kmemdup(ec->values, in soc_tplg_denum_create_values() 882 ec->items * sizeof(u32), in soc_tplg_denum_create_values() 893 struct snd_soc_tplg_enum_control *ec; in soc_tplg_denum_create() local [all …]
|
/sound/pci/ctxfi/ |
D | cthardware.h | 158 int (*dai_srt_set_ec)(void *blk, unsigned int ec);
|
D | cthw20k2.c | 854 static int dai_srt_set_ec(void *blk, unsigned int ec) in dai_srt_set_ec() argument 858 set_field(&ctl->srt, SRTCTL_EC, ec ? 1 : 0); in dai_srt_set_ec()
|
D | cthw20k1.c | 864 static int dai_srt_set_ec(void *blk, unsigned int ec) in dai_srt_set_ec() argument 868 set_field(&ctl->srtctl, SRTCTL_EC, ec ? 1 : 0); in dai_srt_set_ec()
|