1REGISTER_SOUND_DSP(9) Sound Devices REGISTER_SOUND_DSP(9)
2
3
4
6 register_sound_dsp - register a DSP device
7
9 int register_sound_dsp(const struct file_operations * fops, int dev);
10
12 fops
13 File operations for the driver
14
15 dev
16 Unit number to allocate
17
19 Allocate a DSP device. Unit is the number of the DSP requested. Pass -1
20 to request the next free DSP unit.
21
22 This function allocates both the audio and dsp device entries together
23 and will always allocate them as a matching pair - eg dsp3/audio3
24
26 On success, the allocated number is returned. On failure, a negative
27 error code is returned.
28
30Kernel Hackers Manual 3.10 June 2019 REGISTER_SOUND_DSP(9)