Home
last modified time | relevance | path

Searched refs:rotate (Results 1 - 25 of 193) sorted by relevance

12345678

/kernel/linux/linux-5.10/drivers/media/platform/vsp1/
H A 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()
[all...]
H A Dvsp1_rwpf.h56 struct v4l2_ctrl *rotate; member
60 bool rotate; member
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/
H A 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()
[all...]
H A Dvsp1_rwpf.h56 struct v4l2_ctrl *rotate; member
60 bool rotate; member
/kernel/linux/linux-6.6/drivers/video/fbdev/core/
H A Dfbmem.c387 struct fb_image *image, int rotate) in fb_rotate_logo()
391 if (rotate == FB_ROTATE_UD) { in fb_rotate_logo()
396 } else if (rotate == FB_ROTATE_CW) { in fb_rotate_logo()
403 } else if (rotate == FB_ROTATE_CCW) { in fb_rotate_logo()
416 int rotate, unsigned int num) in fb_do_show_logo()
423 if (rotate == FB_ROTATE_UR) { in fb_do_show_logo()
430 } else if (rotate == FB_ROTATE_UD) { in fb_do_show_logo()
437 } else if (rotate == FB_ROTATE_CW) { in fb_do_show_logo()
444 } else if (rotate == FB_ROTATE_CCW) { in fb_do_show_logo()
454 static int fb_show_logo_line(struct fb_info *info, int rotate, in fb_show_logo_line() argument
386 fb_rotate_logo(struct fb_info *info, u8 *dst, struct fb_image *image, int rotate) fb_rotate_logo() argument
415 fb_do_show_logo(struct fb_info *info, struct fb_image *image, int rotate, unsigned int num) fb_do_show_logo() argument
583 fb_show_extra_logos(struct fb_info *info, int y, int rotate) fb_show_extra_logos() argument
603 fb_show_extra_logos(struct fb_info *info, int y, int rotate) fb_show_extra_logos() argument
611 fb_prepare_logo(struct fb_info *info, int rotate) fb_prepare_logo() argument
684 fb_show_logo(struct fb_info *info, int rotate) fb_show_logo() argument
699 fb_prepare_logo(struct fb_info *info, int rotate) fb_prepare_logo() argument
700 fb_show_logo(struct fb_info *info, int rotate) fb_show_logo() argument
[all...]
H A 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()
H A Dfbcon.c198 ops->rotate = ops->p->con_rotate; in fbcon_set_rotation()
200 ops->rotate = 0; in fbcon_set_rotation()
203 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
216 if (rotate < 4) in fbcon_rotate()
217 p->con_rotate = rotate; in fbcon_rotate()
225 static void fbcon_rotate_all(struct fb_info *info, u32 rotate) in fbcon_rotate_all() argument
232 if (!ops || ops->currcon < 0 || rotate > 3) in fbcon_rotate_all()
242 p->con_rotate = rotate; in fbcon_rotate_all()
252 ops->rotate = FB_ROTATE_UR; in fbcon_set_rotation()
255 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
260 fbcon_rotate_all(struct fb_info *info, u32 rotate) fbcon_rotate_all() argument
3177 int rotate, idx; store_rotate() local
3199 int rotate, idx; store_rotate_all() local
3220 int rotate = 0, idx; show_rotate() local
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
H A Dfbcon_rotate.c41 if (ops->rotate == FB_ROTATE_CW || in fbcon_rotate_font()
42 ops->rotate == FB_ROTATE_CCW) in fbcon_rotate_font()
65 switch (ops->rotate) { in fbcon_rotate_font()
101 switch(ops->rotate) { in fbcon_set_rotate()
H A Dfbcon.c216 ops->rotate = ops->p->con_rotate; in fbcon_set_rotation()
218 ops->rotate = 0; in fbcon_set_rotation()
221 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
234 if (rotate < 4) in fbcon_rotate()
235 p->con_rotate = rotate; in fbcon_rotate()
243 static void fbcon_rotate_all(struct fb_info *info, u32 rotate) in fbcon_rotate_all() argument
250 if (!ops || ops->currcon < 0 || rotate > 3) in fbcon_rotate_all()
260 p->con_rotate = rotate; in fbcon_rotate_all()
270 ops->rotate = FB_ROTATE_UR; in fbcon_set_rotation()
273 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
278 fbcon_rotate_all(struct fb_info *info, u32 rotate) fbcon_rotate_all() argument
3183 int rotate, idx; store_rotate() local
3205 int rotate, idx; store_rotate_all() local
3226 int rotate = 0, idx; show_rotate() local
[all...]
H A Dfbmem.c387 struct fb_image *image, int rotate) in fb_rotate_logo()
391 if (rotate == FB_ROTATE_UD) { in fb_rotate_logo()
396 } else if (rotate == FB_ROTATE_CW) { in fb_rotate_logo()
405 } else if (rotate == FB_ROTATE_CCW) { in fb_rotate_logo()
420 int rotate, unsigned int num) in fb_do_show_logo()
427 if (rotate == FB_ROTATE_UR) { in fb_do_show_logo()
434 } else if (rotate == FB_ROTATE_UD) { in fb_do_show_logo()
441 } else if (rotate == FB_ROTATE_CW) { in fb_do_show_logo()
448 } else if (rotate == FB_ROTATE_CCW) { in fb_do_show_logo()
458 static int fb_show_logo_line(struct fb_info *info, int rotate, in fb_show_logo_line() argument
386 fb_rotate_logo(struct fb_info *info, u8 *dst, struct fb_image *image, int rotate) fb_rotate_logo() argument
419 fb_do_show_logo(struct fb_info *info, struct fb_image *image, int rotate, unsigned int num) fb_do_show_logo() argument
587 fb_show_extra_logos(struct fb_info *info, int y, int rotate) fb_show_extra_logos() argument
607 fb_show_extra_logos(struct fb_info *info, int y, int rotate) fb_show_extra_logos() argument
615 fb_prepare_logo(struct fb_info *info, int rotate) fb_prepare_logo() argument
688 fb_show_logo(struct fb_info *info, int rotate) fb_show_logo() argument
703 fb_prepare_logo(struct fb_info *info, int rotate) fb_prepare_logo() argument
704 fb_show_logo(struct fb_info *info, int rotate) fb_show_logo() argument
[all...]
/kernel/linux/linux-5.10/arch/arm/mach-omap1/
H A Dlcd_dma.c57 int rotate, data_type, xres, yres; member
88 void omap_set_lcd_dma_b1_rotation(int rotate) in omap_set_lcd_dma_b1_rotation() argument
95 lcd_dma.rotate = rotate; in omap_set_lcd_dma_b1_rotation()
164 switch (lcd_dma.rotate) { in set_b1_regs()
267 if (!(lcd_dma.rotate || lcd_dma.mirror || in set_b1_regs()
316 lcd_dma.rotate = 0; in omap_request_lcd_dma()
/kernel/linux/linux-5.10/drivers/staging/fbtft/
H A Dfb_watterott.c194 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()
H A 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()
H A Dfb_uc1611.c113 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()
/kernel/linux/linux-6.6/drivers/video/fbdev/omap/
H A Dlcd_dma.c60 int rotate, data_type, xres, yres; member
91 void omap_set_lcd_dma_b1_rotation(int rotate) in omap_set_lcd_dma_b1_rotation() argument
98 lcd_dma.rotate = rotate; in omap_set_lcd_dma_b1_rotation()
167 switch (lcd_dma.rotate) { in set_b1_regs()
270 if (!(lcd_dma.rotate || lcd_dma.mirror || in set_b1_regs()
319 lcd_dma.rotate = 0; in omap_request_lcd_dma()
/kernel/linux/linux-5.10/init/
H A Ddo_mounts_rd.c192 unsigned short rotate = 0; in rd_load_image() local
252 rotate = 0; in rd_load_image()
260 pr_cont("%c\b", rotator[rotate & 0x3]); in rd_load_image()
261 rotate++; in rd_load_image()
/kernel/linux/linux-6.6/init/
H A Ddo_mounts_rd.c192 unsigned short rotate = 0; in rd_load_image() local
252 rotate = 0; in rd_load_image()
260 pr_cont("%c\b", rotator[rotate & 0x3]); in rd_load_image()
261 rotate++; in rd_load_image()
/kernel/linux/linux-6.6/drivers/staging/fbtft/
H A 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()
H A Dfb_uc1611.c113 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()
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun8i-rotate/
H A Dsun8i_rotate.c24 #include "sun8i-rotate.h"
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()
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 in rotate_s_ctrl()
258 rotate_set_cap_format(struct rotate_ctx *ctx, struct v4l2_pix_format *f, u32 rotate) rotate_set_cap_format() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/sunxi/sun8i-rotate/
H A Dsun8i_rotate.c24 #include "sun8i-rotate.h"
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()
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 in rotate_s_ctrl()
258 rotate_set_cap_format(struct rotate_ctx *ctx, struct v4l2_pix_format *f, u32 rotate) rotate_set_cap_format() argument
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
H A 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,
/kernel/linux/linux-5.10/include/linux/
H A Drbtree_augmented.h30 void (*rotate)(struct rb_node *old, struct rb_node *new); member
50 __rb_insert_augmented(node, root, augment->rotate); in rb_insert_augmented()
104 .rotate = RBNAME ## _rotate \
305 __rb_erase_color(rebalance, root, augment->rotate); in rb_erase_augmented()
/kernel/linux/linux-5.10/tools/include/linux/
H A Drbtree_augmented.h32 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()
/kernel/linux/linux-6.6/include/linux/
H A Drbtree_augmented.h30 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 \
331 __rb_erase_color(rebalance, root, augment->rotate); in rb_erase_augmented()

Completed in 19 milliseconds

12345678