Searched refs:types_nr (Results 1 – 2 of 2) sorted by relevance
31 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() argument87 event->refs = kzalloc(array3_size(index_nr, types_nr, in nvkm_event_init()94 event->types_nr = types_nr; in nvkm_event_init()
11 int types_nr; member28 int nvkm_event_init(const struct nvkm_event_func *func, int types_nr,