Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_rotator.c47 #define rot_read(offset) readl(rot->regs + (offset))
48 #define rot_write(cfg, offset) writel(cfg, rot->regs + (offset))
105 static void rotator_reg_set_irq(struct rot_context *rot, bool enable) in rotator_reg_set_irq() argument
117 static u32 rotator_reg_get_fmt(struct rot_context *rot) in rotator_reg_get_fmt() argument
126 static enum rot_irq_status rotator_reg_get_irq_status(struct rot_context *rot) in rotator_reg_get_irq_status() argument
140 struct rot_context *rot = arg; in rotator_irq_handler() local
141 struct exynos_drm_ippdrv *ippdrv = &rot->ippdrv; in rotator_irq_handler()
148 irq_status = rotator_reg_get_irq_status(rot); in rotator_irq_handler()
158 rot->cur_buf_id[EXYNOS_DRM_OPS_DST]; in rotator_irq_handler()
167 static void rotator_align_size(struct rot_context *rot, u32 fmt, u32 *hsize, in rotator_align_size() argument
[all …]
/linux-4.1.27/drivers/video/fbdev/omap2/
Dvrfb.c43 #define SMS_ROT_VIRT_BASE(rot) (0x1000000 * (rot)) argument
243 int omap_vrfb_map_angle(struct vrfb *vrfb, u16 height, u8 rot) in omap_vrfb_map_angle() argument
247 vrfb->vaddr[rot] = ioremap_wc(vrfb->paddr[rot], size); in omap_vrfb_map_angle()
249 if (!vrfb->vaddr[rot]) { in omap_vrfb_map_angle()
254 DBG("ioremapped vrfb area %d of size %lu into %p\n", rot, size, in omap_vrfb_map_angle()
255 vrfb->vaddr[rot]); in omap_vrfb_map_angle()
263 int rot; in omap_vrfb_release_ctx() local
277 for (rot = 0; rot < 4; ++rot) { in omap_vrfb_release_ctx()
278 if (vrfb->paddr[rot]) { in omap_vrfb_release_ctx()
279 release_mem_region(vrfb->paddr[rot], OMAP_VRFB_SIZE); in omap_vrfb_release_ctx()
[all …]
/linux-4.1.27/drivers/video/fbdev/
Dsh7760fb.c41 int rot; /* rotation enabled? */ member
209 par->rot = par->pd->rotate; in sh7760fb_set_par()
212 if (par->rot && (vm->xres > 320)) { in sh7760fb_set_par()
214 par->rot = 0; in sh7760fb_set_par()
234 par->rot ? "rotated" : "normal"); in sh7760fb_set_par()
255 iowrite16((par->rot ? 1 << 13 : 0), par->base + LDSMR); /* rotate */ in sh7760fb_set_par()
271 stride = (par->rot) ? vtln : hdcn; in sh7760fb_set_par()
285 if (par->rot) { in sh7760fb_set_par()
299 if (par->rot) in sh7760fb_set_par()
315 if (par->rot) in sh7760fb_set_par()
Dw100fb.c1420 unsigned long rot=0, divider, offset=0; in w100_set_dispregs() local
1426 rot=3; /* 180 degree */ in w100_set_dispregs()
1432 rot=2; /* 270 degree */ in w100_set_dispregs()
1435 rot=1; /* 90 degree */ in w100_set_dispregs()
1452 graphic_ctrl.f_w100.portrait_mode=rot; in w100_set_dispregs()
1463 switch(rot) { in w100_set_dispregs()
1491 graphic_ctrl.f_w32xx.portrait_mode=rot; in w100_set_dispregs()
/linux-4.1.27/include/video/
Domapvrfb.h49 extern int omap_vrfb_map_angle(struct vrfb *vrfb, u16 height, u8 rot);
64 static inline int omap_vrfb_map_angle(struct vrfb *vrfb, u16 height, u8 rot) in omap_vrfb_map_angle() argument
Dimx-ipu-v3.h191 enum ipu_rotate_mode rot);
313 enum ipu_rotate_mode rot);
/linux-4.1.27/arch/ia64/lib/
Dxor.S38 mov pr.rot = 1 << 16
76 mov pr.rot = 1 << 16
116 mov pr.rot = 1 << 16
159 mov pr.rot = 1 << 16
Dcopy_user.S99 mov pr.rot=1<<16 // p16=true all others are false
191 mov pr.rot=1<<16 // p16=true all others are false
218 mov pr.rot=1<<16 // p16=true all others are false
302 mov pr.rot=1<<16 // p16=true all others are false
Dcopy_page.S53 mov pr.rot=1<<16
Dcopy_page_mck.S114 mov pr.rot = 0x10000
Ddo_csum.S220 mov pr.rot=1<<16
Dmemcpy.S68 mov pr.rot=1<<16
Dmemcpy_mck.S192 mov pr.rot = 0x10000
/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/
Domapfb-sysfs.c379 int rot; in store_overlays_rotate() local
386 rot = simple_strtoul(p, &p, 0); in store_overlays_rotate()
387 if (rot < 0 || rot > 3) { in store_overlays_rotate()
392 if (ofbi->rotation[num_ovls] != rot) in store_overlays_rotate()
395 rotation[num_ovls++] = rot; in store_overlays_rotate()
Domapfb-main.c161 static unsigned omapfb_get_vrfb_offset(const struct omapfb_info *ofbi, int rot) in omapfb_get_vrfb_offset() argument
166 switch (rot) { in omapfb_get_vrfb_offset()
189 static u32 omapfb_get_region_rot_paddr(const struct omapfb_info *ofbi, int rot) in omapfb_get_region_rot_paddr() argument
192 return ofbi->region->vrfb.paddr[rot] in omapfb_get_region_rot_paddr()
193 + omapfb_get_vrfb_offset(ofbi, rot); in omapfb_get_region_rot_paddr()
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
Ddisplay-sysfs.c163 int rot, r; in display_rotate_store() local
168 r = kstrtoint(buf, 0, &rot); in display_rotate_store()
172 r = dssdev->driver->set_rotate(dssdev, rot); in display_rotate_store()
/linux-4.1.27/arch/arm/net/
Dbpf_jit_32.c241 u32 rot; in imm8m() local
243 for (rot = 0; rot < 16; rot++) in imm8m()
244 if ((x & ~ror32(0xff, 2 * rot)) == 0) in imm8m()
245 return rol32(x, 2 * rot) | (rot << 8); in imm8m()
/linux-4.1.27/drivers/gpu/ipu-v3/
Dipu-ic.c494 enum ipu_rotate_mode rot) in ipu_ic_task_idma_init() argument
499 u32 temp_rot = bitrev8(rot) >> 5; in ipu_ic_task_idma_init()
623 if (rot >= IPU_ROTATE_90_RIGHT) in ipu_ic_task_idma_init()
Dipu-cpmem.c284 enum ipu_rotate_mode rot) in ipu_cpmem_set_rotation() argument
286 u32 temp_rot = bitrev8(rot) >> 5; in ipu_cpmem_set_rotation()
/linux-4.1.27/arch/x86/crypto/
Dtwofish-x86_64-asm_64-3way.S88 #define do16bit_ror(rot, op1, op2, T0, T1, tmp1, tmp2, ab, dst) \ argument
91 rorq $(rot), ab; \
/linux-4.1.27/arch/blackfin/lib/
Ddivsi3.S44 r3 = rot r3 by -1;
/linux-4.1.27/drivers/media/platform/exynos-gsc/
Dgsc-core.c609 int dh, int rot, int out_path) in gsc_check_scaler_ratio() argument
618 if (rot == 90 || rot == 270) { in gsc_check_scaler_ratio()
Dgsc-core.h407 int dh, int rot, int out_path);
/linux-4.1.27/drivers/scsi/
Dsd.c2610 u16 rot; in sd_read_block_characteristics() local
2620 rot = get_unaligned_be16(&buffer[4]); in sd_read_block_characteristics()
2622 if (rot == 1) { in sd_read_block_characteristics()
/linux-4.1.27/fs/btrfs/
Dscrub.c2615 u32 rot; in get_raid56_logic_offset() local
2630 stripe_nr = div_u64_rem(stripe_nr, map->num_stripes, &rot); in get_raid56_logic_offset()
2632 rot += i; in get_raid56_logic_offset()
2633 stripe_index = rot % map->num_stripes; in get_raid56_logic_offset()
Dvolumes.c5267 unsigned rot; in __btrfs_map_block() local
5275 div_u64_rem(stripe_nr, num_stripes, &rot); in __btrfs_map_block()
5280 bbio->raid_map[(i+rot) % num_stripes] = in __btrfs_map_block()
5283 bbio->raid_map[(i+rot) % map->num_stripes] = RAID5_P_STRIPE; in __btrfs_map_block()
5285 bbio->raid_map[(i+rot+1) % num_stripes] = in __btrfs_map_block()
/linux-4.1.27/arch/blackfin/mach-common/
Dentry.S210 r7 = rot r7 by -1;
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_lcn.c3417 s32 theta = 0, rot = 0; in wlc_lcnphy_start_tx_tone() local
3446 rot = ((f_kHz * 36) / phy_bw) / 100; in wlc_lcnphy_start_tx_tone()
3453 theta += rot; in wlc_lcnphy_start_tx_tone()
Dphy_n.c23147 s32 theta = 0, rot = 0; in wlc_phy_gen_load_samples_nphy() local
23169 rot = ((f_kHz * 36) / phy_bw) / 100; in wlc_phy_gen_load_samples_nphy()
23176 theta += rot; in wlc_phy_gen_load_samples_nphy()
/linux-4.1.27/Documentation/PCI/
Dpci.txt21 However, keep in mind that all documents are subject to "bit rot".
/linux-4.1.27/drivers/net/wireless/b43/
Dphy_n.c1546 u16 bw, len, rot, angle; in b43_nphy_gen_load_samples() local
1569 rot = (((freq * 36) / bw) << 16) / 100; in b43_nphy_gen_load_samples()
1574 angle += rot; in b43_nphy_gen_load_samples()