#include <core/os.h>
#include <core/printk.h>
Go to the source code of this file.
|
#define | NV_PARENT_CLASS 0x80000000 |
|
#define | NV_NAMEDB_CLASS 0x40000000 |
|
#define | NV_CLIENT_CLASS 0x20000000 |
|
#define | NV_SUBDEV_CLASS 0x10000000 |
|
#define | NV_ENGINE_CLASS 0x08000000 |
|
#define | NV_MEMOBJ_CLASS 0x04000000 |
|
#define | NV_GPUOBJ_CLASS 0x02000000 |
|
#define | NV_ENGCTX_CLASS 0x01000000 |
|
#define | NV_OBJECT_CLASS 0x0000ffff |
|
#define | NOUVEAU_OBJECT_MAGIC 0x75ef0bad |
|
#define | nouveau_object_create(p, e, c, s, d) nouveau_object_create_((p), (e), (c), (s), sizeof(**d), (void **)d) |
|
#define | nv_oclass(o) nv_object(o)->oclass |
|
#define | nv_hclass(o) nv_oclass(o)->handle |
|
#define | nv_iclass(o, i) (nv_hclass(o) & (i)) |
|
#define | nv_mclass(o) nv_iclass(o, NV_OBJECT_CLASS) |
|
|
int | nouveau_object_create_ (struct nouveau_object *, struct nouveau_object *, struct nouveau_oclass *, u32, int size, void **) |
|
void | nouveau_object_destroy (struct nouveau_object *) |
|
int | nouveau_object_init (struct nouveau_object *) |
|
int | nouveau_object_fini (struct nouveau_object *, bool suspend) |
|
int | nouveau_object_ctor (struct nouveau_object *, struct nouveau_object *, struct nouveau_oclass *, void *, u32, struct nouveau_object **) |
|
void | nouveau_object_ref (struct nouveau_object *, struct nouveau_object **) |
|
int | nouveau_object_inc (struct nouveau_object *) |
|
int | nouveau_object_dec (struct nouveau_object *, bool suspend) |
|
int | nouveau_object_new (struct nouveau_object *, u32 parent, u32 handle, u16 oclass, void *data, u32 size, struct nouveau_object **) |
|
int | nouveau_object_del (struct nouveau_object *, u32 parent, u32 handle) |
|
void | nouveau_object_debug (void) |
|
#define NOUVEAU_OBJECT_MAGIC 0x75ef0bad |
#define NV_CLIENT_CLASS 0x20000000 |
#define NV_ENGCTX_CLASS 0x01000000 |
#define NV_ENGINE_CLASS 0x08000000 |
#define NV_GPUOBJ_CLASS 0x02000000 |
#define NV_MEMOBJ_CLASS 0x04000000 |
#define NV_NAMEDB_CLASS 0x40000000 |
#define NV_OBJECT_CLASS 0x0000ffff |
#define nv_oclass |
( |
|
o | ) |
nv_object(o)->oclass |
#define NV_PARENT_CLASS 0x80000000 |
#define NV_SUBDEV_CLASS 0x10000000 |