Lines Matching defs:rotation
490 * Consider if VRFB assisted rotation is in use and if the virtual space for
754 const struct fb_fix_screeninfo *fix, int rotation)
765 const struct fb_fix_screeninfo *fix, int rotation)
769 if (rotation == FB_ROTATE_UD)
772 else if (rotation == FB_ROTATE_CW)
778 if (rotation == FB_ROTATE_UR)
781 else if (rotation == FB_ROTATE_UD)
784 else if (rotation == FB_ROTATE_CW)
787 else if (rotation == FB_ROTATE_CCW)
797 int rotation, u32 *paddr, void __iomem **vaddr)
804 data_start_p = omapfb_get_region_rot_paddr(ofbi, rotation);
812 offset = calc_rotation_offset_vrfb(var, fix, rotation);
814 offset = calc_rotation_offset_dma(var, fix, rotation);
844 int rotation = var->rotate;
853 rotation = (rotation + ofbi->rotation[i]) % 4;
860 if (rotation == FB_ROTATE_CW || rotation == FB_ROTATE_CCW) {
869 omapfb_calc_addr(ofbi, var, fix, rotation,
905 info.rotation = rotation;
958 int rotation = (var->rotate + ofbi->rotation[i]) % 4;
959 if (rotation == FB_ROTATE_CW ||
960 rotation == FB_ROTATE_CCW) {
1326 /* unmap the 0 angle rotation */
1770 int rotation = (var->rotate + ofbi->rotation[0]) % 4;
1774 if (rotation == FB_ROTATE_CW ||
1775 rotation == FB_ROTATE_CCW) {