rot 289 arch/arm/net/bpf_jit_32.c u32 rot; rot 291 arch/arm/net/bpf_jit_32.c for (rot = 0; rot < 16; rot++) rot 292 arch/arm/net/bpf_jit_32.c if ((x & ~ror32(0xff, 2 * rot)) == 0) rot 293 arch/arm/net/bpf_jit_32.c return rol32(x, 2 * rot) | (rot << 8); rot 109 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c static u32 to_rot_ctrl(u32 rot) rot 113 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c switch (rot & DRM_MODE_ROTATE_MASK) { rot 128 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c if (rot & DRM_MODE_REFLECT_X) rot 130 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c if (rot & DRM_MODE_REFLECT_Y) rot 206 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c u32 ctrl = L_EN | to_rot_ctrl(st->rot); rot 494 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c u32 layer_type, u64 modifier, u32 rot) rot 499 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c drm_rotation_90_or_270(rot)) { rot 97 drivers/gpu/drm/arm/display/komeda/komeda_format_caps.c u32 rot) rot 110 drivers/gpu/drm/arm/display/komeda/komeda_format_caps.c rot); rot 80 drivers/gpu/drm/arm/display/komeda/komeda_format_caps.h u32 layer_type, u64 modifier, u32 rot); rot 110 drivers/gpu/drm/arm/display/komeda/komeda_format_caps.h u32 rot); rot 268 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c u32 rot) rot 277 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c fourcc, modifier, rot); rot 46 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.h u32 rot); rot 156 drivers/gpu/drm/arm/display/komeda/komeda_kms.h static inline bool has_flip_h(u32 rot) rot 158 drivers/gpu/drm/arm/display/komeda/komeda_kms.h u32 rotation = drm_rotation_simplify(rot, rot 243 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h u32 rot; rot 353 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h u32 rot; rot 274 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_rotate_data_flow(struct komeda_data_flow_cfg *dflow, u32 rot) rot 276 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c if (drm_rotation_90_or_270(rot)) { rot 289 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c if (!komeda_fb_is_layer_supported(kfb, layer->layer_type, dflow->rot)) rot 343 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c st->rot = dflow->rot; rot 376 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_rotate_data_flow(dflow, st->rot); rot 803 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c if (drm_rotation_90_or_270(dflow->rot)) rot 898 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c bool r90 = drm_rotation_90_or_270(dflow->rot); rot 899 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c bool flip_h = has_flip_h(dflow->rot); rot 1062 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_rotate_data_flow(dflow, dflow->rot); rot 50 drivers/gpu/drm/arm/display/komeda/komeda_plane.c dflow->rot = drm_rotation_simplify(st->rotation, caps->supported_rots); rot 51 drivers/gpu/drm/arm/display/komeda/komeda_plane.c if (!has_bits(dflow->rot, caps->supported_rots)) { rot 53 drivers/gpu/drm/arm/display/komeda/komeda_plane.c dflow->rot, rot 28 drivers/gpu/drm/arm/display/komeda/komeda_wb_connector.c dflow->rot = DRM_MODE_ROTATE_0; rot 68 drivers/gpu/drm/arm/malidp_hw.h enum rotation_features rot; /* type of rotation supported */ rot 571 drivers/gpu/drm/arm/malidp_planes.c if (mp->layer->rot == ROTATE_NONE) rot 573 drivers/gpu/drm/arm/malidp_planes.c if ((mp->layer->rot == ROTATE_COMPRESSED) && !(fb->modifier)) rot 35 drivers/gpu/drm/exynos/exynos_drm_rotator.c #define rot_read(offset) readl(rot->regs + (offset)) rot 36 drivers/gpu/drm/exynos/exynos_drm_rotator.c #define rot_write(cfg, offset) writel(cfg, rot->regs + (offset)) rot 68 drivers/gpu/drm/exynos/exynos_drm_rotator.c static void rotator_reg_set_irq(struct rot_context *rot, bool enable) rot 80 drivers/gpu/drm/exynos/exynos_drm_rotator.c static enum rot_irq_status rotator_reg_get_irq_status(struct rot_context *rot) rot 94 drivers/gpu/drm/exynos/exynos_drm_rotator.c struct rot_context *rot = arg; rot 99 drivers/gpu/drm/exynos/exynos_drm_rotator.c irq_status = rotator_reg_get_irq_status(rot); rot 106 drivers/gpu/drm/exynos/exynos_drm_rotator.c if (rot->task) { rot 107 drivers/gpu/drm/exynos/exynos_drm_rotator.c struct exynos_drm_ipp_task *task = rot->task; rot 109 drivers/gpu/drm/exynos/exynos_drm_rotator.c rot->task = NULL; rot 110 drivers/gpu/drm/exynos/exynos_drm_rotator.c pm_runtime_mark_last_busy(rot->dev); rot 111 drivers/gpu/drm/exynos/exynos_drm_rotator.c pm_runtime_put_autosuspend(rot->dev); rot 119 drivers/gpu/drm/exynos/exynos_drm_rotator.c static void rotator_src_set_fmt(struct rot_context *rot, u32 fmt) rot 138 drivers/gpu/drm/exynos/exynos_drm_rotator.c static void rotator_src_set_buf(struct rot_context *rot, rot 160 drivers/gpu/drm/exynos/exynos_drm_rotator.c static void rotator_dst_set_transf(struct rot_context *rot, rot 186 drivers/gpu/drm/exynos/exynos_drm_rotator.c static void rotator_dst_set_buf(struct rot_context *rot, rot 205 drivers/gpu/drm/exynos/exynos_drm_rotator.c static void rotator_start(struct rot_context *rot) rot 210 drivers/gpu/drm/exynos/exynos_drm_rotator.c rotator_reg_set_irq(rot, true); rot 220 drivers/gpu/drm/exynos/exynos_drm_rotator.c struct rot_context *rot = rot 223 drivers/gpu/drm/exynos/exynos_drm_rotator.c pm_runtime_get_sync(rot->dev); rot 224 drivers/gpu/drm/exynos/exynos_drm_rotator.c rot->task = task; rot 226 drivers/gpu/drm/exynos/exynos_drm_rotator.c rotator_src_set_fmt(rot, task->src.buf.fourcc); rot 227 drivers/gpu/drm/exynos/exynos_drm_rotator.c rotator_src_set_buf(rot, &task->src); rot 228 drivers/gpu/drm/exynos/exynos_drm_rotator.c rotator_dst_set_transf(rot, task->transform.rotation); rot 229 drivers/gpu/drm/exynos/exynos_drm_rotator.c rotator_dst_set_buf(rot, &task->dst); rot 230 drivers/gpu/drm/exynos/exynos_drm_rotator.c rotator_start(rot); rot 241 drivers/gpu/drm/exynos/exynos_drm_rotator.c struct rot_context *rot = dev_get_drvdata(dev); rot 243 drivers/gpu/drm/exynos/exynos_drm_rotator.c struct exynos_drm_ipp *ipp = &rot->ipp; rot 245 drivers/gpu/drm/exynos/exynos_drm_rotator.c rot->drm_dev = drm_dev; rot 247 drivers/gpu/drm/exynos/exynos_drm_rotator.c exynos_drm_register_dma(drm_dev, dev, &rot->dma_priv); rot 251 drivers/gpu/drm/exynos/exynos_drm_rotator.c rot->formats, rot->num_formats, "rotator"); rot 261 drivers/gpu/drm/exynos/exynos_drm_rotator.c struct rot_context *rot = dev_get_drvdata(dev); rot 262 drivers/gpu/drm/exynos/exynos_drm_rotator.c struct exynos_drm_ipp *ipp = &rot->ipp; rot 265 drivers/gpu/drm/exynos/exynos_drm_rotator.c exynos_drm_unregister_dma(rot->drm_dev, rot->dev, &rot->dma_priv); rot 277 drivers/gpu/drm/exynos/exynos_drm_rotator.c struct rot_context *rot; rot 282 drivers/gpu/drm/exynos/exynos_drm_rotator.c rot = devm_kzalloc(dev, sizeof(*rot), GFP_KERNEL); rot 283 drivers/gpu/drm/exynos/exynos_drm_rotator.c if (!rot) rot 287 drivers/gpu/drm/exynos/exynos_drm_rotator.c rot->formats = variant->formats; rot 288 drivers/gpu/drm/exynos/exynos_drm_rotator.c rot->num_formats = variant->num_formats; rot 289 drivers/gpu/drm/exynos/exynos_drm_rotator.c rot->dev = dev; rot 291 drivers/gpu/drm/exynos/exynos_drm_rotator.c rot->regs = devm_ioremap_resource(dev, regs_res); rot 292 drivers/gpu/drm/exynos/exynos_drm_rotator.c if (IS_ERR(rot->regs)) rot 293 drivers/gpu/drm/exynos/exynos_drm_rotator.c return PTR_ERR(rot->regs); rot 302 drivers/gpu/drm/exynos/exynos_drm_rotator.c rot); rot 308 drivers/gpu/drm/exynos/exynos_drm_rotator.c rot->clock = devm_clk_get(dev, "rotator"); rot 309 drivers/gpu/drm/exynos/exynos_drm_rotator.c if (IS_ERR(rot->clock)) { rot 311 drivers/gpu/drm/exynos/exynos_drm_rotator.c return PTR_ERR(rot->clock); rot 317 drivers/gpu/drm/exynos/exynos_drm_rotator.c platform_set_drvdata(pdev, rot); rot 345 drivers/gpu/drm/exynos/exynos_drm_rotator.c struct rot_context *rot = dev_get_drvdata(dev); rot 347 drivers/gpu/drm/exynos/exynos_drm_rotator.c clk_disable_unprepare(rot->clock); rot 353 drivers/gpu/drm/exynos/exynos_drm_rotator.c struct rot_context *rot = dev_get_drvdata(dev); rot 355 drivers/gpu/drm/exynos/exynos_drm_rotator.c return clk_prepare_enable(rot->clock); rot 359 drivers/gpu/ipu-v3/ipu-cpmem.c enum ipu_rotate_mode rot) rot 361 drivers/gpu/ipu-v3/ipu-cpmem.c u32 temp_rot = bitrev8(rot) >> 5; rot 454 drivers/gpu/ipu-v3/ipu-ic.c enum ipu_rotate_mode rot) rot 459 drivers/gpu/ipu-v3/ipu-ic.c u32 temp_rot = bitrev8(rot) >> 5; rot 583 drivers/gpu/ipu-v3/ipu-ic.c if (ipu_rot_mode_is_irt(rot)) rot 333 drivers/media/dvb-frontends/cxd2880/cxd2880_dvbt2.h u8 rot; rot 685 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c plp_info->rot = data[index++] & 0x01; rot 608 drivers/media/platform/exynos-gsc/gsc-core.c int dh, int rot, int out_path) rot 617 drivers/media/platform/exynos-gsc/gsc-core.c if (rot == 90 || rot == 270) { rot 399 drivers/media/platform/exynos-gsc/gsc-core.h int dh, int rot, int out_path); rot 847 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c int src_h, int dst_w, int dst_h, int rot) rot 851 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c if (rot == 90 || rot == 270) { rot 1534 drivers/net/wireless/broadcom/b43/phy_n.c u16 bw, len, rot, angle; rot 1557 drivers/net/wireless/broadcom/b43/phy_n.c rot = (((freq * 36) / bw) << 16) / 100; rot 1562 drivers/net/wireless/broadcom/b43/phy_n.c angle += rot; rot 3398 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s32 theta = 0, rot = 0; rot 3427 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c rot = ((f_kHz * 36) / phy_bw) / 100; rot 3434 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c theta += rot; rot 23049 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c s32 theta = 0, rot = 0; rot 23072 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c rot = ((f_kHz * 36) / phy_bw) / 100; rot 23079 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c theta += rot; rot 2930 drivers/scsi/sd.c u16 rot; rot 2940 drivers/scsi/sd.c rot = get_unaligned_be16(&buffer[4]); rot 2942 drivers/scsi/sd.c if (rot == 1) { rot 152 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c int rot, r; rot 157 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c r = kstrtoint(buf, 0, &rot); rot 161 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c r = dssdev->driver->set_rotate(dssdev, rot); rot 150 drivers/video/fbdev/omap2/omapfb/omapfb-main.c static unsigned omapfb_get_vrfb_offset(const struct omapfb_info *ofbi, int rot) rot 155 drivers/video/fbdev/omap2/omapfb/omapfb-main.c switch (rot) { rot 178 drivers/video/fbdev/omap2/omapfb/omapfb-main.c static u32 omapfb_get_region_rot_paddr(const struct omapfb_info *ofbi, int rot) rot 181 drivers/video/fbdev/omap2/omapfb/omapfb-main.c return ofbi->region->vrfb.paddr[rot] rot 182 drivers/video/fbdev/omap2/omapfb/omapfb-main.c + omapfb_get_vrfb_offset(ofbi, rot); rot 362 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c int rot; rot 369 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c rot = simple_strtoul(p, &p, 0); rot 370 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c if (rot < 0 || rot > 3) { rot 375 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c if (ofbi->rotation[num_ovls] != rot) rot 378 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c rotation[num_ovls++] = rot; rot 31 drivers/video/fbdev/omap2/omapfb/vrfb.c #define SMS_ROT_VIRT_BASE(rot) (0x1000000 * (rot)) rot 231 drivers/video/fbdev/omap2/omapfb/vrfb.c int omap_vrfb_map_angle(struct vrfb *vrfb, u16 height, u8 rot) rot 235 drivers/video/fbdev/omap2/omapfb/vrfb.c vrfb->vaddr[rot] = ioremap_wc(vrfb->paddr[rot], size); rot 237 drivers/video/fbdev/omap2/omapfb/vrfb.c if (!vrfb->vaddr[rot]) { rot 242 drivers/video/fbdev/omap2/omapfb/vrfb.c DBG("ioremapped vrfb area %d of size %lu into %p\n", rot, size, rot 243 drivers/video/fbdev/omap2/omapfb/vrfb.c vrfb->vaddr[rot]); rot 251 drivers/video/fbdev/omap2/omapfb/vrfb.c int rot; rot 265 drivers/video/fbdev/omap2/omapfb/vrfb.c for (rot = 0; rot < 4; ++rot) { rot 266 drivers/video/fbdev/omap2/omapfb/vrfb.c if (vrfb->paddr[rot]) { rot 267 drivers/video/fbdev/omap2/omapfb/vrfb.c release_mem_region(vrfb->paddr[rot], OMAP_VRFB_SIZE); rot 268 drivers/video/fbdev/omap2/omapfb/vrfb.c vrfb->paddr[rot] = 0; rot 280 drivers/video/fbdev/omap2/omapfb/vrfb.c int rot; rot 307 drivers/video/fbdev/omap2/omapfb/vrfb.c for (rot = 0; rot < 4; ++rot) { rot 308 drivers/video/fbdev/omap2/omapfb/vrfb.c paddr = ctxs[ctx].base + SMS_ROT_VIRT_BASE(rot); rot 312 drivers/video/fbdev/omap2/omapfb/vrfb.c ctx, rot * 90); rot 318 drivers/video/fbdev/omap2/omapfb/vrfb.c vrfb->paddr[rot] = paddr; rot 320 drivers/video/fbdev/omap2/omapfb/vrfb.c DBG("VRFB %d/%d: %lx\n", ctx, rot*90, vrfb->paddr[rot]); rot 38 drivers/video/fbdev/sh7760fb.c int rot; /* rotation enabled? */ rot 206 drivers/video/fbdev/sh7760fb.c par->rot = par->pd->rotate; rot 209 drivers/video/fbdev/sh7760fb.c if (par->rot && (vm->xres > 320)) { rot 211 drivers/video/fbdev/sh7760fb.c par->rot = 0; rot 231 drivers/video/fbdev/sh7760fb.c par->rot ? "rotated" : "normal"); rot 252 drivers/video/fbdev/sh7760fb.c iowrite16((par->rot ? 1 << 13 : 0), par->base + LDSMR); /* rotate */ rot 268 drivers/video/fbdev/sh7760fb.c stride = (par->rot) ? vtln : hdcn; rot 282 drivers/video/fbdev/sh7760fb.c if (par->rot) { rot 296 drivers/video/fbdev/sh7760fb.c if (par->rot) rot 312 drivers/video/fbdev/sh7760fb.c if (par->rot) rot 1415 drivers/video/fbdev/w100fb.c unsigned long rot=0, divider, offset=0; rot 1421 drivers/video/fbdev/w100fb.c rot=3; /* 180 degree */ rot 1427 drivers/video/fbdev/w100fb.c rot=2; /* 270 degree */ rot 1430 drivers/video/fbdev/w100fb.c rot=1; /* 90 degree */ rot 1447 drivers/video/fbdev/w100fb.c graphic_ctrl.f_w100.portrait_mode=rot; rot 1458 drivers/video/fbdev/w100fb.c switch(rot) { rot 1486 drivers/video/fbdev/w100fb.c graphic_ctrl.f_w32xx.portrait_mode=rot; rot 2672 fs/btrfs/scrub.c u32 rot; rot 2687 fs/btrfs/scrub.c stripe_nr = div_u64_rem(stripe_nr, map->num_stripes, &rot); rot 2689 fs/btrfs/scrub.c rot += i; rot 2690 fs/btrfs/scrub.c stripe_index = rot % map->num_stripes; rot 6242 fs/btrfs/volumes.c unsigned rot; rot 6250 fs/btrfs/volumes.c div_u64_rem(stripe_nr, num_stripes, &rot); rot 6255 fs/btrfs/volumes.c bbio->raid_map[(i+rot) % num_stripes] = rot 6258 fs/btrfs/volumes.c bbio->raid_map[(i+rot) % map->num_stripes] = RAID5_P_STRIPE; rot 6260 fs/btrfs/volumes.c bbio->raid_map[(i+rot+1) % num_stripes] = rot 268 include/video/imx-ipu-v3.h enum ipu_rotate_mode rot); rot 454 include/video/imx-ipu-v3.h enum ipu_rotate_mode rot); rot 37 include/video/omapvrfb.h extern int omap_vrfb_map_angle(struct vrfb *vrfb, u16 height, u8 rot); rot 52 include/video/omapvrfb.h static inline int omap_vrfb_map_angle(struct vrfb *vrfb, u16 height, u8 rot) rot 146 scripts/gcc-plugins/randomize_layout_plugin.c u64 e = x->a - rot(x->b, 7); rot 147 scripts/gcc-plugins/randomize_layout_plugin.c x->a = x->b ^ rot(x->c, 13); rot 148 scripts/gcc-plugins/randomize_layout_plugin.c x->b = x->c + rot(x->d, 37);