Lines Matching refs:rotate

207 		ops->rotate = ops->p->con_rotate;  in fbcon_set_rotation()
209 ops->rotate = 0; in fbcon_set_rotation()
212 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
225 if (rotate < 4) in fbcon_rotate()
226 p->con_rotate = rotate; in fbcon_rotate()
234 static void fbcon_rotate_all(struct fb_info *info, u32 rotate) in fbcon_rotate_all() argument
241 if (!ops || ops->currcon < 0 || rotate > 3) in fbcon_rotate_all()
251 p->con_rotate = rotate; in fbcon_rotate_all()
261 ops->rotate = FB_ROTATE_UR; in fbcon_set_rotation()
264 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
269 static void fbcon_rotate_all(struct fb_info *info, u32 rotate) in fbcon_rotate_all() argument
279 return (ops) ? ops->rotate : 0; in fbcon_get_rotate()
597 logo_height = fb_prepare_logo(info, ops->rotate); in fbcon_prepare_logo()
910 disp->rotate = var->rotate; in var_to_display()
934 var->rotate = disp->rotate; in display_to_var()
1031 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_startup()
1032 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_startup()
1136 new_cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_init()
1137 new_rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_init()
1188 ops->rotate = FB_ROTATE_UR; in fbcon_init()
1432 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_set_disp()
1433 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_set_disp()
2113 int ypan = FBCON_SWAP(ops->rotate, info->fix.ypanstep, in updatescrollmode()
2115 int ywrap = FBCON_SWAP(ops->rotate, info->fix.ywrapstep, t); in updatescrollmode()
2116 int yres = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in updatescrollmode()
2117 int vyres = FBCON_SWAP(ops->rotate, info->var.yres_virtual, in updatescrollmode()
2161 virt_w = FBCON_SWAP(ops->rotate, width, height); in fbcon_resize()
2162 virt_h = FBCON_SWAP(ops->rotate, height, width); in fbcon_resize()
2163 virt_fw = FBCON_SWAP(ops->rotate, vc->vc_font.width, in fbcon_resize()
2165 virt_fh = FBCON_SWAP(ops->rotate, vc->vc_font.height, in fbcon_resize()
2282 ops->rotate = FB_ROTATE_UR; in fbcon_switch()
2327 fb_show_logo(info, ops->rotate); in fbcon_switch()
2573 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_do_set_font()
2574 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_do_set_font()
2954 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_modechanged()
2955 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_modechanged()
2999 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_set_all_vcs()
3000 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_set_all_vcs()
3432 int rotate, idx; in store_rotate() local
3445 rotate = simple_strtoul(buf, last, 0); in store_rotate()
3446 fbcon_rotate(info, rotate); in store_rotate()
3457 int rotate, idx; in store_rotate_all() local
3470 rotate = simple_strtoul(buf, last, 0); in store_rotate_all()
3471 fbcon_rotate_all(info, rotate); in store_rotate_all()
3481 int rotate = 0, idx; in show_rotate() local
3493 rotate = fbcon_get_rotate(info); in show_rotate()
3496 return snprintf(buf, PAGE_SIZE, "%d\n", rotate); in show_rotate()
3565 __ATTR(rotate, S_IRUGO|S_IWUSR, show_rotate, store_rotate),