Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/ipu-v3/
Dipu-common.c209 u32 r90, vf, hf; in ipu_degrees_to_rot_mode() local
213 vf = hf = r90 = 0; in ipu_degrees_to_rot_mode()
217 r90 = 1; in ipu_degrees_to_rot_mode()
221 r90 = 0; in ipu_degrees_to_rot_mode()
224 vf = hf = r90 = 1; in ipu_degrees_to_rot_mode()
233 *mode = (enum ipu_rotate_mode)((r90 << 2) | (hf << 1) | vf); in ipu_degrees_to_rot_mode()
241 u32 r90, vf, hf; in ipu_rot_mode_to_degrees() local
243 r90 = ((u32)mode >> 2) & 0x1; in ipu_rot_mode_to_degrees()
249 switch ((enum ipu_rotate_mode)((r90 << 2) | (hf << 1) | vf)) { in ipu_rot_mode_to_degrees()