Lines Matching refs:hf
139 u32 r90, vf, hf; in ipu_degrees_to_rot_mode() local
143 vf = hf = r90 = 0; in ipu_degrees_to_rot_mode()
146 vf = hf = 0; in ipu_degrees_to_rot_mode()
150 vf = hf = 1; in ipu_degrees_to_rot_mode()
154 vf = hf = r90 = 1; in ipu_degrees_to_rot_mode()
160 hf ^= (u32)hflip; in ipu_degrees_to_rot_mode()
163 *mode = (enum ipu_rotate_mode)((r90 << 2) | (hf << 1) | vf); in ipu_degrees_to_rot_mode()
171 u32 r90, vf, hf; in ipu_rot_mode_to_degrees() local
174 hf = ((u32)mode >> 1) & 0x1; in ipu_rot_mode_to_degrees()
176 hf ^= (u32)hflip; in ipu_rot_mode_to_degrees()
179 switch ((enum ipu_rotate_mode)((r90 << 2) | (hf << 1) | vf)) { in ipu_rot_mode_to_degrees()