Home
last modified time | relevance | path

Searched refs:ak4531 (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/sound/pci/
Dak4531_codec.c38 static void snd_ak4531_proc_init(struct snd_card *card, struct snd_ak4531 *ak4531);
46 static void snd_ak4531_dump(struct snd_ak4531 *ak4531)
52 idx, ak4531->regs[idx]);
88 struct snd_ak4531 *ak4531 = snd_kcontrol_chip(kcontrol); in snd_ak4531_get_single() local
95 mutex_lock(&ak4531->reg_mutex); in snd_ak4531_get_single()
96 val = (ak4531->regs[reg] >> shift) & mask; in snd_ak4531_get_single()
97 mutex_unlock(&ak4531->reg_mutex); in snd_ak4531_get_single()
107 struct snd_ak4531 *ak4531 = snd_kcontrol_chip(kcontrol); in snd_ak4531_put_single() local
120 mutex_lock(&ak4531->reg_mutex); in snd_ak4531_put_single()
121 val = (ak4531->regs[reg] & ~(mask << shift)) | val; in snd_ak4531_put_single()
[all …]
Dens1370.c412 struct snd_ak4531 *ak4531;
583 static void snd_es1370_codec_write(struct snd_ak4531 *ak4531, in snd_es1370_codec_write() argument
586 struct ensoniq *ensoniq = ak4531->private_data; in snd_es1370_codec_write()
1742 static void snd_ensoniq_mixer_free_ak4531(struct snd_ak4531 *ak4531) in snd_ensoniq_mixer_free_ak4531() argument
1744 struct ensoniq *ensoniq = ak4531->private_data; in snd_ensoniq_mixer_free_ak4531()
1745 ensoniq->u.es1370.ak4531 = NULL; in snd_ensoniq_mixer_free_ak4531()
1751 struct snd_ak4531 ak4531; in snd_ensoniq_1370_mixer() local
1763 memset(&ak4531, 0, sizeof(ak4531)); in snd_ensoniq_1370_mixer()
1764 ak4531.write = snd_es1370_codec_write; in snd_ensoniq_1370_mixer()
1765 ak4531.private_data = ensoniq; in snd_ensoniq_1370_mixer()
[all …]
/Linux-v4.19/include/sound/
Dak4531_codec.h68 void (*write) (struct snd_ak4531 *ak4531, unsigned short reg,
71 void (*private_free) (struct snd_ak4531 *ak4531);
81 void snd_ak4531_suspend(struct snd_ak4531 *ak4531);
82 void snd_ak4531_resume(struct snd_ak4531 *ak4531);