Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
diva_dma.c File Reference
#include "platform.h"
#include "diva_dma.h"

Go to the source code of this file.

Data Structures

struct  _diva_dma_map_entry
 

Functions

struct _diva_dma_map_entrydiva_alloc_dma_map (void *os_context, int nentries)
 
void diva_free_dma_mapping (struct _diva_dma_map_entry *pmap)
 
void diva_init_dma_map_entry (struct _diva_dma_map_entry *pmap, int nr, void *virt, dword phys, void *addr_handle)
 
int diva_alloc_dma_map_entry (struct _diva_dma_map_entry *pmap)
 
void diva_free_dma_map_entry (struct _diva_dma_map_entry *pmap, int nr)
 
void diva_get_dma_map_entry (struct _diva_dma_map_entry *pmap, int nr, void **pvirt, dword *pphys)
 
voiddiva_get_entry_handle (struct _diva_dma_map_entry *pmap, int nr)
 

Function Documentation

struct _diva_dma_map_entry* diva_alloc_dma_map ( void os_context,
int  nentries 
)
read

Definition at line 41 of file diva_dma.c.

int diva_alloc_dma_map_entry ( struct _diva_dma_map_entry pmap)

Definition at line 68 of file diva_dma.c.

void diva_free_dma_map_entry ( struct _diva_dma_map_entry pmap,
int  nr 
)

Definition at line 81 of file diva_dma.c.

void diva_free_dma_mapping ( struct _diva_dma_map_entry pmap)

Definition at line 50 of file diva_dma.c.

void diva_get_dma_map_entry ( struct _diva_dma_map_entry pmap,
int  nr,
void **  pvirt,
dword pphys 
)

Definition at line 87 of file diva_dma.c.

void* diva_get_entry_handle ( struct _diva_dma_map_entry pmap,
int  nr 
)

Definition at line 92 of file diva_dma.c.

void diva_init_dma_map_entry ( struct _diva_dma_map_entry pmap,
int  nr,
void virt,
dword  phys,
void addr_handle 
)

Definition at line 58 of file diva_dma.c.