.\" 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 "SND_DMA_ALLOC_PAGES" "" "06 October 2005" "" ""
.SH NAME
snd_dma_alloc_pages \- allocate the buffer area according to the given type
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int snd_dma_alloc_pages (const struct snd_dma_device * \fIdev\fB, size_t \fIsize\fB, struct snd_dma_buffer * \fIdmab\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdev\fB\fR
the buffer device info
.TP
\fB\fIsize\fB\fR
the buffer size to allocate
.TP
\fB\fIdmab\fB\fR
buffer allocation record to store the allocated data
.SH "DESCRIPTION"
.PP
Calls the memory-allocator function for the corresponding
buffer type.
.PP
Returns zero if the buffer with the given size is allocated successfuly,
other a negative value at error.