Home
last modified time | relevance | path

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

/drivers/gpu/drm/omapdrm/
Dtcm.h299 static inline s32 tcm_1d_limit(struct tcm_area *a, u32 num_pg) in tcm_1d_limit() argument
301 if (__tcm_sizeof(a) < num_pg) in tcm_1d_limit()
303 if (!num_pg) in tcm_1d_limit()
306 a->p1.x = (a->p0.x + num_pg - 1) % a->tcm->width; in tcm_1d_limit()
307 a->p1.y = a->p0.y + ((a->p0.x + num_pg - 1) / a->tcm->width); in tcm_1d_limit()