/Linux-v5.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";
|
/Linux-v5.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 …]
|
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() 104 .rotate = RBNAME ## _rotate \ 305 __rb_erase_color(rebalance, root, augment->rotate); in rb_erase_augmented()
|
/Linux-v5.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 …]
|
D | vsp1_rwpf.h | 56 struct v4l2_ctrl *rotate; member 60 bool rotate; member
|
/Linux-v5.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 …]
|
D | sun8i-rotate.h | 19 #define ROTATE_NAME "sun8i-rotate" 115 u32 rotate; member
|
/Linux-v5.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 …]
|
/Linux-v5.10/drivers/staging/fbtft/ |
D | fb_watterott.c | 195 u8 rotate; in set_var() local 198 switch (par->info->var.rotate) { in set_var() 200 rotate = 27; in set_var() 203 rotate = 18; in set_var() 206 rotate = 9; in set_var() 209 rotate = 0; in set_var() 211 write_reg(par, CMD_LCD_ORIENTATION, rotate); in set_var()
|
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()
|
/Linux-v5.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 …]
|
/Linux-v5.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 …]
|
/Linux-v5.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 …]
|
/Linux-v5.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()
|
/Linux-v5.10/drivers/gpu/drm/ |
D | drm_blend.c | 109 * "rotate-<degrees>": 248 * "rotate-0" 250 * "rotate-90" 252 * "rotate-180" 254 * "rotate-270" 270 { __builtin_ffs(DRM_MODE_ROTATE_0) - 1, "rotate-0" }, in drm_plane_create_rotation_property() 271 { __builtin_ffs(DRM_MODE_ROTATE_90) - 1, "rotate-90" }, in drm_plane_create_rotation_property() 272 { __builtin_ffs(DRM_MODE_ROTATE_180) - 1, "rotate-180" }, in drm_plane_create_rotation_property() 273 { __builtin_ffs(DRM_MODE_ROTATE_270) - 1, "rotate-270" }, in drm_plane_create_rotation_property()
|
/Linux-v5.10/init/ |
D | do_mounts_rd.c | 192 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-v5.10/drivers/video/fbdev/omap2/omapfb/dss/ |
D | display-sysfs.c | 142 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,
|
/Linux-v5.10/tools/include/linux/ |
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()
|
D | bitops.h | 65 * rol32 - rotate a 32-bit value left 66 * @word: value to rotate
|
/Linux-v5.10/drivers/video/fbdev/ |
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-v5.10/drivers/staging/media/imx/ |
D | imx-media-csc-scaler.c | 62 int rotate; member 622 int rotate; in ipu_csc_scaler_s_ctrl() local 626 rotate = ctx->rotate; in ipu_csc_scaler_s_ctrl() 638 rotate = ctrl->val; in ipu_csc_scaler_s_ctrl() 644 ret = ipu_degrees_to_rot_mode(&rot_mode, rotate, hflip, vflip); in ipu_csc_scaler_s_ctrl() 697 ctx->rotate = rotate; in ipu_csc_scaler_s_ctrl()
|
/Linux-v5.10/include/media/i2c/ |
D | adv7604.h | 32 ADV7604_BUS_ORDER_BRG, /* Rotate right */ 33 ADV7604_BUS_ORDER_GBR, /* Rotate left */
|