SND_DMA_ALLOC_PAGES

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

snd_dma_alloc_pages - allocate the buffer area according to the given type  

SYNOPSIS

"SYNOPSIS"

int snd_dma_alloc_pages (const struct snd_dma_device * dev, size_t size, struct snd_dma_buffer * dmab);  

ARGUMENTS

dev
the buffer device info
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.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 05:30:57 GMT, October 06, 2005