Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/staging/omapdrm/
Dtcm.h297 static inline s32 tcm_1d_limit(struct tcm_area *a, u32 num_pg) in tcm_1d_limit() argument
299 if (__tcm_sizeof(a) < num_pg) in tcm_1d_limit()
301 if (!num_pg) in tcm_1d_limit()
304 a->p1.x = (a->p0.x + num_pg - 1) % a->tcm->width; in tcm_1d_limit()
305 a->p1.y = a->p0.y + ((a->p0.x + num_pg - 1) / a->tcm->width); in tcm_1d_limit()