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()
583 logo_height = fb_prepare_logo(info, ops->rotate); in fbcon_prepare_logo()
898 disp->rotate = var->rotate; in var_to_display()
922 var->rotate = disp->rotate; in display_to_var()
994 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_startup()
995 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_startup()
1100 new_cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_init()
1101 new_rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_init()
1143 ops->rotate = FB_ROTATE_UR; in fbcon_init()
1382 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_set_disp()
1383 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_set_disp()
1501 int yres = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in updatescrollmode()
1502 int vyres = FBCON_SWAP(ops->rotate, info->var.yres_virtual, in updatescrollmode()
1542 virt_w = FBCON_SWAP(ops->rotate, width, height); in fbcon_resize()
1543 virt_h = FBCON_SWAP(ops->rotate, height, width); in fbcon_resize()
1544 virt_fw = FBCON_SWAP(ops->rotate, vc->vc_font.width, in fbcon_resize()
1546 virt_fh = FBCON_SWAP(ops->rotate, vc->vc_font.height, in fbcon_resize()
1655 ops->rotate = FB_ROTATE_UR; in fbcon_switch()
1683 fb_show_logo(info, ops->rotate); in fbcon_switch()
1924 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_do_set_font()
1925 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_do_set_font()
2167 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_modechanged()
2168 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_modechanged()
2210 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_set_all_vcs()
2211 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_set_all_vcs()
2600 int rotate, idx; in store_rotate() local
2610 rotate = simple_strtoul(buf, last, 0); in store_rotate()
2611 fbcon_rotate(info, rotate); in store_rotate()
2622 int rotate, idx; in store_rotate_all() local
2632 rotate = simple_strtoul(buf, last, 0); in store_rotate_all()
2633 fbcon_rotate_all(info, rotate); in store_rotate_all()
2643 int rotate = 0, idx; in show_rotate() local
2652 rotate = fbcon_get_rotate(info); in show_rotate()
2655 return snprintf(buf, PAGE_SIZE, "%d\n", rotate); in show_rotate()
2718 __ATTR(rotate, S_IRUGO|S_IWUSR, show_rotate, store_rotate),