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

Go to the source code of this file.

Macros

#define hprintk(h, l, f, a...)
 

Functions

int nouveau_handle_init (struct nouveau_handle *handle)
 
int nouveau_handle_fini (struct nouveau_handle *handle, bool suspend)
 
int nouveau_handle_create (struct nouveau_object *parent, u32 _parent, u32 _handle, struct nouveau_object *object, struct nouveau_handle **phandle)
 
void nouveau_handle_destroy (struct nouveau_handle *handle)
 
struct nouveau_objectnouveau_handle_ref (struct nouveau_object *parent, u32 name)
 
struct nouveau_handlenouveau_handle_get_class (struct nouveau_object *engctx, u16 oclass)
 
struct nouveau_handlenouveau_handle_get_vinst (struct nouveau_object *engctx, u64 vinst)
 
struct nouveau_handlenouveau_handle_get_cinst (struct nouveau_object *engctx, u32 cinst)
 
void nouveau_handle_put (struct nouveau_handle *handle)
 

Macro Definition Documentation

#define hprintk (   h,
  l,
  f,
  a... 
)
Value:
do { \
struct nouveau_handle *p = (h)->parent; u32 n = p ? p->name : ~0; \
nv_printk((c), l, "0x%08x:0x%08x "f, n, (h)->name, ##a); \
} while(0)

Definition at line 29 of file handle.c.

Function Documentation

int nouveau_handle_create ( struct nouveau_object parent,
u32  _parent,
u32  _handle,
struct nouveau_object object,
struct nouveau_handle **  phandle 
)

Definition at line 100 of file handle.c.

void nouveau_handle_destroy ( struct nouveau_handle handle)

Definition at line 153 of file handle.c.

int nouveau_handle_fini ( struct nouveau_handle handle,
bool  suspend 
)

Definition at line 66 of file handle.c.

struct nouveau_handle* nouveau_handle_get_cinst ( struct nouveau_object engctx,
u32  cinst 
)
read

Definition at line 210 of file handle.c.

struct nouveau_handle* nouveau_handle_get_class ( struct nouveau_object engctx,
u16  oclass 
)
read

Definition at line 192 of file handle.c.

struct nouveau_handle* nouveau_handle_get_vinst ( struct nouveau_object engctx,
u64  vinst 
)
read

Definition at line 201 of file handle.c.

int nouveau_handle_init ( struct nouveau_handle handle)

Definition at line 36 of file handle.c.

void nouveau_handle_put ( struct nouveau_handle handle)

Definition at line 219 of file handle.c.

struct nouveau_object* nouveau_handle_ref ( struct nouveau_object parent,
u32  name 
)
read

Definition at line 174 of file handle.c.