Lines Matching refs: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()
571 logo_height = fb_prepare_logo(info, ops->rotate); in fbcon_prepare_logo()
893 disp->rotate = var->rotate; in var_to_display()
917 var->rotate = disp->rotate; in display_to_var()
973 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_startup()
974 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_startup()
1079 new_cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_init()
1080 new_rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_init()
1129 ops->rotate = FB_ROTATE_UR; in fbcon_init()
1387 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_set_disp()
1388 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_set_disp()
1939 int ypan = FBCON_SWAP(ops->rotate, info->fix.ypanstep, in updatescrollmode_accel()
1941 int ywrap = FBCON_SWAP(ops->rotate, info->fix.ywrapstep, t); in updatescrollmode_accel()
1942 int yres = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in updatescrollmode_accel()
1943 int vyres = FBCON_SWAP(ops->rotate, info->var.yres_virtual, in updatescrollmode_accel()
1979 int yres = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in updatescrollmode()
1980 int vyres = FBCON_SWAP(ops->rotate, info->var.yres_virtual, in updatescrollmode()
2023 virt_w = FBCON_SWAP(ops->rotate, width, height); in fbcon_resize()
2024 virt_h = FBCON_SWAP(ops->rotate, height, width); in fbcon_resize()
2025 virt_fw = FBCON_SWAP(ops->rotate, vc->vc_font.width, in fbcon_resize()
2027 virt_fh = FBCON_SWAP(ops->rotate, vc->vc_font.height, in fbcon_resize()
2136 ops->rotate = FB_ROTATE_UR; in fbcon_switch()
2177 fb_show_logo(info, ops->rotate); in fbcon_switch()
2424 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_do_set_font()
2425 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_do_set_font()
2481 if (w > FBCON_SWAP(info->var.rotate, info->var.xres, info->var.yres) || in fbcon_set_font()
2482 h > FBCON_SWAP(info->var.rotate, info->var.yres, info->var.xres)) in fbcon_set_font()
2686 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_modechanged()
2687 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_modechanged()
2729 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_set_all_vcs()
2730 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_set_all_vcs()
2769 if (vc->vc_font.width > FBCON_SWAP(var->rotate, var->xres, var->yres) || in fbcon_modechange_possible()
2770 vc->vc_font.height > FBCON_SWAP(var->rotate, var->yres, var->xres)) in fbcon_modechange_possible()
3177 int rotate, idx; in store_rotate() local
3187 rotate = simple_strtoul(buf, last, 0); in store_rotate()
3188 fbcon_rotate(info, rotate); in store_rotate()
3199 int rotate, idx; in store_rotate_all() local
3209 rotate = simple_strtoul(buf, last, 0); in store_rotate_all()
3210 fbcon_rotate_all(info, rotate); in store_rotate_all()
3220 int rotate = 0, idx; in show_rotate() local
3229 rotate = fbcon_get_rotate(info); in show_rotate()
3232 return sysfs_emit(buf, "%d\n", rotate); in show_rotate()
3295 __ATTR(rotate, S_IRUGO|S_IWUSR, show_rotate, store_rotate),