Lines Matching full:rotate

200 		ops->rotate = ops->p->con_rotate;  in fbcon_set_rotation()
202 ops->rotate = 0; in fbcon_set_rotation()
205 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
218 if (rotate < 4) in fbcon_rotate()
219 p->con_rotate = rotate; in fbcon_rotate()
227 static void fbcon_rotate_all(struct fb_info *info, u32 rotate) in fbcon_rotate_all() argument
234 if (!ops || ops->currcon < 0 || rotate > 3) in fbcon_rotate_all()
244 p->con_rotate = rotate; in fbcon_rotate_all()
254 ops->rotate = FB_ROTATE_UR; in fbcon_set_rotation()
257 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
262 static void fbcon_rotate_all(struct fb_info *info, u32 rotate) in fbcon_rotate_all() argument
272 return (ops) ? ops->rotate : 0; in fbcon_get_rotate()
466 if (!strncmp(options, "rotate:", 7)) { in fb_console_setup()
590 logo_height = fb_prepare_logo(info, ops->rotate); in fbcon_prepare_logo()
913 disp->rotate = var->rotate; in var_to_display()
937 var->rotate = disp->rotate; in display_to_var()
993 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_startup()
994 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_startup()
1099 new_cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_init()
1100 new_rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_init()
1149 ops->rotate = FB_ROTATE_UR; in fbcon_init()
1405 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_set_disp()
1406 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_set_disp()
1957 int ypan = FBCON_SWAP(ops->rotate, info->fix.ypanstep, in updatescrollmode_accel()
1959 int ywrap = FBCON_SWAP(ops->rotate, info->fix.ywrapstep, t); in updatescrollmode_accel()
1960 int yres = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in updatescrollmode_accel()
1961 int vyres = FBCON_SWAP(ops->rotate, info->var.yres_virtual, in updatescrollmode_accel()
1997 int yres = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in updatescrollmode()
1998 int vyres = FBCON_SWAP(ops->rotate, info->var.yres_virtual, in updatescrollmode()
2041 virt_w = FBCON_SWAP(ops->rotate, width, height); in fbcon_resize()
2042 virt_h = FBCON_SWAP(ops->rotate, height, width); in fbcon_resize()
2043 virt_fw = FBCON_SWAP(ops->rotate, vc->vc_font.width, in fbcon_resize()
2045 virt_fh = FBCON_SWAP(ops->rotate, vc->vc_font.height, in fbcon_resize()
2154 ops->rotate = FB_ROTATE_UR; in fbcon_switch()
2195 fb_show_logo(info, ops->rotate); in fbcon_switch()
2441 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_do_set_font()
2442 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_do_set_font()
2498 if (w > FBCON_SWAP(info->var.rotate, info->var.xres, info->var.yres) || in fbcon_set_font()
2499 h > FBCON_SWAP(info->var.rotate, info->var.yres, info->var.xres)) in fbcon_set_font()
2675 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_modechanged()
2676 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_modechanged()
2718 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_set_all_vcs()
2719 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_set_all_vcs()
2758 if (vc->vc_font.width > FBCON_SWAP(var->rotate, var->xres, var->yres) || in fbcon_modechange_possible()
2759 vc->vc_font.height > FBCON_SWAP(var->rotate, var->yres, var->xres)) in fbcon_modechange_possible()
3165 int rotate, idx; in store_rotate() local
3175 rotate = simple_strtoul(buf, last, 0); in store_rotate()
3176 fbcon_rotate(info, rotate); in store_rotate()
3187 int rotate, idx; in store_rotate_all() local
3197 rotate = simple_strtoul(buf, last, 0); in store_rotate_all()
3198 fbcon_rotate_all(info, rotate); in store_rotate_all()
3208 int rotate = 0, idx; in show_rotate() local
3217 rotate = fbcon_get_rotate(info); in show_rotate()
3220 return sysfs_emit(buf, "%d\n", rotate); in show_rotate()
3283 __ATTR(rotate, S_IRUGO|S_IWUSR, show_rotate, store_rotate),