.\" 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_PCI_PAGES" "" "06 October 2005" "" "" .SH NAME snd_malloc_pci_pages \- allocate pages for PCI bus with the given size .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void * snd_malloc_pci_pages (struct pci_dev * \fIpci\fB, size_t \fIsize\fB, dma_addr_t * \fIdma_addr\fB); \fR .SH "ARGUMENTS" .TP \fB\fIpci\fB\fR the pci 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 PCI bus. .PP Returns the pointer of the buffer, or NULL if no enoguh memory.