Lines Matching refs:hf
209 u32 r90, vf, hf; in ipu_degrees_to_rot_mode() local
213 vf = hf = r90 = 0; in ipu_degrees_to_rot_mode()
216 vf = hf = 0; in ipu_degrees_to_rot_mode()
220 vf = hf = 1; in ipu_degrees_to_rot_mode()
224 vf = hf = r90 = 1; in ipu_degrees_to_rot_mode()
230 hf ^= (u32)hflip; 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
244 hf = ((u32)mode >> 1) & 0x1; in ipu_rot_mode_to_degrees()
246 hf ^= (u32)hflip; in ipu_rot_mode_to_degrees()
249 switch ((enum ipu_rotate_mode)((r90 << 2) | (hf << 1) | vf)) { in ipu_rot_mode_to_degrees()