| /linux/drivers/video/fbdev/core/ |
| H A D | fb_logo.c | 211 struct fb_image *image, int rotate) in fb_rotate_logo() argument 215 if (rotate == FB_ROTATE_UD) { in fb_rotate_logo() 220 } else if (rotate == FB_ROTATE_CW) { in fb_rotate_logo() 227 } else if (rotate == FB_ROTATE_CCW) { in fb_rotate_logo() 240 int rotate, unsigned int num) in fb_do_show_logo() argument 247 if (rotate == FB_ROTATE_UR) { in fb_do_show_logo() 254 } else if (rotate == FB_ROTATE_UD) { in fb_do_show_logo() 261 } else if (rotate == FB_ROTATE_CW) { in fb_do_show_logo() 268 } else if (rotate == FB_ROTATE_CCW) { in fb_do_show_logo() 278 static int fb_show_logo_line(struct fb_info *info, int rotate, in fb_show_logo_line() argument [all …]
|
| H A D | fb_fillrect.h | 108 void (*rotate)(struct fb_pattern *pattern), in bitfill() 129 rotate(pattern); in bitfill() 134 rotate(pattern); in bitfill() 136 rotate(pattern); in bitfill() 138 rotate(pattern); in bitfill() 140 rotate(pattern); in bitfill() 144 rotate(pattern); in bitfill() 156 void (*rotate)(struct fb_pattern *pattern), in bitinvert() 176 rotate(pattern); in bitinvert() 182 rotate(pattern); in bitinvert() [all …]
|
| H A D | fbcon.c | 207 par->rotate = par->p->con_rotate; in fbcon_set_rotation() 209 par->rotate = 0; in fbcon_set_rotation() 212 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument 225 if (rotate < 4) in fbcon_rotate() 226 p->con_rotate = rotate; in fbcon_rotate() 234 static void fbcon_rotate_all(struct fb_info *info, u32 rotate) in fbcon_rotate_all() argument 241 if (!par || par->currcon < 0 || rotate > 3) in fbcon_rotate_all() 251 p->con_rotate = rotate; in fbcon_rotate_all() 261 par->rotate = FB_ROTATE_UR; in fbcon_set_rotation() 264 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument [all …]
|
| /linux/drivers/media/platform/sunxi/sun8i-rotate/ |
| H A 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
|
| H A D | sun8i_rotate.c | 79 val |= ROTATE_GLB_CTL_ROTATION(ctx->rotate / 90); in rotate_device_run() 80 if (ctx->rotate != 90 && ctx->rotate != 270) in rotate_device_run() 259 u32 rotate) in rotate_set_cap_format() argument 274 if (rotate == 90 || rotate == 270) { in rotate_set_cap_format() 312 return rotate_set_cap_format(ctx, &f->fmt.pix, ctx->rotate); in rotate_try_fmt_vid_cap() 389 return rotate_set_cap_format(ctx, &ctx->dst_fmt, ctx->rotate); in rotate_s_fmt_vid_out() 597 ctx->rotate = ctrl->val; in rotate_s_ctrl() 658 rotate_set_cap_format(ctx, &ctx->dst_fmt, ctx->rotate); in rotate_open()
|
| /linux/drivers/staging/fbtft/ |
| H A 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()
|
| H A D | fb_uc1611.c | 113 switch (par->info->var.rotate) { in set_addr_win() 158 switch (par->info->var.rotate) { in set_var() 229 switch (par->info->var.rotate) { in write_vmem() 263 switch (par->info->var.rotate) { in write_vmem()
|
| H A D | fb_bd663474.c | 106 switch (par->info->var.rotate) { in set_addr_win() 131 switch (par->info->var.rotate) { in set_var()
|
| H A D | fb_s6d1121.c | 70 switch (par->info->var.rotate) { in set_addr_win() 95 switch (par->info->var.rotate) { in set_var()
|
| H A D | fb_ssd1289.c | 67 switch (par->info->var.rotate) { in set_addr_win() 99 switch (par->info->var.rotate) { in set_var()
|
| H A D | fb_ili9320.c | 163 switch (par->info->var.rotate) { in set_addr_win() 188 switch (par->info->var.rotate) { in set_var()
|
| H A D | fb_ili9325.c | 155 switch (par->info->var.rotate) { in set_addr_win() 180 switch (par->info->var.rotate) { in set_var()
|
| /linux/tools/include/linux/ |
| H A D | rbtree_augmented.h | 32 void (*rotate)(struct rb_node *old, struct rb_node *new); member 52 __rb_insert_augmented(node, root, augment->rotate); in rb_insert_augmented() 106 .rotate = RBNAME ## _rotate \ 296 __rb_erase_color(rebalance, root, augment->rotate); in rb_erase_augmented()
|
| /linux/drivers/video/fbdev/omap2/omapfb/dss/ |
| H A D | display-sysfs.c | 143 int rotate; in display_rotate_show() local 146 rotate = dssdev->driver->get_rotate(dssdev); in display_rotate_show() 147 return sysfs_emit(buf, "%u\n", rotate); in display_rotate_show() 251 static DISPLAY_ATTR(rotate, S_IRUGO|S_IWUSR,
|
| /linux/include/linux/ |
| H A D | rbtree_augmented.h | 30 void (*rotate)(struct rb_node *old, struct rb_node *new); member 50 __rb_insert_augmented(node, root, augment->rotate); in rb_insert_augmented() 130 .rotate = RBNAME ## _rotate \ 352 __rb_erase_color(rebalance, root, augment->rotate); in rb_erase_augmented()
|
| /linux/drivers/video/fbdev/ |
| H A 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()
|
| /linux/drivers/staging/media/imx/ |
| H A D | imx-media-csc-scaler.c | 60 int rotate; member 623 int rotate; in ipu_csc_scaler_s_ctrl() local 627 rotate = ctx->rotate; in ipu_csc_scaler_s_ctrl() 639 rotate = ctrl->val; in ipu_csc_scaler_s_ctrl() 645 ret = ipu_degrees_to_rot_mode(&rot_mode, rotate, hflip, vflip); in ipu_csc_scaler_s_ctrl() 698 ctx->rotate = rotate; in ipu_csc_scaler_s_ctrl()
|
| /linux/drivers/media/platform/sunxi/ |
| H A D | Makefile | 8 obj-y += sun8i-rotate/
|
| H A D | Kconfig | 10 source "drivers/media/platform/sunxi/sun8i-rotate/Kconfig"
|
| /linux/drivers/media/platform/samsung/exynos-gsc/ |
| H A D | gsc-core.c | 558 if (ctx->gsc_ctrls.rotate->val == 90 || in gsc_try_selection() 559 ctx->gsc_ctrls.rotate->val == 270) { in gsc_try_selection() 579 (ctx->gsc_ctrls.rotate->val == 90 || in gsc_try_selection() 580 ctx->gsc_ctrls.rotate->val == 270)) in gsc_try_selection() 644 ctx->gsc_ctrls.rotate->val, ctx->out_path); in gsc_set_scaler_info() 650 if (ctx->gsc_ctrls.rotate->val == 90 || in gsc_set_scaler_info() 651 ctx->gsc_ctrls.rotate->val == 270) { in gsc_set_scaler_info() 723 ctx->gsc_ctrls.rotate->val, in __gsc_s_ctrl() 768 ctx->gsc_ctrls.rotate = v4l2_ctrl_new_std(&ctx->ctrl_handler, in gsc_ctrls_create()
|
| /linux/drivers/media/platform/mediatek/mdp3/ |
| H A D | mtk-mdp3-m2m.h | 26 struct v4l2_ctrl *rotate; member
|
| /linux/drivers/media/platform/mediatek/mdp/ |
| H A D | mtk_mdp_m2m.c | 307 if (ctx->ctrls.rotate->val == 90 || in mtk_mdp_try_crop() 308 ctx->ctrls.rotate->val == 270) { in mtk_mdp_try_crop() 328 (ctx->ctrls.rotate->val == 90 || ctx->ctrls.rotate->val == 270)) in mtk_mdp_try_crop() 873 ctx->ctrls.rotate->val); in mtk_mdp_m2m_s_selection() 878 new_r.height, ctx->ctrls.rotate->val); in mtk_mdp_m2m_s_selection() 974 ctx->ctrls.rotate->val); in mtk_mdp_s_ctrl() 997 ctx->ctrls.rotate = v4l2_ctrl_new_std(&ctx->ctrl_handler, in mtk_mdp_ctrls_create()
|
| /linux/tools/testing/selftests/kvm/s390/ |
| H A D | memop.c | 511 static __uint128_t rotate(int size, __uint128_t val, int amount) in rotate() function 564 new = rotate(16, old, i * 8); in permutate_bits() 567 new = rotate(16, new, -i * 8); in permutate_bits() 568 new = rotate(16, new, j * 8); in permutate_bits() 571 new = rotate(16, new, -j * 8); in permutate_bits() 572 new = rotate(16, new, i * 8); in permutate_bits() 574 new = rotate(16, new, -i * 8); in permutate_bits() 579 return rotate(size, old, amount); in permutate_bits()
|
| /linux/tools/perf/util/ |
| H A D | top.h | 56 bool rotate; member
|
| /linux/drivers/video/fbdev/omap/ |
| H A D | lcd_dma.h | 58 extern void omap_set_lcd_dma_b1_rotation(int rotate);
|