.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "REGISTER_SOUND_DSP" "" "06 October 2005" "" "" .SH NAME register_sound_dsp \- register a DSP device .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int register_sound_dsp (struct file_operations * \fIfops\fB, int \fIdev\fB); \fR .SH "ARGUMENTS" .TP \fB\fIfops\fB\fR File operations for the driver .TP \fB\fIdev\fB\fR Unit number to allocate .SH "DESCRIPTION" .PP Allocate a DSP device. Unit is the number of the DSP requested. Pass -1 to request the next free DSP unit. On success the allocated number is returned, on failure a negative error code is returned. .PP This function allocates both the audio and dsp device entries together and will always allocate them as a matching pair - eg dsp3/audio3