| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/ |
| D | allwinner,sun8i-a83t-de2-rotate.yaml | 4 $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-4.19/include/linux/ |
| D | bitops.h | 57 * rol64 - rotate a 64-bit value left 58 * @word: value to rotate 67 * ror64 - rotate a 64-bit value right 68 * @word: value to rotate 77 * rol32 - rotate a 32-bit value left 78 * @word: value to rotate 87 * ror32 - rotate a 32-bit value right 88 * @word: value to rotate 97 * rol16 - rotate a 16-bit value left 98 * @word: value to rotate [all …]
|
| D | rbtree_augmented.h | 42 void (*rotate)(struct rb_node *old, struct rb_node *new); member 63 __rb_insert_augmented(node, root, false, NULL, augment->rotate); in rb_insert_augmented() 72 newleft, &root->rb_leftmost, augment->rotate); in rb_insert_augmented_cached() 107 .rotate = rbname ## _rotate \ 278 __rb_erase_color(rebalance, root, augment->rotate); in rb_erase_augmented() 289 __rb_erase_color(rebalance, &root->rb_root, augment->rotate); in rb_erase_augmented_cached()
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | bitops.h | 79 * 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-4.19/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() 260 if (wpf->flip.rotate) in wpf_configure_stream() 410 if (flip & BIT(WPF_CTRL_HFLIP) && !wpf->flip.rotate) in wpf_configure_partition() 413 else if (flip & BIT(WPF_CTRL_VFLIP) && wpf->flip.rotate) in wpf_configure_partition() [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 | 24 #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-5.10/drivers/video/fbdev/core/ |
| D | fbcon_rotate.c | 41 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()
|
| D | fbcon.c | 216 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 …]
|
| D | fbmem.c | 387 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-4.19/drivers/video/fbdev/core/ |
| D | fbcon_rotate.c | 41 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()
|
| D | fbcon.c | 199 ops->rotate = ops->p->con_rotate; in fbcon_set_rotation() 201 ops->rotate = 0; in fbcon_set_rotation() 204 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument 217 if (rotate < 4) in fbcon_rotate() 218 p->con_rotate = rotate; in fbcon_rotate() 226 static void fbcon_rotate_all(struct fb_info *info, u32 rotate) in fbcon_rotate_all() argument 233 if (!ops || ops->currcon < 0 || rotate > 3) in fbcon_rotate_all() 243 p->con_rotate = rotate; in fbcon_rotate_all() 253 ops->rotate = FB_ROTATE_UR; in fbcon_set_rotation() 256 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument [all …]
|
| D | fbmem.c | 393 struct fb_image *image, int rotate) in fb_rotate_logo() argument 397 if (rotate == FB_ROTATE_UD) { in fb_rotate_logo() 402 } else if (rotate == FB_ROTATE_CW) { in fb_rotate_logo() 411 } else if (rotate == FB_ROTATE_CCW) { in fb_rotate_logo() 426 int rotate, unsigned int num) in fb_do_show_logo() argument 433 if (rotate == FB_ROTATE_UR) { in fb_do_show_logo() 440 } else if (rotate == FB_ROTATE_UD) { in fb_do_show_logo() 447 } else if (rotate == FB_ROTATE_CW) { in fb_do_show_logo() 454 } else if (rotate == FB_ROTATE_CCW) { in fb_do_show_logo() 464 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/ |
| 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()
|
| /kernel/linux/linux-4.19/drivers/staging/fbtft/ |
| D | fb_watterott.c | 193 u8 rotate; in set_var() local 196 switch (par->info->var.rotate) { in set_var() 198 rotate = 27; in set_var() 201 rotate = 18; in set_var() 204 rotate = 9; in set_var() 207 rotate = 0; in set_var() 209 write_reg(par, CMD_LCD_ORIENTATION, rotate); in set_var()
|
| D | fbtft_device.c | 27 static unsigned int rotate; variable 28 module_param(rotate, uint, 0000); 29 MODULE_PARM_DESC(rotate, 30 "Angle to rotate display counter clockwise: 0, 90, 180, 270"); 1446 if (rotate > 0 && rotate < 4) { in fbtft_device_init() 1447 rotate = (4 - rotate) * 90; in fbtft_device_init() 1448 pr_warn("argument 'rotate' should be an angle. Values 1-3 is deprecated. Setting it to %d.\n", in fbtft_device_init() 1449 rotate); in fbtft_device_init() 1451 if (rotate != 0 && rotate != 90 && rotate != 180 && rotate != 270) { in fbtft_device_init() 1452 pr_warn("argument 'rotate' illegal value: %d. Setting it to 0.\n", in fbtft_device_init() [all …]
|
| /kernel/linux/linux-5.10/tools/lib/ |
| D | rbtree.c | 143 * 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-4.19/tools/lib/ |
| D | rbtree.c | 120 * Case 2 - left rotate at parent in __rb_insert() 143 * Case 3 - right rotate at gparent in __rb_insert() 172 /* Case 2 - right rotate at parent */ in __rb_insert() 184 /* Case 3 - left rotate at gparent */ in __rb_insert() 218 * Case 1 - left rotate at parent in ____rb_erase_color() 266 * Case 3 - right rotate at sibling in ____rb_erase_color() 288 * Case 4 - left rotate at parent + color flips in ____rb_erase_color() 311 /* Case 1 - right rotate at parent */ in ____rb_erase_color() 337 /* Case 3 - right rotate at sibling */ in ____rb_erase_color() 348 /* Case 4 - left rotate at parent + color flips */ in ____rb_erase_color()
|
| /kernel/linux/linux-5.10/lib/ |
| D | rbtree.c | 143 * 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-4.19/lib/ |
| D | rbtree.c | 159 * the parent's right child (left rotate at parent). in __rb_insert() 184 * the parent's left child (right rotate at gparent). in __rb_insert() 213 /* Case 2 - right rotate at parent */ in __rb_insert() 226 /* Case 3 - left rotate at gparent */ in __rb_insert() 260 * Case 1 - left rotate at parent in ____rb_erase_color() 309 * Case 3 - right rotate at sibling in ____rb_erase_color() 347 * Case 4 - left rotate at parent + color flips in ____rb_erase_color() 371 /* Case 1 - right rotate at parent */ in ____rb_erase_color() 398 /* Case 3 - left rotate at sibling */ in ____rb_erase_color() 410 /* Case 4 - right rotate at parent + color flips */ in ____rb_erase_color() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/selftests/ |
| D | test-drm_cmdline_parser.c | 733 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 …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-omap1/ |
| D | lcd_dma.c | 57 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-4.19/arch/arm/mach-omap1/ |
| D | lcd_dma.c | 61 int rotate, data_type, xres, yres; member 92 void omap_set_lcd_dma_b1_rotation(int rotate) in omap_set_lcd_dma_b1_rotation() argument 99 lcd_dma.rotate = rotate; in omap_set_lcd_dma_b1_rotation() 168 switch (lcd_dma.rotate) { in set_b1_regs() 271 if (!(lcd_dma.rotate || lcd_dma.mirror || in set_b1_regs() 320 lcd_dma.rotate = 0; in omap_request_lcd_dma()
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/ |
| D | drm_blend.c | 164 * "rotate-0" 166 * "rotate-90" 168 * "rotate-180" 170 * "rotate-270" 186 { __builtin_ffs(DRM_MODE_ROTATE_0) - 1, "rotate-0" }, in drm_plane_create_rotation_property() 187 { __builtin_ffs(DRM_MODE_ROTATE_90) - 1, "rotate-90" }, in drm_plane_create_rotation_property() 188 { __builtin_ffs(DRM_MODE_ROTATE_180) - 1, "rotate-180" }, in drm_plane_create_rotation_property() 189 { __builtin_ffs(DRM_MODE_ROTATE_270) - 1, "rotate-270" }, in drm_plane_create_rotation_property()
|