Searched refs:namedb (Results 1 – 7 of 7) sorted by relevance
/drivers/gpu/drm/nouveau/core/core/ |
D | namedb.c | 31 nouveau_namedb_lookup(struct nouveau_namedb *namedb, u32 name) in nouveau_namedb_lookup() argument 35 list_for_each_entry(handle, &namedb->list, node) { in nouveau_namedb_lookup() 44 nouveau_namedb_lookup_class(struct nouveau_namedb *namedb, u16 oclass) in nouveau_namedb_lookup_class() argument 48 list_for_each_entry(handle, &namedb->list, node) { in nouveau_namedb_lookup_class() 57 nouveau_namedb_lookup_vinst(struct nouveau_namedb *namedb, u64 vinst) in nouveau_namedb_lookup_vinst() argument 61 list_for_each_entry(handle, &namedb->list, node) { in nouveau_namedb_lookup_vinst() 72 nouveau_namedb_lookup_cinst(struct nouveau_namedb *namedb, u32 cinst) in nouveau_namedb_lookup_cinst() argument 76 list_for_each_entry(handle, &namedb->list, node) { in nouveau_namedb_lookup_cinst() 88 nouveau_namedb_insert(struct nouveau_namedb *namedb, u32 name, in nouveau_namedb_insert() argument 93 write_lock_irq(&namedb->lock); in nouveau_namedb_insert() [all …]
|
D | handle.c | 104 struct nouveau_object *namedb; in nouveau_handle_create() local 108 namedb = parent; in nouveau_handle_create() 109 while (!nv_iclass(namedb, NV_NAMEDB_CLASS)) in nouveau_handle_create() 110 namedb = namedb->parent; in nouveau_handle_create() 121 ret = nouveau_namedb_insert(nv_namedb(namedb), _handle, object, handle); in nouveau_handle_create() 137 if (object != namedb) { in nouveau_handle_create() 138 while (!nv_iclass(namedb, NV_CLIENT_CLASS)) in nouveau_handle_create() 139 namedb = namedb->parent; in nouveau_handle_create() 141 handle->parent = nouveau_namedb_get(nv_namedb(namedb), _parent); in nouveau_handle_create() 197 struct nouveau_namedb *namedb; in nouveau_handle_get_class() local [all …]
|
D | object.c | 283 struct nouveau_object *namedb = NULL; in nouveau_object_del() local 290 namedb = nv_pclass(parent, NV_NAMEDB_CLASS); in nouveau_object_del() 291 if (namedb) { in nouveau_object_del() 292 handle = nouveau_namedb_get(nv_namedb(namedb), _handle); in nouveau_object_del()
|
/drivers/gpu/drm/nouveau/core/include/core/ |
D | handle.h | 5 struct nouveau_namedb *namedb; member
|
/drivers/gpu/drm/nouveau/core/engine/graph/ |
D | nv04.c | 1261 struct nouveau_namedb *namedb = NULL; in nv04_graph_intr() local 1279 namedb = (void *)nv_pclass(nv_object(chan), NV_NAMEDB_CLASS); in nv04_graph_intr() 1284 handle = nouveau_namedb_get_vinst(namedb, inst); in nv04_graph_intr()
|
D | nv10.c | 1158 struct nouveau_namedb *namedb = NULL; in nv10_graph_intr() local 1175 namedb = (void *)nv_pclass(nv_object(chan), NV_NAMEDB_CLASS); in nv10_graph_intr() 1180 handle = nouveau_namedb_get_class(namedb, class); in nv10_graph_intr()
|
/drivers/gpu/drm/nouveau/ |
D | Makefile | 19 nouveau-y += core/core/namedb.o
|