• Home
  • Raw
  • Download

Lines Matching refs:rotate

193 		ops->rotate = ops->p->con_rotate;  in fbcon_set_rotation()
195 ops->rotate = 0; in fbcon_set_rotation()
198 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
211 if (rotate < 4) in fbcon_rotate()
212 p->con_rotate = rotate; in fbcon_rotate()
220 static void fbcon_rotate_all(struct fb_info *info, u32 rotate) in fbcon_rotate_all() argument
227 if (!ops || ops->currcon < 0 || rotate > 3) in fbcon_rotate_all()
237 p->con_rotate = rotate; in fbcon_rotate_all()
247 ops->rotate = FB_ROTATE_UR; in fbcon_set_rotation()
250 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
255 static void fbcon_rotate_all(struct fb_info *info, u32 rotate) in fbcon_rotate_all() argument
265 return (ops) ? ops->rotate : 0; in fbcon_get_rotate()
555 logo_height = fb_prepare_logo(info, ops->rotate); in fbcon_prepare_logo()
864 disp->rotate = var->rotate; in var_to_display()
888 var->rotate = disp->rotate; in display_to_var()
953 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_startup()
954 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_startup()
1052 new_cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_init()
1053 new_rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_init()
1101 ops->rotate = FB_ROTATE_UR; in fbcon_init()
1336 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_set_disp()
1337 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_set_disp()
1895 int ypan = FBCON_SWAP(ops->rotate, info->fix.ypanstep, in updatescrollmode()
1897 int ywrap = FBCON_SWAP(ops->rotate, info->fix.ywrapstep, t); in updatescrollmode()
1898 int yres = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in updatescrollmode()
1899 int vyres = FBCON_SWAP(ops->rotate, info->var.yres_virtual, in updatescrollmode()
1964 virt_w = FBCON_SWAP(ops->rotate, width, height); in fbcon_resize()
1965 virt_h = FBCON_SWAP(ops->rotate, height, width); in fbcon_resize()
1966 virt_fw = FBCON_SWAP(ops->rotate, vc->vc_font.width, in fbcon_resize()
1968 virt_fh = FBCON_SWAP(ops->rotate, vc->vc_font.height, in fbcon_resize()
2077 ops->rotate = FB_ROTATE_UR; in fbcon_switch()
2122 fb_show_logo(info, ops->rotate); in fbcon_switch()
2377 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_do_set_font()
2378 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_do_set_font()
2633 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_modechanged()
2634 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_modechanged()
2676 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_set_all_vcs()
2677 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_set_all_vcs()
3087 int rotate, idx; in store_rotate() local
3100 rotate = simple_strtoul(buf, last, 0); in store_rotate()
3101 fbcon_rotate(info, rotate); in store_rotate()
3112 int rotate, idx; in store_rotate_all() local
3125 rotate = simple_strtoul(buf, last, 0); in store_rotate_all()
3126 fbcon_rotate_all(info, rotate); in store_rotate_all()
3136 int rotate = 0, idx; in show_rotate() local
3148 rotate = fbcon_get_rotate(info); in show_rotate()
3151 return snprintf(buf, PAGE_SIZE, "%d\n", rotate); in show_rotate()
3220 __ATTR(rotate, S_IRUGO|S_IWUSR, show_rotate, store_rotate),