Home
last modified time | relevance | path

Searched full:rotate (Results 1 – 25 of 547) sorted by relevance

12345678910>>...22

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/
Dallwinner,sun8i-a83t-de2-rotate.yaml4 $id: http://devicetree.org/schemas/media/allwinner,sun8i-a83t-de2-rotate.yaml#
7 title: Allwinner A83T DE2 Rotate Device Tree Bindings
21 - const: allwinner,sun8i-a83t-de2-rotate
23 - const: allwinner,sun50i-a64-de2-rotate
24 - const: allwinner,sun8i-a83t-de2-rotate
34 - description: Rotate interface clock
35 - description: Rotate module clock
59 rotate: rotate@1020000 {
60 compatible = "allwinner,sun8i-a83t-de2-rotate";
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/media/
Dallwinner,sun8i-a83t-de2-rotate.yaml4 $id: http://devicetree.org/schemas/media/allwinner,sun8i-a83t-de2-rotate.yaml#
7 title: Allwinner A83T DE2 Rotate
21 - const: allwinner,sun8i-a83t-de2-rotate
23 - const: allwinner,sun50i-a64-de2-rotate
24 - const: allwinner,sun8i-a83t-de2-rotate
34 - description: Rotate interface clock
35 - description: Rotate module clock
59 rotate: rotate@1020000 {
60 compatible = "allwinner,sun8i-a83t-de2-rotate";
/kernel/linux/linux-5.10/include/linux/
Dbitops.h79 * rol64 - rotate a 64-bit value left
80 * @word: value to rotate
89 * ror64 - rotate a 64-bit value right
90 * @word: value to rotate
99 * rol32 - rotate a 32-bit value left
100 * @word: value to rotate
109 * ror32 - rotate a 32-bit value right
110 * @word: value to rotate
119 * rol16 - rotate a 16-bit value left
120 * @word: value to rotate
[all …]
/kernel/linux/linux-6.6/include/linux/
Dbitops.h101 * rol64 - rotate a 64-bit value left
102 * @word: value to rotate
111 * ror64 - rotate a 64-bit value right
112 * @word: value to rotate
121 * rol32 - rotate a 32-bit value left
122 * @word: value to rotate
131 * ror32 - rotate a 32-bit value right
132 * @word: value to rotate
141 * rol16 - rotate a 16-bit value left
142 * @word: value to rotate
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/ci/
Dtestlist.txt140 kms_big_fb@linear-8bpp-rotate-0
141 kms_big_fb@linear-8bpp-rotate-90
142 kms_big_fb@linear-8bpp-rotate-180
143 kms_big_fb@linear-8bpp-rotate-270
144 kms_big_fb@linear-16bpp-rotate-0
145 kms_big_fb@linear-16bpp-rotate-90
146 kms_big_fb@linear-16bpp-rotate-180
147 kms_big_fb@linear-16bpp-rotate-270
148 kms_big_fb@linear-32bpp-rotate-0
149 kms_big_fb@linear-32bpp-rotate-90
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/renesas/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()
262 if (wpf->flip.rotate) in wpf_configure_stream()
434 if (flip & BIT(WPF_CTRL_HFLIP) && !wpf->flip.rotate) in wpf_configure_partition()
436 else if (flip & BIT(WPF_CTRL_VFLIP) && wpf->flip.rotate) in wpf_configure_partition()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/drivers/media/platform/sunxi/sun8i-rotate/
DMakefile2 sun8i-rotate-y += sun8i_rotate.o
3 sun8i-rotate-y += sun8i_formats.o
5 obj-$(CONFIG_VIDEO_SUN8I_ROTATE) += sun8i-rotate.o
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() 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()
896 { .compatible = "allwinner,sun8i-a83t-de2-rotate" },
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun8i-rotate/
DMakefile2 sun8i-rotate-y += sun8i_rotate.o
3 sun8i-rotate-y += sun8i_formats.o
5 obj-$(CONFIG_VIDEO_SUN8I_ROTATE) += sun8i-rotate.o
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() 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()
898 { .compatible = "allwinner,sun8i-a83t-de2-rotate" },
[all …]
/kernel/linux/linux-6.6/drivers/video/fbdev/core/
Dfbmem.c387 struct fb_image *image, int rotate) in fb_rotate_logo() argument
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() argument
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
[all …]
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.c203 ops->rotate = ops->p->con_rotate; in fbcon_set_rotation()
205 ops->rotate = 0; in fbcon_set_rotation()
208 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
221 if (rotate < 4) in fbcon_rotate()
222 p->con_rotate = rotate; in fbcon_rotate()
230 static void fbcon_rotate_all(struct fb_info *info, u32 rotate) in fbcon_rotate_all() argument
237 if (!ops || ops->currcon < 0 || rotate > 3) in fbcon_rotate_all()
247 p->con_rotate = rotate; in fbcon_rotate_all()
257 ops->rotate = FB_ROTATE_UR; in fbcon_set_rotation()
260 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
[all …]
/kernel/linux/linux-6.6/arch/powerpc/crypto/
Daesp10-ppc.pl201 vperm $key,$in0,$in0,$mask # rotate-n-splat
203 vperm $outtail,$in0,$in0,$outperm # rotate
221 vperm $key,$in0,$in0,$mask # rotate-n-splat
223 vperm $outtail,$in0,$in0,$outperm # rotate
238 vperm $key,$in0,$in0,$mask # rotate-n-splat
240 vperm $outtail,$in0,$in0,$outperm # rotate
253 vperm $outtail,$in0,$in0,$outperm # rotate
268 vperm $outtail,$in0,$in0,$outperm # rotate
299 vperm $key,$in1,$in1,$mask # rotate-n-splat
301 vperm $outtail,$stage,$stage,$outperm # rotate
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
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()
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
[all …]
Dfbmem.c387 struct fb_image *image, int rotate) in fb_rotate_logo() argument
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() argument
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
[all …]
/kernel/linux/linux-5.10/drivers/staging/fbtft/
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()
/kernel/linux/linux-5.10/tools/lib/
Drbtree.c143 * the parent's right child (left rotate at parent). in __rb_insert()
168 * the parent's left child (right rotate at gparent). in __rb_insert()
197 /* Case 2 - right rotate at parent */ in __rb_insert()
210 /* Case 3 - left rotate at gparent */ in __rb_insert()
244 * Case 1 - left rotate at parent in ____rb_erase_color()
293 * Case 3 - right rotate at sibling in ____rb_erase_color()
331 * Case 4 - left rotate at parent + color flips in ____rb_erase_color()
355 /* Case 1 - right rotate at parent */ in ____rb_erase_color()
382 /* Case 3 - left rotate at sibling */ in ____rb_erase_color()
394 /* Case 4 - right rotate at parent + color flips */ in ____rb_erase_color()
[all …]
/kernel/linux/linux-6.6/tools/lib/
Drbtree.c143 * the parent's right child (left rotate at parent). in __rb_insert()
168 * the parent's left child (right rotate at gparent). in __rb_insert()
197 /* Case 2 - right rotate at parent */ in __rb_insert()
210 /* Case 3 - left rotate at gparent */ in __rb_insert()
244 * Case 1 - left rotate at parent in ____rb_erase_color()
293 * Case 3 - right rotate at sibling in ____rb_erase_color()
331 * Case 4 - left rotate at parent + color flips in ____rb_erase_color()
355 /* Case 1 - right rotate at parent */ in ____rb_erase_color()
382 /* Case 3 - left rotate at sibling */ in ____rb_erase_color()
394 /* Case 4 - right rotate at parent + color flips */ in ____rb_erase_color()
[all …]
/kernel/linux/linux-5.10/lib/
Drbtree.c143 * the parent's right child (left rotate at parent). in __rb_insert()
168 * the parent's left child (right rotate at gparent). in __rb_insert()
197 /* Case 2 - right rotate at parent */ in __rb_insert()
210 /* Case 3 - left rotate at gparent */ in __rb_insert()
244 * Case 1 - left rotate at parent in ____rb_erase_color()
293 * Case 3 - right rotate at sibling in ____rb_erase_color()
331 * Case 4 - left rotate at parent + color flips in ____rb_erase_color()
355 /* Case 1 - right rotate at parent */ in ____rb_erase_color()
382 /* Case 3 - left rotate at sibling */ in ____rb_erase_color()
394 /* Case 4 - right rotate at parent + color flips */ in ____rb_erase_color()
[all …]
/kernel/linux/linux-6.6/lib/
Drbtree.c143 * the parent's right child (left rotate at parent). in __rb_insert()
168 * the parent's left child (right rotate at gparent). in __rb_insert()
197 /* Case 2 - right rotate at parent */ in __rb_insert()
210 /* Case 3 - left rotate at gparent */ in __rb_insert()
244 * Case 1 - left rotate at parent in ____rb_erase_color()
293 * Case 3 - right rotate at sibling in ____rb_erase_color()
331 * Case 4 - left rotate at parent + color flips in ____rb_erase_color()
355 /* Case 1 - right rotate at parent */ in ____rb_erase_color()
382 /* Case 3 - left rotate at sibling */ in ____rb_erase_color()
394 /* Case 4 - right rotate at parent + color flips */ in ____rb_erase_color()
[all …]
/kernel/linux/linux-6.6/arch/openrisc/
DKconfig138 bool "Have instruction l.ror for rotate right"
146 l.ror rotate right instruction.
151 bool "Have instruction l.rori for rotate right with immediate"
159 l.rori rotate right with immediate instruction.
/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/
Dtest-drm_cmdline_parser.c733 FAIL_ON(!drm_mode_parse_command_line_for_connector("NTSC,rotate=180", in drm_cmdline_test_name_option()
747 FAIL_ON(!drm_mode_parse_command_line_for_connector("NTSC-24,rotate=180", in drm_cmdline_test_name_bpp_option()
763 FAIL_ON(!drm_mode_parse_command_line_for_connector("720x480,rotate=0", in drm_cmdline_test_rotate_0()
788 FAIL_ON(!drm_mode_parse_command_line_for_connector("720x480,rotate=90", in drm_cmdline_test_rotate_90()
813 FAIL_ON(!drm_mode_parse_command_line_for_connector("720x480,rotate=180", in drm_cmdline_test_rotate_180()
838 FAIL_ON(!drm_mode_parse_command_line_for_connector("720x480,rotate=270", in drm_cmdline_test_rotate_270()
863 FAIL_ON(drm_mode_parse_command_line_for_connector("720x480,rotate=0,rotate=90", in drm_cmdline_test_rotate_multiple()
874 FAIL_ON(drm_mode_parse_command_line_for_connector("720x480,rotate=42", in drm_cmdline_test_rotate_invalid_val()
885 FAIL_ON(drm_mode_parse_command_line_for_connector("720x480,rotate=", in drm_cmdline_test_rotate_truncated()
974 FAIL_ON(!drm_mode_parse_command_line_for_connector("720x480,rotate=270,reflect_x", in drm_cmdline_test_multiple_options()
[all …]

12345678910>>...22