1SND_AC97_MIXER(9) Control/Mixer API SND_AC97_MIXER(9)
2
3
4
6 snd_ac97_mixer - create an Codec97 component
7
9 int snd_ac97_mixer(struct snd_ac97_bus * bus,
10 struct snd_ac97_template * template,
11 struct snd_ac97 ** rac97);
12
14 bus
15 the AC97 bus which codec is attached to
16
17 template
18 the template of ac97, including index, callbacks and the private
19 data.
20
21 rac97
22 the pointer to store the new ac97 instance.
23
25 Creates an Codec97 component. An struct snd_ac97 instance is newly
26 allocated and initialized from the template. The codec is then
27 initialized by the standard procedure.
28
29 The template must include the codec number (num) and address (addr),
30 and the private data (private_data).
31
32 The ac97 instance is registered as a low-level device, so you don't
33 have to release it manually.
34
36 Zero if successful, or a negative error code on failure.
37
39Kernel Hackers Manual 3.10 June 2019 SND_AC97_MIXER(9)