Lines Matching refs:rotate
208 ops->rotate = ops->p->con_rotate; in fbcon_set_rotation()
210 ops->rotate = 0; in fbcon_set_rotation()
213 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
226 if (rotate < 4) in fbcon_rotate()
227 p->con_rotate = rotate; in fbcon_rotate()
235 static void fbcon_rotate_all(struct fb_info *info, u32 rotate) in fbcon_rotate_all() argument
242 if (!ops || ops->currcon < 0 || rotate > 3) in fbcon_rotate_all()
252 p->con_rotate = rotate; in fbcon_rotate_all()
262 ops->rotate = FB_ROTATE_UR; in fbcon_set_rotation()
265 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
270 static void fbcon_rotate_all(struct fb_info *info, u32 rotate) in fbcon_rotate_all() argument
280 return (ops) ? ops->rotate : 0; in fbcon_get_rotate()
593 logo_height = fb_prepare_logo(info, ops->rotate); in fbcon_prepare_logo()
908 disp->rotate = var->rotate; in var_to_display()
932 var->rotate = disp->rotate; in display_to_var()
1004 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_startup()
1005 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_startup()
1110 new_cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_init()
1111 new_rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_init()
1161 ops->rotate = FB_ROTATE_UR; in fbcon_init()
1401 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_set_disp()
1402 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_set_disp()
1956 int yres = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in updatescrollmode()
1957 int vyres = FBCON_SWAP(ops->rotate, info->var.yres_virtual, in updatescrollmode()
1997 virt_w = FBCON_SWAP(ops->rotate, width, height); in fbcon_resize()
1998 virt_h = FBCON_SWAP(ops->rotate, height, width); in fbcon_resize()
1999 virt_fw = FBCON_SWAP(ops->rotate, vc->vc_font.width, in fbcon_resize()
2001 virt_fh = FBCON_SWAP(ops->rotate, vc->vc_font.height, in fbcon_resize()
2110 ops->rotate = FB_ROTATE_UR; in fbcon_switch()
2152 fb_show_logo(info, ops->rotate); in fbcon_switch()
2393 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_do_set_font()
2394 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_do_set_font()
2636 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_modechanged()
2637 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_modechanged()
2679 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_set_all_vcs()
2680 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_set_all_vcs()
3069 int rotate, idx; in store_rotate() local
3079 rotate = simple_strtoul(buf, last, 0); in store_rotate()
3080 fbcon_rotate(info, rotate); in store_rotate()
3091 int rotate, idx; in store_rotate_all() local
3101 rotate = simple_strtoul(buf, last, 0); in store_rotate_all()
3102 fbcon_rotate_all(info, rotate); in store_rotate_all()
3112 int rotate = 0, idx; in show_rotate() local
3121 rotate = fbcon_get_rotate(info); in show_rotate()
3124 return snprintf(buf, PAGE_SIZE, "%d\n", rotate); in show_rotate()
3187 __ATTR(rotate, S_IRUGO|S_IWUSR, show_rotate, store_rotate),