Searched refs:types_nr (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/nouveau/include/nvkm/core/ |
D | event.h | 13 int types_nr; member 28 int __nvkm_event_init(const struct nvkm_event_func *func, struct nvkm_subdev *, int types_nr, 38 int types_nr, int index_nr, struct nvkm_event *event) in nvkm_event_init() argument 42 return __nvkm_event_init(func, subdev, types_nr, index_nr, event); in nvkm_event_init()
|
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/core/ |
D | event.c | 34 if (--event->refs[index * event->types_nr + type] == 0) { in nvkm_event_put() 51 if (++event->refs[index * event->types_nr + type] == 1) { in nvkm_event_get() 202 int types_nr, int index_nr, struct nvkm_event *event) in __nvkm_event_init() argument 204 event->refs = kzalloc(array3_size(index_nr, types_nr, sizeof(*event->refs)), GFP_KERNEL); in __nvkm_event_init() 210 event->types_nr = types_nr; in __nvkm_event_init()
|