1SND_AC97_PCM_ASSIGN(9)         Control/Mixer API        SND_AC97_PCM_ASSIGN(9)
2
3
4

NAME

6       snd_ac97_pcm_assign - assign AC97 slots to given PCM streams
7

SYNOPSIS

9       int snd_ac97_pcm_assign(struct snd_ac97_bus * bus,
10                               unsigned short pcms_count,
11                               const struct ac97_pcm * pcms);
12

ARGUMENTS

14       bus
15           the ac97 bus instance
16
17       pcms_count
18           count of PCMs to be assigned
19
20       pcms
21           PCMs to be assigned
22

DESCRIPTION

24       It assigns available AC97 slots for given PCMs. If none or only some
25       slots are available, pcm->xxx.slots and pcm->xxx.rslots[] members are
26       reduced and might be zero.
27

RETURN

29       Zero if successful, or a negative error code on failure.
30
32Kernel Hackers Manual 3.10         June 2019            SND_AC97_PCM_ASSIGN(9)
Impressum