Lines Matching full:rotate

205 		ops->rotate = ops->p->con_rotate;  in fbcon_set_rotation()
207 ops->rotate = 0; in fbcon_set_rotation()
210 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
223 if (rotate < 4) in fbcon_rotate()
224 p->con_rotate = rotate; in fbcon_rotate()
232 static void fbcon_rotate_all(struct fb_info *info, u32 rotate) in fbcon_rotate_all() argument
239 if (!ops || ops->currcon < 0 || rotate > 3) in fbcon_rotate_all()
249 p->con_rotate = rotate; in fbcon_rotate_all()
259 ops->rotate = FB_ROTATE_UR; in fbcon_set_rotation()
262 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
267 static void fbcon_rotate_all(struct fb_info *info, u32 rotate) in fbcon_rotate_all() argument
277 return (ops) ? ops->rotate : 0; in fbcon_get_rotate()
482 if (!strncmp(options, "rotate:", 7)) { in fb_console_setup()
606 logo_height = fb_prepare_logo(info, ops->rotate); in fbcon_prepare_logo()
930 disp->rotate = var->rotate; in var_to_display()
954 var->rotate = disp->rotate; in display_to_var()
1010 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_startup()
1011 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_startup()
1116 new_cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_init()
1117 new_rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_init()
1166 ops->rotate = FB_ROTATE_UR; in fbcon_init()
1426 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_set_disp()
1427 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_set_disp()
1977 int ypan = FBCON_SWAP(ops->rotate, info->fix.ypanstep, in updatescrollmode_accel()
1979 int ywrap = FBCON_SWAP(ops->rotate, info->fix.ywrapstep, t); in updatescrollmode_accel()
1980 int yres = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in updatescrollmode_accel()
1981 int vyres = FBCON_SWAP(ops->rotate, info->var.yres_virtual, in updatescrollmode_accel()
2017 int yres = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in updatescrollmode()
2018 int vyres = FBCON_SWAP(ops->rotate, info->var.yres_virtual, in updatescrollmode()
2061 virt_w = FBCON_SWAP(ops->rotate, width, height); in fbcon_resize()
2062 virt_h = FBCON_SWAP(ops->rotate, height, width); in fbcon_resize()
2063 virt_fw = FBCON_SWAP(ops->rotate, vc->vc_font.width, in fbcon_resize()
2065 virt_fh = FBCON_SWAP(ops->rotate, vc->vc_font.height, in fbcon_resize()
2174 ops->rotate = FB_ROTATE_UR; in fbcon_switch()
2215 fb_show_logo(info, ops->rotate); in fbcon_switch()
2461 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_do_set_font()
2462 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_do_set_font()
2518 if (w > FBCON_SWAP(info->var.rotate, info->var.xres, info->var.yres) || in fbcon_set_font()
2519 h > FBCON_SWAP(info->var.rotate, info->var.yres, info->var.xres)) in fbcon_set_font()
2695 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_modechanged()
2696 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_modechanged()
2738 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_set_all_vcs()
2739 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_set_all_vcs()
2778 if (vc->vc_font.width > FBCON_SWAP(var->rotate, var->xres, var->yres) || in fbcon_modechange_possible()
2779 vc->vc_font.height > FBCON_SWAP(var->rotate, var->yres, var->xres)) in fbcon_modechange_possible()
3185 int rotate, idx; in rotate_store() local
3195 rotate = simple_strtoul(buf, last, 0); in rotate_store()
3196 fbcon_rotate(info, rotate); in rotate_store()
3207 int rotate, idx; in rotate_all_store() local
3217 rotate = simple_strtoul(buf, last, 0); in rotate_all_store()
3218 fbcon_rotate_all(info, rotate); in rotate_all_store()
3228 int rotate = 0, idx; in rotate_show() local
3237 rotate = fbcon_get_rotate(info); in rotate_show()
3240 return sysfs_emit(buf, "%d\n", rotate); in rotate_show()
3304 static DEVICE_ATTR_RW(rotate);