Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
instmem.h File Reference
#include <core/subdev.h>
#include <core/device.h>
#include <core/mm.h>

Go to the source code of this file.

Data Structures

struct  nouveau_instobj
 
struct  nouveau_instmem
 

Macros

#define nouveau_instobj_create(p, e, o, d)   nouveau_instobj_create_((p), (e), (o), sizeof(**d), (void **)d)
 
#define nouveau_instobj_init(p)   nouveau_object_init(&(p)->base)
 
#define nouveau_instobj_fini(p, s)   nouveau_object_fini(&(p)->base, (s))
 
#define _nouveau_instobj_init   nouveau_object_init
 
#define _nouveau_instobj_fini   nouveau_object_fini
 
#define nouveau_instmem_create(p, e, o, d)   nouveau_instmem_create_((p), (e), (o), sizeof(**d), (void **)d)
 
#define nouveau_instmem_destroy(p)   nouveau_subdev_destroy(&(p)->base)
 
#define _nouveau_instmem_dtor   _nouveau_subdev_dtor
 

Functions

int nouveau_instobj_create_ (struct nouveau_object *, struct nouveau_object *, struct nouveau_oclass *, int, void **)
 
void nouveau_instobj_destroy (struct nouveau_instobj *)
 
void _nouveau_instobj_dtor (struct nouveau_object *)
 
int nouveau_instmem_create_ (struct nouveau_object *, struct nouveau_object *, struct nouveau_oclass *, int, void **)
 
int nouveau_instmem_init (struct nouveau_instmem *)
 
int nouveau_instmem_fini (struct nouveau_instmem *, bool)
 
int _nouveau_instmem_init (struct nouveau_object *)
 
int _nouveau_instmem_fini (struct nouveau_object *, bool)
 

Variables

struct nouveau_oclass nv04_instmem_oclass
 
struct nouveau_oclass nv40_instmem_oclass
 
struct nouveau_oclass nv50_instmem_oclass
 

Macro Definition Documentation

#define _nouveau_instmem_dtor   _nouveau_subdev_dtor

Definition at line 65 of file instmem.h.

#define _nouveau_instobj_fini   nouveau_object_fini

Definition at line 39 of file instmem.h.

#define _nouveau_instobj_init   nouveau_object_init

Definition at line 38 of file instmem.h.

#define nouveau_instmem_create (   p,
  e,
  o,
  d 
)    nouveau_instmem_create_((p), (e), (o), sizeof(**d), (void **)d)

Definition at line 56 of file instmem.h.

#define nouveau_instmem_destroy (   p)    nouveau_subdev_destroy(&(p)->base)

Definition at line 58 of file instmem.h.

#define nouveau_instobj_create (   p,
  e,
  o,
  d 
)    nouveau_instobj_create_((p), (e), (o), sizeof(**d), (void **)d)

Definition at line 26 of file instmem.h.

#define nouveau_instobj_fini (   p,
  s 
)    nouveau_object_fini(&(p)->base, (s))

Definition at line 30 of file instmem.h.

#define nouveau_instobj_init (   p)    nouveau_object_init(&(p)->base)

Definition at line 28 of file instmem.h.

Function Documentation

int _nouveau_instmem_fini ( struct nouveau_object ,
bool   
)

Definition at line 131 of file base.c.

int _nouveau_instmem_init ( struct nouveau_object )

Definition at line 124 of file base.c.

void _nouveau_instobj_dtor ( struct nouveau_object )

Definition at line 56 of file base.c.

int nouveau_instmem_create_ ( struct nouveau_object ,
struct nouveau_object ,
struct nouveau_oclass ,
int  ,
void **   
)

Definition at line 63 of file base.c.

int nouveau_instmem_fini ( struct nouveau_instmem ,
bool   
)

Definition at line 104 of file base.c.

int nouveau_instmem_init ( struct nouveau_instmem )

Definition at line 82 of file base.c.

int nouveau_instobj_create_ ( struct nouveau_object ,
struct nouveau_object ,
struct nouveau_oclass ,
int  ,
void **   
)

Definition at line 28 of file base.c.

void nouveau_instobj_destroy ( struct nouveau_instobj )

Definition at line 48 of file base.c.

Variable Documentation

struct nouveau_oclass nv04_instmem_oclass

Definition at line 188 of file nv04.c.

struct nouveau_oclass nv40_instmem_oclass

Definition at line 128 of file nv40.c.

struct nouveau_oclass nv50_instmem_oclass

Definition at line 164 of file nv50.c.