/drivers/gpu/drm/exynos/ |
D | exynos_drm_rotator.c | 35 #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 …]
|
/drivers/video/fbdev/omap2/omapfb/ |
D | vrfb.c | 31 #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 …]
|
D | omapfb-sysfs.c | 362 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()
|
D | omapfb-main.c | 150 static unsigned omapfb_get_vrfb_offset(const struct omapfb_info *ofbi, int rot) in omapfb_get_vrfb_offset() argument 155 switch (rot) { in omapfb_get_vrfb_offset() 178 static u32 omapfb_get_region_rot_paddr(const struct omapfb_info *ofbi, int rot) in omapfb_get_region_rot_paddr() argument 181 return ofbi->region->vrfb.paddr[rot] in omapfb_get_region_rot_paddr() 182 + omapfb_get_vrfb_offset(ofbi, rot); in omapfb_get_region_rot_paddr()
|
/drivers/video/fbdev/ |
D | sh7760fb.c | 38 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()
|
D | w100fb.c | 1426 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()
|
/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_format_caps.h | 80 u32 layer_type, u64 modifier, u32 rot); 99 u32 rot);
|
D | komeda_pipeline_state.c | 274 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()
|
D | komeda_kms.h | 156 static inline bool has_flip_h(u32 rot) in has_flip_h() argument 158 u32 rotation = drm_rotation_simplify(rot, in has_flip_h()
|
D | komeda_format_caps.c | 97 u32 rot) in komeda_format_mod_supported() argument 110 rot); in komeda_format_mod_supported()
|
D | komeda_plane.c | 50 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()
|
D | komeda_framebuffer.h | 46 u32 rot);
|
D | komeda_framebuffer.c | 268 u32 rot) in komeda_fb_is_layer_supported() argument 277 fourcc, modifier, rot); in komeda_fb_is_layer_supported()
|
D | komeda_pipeline.h | 246 u32 rot; member 359 u32 rot; member
|
D | komeda_wb_connector.c | 28 dflow->rot = DRM_MODE_ROTATE_0; in komeda_wb_init_data_flow()
|
/drivers/video/fbdev/omap2/omapfb/dss/ |
D | display-sysfs.c | 152 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()
|
/drivers/gpu/ipu-v3/ |
D | ipu-ic.c | 454 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()
|
/drivers/gpu/drm/arm/display/komeda/d71/ |
D | d71_component.c | 126 static u32 to_rot_ctrl(u32 rot) in to_rot_ctrl() argument 130 switch (rot & DRM_MODE_ROTATE_MASK) { in to_rot_ctrl() 145 if (rot & DRM_MODE_REFLECT_X) in to_rot_ctrl() 147 if (rot & DRM_MODE_REFLECT_Y) in to_rot_ctrl() 223 u32 ctrl = L_EN | to_rot_ctrl(st->rot); in d71_layer_update() 366 if (drm_rotation_90_or_270(st->rot)) in d71_layer_validate()
|
D | d71_dev.c | 534 u32 layer_type, u64 modifier, u32 rot) in d71_format_mod_supported() argument 539 drm_rotation_90_or_270(rot)) { in d71_format_mod_supported()
|
/drivers/media/dvb-frontends/cxd2880/ |
D | cxd2880_dvbt2.h | 333 u8 rot; member
|
/drivers/gpu/drm/arm/ |
D | malidp_hw.h | 68 enum rotation_features rot; /* type of rotation supported */ member
|
D | malidp_planes.c | 573 if (mp->layer->rot == ROTATE_NONE) in malidp_de_plane_check() 575 if ((mp->layer->rot == ROTATE_COMPRESSED) && !(fb->modifier)) in malidp_de_plane_check()
|
/drivers/media/platform/exynos-gsc/ |
D | gsc-core.c | 608 int dh, int rot, int out_path) in gsc_check_scaler_ratio() argument 617 if (rot == 90 || rot == 270) { in gsc_check_scaler_ratio()
|
D | gsc-core.h | 406 int dh, int rot, int out_path);
|
/drivers/media/platform/mtk-mdp/ |
D | mtk_mdp_m2m.c | 816 int src_h, int dst_w, int dst_h, int rot) in mtk_mdp_check_scaler_ratio() argument 820 if (rot == 90 || rot == 270) { in mtk_mdp_check_scaler_ratio()
|