Lines Matching full:rotate
198 ops->rotate = ops->p->con_rotate; in fbcon_set_rotation()
200 ops->rotate = 0; in fbcon_set_rotation()
203 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
216 if (rotate < 4) in fbcon_rotate()
217 p->con_rotate = rotate; in fbcon_rotate()
225 static void fbcon_rotate_all(struct fb_info *info, u32 rotate) in fbcon_rotate_all() argument
232 if (!ops || ops->currcon < 0 || rotate > 3) in fbcon_rotate_all()
242 p->con_rotate = rotate; in fbcon_rotate_all()
252 ops->rotate = FB_ROTATE_UR; in fbcon_set_rotation()
255 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
260 static void fbcon_rotate_all(struct fb_info *info, u32 rotate) in fbcon_rotate_all() argument
270 return (ops) ? ops->rotate : 0; in fbcon_get_rotate()
453 if (!strncmp(options, "rotate:", 7)) { in fb_console_setup()
573 logo_height = fb_prepare_logo(info, ops->rotate); in fbcon_prepare_logo()
894 disp->rotate = var->rotate; in var_to_display()
918 var->rotate = disp->rotate; in display_to_var()
974 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_startup()
975 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_startup()
1080 new_cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_init()
1081 new_rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_init()
1130 ops->rotate = FB_ROTATE_UR; in fbcon_init()
1388 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_set_disp()
1389 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_set_disp()
1940 int ypan = FBCON_SWAP(ops->rotate, info->fix.ypanstep, in updatescrollmode_accel()
1942 int ywrap = FBCON_SWAP(ops->rotate, info->fix.ywrapstep, t); in updatescrollmode_accel()
1943 int yres = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in updatescrollmode_accel()
1944 int vyres = FBCON_SWAP(ops->rotate, info->var.yres_virtual, in updatescrollmode_accel()
1980 int yres = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in updatescrollmode()
1981 int vyres = FBCON_SWAP(ops->rotate, info->var.yres_virtual, in updatescrollmode()
2024 virt_w = FBCON_SWAP(ops->rotate, width, height); in fbcon_resize()
2025 virt_h = FBCON_SWAP(ops->rotate, height, width); in fbcon_resize()
2026 virt_fw = FBCON_SWAP(ops->rotate, vc->vc_font.width, in fbcon_resize()
2028 virt_fh = FBCON_SWAP(ops->rotate, vc->vc_font.height, in fbcon_resize()
2137 ops->rotate = FB_ROTATE_UR; in fbcon_switch()
2178 fb_show_logo(info, ops->rotate); in fbcon_switch()
2425 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_do_set_font()
2426 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_do_set_font()
2482 if (w > FBCON_SWAP(info->var.rotate, info->var.xres, info->var.yres) || in fbcon_set_font()
2483 h > FBCON_SWAP(info->var.rotate, info->var.yres, info->var.xres)) in fbcon_set_font()
2687 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_modechanged()
2688 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_modechanged()
2730 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_set_all_vcs()
2731 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_set_all_vcs()
2770 if (vc->vc_font.width > FBCON_SWAP(var->rotate, var->xres, var->yres) || in fbcon_modechange_possible()
2771 vc->vc_font.height > FBCON_SWAP(var->rotate, var->yres, var->xres)) in fbcon_modechange_possible()
3178 int rotate, idx; in store_rotate() local
3188 rotate = simple_strtoul(buf, last, 0); in store_rotate()
3189 fbcon_rotate(info, rotate); in store_rotate()
3200 int rotate, idx; in store_rotate_all() local
3210 rotate = simple_strtoul(buf, last, 0); in store_rotate_all()
3211 fbcon_rotate_all(info, rotate); in store_rotate_all()
3221 int rotate = 0, idx; in show_rotate() local
3230 rotate = fbcon_get_rotate(info); in show_rotate()
3233 return sysfs_emit(buf, "%d\n", rotate); in show_rotate()
3296 __ATTR(rotate, S_IRUGO|S_IWUSR, show_rotate, store_rotate),