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

Go to the source code of this file.

Data Structures

struct  nouveau_gpuobj_class
 

Functions

void nouveau_gpuobj_destroy (struct nouveau_gpuobj *gpuobj)
 
int nouveau_gpuobj_create_ (struct nouveau_object *parent, struct nouveau_object *engine, struct nouveau_oclass *oclass, u32 pclass, struct nouveau_object *pargpu, u32 size, u32 align, u32 flags, int length, void **pobject)
 
void _nouveau_gpuobj_dtor (struct nouveau_object *object)
 
int _nouveau_gpuobj_init (struct nouveau_object *object)
 
int _nouveau_gpuobj_fini (struct nouveau_object *object, bool suspend)
 
u32 _nouveau_gpuobj_rd32 (struct nouveau_object *object, u32 addr)
 
void _nouveau_gpuobj_wr32 (struct nouveau_object *object, u32 addr, u32 data)
 
int nouveau_gpuobj_new (struct nouveau_object *parent, struct nouveau_object *pargpu, u32 size, u32 align, u32 flags, struct nouveau_gpuobj **pgpuobj)
 
int nouveau_gpuobj_map (struct nouveau_gpuobj *gpuobj, u32 access, struct nouveau_vma *vma)
 
int nouveau_gpuobj_map_vm (struct nouveau_gpuobj *gpuobj, struct nouveau_vm *vm, u32 access, struct nouveau_vma *vma)
 
void nouveau_gpuobj_unmap (struct nouveau_vma *vma)
 
int nouveau_gpuobj_dup (struct nouveau_object *parent, struct nouveau_gpuobj *base, struct nouveau_gpuobj **pgpuobj)
 

Function Documentation

void _nouveau_gpuobj_dtor ( struct nouveau_object object)

Definition at line 168 of file gpuobj.c.

int _nouveau_gpuobj_fini ( struct nouveau_object object,
bool  suspend 
)

Definition at line 180 of file gpuobj.c.

int _nouveau_gpuobj_init ( struct nouveau_object object)

Definition at line 174 of file gpuobj.c.

u32 _nouveau_gpuobj_rd32 ( struct nouveau_object object,
u32  addr 
)

Definition at line 186 of file gpuobj.c.

void _nouveau_gpuobj_wr32 ( struct nouveau_object object,
u32  addr,
u32  data 
)

Definition at line 196 of file gpuobj.c.

int nouveau_gpuobj_create_ ( struct nouveau_object parent,
struct nouveau_object engine,
struct nouveau_oclass oclass,
u32  pclass,
struct nouveau_object pargpu,
u32  size,
u32  align,
u32  flags,
int  length,
void **  pobject 
)

Definition at line 54 of file gpuobj.c.

void nouveau_gpuobj_destroy ( struct nouveau_gpuobj gpuobj)

Definition at line 33 of file gpuobj.c.

int nouveau_gpuobj_dup ( struct nouveau_object parent,
struct nouveau_gpuobj base,
struct nouveau_gpuobj **  pgpuobj 
)

Definition at line 307 of file gpuobj.c.

int nouveau_gpuobj_map ( struct nouveau_gpuobj gpuobj,
u32  access,
struct nouveau_vma vma 
)

Definition at line 241 of file gpuobj.c.

int nouveau_gpuobj_map_vm ( struct nouveau_gpuobj gpuobj,
struct nouveau_vm vm,
u32  access,
struct nouveau_vma vma 
)

Definition at line 258 of file gpuobj.c.

int nouveau_gpuobj_new ( struct nouveau_object parent,
struct nouveau_object pargpu,
u32  size,
u32  align,
u32  flags,
struct nouveau_gpuobj **  pgpuobj 
)

Definition at line 219 of file gpuobj.c.

void nouveau_gpuobj_unmap ( struct nouveau_vma vma)

Definition at line 275 of file gpuobj.c.