Query: snd_dma_alloc_pages
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SND_DMA_ALLOC_PAGES(9) Sound Devices SND_DMA_ALLOC_PAGES(9)NAMEsnd_dma_alloc_pages - allocate the buffer area according to the given typeSYNOPSISint snd_dma_alloc_pages(int type, struct device * device, size_t size, struct snd_dma_buffer * dmab);ARGUMENTStype the DMA buffer type device the device pointer size the buffer size to allocate dmab buffer allocation record to store the allocated dataDESCRIPTIONCalls the memory-allocator function for the corresponding buffer type. Returns zero if the buffer with the given size is allocated successfuly, other a negative value at error.COPYRIGHTKernel Hackers Manual 2.6. July 2010 SND_DMA_ALLOC_PAGES(9)