Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
dmm.h File Reference
#include <dspbridge/dbdefs.h>

Go to the source code of this file.

Data Structures

struct  dmm_mgrattrs
 

Macros

#define DMMPOOLSIZE   0x4000000
 

Functions

int dmm_get_handle (void *hprocessor, struct dmm_object **dmm_manager)
 
int dmm_reserve_memory (struct dmm_object *dmm_mgr, u32 size, u32 *prsv_addr)
 
int dmm_un_reserve_memory (struct dmm_object *dmm_mgr, u32 rsv_addr)
 
int dmm_map_memory (struct dmm_object *dmm_mgr, u32 addr, u32 size)
 
int dmm_un_map_memory (struct dmm_object *dmm_mgr, u32 addr, u32 *psize)
 
int dmm_destroy (struct dmm_object *dmm_mgr)
 
int dmm_delete_tables (struct dmm_object *dmm_mgr)
 
int dmm_create (struct dmm_object **dmm_manager, struct dev_object *hdev_obj, const struct dmm_mgrattrs *mgr_attrts)
 
int dmm_create_tables (struct dmm_object *dmm_mgr, u32 addr, u32 size)
 

Macro Definition Documentation

#define DMMPOOLSIZE   0x4000000

Definition at line 32 of file dmm.h.

Function Documentation

int dmm_create ( struct dmm_object **  dmm_manager,
struct dev_object hdev_obj,
const struct dmm_mgrattrs mgr_attrts 
)

Definition at line 115 of file dmm.c.

int dmm_create_tables ( struct dmm_object dmm_mgr,
u32  addr,
u32  size 
)

Definition at line 80 of file dmm.c.

int dmm_delete_tables ( struct dmm_object dmm_mgr)

Definition at line 160 of file dmm.c.

int dmm_destroy ( struct dmm_object dmm_mgr)

Definition at line 140 of file dmm.c.

int dmm_get_handle ( void hprocessor,
struct dmm_object **  dmm_manager 
)

Definition at line 178 of file dmm.c.

int dmm_map_memory ( struct dmm_object dmm_mgr,
u32  addr,
u32  size 
)

Definition at line 202 of file dmm.c.

int dmm_reserve_memory ( struct dmm_object dmm_mgr,
u32  size,
u32 prsv_addr 
)

Definition at line 231 of file dmm.c.

int dmm_un_map_memory ( struct dmm_object dmm_mgr,
u32  addr,
u32 psize 
)

Definition at line 283 of file dmm.c.

int dmm_un_reserve_memory ( struct dmm_object dmm_mgr,
u32  rsv_addr 
)

Definition at line 313 of file dmm.c.