Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/via/
Dvia_mm.c37 #define VIA_MM_ALIGN_SHIFT 4 macro
38 #define VIA_MM_ALIGN_MASK ((1 << VIA_MM_ALIGN_SHIFT) - 1)
51 drm_mm_init(&dev_priv->agp_mm, 0, agp->size >> VIA_MM_ALIGN_SHIFT); in via_agp_init()
67 drm_mm_init(&dev_priv->vram_mm, 0, fb->size >> VIA_MM_ALIGN_SHIFT); in via_fb_init()
144 tmpSize = (mem->size + VIA_MM_ALIGN_MASK) >> VIA_MM_ALIGN_SHIFT; in via_mem_alloc()
166 ((item->mm_node.start) << VIA_MM_ALIGN_SHIFT); in via_mem_alloc()