Home
last modified time | relevance | path

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

123

/Linux-v6.1/drivers/gpu/drm/exynos/
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-v6.1/drivers/video/fbdev/omap2/omapfb/
Dvrfb.c31 #define SMS_ROT_VIRT_BASE(rot) (0x1000000 * (rot)) argument
231 int omap_vrfb_map_angle(struct vrfb *vrfb, u16 height, u8 rot) in omap_vrfb_map_angle() 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()
242 DBG("ioremapped vrfb area %d of size %lu into %p\n", rot, size, 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()
266 if (vrfb->paddr[rot]) { in omap_vrfb_release_ctx()
267 release_mem_region(vrfb->paddr[rot], OMAP_VRFB_SIZE); in omap_vrfb_release_ctx()
[all …]
Domapfb-sysfs.c362 int rot; in store_overlays_rotate() local
369 rot = simple_strtoul(p, &p, 0); in store_overlays_rotate()
370 if (rot < 0 || rot > 3) { in store_overlays_rotate()
375 if (ofbi->rotation[num_ovls] != rot) in store_overlays_rotate()
378 rotation[num_ovls++] = rot; in store_overlays_rotate()
/Linux-v6.1/arch/riscv/boot/dts/canaan/
Dcanaan_kd233.dts82 <K210_FPIOA(20, K210_PCF_GPIOHS4)>, /* Rot. dip sw line 8 */
83 <K210_FPIOA(21, K210_PCF_GPIOHS5)>, /* Rot. dip sw line 4 */
84 <K210_FPIOA(22, K210_PCF_GPIOHS6)>, /* Rot. dip sw line 2 */
85 <K210_FPIOA(23, K210_PCF_GPIOHS7)>, /* Rot. dip sw line 1 */
/Linux-v6.1/drivers/video/fbdev/
Dsh7760fb.c38 int rot; /* rotation enabled? */ member
206 par->rot = par->pd->rotate; in sh7760fb_set_par()
209 if (par->rot && (vm->xres > 320)) { in sh7760fb_set_par()
211 par->rot = 0; in sh7760fb_set_par()
231 par->rot ? "rotated" : "normal"); in sh7760fb_set_par()
252 iowrite16((par->rot ? 1 << 13 : 0), par->base + LDSMR); /* rotate */ in sh7760fb_set_par()
268 stride = (par->rot) ? vtln : hdcn; in sh7760fb_set_par()
282 if (par->rot) { in sh7760fb_set_par()
296 if (par->rot) in sh7760fb_set_par()
312 if (par->rot) in sh7760fb_set_par()
Dw100fb.c1426 unsigned long rot=0, divider, offset=0; in w100_set_dispregs() local
1432 rot=3; /* 180 degree */ in w100_set_dispregs()
1438 rot=2; /* 270 degree */ in w100_set_dispregs()
1441 rot=1; /* 90 degree */ in w100_set_dispregs()
1458 graphic_ctrl.f_w100.portrait_mode=rot; in w100_set_dispregs()
1469 switch(rot) { in w100_set_dispregs()
1497 graphic_ctrl.f_w32xx.portrait_mode=rot; in w100_set_dispregs()
/Linux-v6.1/arch/ia64/lib/
Dxor.S31 mov pr.rot = 1 << 16
70 mov pr.rot = 1 << 16
111 mov pr.rot = 1 << 16
155 mov pr.rot = 1 << 16
Dcopy_user.S101 mov pr.rot=1<<16 // p16=true all others are false
109 ;; // RAW pr.rot/p16 ?
193 mov pr.rot=1<<16 // p16=true all others are false
220 mov pr.rot=1<<16 // p16=true all others are false
304 mov pr.rot=1<<16 // p16=true all others are false
Dcopy_page.S55 mov pr.rot=1<<16
/Linux-v6.1/drivers/clk/sunxi-ng/
Dccu-sun8i-de2.c26 static SUNXI_CCU_GATE(bus_rot_clk, "bus-rot", "bus-de",
35 static SUNXI_CCU_GATE(rot_clk, "rot", "rot-div",
44 static SUNXI_CCU_M(rot_div_clk, "rot-div", "de", 0x0c, 0x0c, 4,
53 static SUNXI_CCU_M(rot_div_a83_clk, "rot-div", "pll-de", 0x0c, 0x0c, 4,
/Linux-v6.1/include/video/
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
/Linux-v6.1/drivers/gpu/drm/arm/display/komeda/
Dkomeda_format_caps.h80 u32 layer_type, u64 modifier, u32 rot);
99 u32 rot);
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()
Dkomeda_format_caps.c97 u32 rot) in komeda_format_mod_supported() argument
110 rot); in komeda_format_mod_supported()
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()
Dkomeda_kms.h157 static inline bool has_flip_h(u32 rot) in has_flip_h() argument
159 u32 rotation = drm_rotation_simplify(rot, in has_flip_h()
Dkomeda_framebuffer.h46 u32 rot);
Dkomeda_framebuffer.c268 u32 rot) in komeda_fb_is_layer_supported() argument
277 fourcc, modifier, rot); in komeda_fb_is_layer_supported()
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
/Linux-v6.1/drivers/video/fbdev/omap2/omapfb/dss/
Ddisplay-sysfs.c152 int rot, r; in display_rotate_store() local
157 r = kstrtoint(buf, 0, &rot); in display_rotate_store()
161 r = dssdev->driver->set_rotate(dssdev, rot); in display_rotate_store()
/Linux-v6.1/Documentation/devicetree/bindings/display/msm/
Ddpu-sc7180.yaml106 - const: rot
207 clock-names = "bus", "iface", "rot", "lut", "core",
/Linux-v6.1/arch/powerpc/xmon/
Dspu-insns.h249 APUOP(M_ROTI, RI7, 0x078, "roti", _A3(A_T,A_A,A_S7N), 00012, FX3) /* ROT%I RT<-RA<<<I7 */
250 APUOP(M_ROTMI, RI7, 0x079, "rotmi", _A3(A_T,A_A,A_S7), 00012, FX3) /* ROT%MI RT<-RA<<I7 */
253 APUOP(M_ROTHI, RI7, 0x07c, "rothi", _A3(A_T,A_A,A_S7N), 00012, FX3) /* ROT%I RT<-RA<<<I7 */
254 APUOP(M_ROTHMI, RI7, 0x07d, "rothmi", _A3(A_T,A_A,A_S6), 00012, FX3) /* ROT%MI RT<-RA<<I7 */
304 APUOP(M_ROT, RR, 0x058, "rot", _A3(A_T,A_A,A_B), 00112, FX3) /* ROT% RT<-RA<<<RB */
305 APUOP(M_ROTM, RR, 0x059, "rotm", _A3(A_T,A_A,A_B), 00112, FX3) /* ROT%M RT<-RA<<Rb */
308 APUOP(M_ROTH, RR, 0x05c, "roth", _A3(A_T,A_A,A_B), 00112, FX3) /* ROT% RT<-RA<<<RB */
309 APUOP(M_ROTHM, RR, 0x05d, "rothm", _A3(A_T,A_A,A_B), 00112, FX3) /* ROT%M RT<-RA<<Rb */
/Linux-v6.1/scripts/gcc-plugins/
Drandomize_layout_plugin.c126 #define rot(x,k) (((x)<<(k))|((x)>>(64-(k)))) macro
128 u64 e = x->a - rot(x->b, 7); in ranval()
129 x->a = x->b ^ rot(x->c, 13); in ranval()
130 x->b = x->c + rot(x->d, 37); in ranval()
/Linux-v6.1/arch/x86/crypto/
Dtwofish-x86_64-asm_64-3way.S77 #define do16bit_ror(rot, op1, op2, T0, T1, tmp1, tmp2, ab, dst) \ argument
80 rorq $(rot), ab; \
/Linux-v6.1/drivers/gpu/ipu-v3/
Dipu-ic.c454 enum ipu_rotate_mode rot) in ipu_ic_task_idma_init() argument
459 u32 temp_rot = bitrev8(rot) >> 5; in ipu_ic_task_idma_init()
583 if (ipu_rot_mode_is_irt(rot)) in ipu_ic_task_idma_init()

123