Home
last modified time | relevance | path

Searched full:rot (Results 1 – 25 of 57) sorted by relevance

123

/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_rotator.c35 #define rot_read(offset) readl(rot->regs + (offset))
36 #define rot_write(cfg, offset) writel(cfg, rot->regs + (offset))
68 static void rotator_reg_set_irq(struct rot_context *rot, bool enable) in rotator_reg_set_irq() argument
80 static enum rot_irq_status rotator_reg_get_irq_status(struct rot_context *rot) in rotator_reg_get_irq_status() argument
94 struct rot_context *rot = arg; in rotator_irq_handler() local
99 irq_status = rotator_reg_get_irq_status(rot); in rotator_irq_handler()
106 if (rot->task) { in rotator_irq_handler()
107 struct exynos_drm_ipp_task *task = rot->task; in rotator_irq_handler()
109 rot->task = NULL; in rotator_irq_handler()
110 pm_runtime_mark_last_busy(rot->dev); in rotator_irq_handler()
[all …]
/linux/arch/riscv/boot/dts/canaan/
H A Dcanaan_kd233.dts85 <K210_FPIOA(20, K210_PCF_GPIOHS4)>, /* Rot. dip sw line 8 */
86 <K210_FPIOA(21, K210_PCF_GPIOHS5)>, /* Rot. dip sw line 4 */
87 <K210_FPIOA(22, K210_PCF_GPIOHS6)>, /* Rot. dip sw line 2 */
88 <K210_FPIOA(23, K210_PCF_GPIOHS7)>, /* Rot. dip sw line 1 */
/linux/drivers/video/fbdev/
H A Dsh7760fb.c38 int rot; /* rotation enabled? */ member
208 par->rot = par->pd->rotate; in sh7760fb_set_par()
211 if (par->rot && (vm->xres > 320)) { in sh7760fb_set_par()
213 par->rot = 0; in sh7760fb_set_par()
233 par->rot ? "rotated" : "normal"); in sh7760fb_set_par()
254 iowrite16((par->rot ? 1 << 13 : 0), par->base + LDSMR); /* rotate */ in sh7760fb_set_par()
270 stride = (par->rot) ? vtln : hdcn; in sh7760fb_set_par()
284 if (par->rot) { in sh7760fb_set_par()
298 if (par->rot) in sh7760fb_set_par()
314 if (par->rot) in sh7760fb_set_par()
/linux/drivers/clk/sunxi-ng/
H A Dccu-sun8i-de2.c27 static SUNXI_CCU_GATE(bus_rot_clk, "bus-rot", "bus-de",
36 static SUNXI_CCU_GATE(rot_clk, "rot", "rot-div",
45 static SUNXI_CCU_M(rot_div_clk, "rot-div", "de", 0x0c, 0x0c, 4,
54 static SUNXI_CCU_M(rot_div_a83_clk, "rot-div", "pll-de", 0x0c, 0x0c, 4,
/linux/drivers/video/fbdev/omap2/omapfb/
H A Domapfb-sysfs.c363 int rot; in store_overlays_rotate() local
370 rot = simple_strtoul(p, &p, 0); in store_overlays_rotate()
371 if (rot < 0 || rot > 3) { in store_overlays_rotate()
376 if (ofbi->rotation[num_ovls] != rot) in store_overlays_rotate()
379 rotation[num_ovls++] = rot; in store_overlays_rotate()
/linux/include/video/
H A Domapvrfb.h37 extern int omap_vrfb_map_angle(struct vrfb *vrfb, u16 height, u8 rot);
52 static inline int omap_vrfb_map_angle(struct vrfb *vrfb, u16 height, u8 rot) in omap_vrfb_map_angle() argument
H A Dimx-ipu-v3.h268 enum ipu_rotate_mode rot);
445 enum ipu_rotate_mode rot);
/linux/Documentation/devicetree/bindings/display/msm/
H A Dqcom,sm6115-dpu.yaml43 - const: rot
73 clock-names = "bus", "iface", "core", "lut", "rot", "vsync";
H A Dqcom,sc7180-dpu.yaml48 - const: rot
98 clock-names = "bus", "iface", "rot", "lut", "core",
H A Dqcom,sm7150-dpu.yaml41 - const: rot
74 "rot",
H A Dqcom,sm6125-mdss.yaml126 "rot",
H A Dqcom,sm6115-mdss.yaml117 clock-names = "bus", "iface", "core", "lut", "rot", "vsync";
H A Dqcom,sm6375-mdss.yaml120 "rot",
H A Dqcom,sm6350-mdss.yaml126 clock-names = "bus", "iface", "rot", "lut", "core",
/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_format_caps.h80 u32 layer_type, u64 modifier, u32 rot);
99 u32 rot);
H A Dkomeda_format_caps.c97 u32 rot) in komeda_format_mod_supported() argument
110 rot); in komeda_format_mod_supported()
H A Dkomeda_plane.c50 dflow->rot = drm_rotation_simplify(st->rotation, caps->supported_rots); in komeda_plane_init_data_flow()
51 if (!has_bits(dflow->rot, caps->supported_rots)) { in komeda_plane_init_data_flow()
53 dflow->rot, &caps->fourcc, fb->modifier); in komeda_plane_init_data_flow()
H A Dkomeda_kms.h159 static inline bool has_flip_h(u32 rot) in has_flip_h() argument
161 u32 rotation = drm_rotation_simplify(rot, in has_flip_h()
H A Dkomeda_framebuffer.h47 u32 rot);
H A Dkomeda_framebuffer.c269 u32 rot) in komeda_fb_is_layer_supported() argument
278 fourcc, modifier, rot); in komeda_fb_is_layer_supported()
H A Dkomeda_pipeline.h246 u32 rot; member
349 * set rotation to R180, but HW only supports REFLECT_X+Y. the rot here is
359 u32 rot; member
H A Dkomeda_wb_connector.c29 dflow->rot = DRM_MODE_ROTATE_0; in komeda_wb_init_data_flow()
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddisplay-sysfs.c153 int rot, r; in display_rotate_store() local
158 r = kstrtoint(buf, 0, &rot); in display_rotate_store()
162 r = dssdev->driver->set_rotate(dssdev, rot); in display_rotate_store()
/linux/scripts/gcc-plugins/
H A Drandomize_layout_plugin.c125 #define rot(x,k) (((x)<<(k))|((x)>>(64-(k)))) macro
127 u64 e = x->a - rot(x->b, 7); in ranval()
128 x->a = x->b ^ rot(x->c, 13); in ranval()
129 x->b = x->c + rot(x->d, 37); in ranval()
/linux/drivers/gpu/drm/arm/display/komeda/d71/
H A Dd71_component.c128 static u32 to_rot_ctrl(u32 rot) in to_rot_ctrl() argument
132 switch (rot & DRM_MODE_ROTATE_MASK) { in to_rot_ctrl()
147 if (rot & DRM_MODE_REFLECT_X) in to_rot_ctrl()
149 if (rot & DRM_MODE_REFLECT_Y) in to_rot_ctrl()
225 u32 ctrl = L_EN | to_rot_ctrl(st->rot); in d71_layer_update()
368 if (drm_rotation_90_or_270(st->rot)) in d71_layer_validate()

123