Lines Matching full:rotate

199 		ops->rotate = ops->p->con_rotate;  in fbcon_set_rotation()
201 ops->rotate = 0; in fbcon_set_rotation()
204 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
217 if (rotate < 4) in fbcon_rotate()
218 p->con_rotate = rotate; in fbcon_rotate()
226 static void fbcon_rotate_all(struct fb_info *info, u32 rotate) in fbcon_rotate_all() argument
233 if (!ops || ops->currcon < 0 || rotate > 3) in fbcon_rotate_all()
243 p->con_rotate = rotate; in fbcon_rotate_all()
253 ops->rotate = FB_ROTATE_UR; in fbcon_set_rotation()
256 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
261 static void fbcon_rotate_all(struct fb_info *info, u32 rotate) in fbcon_rotate_all() argument
271 return (ops) ? ops->rotate : 0; in fbcon_get_rotate()
465 if (!strncmp(options, "rotate:", 7)) { in fb_console_setup()
589 logo_height = fb_prepare_logo(info, ops->rotate); in fbcon_prepare_logo()
912 disp->rotate = var->rotate; in var_to_display()
936 var->rotate = disp->rotate; in display_to_var()
992 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_startup()
993 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_startup()
1098 new_cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_init()
1099 new_rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_init()
1148 ops->rotate = FB_ROTATE_UR; in fbcon_init()
1406 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_set_disp()
1407 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_set_disp()
1958 int ypan = FBCON_SWAP(ops->rotate, info->fix.ypanstep, in updatescrollmode_accel()
1960 int ywrap = FBCON_SWAP(ops->rotate, info->fix.ywrapstep, t); in updatescrollmode_accel()
1961 int yres = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in updatescrollmode_accel()
1962 int vyres = FBCON_SWAP(ops->rotate, info->var.yres_virtual, in updatescrollmode_accel()
1998 int yres = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in updatescrollmode()
1999 int vyres = FBCON_SWAP(ops->rotate, info->var.yres_virtual, in updatescrollmode()
2042 virt_w = FBCON_SWAP(ops->rotate, width, height); in fbcon_resize()
2043 virt_h = FBCON_SWAP(ops->rotate, height, width); in fbcon_resize()
2044 virt_fw = FBCON_SWAP(ops->rotate, vc->vc_font.width, in fbcon_resize()
2046 virt_fh = FBCON_SWAP(ops->rotate, vc->vc_font.height, in fbcon_resize()
2155 ops->rotate = FB_ROTATE_UR; in fbcon_switch()
2196 fb_show_logo(info, ops->rotate); in fbcon_switch()
2442 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_do_set_font()
2443 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_do_set_font()
2499 if (w > FBCON_SWAP(info->var.rotate, info->var.xres, info->var.yres) || in fbcon_set_font()
2500 h > FBCON_SWAP(info->var.rotate, info->var.yres, info->var.xres)) in fbcon_set_font()
2676 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_modechanged()
2677 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_modechanged()
2719 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_set_all_vcs()
2720 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_set_all_vcs()
2759 if (vc->vc_font.width > FBCON_SWAP(var->rotate, var->xres, var->yres) || in fbcon_modechange_possible()
2760 vc->vc_font.height > FBCON_SWAP(var->rotate, var->yres, var->xres)) in fbcon_modechange_possible()
3166 int rotate, idx; in rotate_store() local
3176 rotate = simple_strtoul(buf, last, 0); in rotate_store()
3177 fbcon_rotate(info, rotate); in rotate_store()
3188 int rotate, idx; in rotate_all_store() local
3198 rotate = simple_strtoul(buf, last, 0); in rotate_all_store()
3199 fbcon_rotate_all(info, rotate); in rotate_all_store()
3209 int rotate = 0, idx; in rotate_show() local
3218 rotate = fbcon_get_rotate(info); in rotate_show()
3221 return sysfs_emit(buf, "%d\n", rotate); in rotate_show()
3284 static DEVICE_ATTR_RW(rotate);