Home
last modified time | relevance | path

Searched refs:types_nr (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/nouveau/nvkm/core/
Devent.c31 if (--event->refs[index * event->types_nr + type] == 0) { in nvkm_event_put()
44 if (++event->refs[index * event->types_nr + type] == 1) { in nvkm_event_get()
84 nvkm_event_init(const struct nvkm_event_func *func, int types_nr, int index_nr, in nvkm_event_init() argument
87 event->refs = kzalloc(array3_size(index_nr, types_nr, in nvkm_event_init()
94 event->types_nr = types_nr; in nvkm_event_init()
/drivers/gpu/drm/nouveau/include/nvkm/core/
Devent.h11 int types_nr; member
28 int nvkm_event_init(const struct nvkm_event_func *func, int types_nr,