Home
last modified time | relevance | path

Searched refs:rot (Results 1 – 25 of 51) sorted by relevance

123

/linux-6.15/drivers/gpu/drm/exynos/
H A Dexynos_drm_rotator.c106 if (rot->task) { in rotator_irq_handler()
109 rot->task = NULL; in rotator_irq_handler()
229 rot->task = task; in rotator_commit()
235 rotator_start(rot); in rotator_commit()
256 rot->formats, rot->num_formats, "rotator"); in rotator_bind()
270 exynos_drm_unregister_dma(rot->drm_dev, rot->dev, &rot->dma_priv); in rotator_unbind()
286 rot = devm_kzalloc(dev, sizeof(*rot), GFP_KERNEL); in rotator_probe()
287 if (!rot) in rotator_probe()
293 rot->dev = dev; in rotator_probe()
295 if (IS_ERR(rot->regs)) in rotator_probe()
[all …]
/linux-6.15/drivers/video/fbdev/omap2/omapfb/
H A Dvrfb.c31 #define SMS_ROT_VIRT_BASE(rot) (0x1000000 * (rot)) argument
235 vrfb->vaddr[rot] = ioremap_wc(vrfb->paddr[rot], size); in omap_vrfb_map_angle()
237 if (!vrfb->vaddr[rot]) { in omap_vrfb_map_angle()
243 vrfb->vaddr[rot]); in omap_vrfb_map_angle()
251 int rot; in omap_vrfb_release_ctx() local
265 for (rot = 0; rot < 4; ++rot) { in omap_vrfb_release_ctx()
268 vrfb->paddr[rot] = 0; in omap_vrfb_release_ctx()
280 int rot; in omap_vrfb_request_ctx() local
307 for (rot = 0; rot < 4; ++rot) { in omap_vrfb_request_ctx()
312 ctx, rot * 90); in omap_vrfb_request_ctx()
[all …]
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-6.15/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-6.15/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_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_pipeline_state.c274 komeda_rotate_data_flow(struct komeda_data_flow_cfg *dflow, u32 rot) in komeda_rotate_data_flow() argument
276 if (drm_rotation_90_or_270(rot)) { in komeda_rotate_data_flow()
290 if (!komeda_fb_is_layer_supported(kfb, layer->layer_type, dflow->rot)) in komeda_layer_check_cfg()
318 if (drm_rotation_90_or_270(dflow->rot)) in komeda_layer_check_cfg()
360 st->rot = dflow->rot; in komeda_layer_validate()
393 komeda_rotate_data_flow(dflow, st->rot); in komeda_layer_validate()
855 if (drm_rotation_90_or_270(dflow->rot)) in komeda_complete_data_flow_cfg()
950 bool r90 = drm_rotation_90_or_270(dflow->rot); in komeda_split_data_flow()
951 bool flip_h = has_flip_h(dflow->rot); in komeda_split_data_flow()
1114 komeda_rotate_data_flow(dflow, dflow->rot); in komeda_build_layer_split_data_flow()
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_framebuffer.h46 u32 rot);
H A Dkomeda_framebuffer.c268 u32 rot) in komeda_fb_is_layer_supported() argument
277 fourcc, modifier, rot); in komeda_fb_is_layer_supported()
H A Dkomeda_pipeline.h246 u32 rot; member
359 u32 rot; member
H A Dkomeda_wb_connector.c29 dflow->rot = DRM_MODE_ROTATE_0; in komeda_wb_init_data_flow()
/linux-6.15/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-6.15/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",
/linux-6.15/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-6.15/scripts/gcc-plugins/
H A Drandomize_layout_plugin.c122 #define rot(x,k) (((x)<<(k))|((x)>>(64-(k)))) macro
124 u64 e = x->a - rot(x->b, 7); in ranval()
125 x->a = x->b ^ rot(x->c, 13); in ranval()
126 x->b = x->c + rot(x->d, 37); in ranval()
/linux-6.15/drivers/gpu/ipu-v3/
H A Dipu-ic.c381 enum ipu_rotate_mode rot) in ipu_ic_task_idma_init() argument
386 u32 temp_rot = bitrev8(rot) >> 5; in ipu_ic_task_idma_init()
510 if (ipu_rot_mode_is_irt(rot)) in ipu_ic_task_idma_init()
/linux-6.15/arch/x86/crypto/
H A Dtwofish-x86_64-asm_64-3way.S78 #define do16bit_ror(rot, op1, op2, T0, T1, tmp1, tmp2, ab, dst) \ argument
81 rorq $(rot), ab; \
/linux-6.15/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()
/linux-6.15/drivers/media/dvb-frontends/cxd2880/
H A Dcxd2880_dvbt2.h333 u8 rot; member
/linux-6.15/fs/btrfs/
H A Dscrub.c1308 u32 rot; in get_raid56_logic_offset() local
1315 rot = stripe_nr % map->num_stripes; in get_raid56_logic_offset()
1317 rot += i; in get_raid56_logic_offset()
1318 stripe_index = rot % map->num_stripes; in get_raid56_logic_offset()
1981 int rot; in scrub_raid56_parity_stripe() local
1985 rot = div_u64(full_stripe_start - bg->start, in scrub_raid56_parity_stripe()
1987 stripe_index = (i + rot) % map->num_stripes; in scrub_raid56_parity_stripe()
1989 btrfs_stripe_nr_to_offset(rot); in scrub_raid56_parity_stripe()

123