Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_gpummu.c21 #define GPUMMU_PAGE_SIZE SZ_4K macro
22 #define TABLE_SIZE (sizeof(uint32_t) * GPUMMU_VA_RANGE / GPUMMU_PAGE_SIZE)
32 unsigned idx = (iova - GPUMMU_VA_START) / GPUMMU_PAGE_SIZE; in msm_gpummu_map()
45 for (i = 0; i < PAGE_SIZE; i += GPUMMU_PAGE_SIZE) in msm_gpummu_map()
59 unsigned idx = (iova - GPUMMU_VA_START) / GPUMMU_PAGE_SIZE; in msm_gpummu_unmap()
62 for (i = 0; i < len / GPUMMU_PAGE_SIZE; i++, idx++) in msm_gpummu_unmap()