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

Go to the source code of this file.

Data Structures

struct  rmm_header
 
struct  rmm_ovly_sect
 
struct  rmm_target_obj
 

Functions

int rmm_alloc (struct rmm_target_obj *target, u32 segid, u32 size, u32 align, u32 *dsp_address, bool reserve)
 
int rmm_create (struct rmm_target_obj **target_obj, struct rmm_segment seg_tab[], u32 num_segs)
 
void rmm_delete (struct rmm_target_obj *target)
 
bool rmm_free (struct rmm_target_obj *target, u32 segid, u32 dsp_addr, u32 size, bool reserved)
 
bool rmm_stat (struct rmm_target_obj *target, enum dsp_memtype segid, struct dsp_memstat *mem_stat_buf)
 

Function Documentation

int rmm_alloc ( struct rmm_target_obj target,
u32  segid,
u32  size,
u32  align,
u32 dsp_address,
bool  reserve 
)

Definition at line 91 of file rmm.c.

int rmm_create ( struct rmm_target_obj **  target_obj,
struct rmm_segment  seg_tab[],
u32  num_segs 
)

Definition at line 153 of file rmm.c.

void rmm_delete ( struct rmm_target_obj target)

Definition at line 230 of file rmm.c.

bool rmm_free ( struct rmm_target_obj target,
u32  segid,
u32  dsp_addr,
u32  size,
bool  reserved 
)

Definition at line 263 of file rmm.c.

bool rmm_stat ( struct rmm_target_obj target,
enum dsp_memtype  segid,
struct dsp_memstat mem_stat_buf 
)

Definition at line 295 of file rmm.c.