Home
last modified time | relevance | path

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

123456

/linux-6.15/drivers/video/fbdev/core/
H A Dfb_fillrect.h130 rotate(pattern); in bitfill()
135 rotate(pattern); in bitfill()
137 rotate(pattern); in bitfill()
139 rotate(pattern); in bitfill()
141 rotate(pattern); in bitfill()
145 rotate(pattern); in bitfill()
177 rotate(pattern); in bitinvert()
183 rotate(pattern); in bitinvert()
185 rotate(pattern); in bitinvert()
187 rotate(pattern); in bitinvert()
[all …]
H A Dfb_logo.c215 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()
329 if (rotate == FB_ROTATE_CW || rotate == FB_ROTATE_CCW) { in fb_show_logo_line()
346 if (rotate) { in fb_show_logo_line()
411 y = fb_show_logo_line(info, rotate, in fb_show_extra_logos()
[all …]
H A Dfb_internal.h27 int fb_prepare_logo(struct fb_info *fb_info, int rotate);
28 int fb_show_logo(struct fb_info *fb_info, int rotate);
30 static inline int fb_prepare_logo(struct fb_info *info, int rotate) in fb_prepare_logo() argument
34 static inline int fb_show_logo(struct fb_info *info, int rotate) in fb_show_logo() argument
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.c201 ops->rotate = 0; in fbcon_set_rotation()
217 if (rotate < 4) in fbcon_rotate()
218 p->con_rotate = rotate; in fbcon_rotate()
243 p->con_rotate = rotate; in fbcon_rotate_all()
253 ops->rotate = FB_ROTATE_UR; in fbcon_set_rotation()
912 disp->rotate = var->rotate; in var_to_display()
936 var->rotate = disp->rotate; in display_to_var()
1148 ops->rotate = FB_ROTATE_UR; in fbcon_init()
3166 int rotate, idx; in rotate_store() local
3188 int rotate, idx; in rotate_all_store() local
[all …]
H A Dfbcon.h46 u32 rotate; member
81 int rotate; member
/linux-6.15/Documentation/devicetree/bindings/media/
H A Dallwinner,sun8i-a83t-de2-rotate.yaml4 $id: http://devicetree.org/schemas/media/allwinner,sun8i-a83t-de2-rotate.yaml#
21 - const: allwinner,sun8i-a83t-de2-rotate
23 - const: allwinner,sun50i-a64-de2-rotate
24 - const: allwinner,sun8i-a83t-de2-rotate
59 rotate: rotate@1020000 {
60 compatible = "allwinner,sun8i-a83t-de2-rotate";
/linux-6.15/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()
75 if (rotate) { in vsp1_wpf_set_rotation()
83 wpf->flip.rotate = rotate; in vsp1_wpf_set_rotation()
101 rotation = wpf->flip.ctrls.rotate ? wpf->flip.ctrls.rotate->val : 0; in vsp1_wpf_s_ctrl()
171 wpf->flip.ctrls.rotate = in wpf_init_controls()
257 if (wpf->flip.rotate) in wpf_configure_stream()
432 if (wpf->flip.rotate) in wpf_configure_partition()
447 if (wpf->flip.rotate) in wpf_configure_partition()
[all …]
H A Dvsp1_rwpf.h56 struct v4l2_ctrl *rotate; member
60 bool rotate; member
/linux-6.15/drivers/media/platform/sunxi/sun8i-rotate/
H A DMakefile2 sun8i-rotate-y += sun8i_rotate.o
3 sun8i-rotate-y += sun8i_formats.o
5 obj-$(CONFIG_VIDEO_SUN8I_ROTATE) += sun8i-rotate.o
H A Dsun8i_rotate.c80 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()
598 ctx->rotate = ctrl->val; in rotate_s_ctrl()
659 rotate_set_cap_format(ctx, &ctx->dst_fmt, ctx->rotate); in rotate_open()
/linux-6.15/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()
/linux-6.15/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()
/linux-6.15/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()
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 Dfb_ili9163.c114 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()
H A Dfb_upd161704.c115 switch (par->info->var.rotate) { in set_addr_win()
141 switch (par->info->var.rotate) { in set_var()
H A Dfb_bd663474.c106 switch (par->info->var.rotate) { in set_addr_win()
131 switch (par->info->var.rotate) { in set_var()
H A Dfb_s6d1121.c70 switch (par->info->var.rotate) { in set_addr_win()
95 switch (par->info->var.rotate) { in set_var()
H A Dfb_ssd1289.c67 switch (par->info->var.rotate) { in set_addr_win()
99 switch (par->info->var.rotate) { in set_var()
/linux-6.15/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()
/linux-6.15/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddisplay-sysfs.c143 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-6.15/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()
/linux-6.15/drivers/video/fbdev/
H A 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()
/linux-6.15/drivers/staging/media/imx/
H A Dimx-media-csc-scaler.c62 int rotate; member
620 int rotate; in ipu_csc_scaler_s_ctrl() local
624 rotate = ctx->rotate; in ipu_csc_scaler_s_ctrl()
636 rotate = ctrl->val; in ipu_csc_scaler_s_ctrl()
642 ret = ipu_degrees_to_rot_mode(&rot_mode, rotate, hflip, vflip); in ipu_csc_scaler_s_ctrl()
695 ctx->rotate = rotate; in ipu_csc_scaler_s_ctrl()

123456