.\" 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_MALLOC_SBUS_PAGES" "" "06 October 2005" "" ""
.SH NAME
snd_malloc_sbus_pages \- allocate pages for SBUS with the given size
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void * snd_malloc_sbus_pages (struct sbus_dev * \fIsdev\fB, size_t \fIsize\fB, dma_addr_t * \fIdma_addr\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIsdev\fB\fR
sbus device pointer
.TP
\fB\fIsize\fB\fR
the size to allocate in bytes
.TP
\fB\fIdma_addr\fB\fR
the pointer to store the physical address of the buffer
.SH "DESCRIPTION"
.PP
Allocates the physically contiguous pages with the given size for
SBUS.
.PP
Returns the pointer of the buffer, or NULL if no enoguh memory.