Searched refs:umap (Results 1 – 6 of 6) sorted by relevance
/drivers/video/fbdev/core/ |
D | fbcmap.c | 270 struct fb_cmap umap; in fb_set_user_cmap() local 275 memset(&umap, 0, sizeof(struct fb_cmap)); in fb_set_user_cmap() 276 rc = fb_alloc_cmap_gfp(&umap, cmap->len, cmap->transp != NULL, in fb_set_user_cmap() 280 if (copy_from_user(umap.red, cmap->red, size) || in fb_set_user_cmap() 281 copy_from_user(umap.green, cmap->green, size) || in fb_set_user_cmap() 282 copy_from_user(umap.blue, cmap->blue, size) || in fb_set_user_cmap() 283 (cmap->transp && copy_from_user(umap.transp, cmap->transp, size))) { in fb_set_user_cmap() 287 umap.start = cmap->start; in fb_set_user_cmap() 289 rc = fb_set_cmap(&umap, info); in fb_set_user_cmap() 292 fb_dealloc_cmap(&umap); in fb_set_user_cmap()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | gm20b.c | 33 .mem = {{ -1, -1, NVIF_CLASS_MEM_GF100}, .umap = gf100_mem_map }, 43 .mem = {{ -1, -1, NVIF_CLASS_MEM_GF100}, .umap = gf100_mem_map },
|
D | gk20a.c | 31 .mem = {{ -1, -1, NVIF_CLASS_MEM_GF100}, .umap = gf100_mem_map },
|
D | gp10b.c | 33 .mem = {{ -1, -1, NVIF_CLASS_MEM_GF100}, .umap = gf100_mem_map },
|
D | priv.h | 25 int (*umap)(struct nvkm_mmu *, struct nvkm_memory *, void *argv, member
|
D | umem.c | 109 int ret = mmu->func->mem.umap(mmu, umem->memory, argv, argc, in nvkm_umem_map()
|