Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpu/drm/sis/
Dsis_mm.c56 #define SIS_MM_ALIGN_SHIFT 0 macro
61 #define SIS_MM_ALIGN_SHIFT 4 macro
62 #define SIS_MM_ALIGN_MASK ((1 << SIS_MM_ALIGN_SHIFT) - 1)
74 drm_mm_init(&dev_priv->vram_mm, 0, fb->size >> SIS_MM_ALIGN_SHIFT); in sis_fb_init()
111 mem->size = (mem->size + SIS_MM_ALIGN_MASK) >> SIS_MM_ALIGN_SHIFT; in sis_drm_alloc()
144 (offset << SIS_MM_ALIGN_SHIFT); in sis_drm_alloc()
146 mem->size = mem->size << SIS_MM_ALIGN_SHIFT; in sis_drm_alloc()
208 drm_mm_init(&dev_priv->agp_mm, 0, agp->size >> SIS_MM_ALIGN_SHIFT); in sis_ioctl_agp_init()