Lines Matching refs:hf
183 u32 r90, vf, hf; in ipu_degrees_to_rot_mode() local
187 vf = hf = r90 = 0; in ipu_degrees_to_rot_mode()
190 vf = hf = 0; in ipu_degrees_to_rot_mode()
194 vf = hf = 1; in ipu_degrees_to_rot_mode()
198 vf = hf = r90 = 1; in ipu_degrees_to_rot_mode()
204 hf ^= (u32)hflip; in ipu_degrees_to_rot_mode()
207 *mode = (enum ipu_rotate_mode)((r90 << 2) | (hf << 1) | vf); in ipu_degrees_to_rot_mode()
215 u32 r90, vf, hf; in ipu_rot_mode_to_degrees() local
218 hf = ((u32)mode >> 1) & 0x1; in ipu_rot_mode_to_degrees()
220 hf ^= (u32)hflip; in ipu_rot_mode_to_degrees()
223 switch ((enum ipu_rotate_mode)((r90 << 2) | (hf << 1) | vf)) { in ipu_rot_mode_to_degrees()