/drivers/media/platform/vsp1/ |
D | vsp1_wpf.c | 49 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 …]
|
D | vsp1_rwpf.h | 56 struct v4l2_ctrl *rotate; member 60 bool rotate; member
|
/drivers/media/platform/sunxi/sun8i-rotate/ |
D | Makefile | 2 sun8i-rotate-y += sun8i_rotate.o 3 sun8i-rotate-y += sun8i_formats.o 5 obj-$(CONFIG_VIDEO_SUN8I_ROTATE) += sun8i-rotate.o
|
D | sun8i_rotate.c | 80 val |= ROTATE_GLB_CTL_ROTATION(ctx->rotate / 90); in rotate_device_run() 81 if (ctx->rotate != 90 && ctx->rotate != 270) in rotate_device_run() 260 u32 rotate) in rotate_set_cap_format() argument 275 if (rotate == 90 || rotate == 270) { in rotate_set_cap_format() 313 return rotate_set_cap_format(ctx, &f->fmt.pix, ctx->rotate); in rotate_try_fmt_vid_cap() 390 return rotate_set_cap_format(ctx, &ctx->dst_fmt, ctx->rotate); in rotate_s_fmt_vid_out() 600 ctx->rotate = ctrl->val; in rotate_s_ctrl() 661 rotate_set_cap_format(ctx, &ctx->dst_fmt, ctx->rotate); in rotate_open()
|
/drivers/staging/fbtft/ |
D | fb_watterott.c | 194 u8 rotate; in set_var() local 197 switch (par->info->var.rotate) { in set_var() 199 rotate = 27; in set_var() 202 rotate = 18; in set_var() 205 rotate = 9; in set_var() 208 rotate = 0; in set_var() 210 write_reg(par, CMD_LCD_ORIENTATION, rotate); in set_var()
|
D | fb_ssd1305.c | 81 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()
|
D | fb_uc1611.c | 113 switch (par->info->var.rotate) { in set_addr_win() 161 switch (par->info->var.rotate) { in set_var() 232 switch (par->info->var.rotate) { in write_vmem() 266 switch (par->info->var.rotate) { in write_vmem()
|
D | fb_ili9163.c | 114 switch (par->info->var.rotate) { in set_addr_win() 138 par->info->var.rotate = 0; in set_addr_win() 167 switch (par->info->var.rotate) { in set_var()
|
D | fb_upd161704.c | 115 switch (par->info->var.rotate) { in set_addr_win() 141 switch (par->info->var.rotate) { in set_var()
|
D | fb_bd663474.c | 106 switch (par->info->var.rotate) { in set_addr_win() 131 switch (par->info->var.rotate) { in set_var()
|
D | fb_s6d1121.c | 70 switch (par->info->var.rotate) { in set_addr_win() 95 switch (par->info->var.rotate) { in set_var()
|
D | fb_ssd1289.c | 67 switch (par->info->var.rotate) { in set_addr_win() 102 switch (par->info->var.rotate) { in set_var()
|
D | fb_ili9320.c | 165 switch (par->info->var.rotate) { in set_addr_win() 190 switch (par->info->var.rotate) { in set_var()
|
D | fb_ili9325.c | 155 switch (par->info->var.rotate) { in set_addr_win() 180 switch (par->info->var.rotate) { in set_var()
|
/drivers/video/fbdev/core/ |
D | fbcon.c | 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 [all …]
|
D | fbcon_rotate.c | 40 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()
|
D | fbmem.c | 389 struct fb_image *image, int rotate) in fb_rotate_logo() argument 393 if (rotate == FB_ROTATE_UD) { in fb_rotate_logo() 398 } else if (rotate == FB_ROTATE_CW) { in fb_rotate_logo() 407 } else if (rotate == FB_ROTATE_CCW) { in fb_rotate_logo() 422 int rotate, unsigned int num) in fb_do_show_logo() argument 429 if (rotate == FB_ROTATE_UR) { in fb_do_show_logo() 436 } else if (rotate == FB_ROTATE_UD) { in fb_do_show_logo() 443 } else if (rotate == FB_ROTATE_CW) { in fb_do_show_logo() 450 } else if (rotate == FB_ROTATE_CCW) { in fb_do_show_logo() 460 static int fb_show_logo_line(struct fb_info *info, int rotate, in fb_show_logo_line() argument [all …]
|
D | fbcon.h | 48 u32 rotate; member 83 int rotate; member
|
/drivers/video/fbdev/omap2/omapfb/dss/ |
D | display-sysfs.c | 142 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/ |
D | goldfishfb.c | 91 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()
|
D | au1100fb.c | 188 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/ |
D | imx-media-csc-scaler.c | 62 int rotate; member 622 int rotate; in ipu_csc_scaler_s_ctrl() local 626 rotate = ctx->rotate; in ipu_csc_scaler_s_ctrl() 638 rotate = ctrl->val; in ipu_csc_scaler_s_ctrl() 644 ret = ipu_degrees_to_rot_mode(&rot_mode, rotate, hflip, vflip); in ipu_csc_scaler_s_ctrl() 697 ctx->rotate = rotate; in ipu_csc_scaler_s_ctrl()
|
/drivers/gpu/drm/exynos/ |
D | exynos_drm_ipp.c | 476 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/ |
D | gsc-core.c | 560 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/sunxi/ |
D | Makefile | 6 obj-y += sun8i-rotate/
|