.\" 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_PCM_LIB_PREALLOCATE_PCI_PAGES" "" "06 October 2005" "" "" .SH NAME snd_pcm_lib_preallocate_pci_pages \- pre-allocation for the PCI bus .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int snd_pcm_lib_preallocate_pci_pages (struct pci_dev * \fIpci\fB, snd_pcm_substream_t * \fIsubstream\fB, size_t \fIsize\fB, size_t \fImax\fB); \fR .SH "ARGUMENTS" .TP \fB\fIpci\fB\fR pci device .TP \fB\fIsubstream\fB\fR substream to assign the buffer .TP \fB\fIsize\fB\fR the requested pre-allocation size in bytes .TP \fB\fImax\fB\fR max. buffer size acceptable for the changes via proc file .SH "DESCRIPTION" .PP Do pre-allocation for the PCI bus. .PP Returns zero if successful, or a negative error code on failure. .SH "DESCRIPTION" .PP Do pre-allocation for the PCI bus. .PP Returns zero if successful, or a negative error code on failure.