Rechercher une page de manuel
snd_dma_alloc_pages
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
snd_dma_alloc_pages - allocate the buffer area according to the given typeSYNOPSIS
- int snd_dma_alloc_pages(int type, struct device * device, size_t size, struct snd_dma_buffer * dmab);
ARGUMENTS
type
- the DMA buffer type
device
- the device pointer
size
- the buffer size to allocate
dmab
- buffer allocation record to store the allocated data
DESCRIPTION
Calls 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.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre