Home
last modified time | relevance | path

Searched refs:kind_nr (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/nouveau/nvif/
Dmmu.c61 mmu->kind_nr = args.kind_nr; in nvif_mmu_init()
75 mmu->kind = kmalloc_array(mmu->kind_nr, sizeof(*mmu->kind), in nvif_mmu_init()
77 if (!mmu->kind && mmu->kind_nr) in nvif_mmu_init()
111 if (mmu->kind_nr) { in nvif_mmu_init()
113 size_t argc = struct_size(kind, data, mmu->kind_nr); in nvif_mmu_init()
118 kind->count = mmu->kind_nr; in nvif_mmu_init()
/Linux-v5.4/drivers/gpu/drm/nouveau/include/nvif/
Dmmu.h10 u16 kind_nr; member
39 const u8 invalid = mmu->kind_nr - 1; in nvif_mmu_kind_valid()
41 if (kind >= mmu->kind_nr || mmu->kind[kind] == invalid) in nvif_mmu_kind_valid()
Dif0008.h8 __u16 kind_nr; member
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dummu.c168 args->v0.kind_nr = kinds; in nvkm_ummu_new()