| /linux/drivers/gpu/drm/exynos/ |
| H A 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 …]
|
| /linux/drivers/video/fbdev/ |
| H A D | sh7760fb.c | 38 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/gpu/drm/arm/display/komeda/ |
| H A D | komeda_format_caps.h | 80 u32 layer_type, u64 modifier, u32 rot); 99 u32 rot);
|
| H A D | komeda_format_caps.c | 97 u32 rot) in komeda_format_mod_supported() argument 110 rot); in komeda_format_mod_supported()
|
| H A D | komeda_kms.h | 159 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 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()
|
| H A D | komeda_framebuffer.h | 47 u32 rot);
|
| H A D | komeda_framebuffer.c | 270 u32 rot) in komeda_fb_is_layer_supported() argument 279 fourcc, modifier, rot); in komeda_fb_is_layer_supported()
|
| H A D | komeda_pipeline.h | 246 u32 rot; member 359 u32 rot; member
|
| H A D | komeda_wb_connector.c | 29 dflow->rot = DRM_MODE_ROTATE_0; in komeda_wb_init_data_flow()
|
| /linux/include/video/ |
| H A D | omapvrfb.h | 37 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 D | imx-ipu-v3.h | 268 enum ipu_rotate_mode rot); 445 enum ipu_rotate_mode rot);
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | psp.py | 180 rot = cfg.pspnl.key_rotate({"id": cfg.psp_dev_id}) 181 ksft_eq(rot['id'], cfg.psp_dev_id) 182 rot = cfg.pspnl.key_rotate({"id": cfg.psp_dev_id}) 183 ksft_eq(rot['id'], cfg.psp_dev_id) 200 rot = cfg.pspnl.key_rotate({"id": cfg.psp_dev_id}) 202 ksft_eq(rot['id'], cfg.psp_dev_id)
|
| /linux/drivers/video/fbdev/omap2/omapfb/dss/ |
| H A D | display-sysfs.c | 153 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 D | randomize_layout_plugin.c | 125 #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 D | d71_component.c | 128 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()
|
| H A 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()
|
| /linux/arch/arm/net/ |
| H A D | bpf_jit_32.c | 341 u32 rot; in imm8m() local 343 for (rot = 0; rot < 16; rot++) in imm8m() 344 if ((x & ~ror32(0xff, 2 * rot)) == 0) in imm8m() 345 return rol32(x, 2 * rot) | (rot << 8); in imm8m()
|
| /linux/drivers/media/dvb-frontends/cxd2880/ |
| H A D | cxd2880_dvbt2.h | 333 u8 rot; member
|
| /linux/fs/btrfs/ |
| H A D | scrub.c | 1453 u32 rot; in get_raid56_logic_offset() local 1460 rot = stripe_nr % map->num_stripes; in get_raid56_logic_offset() 1462 rot += i; in get_raid56_logic_offset() 1463 stripe_index = rot % map->num_stripes; in get_raid56_logic_offset() 2209 int rot; in scrub_raid56_parity_stripe() local 2213 rot = div_u64(full_stripe_start - bg->start, in scrub_raid56_parity_stripe() 2215 stripe_index = (i + rot) % map->num_stripes; in scrub_raid56_parity_stripe() 2217 btrfs_stripe_nr_to_offset(rot); in scrub_raid56_parity_stripe()
|
| /linux/drivers/gpu/drm/arm/ |
| H A D | malidp_hw.h | 68 enum rotation_features rot; /* type of rotation supported */ member
|
| H A D | malidp_planes.c | 561 if (mp->layer->rot == ROTATE_NONE) in malidp_de_plane_check() 563 if ((mp->layer->rot == ROTATE_COMPRESSED) && !(fb->modifier)) in malidp_de_plane_check()
|
| /linux/drivers/media/platform/samsung/exynos-gsc/ |
| H A D | gsc-core.c | 606 int dh, int rot, int out_path) in gsc_check_scaler_ratio() argument 615 if (rot == 90 || rot == 270) { in gsc_check_scaler_ratio()
|
| /linux/drivers/media/platform/mediatek/mdp/ |
| H A D | mtk_mdp_m2m.c | 814 int src_h, int dst_w, int dst_h, int rot) in mtk_mdp_check_scaler_ratio() argument 818 if (rot == 90 || rot == 270) { in mtk_mdp_check_scaler_ratio()
|
| /linux/drivers/video/fbdev/omap2/omapfb/ |
| H A 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()
|