Lines Matching refs:rotate

205 		ops->rotate = ops->p->con_rotate;  in fbcon_set_rotation()
207 ops->rotate = 0; in fbcon_set_rotation()
210 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
223 if (rotate < 4) in fbcon_rotate()
224 p->con_rotate = rotate; in fbcon_rotate()
232 static void fbcon_rotate_all(struct fb_info *info, u32 rotate) in fbcon_rotate_all() argument
239 if (!ops || ops->currcon < 0 || rotate > 3) in fbcon_rotate_all()
249 p->con_rotate = rotate; in fbcon_rotate_all()
259 ops->rotate = FB_ROTATE_UR; in fbcon_set_rotation()
262 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
267 static void fbcon_rotate_all(struct fb_info *info, u32 rotate) in fbcon_rotate_all() argument
277 return (ops) ? ops->rotate : 0; in fbcon_get_rotate()
614 logo_height = fb_prepare_logo(info, ops->rotate); in fbcon_prepare_logo()
921 disp->rotate = var->rotate; in var_to_display()
945 var->rotate = disp->rotate; in display_to_var()
1034 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_startup()
1035 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_startup()
1132 new_cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_init()
1133 new_rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_init()
1184 ops->rotate = FB_ROTATE_UR; in fbcon_init()
1414 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_set_disp()
1415 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_set_disp()
2095 int ypan = FBCON_SWAP(ops->rotate, info->fix.ypanstep, in updatescrollmode()
2097 int ywrap = FBCON_SWAP(ops->rotate, info->fix.ywrapstep, t); in updatescrollmode()
2098 int yres = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in updatescrollmode()
2099 int vyres = FBCON_SWAP(ops->rotate, info->var.yres_virtual, in updatescrollmode()
2143 virt_w = FBCON_SWAP(ops->rotate, width, height); in fbcon_resize()
2144 virt_h = FBCON_SWAP(ops->rotate, height, width); in fbcon_resize()
2145 virt_fw = FBCON_SWAP(ops->rotate, vc->vc_font.width, in fbcon_resize()
2147 virt_fh = FBCON_SWAP(ops->rotate, vc->vc_font.height, in fbcon_resize()
2264 ops->rotate = FB_ROTATE_UR; in fbcon_switch()
2309 fb_show_logo(info, ops->rotate); in fbcon_switch()
2547 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_do_set_font()
2548 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_do_set_font()
2928 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_modechanged()
2929 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_modechanged()
2973 cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); in fbcon_set_all_vcs()
2974 rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); in fbcon_set_all_vcs()
3362 int rotate, idx; in store_rotate() local
3375 rotate = simple_strtoul(buf, last, 0); in store_rotate()
3376 fbcon_rotate(info, rotate); in store_rotate()
3387 int rotate, idx; in store_rotate_all() local
3400 rotate = simple_strtoul(buf, last, 0); in store_rotate_all()
3401 fbcon_rotate_all(info, rotate); in store_rotate_all()
3411 int rotate = 0, idx; in show_rotate() local
3423 rotate = fbcon_get_rotate(info); in show_rotate()
3426 return snprintf(buf, PAGE_SIZE, "%d\n", rotate); in show_rotate()
3495 __ATTR(rotate, S_IRUGO|S_IWUSR, show_rotate, store_rotate),