Home
last modified time | relevance | path

Searched refs:rotate (Results 1 – 25 of 66) sorted by relevance

123

/drivers/media/platform/vsp1/
Dvsp1_wpf.c49 bool rotate; in vsp1_wpf_set_rotation() local
56 rotate = rotation == 90 || rotation == 270; in vsp1_wpf_set_rotation()
57 if (rotate == wpf->flip.rotate) in vsp1_wpf_set_rotation()
77 if (rotate) { in vsp1_wpf_set_rotation()
85 wpf->flip.rotate = rotate; in vsp1_wpf_set_rotation()
103 rotation = wpf->flip.ctrls.rotate ? wpf->flip.ctrls.rotate->val : 0; in vsp1_wpf_s_ctrl()
173 wpf->flip.ctrls.rotate = in wpf_init_controls()
285 if (wpf->flip.rotate) in wpf_configure_stream()
457 if (flip & BIT(WPF_CTRL_HFLIP) && !wpf->flip.rotate) in wpf_configure_partition()
459 else if (flip & BIT(WPF_CTRL_VFLIP) && wpf->flip.rotate) in wpf_configure_partition()
[all …]
Dvsp1_rwpf.h56 struct v4l2_ctrl *rotate; member
60 bool rotate; member
/drivers/staging/fbtft/
Dfb_watterott.c188 u8 rotate; in set_var() local
191 switch (par->info->var.rotate) { in set_var()
193 rotate = 27; in set_var()
196 rotate = 18; in set_var()
199 rotate = 9; in set_var()
202 rotate = 0; in set_var()
204 write_reg(par, CMD_LCD_ORIENTATION, rotate); in set_var()
Dfb_ssd1305.c81 write_reg(par, 0xA0 | ((par->info->var.rotate == 180) ? 0x0 : 0x1)); in init_display()
87 write_reg(par, ((par->info->var.rotate == 180) ? 0xC8 : 0xC0)); in init_display()
125 write_reg(par, 0x00 | ((par->info->var.rotate == 180) ? 0x0 : 0x4)); in set_addr_win()
Dfb_uc1611.c107 switch (par->info->var.rotate) { in set_addr_win()
155 switch (par->info->var.rotate) { in set_var()
226 switch (par->info->var.rotate) { in write_vmem()
260 switch (par->info->var.rotate) { in write_vmem()
Dfb_ili9163.c118 switch (par->info->var.rotate) { in set_addr_win()
142 par->info->var.rotate = 0; in set_addr_win()
171 switch (par->info->var.rotate) { in set_var()
Dfb_upd161704.c119 switch (par->info->var.rotate) { in set_addr_win()
145 switch (par->info->var.rotate) { in set_var()
Dfb_bd663474.c110 switch (par->info->var.rotate) { in set_addr_win()
135 switch (par->info->var.rotate) { in set_var()
Dfb_s6d1121.c74 switch (par->info->var.rotate) { in set_addr_win()
99 switch (par->info->var.rotate) { in set_var()
Dfb_ssd1289.c71 switch (par->info->var.rotate) { in set_addr_win()
106 switch (par->info->var.rotate) { in set_var()
Dfb_ili9320.c167 switch (par->info->var.rotate) { in set_addr_win()
192 switch (par->info->var.rotate) { in set_var()
Dfb_ili9325.c159 switch (par->info->var.rotate) { in set_addr_win()
184 switch (par->info->var.rotate) { in set_var()
Dfb_ili9486.c59 switch (par->info->var.rotate) { in set_var()
Dfb_ili9481.c61 switch (par->info->var.rotate) { in set_var()
/drivers/video/fbdev/core/
Dfbcon_rotate.c40 if (ops->rotate == FB_ROTATE_CW || in fbcon_rotate_font()
41 ops->rotate == FB_ROTATE_CCW) in fbcon_rotate_font()
64 switch (ops->rotate) { in fbcon_rotate_font()
100 switch(ops->rotate) { in fbcon_set_rotate()
Dfbcon.c226 ops->rotate = ops->p->con_rotate; in fbcon_set_rotation()
228 ops->rotate = 0; in fbcon_set_rotation()
231 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
244 if (rotate < 4) in fbcon_rotate()
245 p->con_rotate = rotate; in fbcon_rotate()
253 static void fbcon_rotate_all(struct fb_info *info, u32 rotate) in fbcon_rotate_all() argument
260 if (!ops || ops->currcon < 0 || rotate > 3) in fbcon_rotate_all()
270 p->con_rotate = rotate; in fbcon_rotate_all()
280 ops->rotate = FB_ROTATE_UR; in fbcon_set_rotation()
283 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
[all …]
Dfbmem.c386 struct fb_image *image, int rotate) in fb_rotate_logo() argument
390 if (rotate == FB_ROTATE_UD) { in fb_rotate_logo()
395 } else if (rotate == FB_ROTATE_CW) { in fb_rotate_logo()
404 } else if (rotate == FB_ROTATE_CCW) { in fb_rotate_logo()
419 int rotate, unsigned int num) in fb_do_show_logo() argument
426 if (rotate == FB_ROTATE_UR) { in fb_do_show_logo()
433 } else if (rotate == FB_ROTATE_UD) { in fb_do_show_logo()
440 } else if (rotate == FB_ROTATE_CW) { in fb_do_show_logo()
447 } else if (rotate == FB_ROTATE_CCW) { in fb_do_show_logo()
457 static int fb_show_logo_line(struct fb_info *info, int rotate, in fb_show_logo_line() argument
[all …]
Dfbcon.h46 u32 rotate; member
81 int rotate; member
/drivers/video/fbdev/omap2/omapfb/dss/
Ddisplay-sysfs.c142 int rotate; in display_rotate_show() local
145 rotate = dssdev->driver->get_rotate(dssdev); in display_rotate_show()
146 return snprintf(buf, PAGE_SIZE, "%u\n", rotate); in display_rotate_show()
250 static DISPLAY_ATTR(rotate, S_IRUGO|S_IWUSR,
/drivers/video/fbdev/
Dgoldfishfb.c91 if ((var->rotate & 1) != (info->var.rotate & 1)) { in goldfish_fb_check_var()
120 if (fb->rotation != fb->fb.var.rotate) { in goldfish_fb_set_par()
122 fb->rotation = fb->fb.var.rotate; in goldfish_fb_set_par()
Dau1100fb.c188 info->var.rotate = ((fbdev->panel->control_base&LCD_CONTROL_SM_MASK) \ in au1100fb_setmode()
213 if (!info->var.rotate || (info->var.rotate == 180)) { in au1100fb_setmode()
215 if (info->var.rotate /* 180 */) { in au1100fb_setmode()
/drivers/staging/media/imx/
Dimx-media-csc-scaler.c60 int rotate; member
619 int rotate; in ipu_csc_scaler_s_ctrl() local
623 rotate = ctx->rotate; in ipu_csc_scaler_s_ctrl()
635 rotate = ctrl->val; in ipu_csc_scaler_s_ctrl()
641 ret = ipu_degrees_to_rot_mode(&rot_mode, rotate, hflip, vflip); in ipu_csc_scaler_s_ctrl()
694 ctx->rotate = rotate; in ipu_csc_scaler_s_ctrl()
/drivers/gpu/drm/exynos/
Dexynos_drm_ipp.c476 bool rotate, bool swap) in exynos_drm_ipp_check_size_limits() argument
478 enum drm_ipp_size_id id = rotate ? IPP_LIMIT_ROTATED : IPP_LIMIT_AREA; in exynos_drm_ipp_check_size_limits()
551 bool rotate, bool swap) in exynos_drm_ipp_check_format() argument
591 rotate, in exynos_drm_ipp_check_format()
608 bool rotate = (rotation != DRM_MODE_ROTATE_0); in exynos_drm_ipp_task_check() local
640 (!(ipp->capabilities & DRM_EXYNOS_IPP_CAP_ROTATE) && rotate) || in exynos_drm_ipp_task_check()
649 ret = exynos_drm_ipp_check_format(task, src, src, dst, rotate, swap); in exynos_drm_ipp_task_check()
/drivers/media/platform/exynos-gsc/
Dgsc-core.c560 if (ctx->gsc_ctrls.rotate->val == 90 || in gsc_try_selection()
561 ctx->gsc_ctrls.rotate->val == 270) { in gsc_try_selection()
581 (ctx->gsc_ctrls.rotate->val == 90 || in gsc_try_selection()
582 ctx->gsc_ctrls.rotate->val == 270)) in gsc_try_selection()
646 ctx->gsc_ctrls.rotate->val, ctx->out_path); in gsc_set_scaler_info()
652 if (ctx->gsc_ctrls.rotate->val == 90 || in gsc_set_scaler_info()
653 ctx->gsc_ctrls.rotate->val == 270) { in gsc_set_scaler_info()
725 ctx->gsc_ctrls.rotate->val, in __gsc_s_ctrl()
770 ctx->gsc_ctrls.rotate = v4l2_ctrl_new_std(&ctx->ctrl_handler, in gsc_ctrls_create()
/drivers/media/platform/mtk-mdp/
Dmtk_mdp_m2m.c310 if (ctx->ctrls.rotate->val == 90 || in mtk_mdp_try_crop()
311 ctx->ctrls.rotate->val == 270) { in mtk_mdp_try_crop()
331 (ctx->ctrls.rotate->val == 90 || in mtk_mdp_try_crop()
332 ctx->ctrls.rotate->val == 270)) in mtk_mdp_try_crop()
907 ctx->ctrls.rotate->val); in mtk_mdp_m2m_s_selection()
912 new_r.height, ctx->ctrls.rotate->val); in mtk_mdp_m2m_s_selection()
1012 ctx->ctrls.rotate->val); in mtk_mdp_s_ctrl()
1036 ctx->ctrls.rotate = v4l2_ctrl_new_std(&ctx->ctrl_handler, in mtk_mdp_ctrls_create()

123