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

Go to the source code of this file.

Data Structures

struct  nouveau_engine
 

Macros

#define NV_ENGINE_(eng, var)   (NV_ENGINE_CLASS | ((var) << 8) | (eng))
 
#define NV_ENGINE(name, var)   NV_ENGINE_(NVDEV_ENGINE_##name, (var))
 
#define nouveau_engine_create(p, e, c, d, i, f, r)
 
#define nouveau_engine_destroy(p)   nouveau_subdev_destroy(&(p)->base)
 
#define nouveau_engine_init(p)   nouveau_subdev_init(&(p)->base)
 
#define nouveau_engine_fini(p, s)   nouveau_subdev_fini(&(p)->base, (s))
 
#define _nouveau_engine_dtor   _nouveau_subdev_dtor
 
#define _nouveau_engine_init   _nouveau_subdev_init
 
#define _nouveau_engine_fini   _nouveau_subdev_fini
 

Functions

int nouveau_engine_create_ (struct nouveau_object *, struct nouveau_object *, struct nouveau_oclass *, bool, const char *, const char *, int, void **)
 

Macro Definition Documentation

#define _nouveau_engine_dtor   _nouveau_subdev_dtor

Definition at line 53 of file engine.h.

#define _nouveau_engine_fini   _nouveau_subdev_fini

Definition at line 55 of file engine.h.

#define _nouveau_engine_init   _nouveau_subdev_init

Definition at line 54 of file engine.h.

#define nouveau_engine_create (   p,
  e,
  c,
  d,
  i,
  f,
  r 
)
Value:
nouveau_engine_create_((p), (e), (c), (d), (i), (f), \
sizeof(**r),(void **)r)

Definition at line 38 of file engine.h.

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

Definition at line 42 of file engine.h.

#define nouveau_engine_fini (   p,
  s 
)    nouveau_subdev_fini(&(p)->base, (s))

Definition at line 46 of file engine.h.

#define nouveau_engine_init (   p)    nouveau_subdev_init(&(p)->base)

Definition at line 44 of file engine.h.

#define NV_ENGINE (   name,
  var 
)    NV_ENGINE_(NVDEV_ENGINE_##name, (var))

Definition at line 8 of file engine.h.

#define NV_ENGINE_ (   eng,
  var 
)    (NV_ENGINE_CLASS | ((var) << 8) | (eng))

Definition at line 7 of file engine.h.

Function Documentation

int nouveau_engine_create_ ( struct nouveau_object ,
struct nouveau_object ,
struct nouveau_oclass ,
bool  ,
const char ,
const char ,
int  ,
void **   
)

Definition at line 30 of file engine.c.