Home
last modified time | relevance | path

Searched refs:rotate (Results 1 – 25 of 44) sorted by relevance

12

/linux-2.6.39/drivers/video/console/
Dfbcon_rotate.c40 if (ops->rotate == FB_ROTATE_CW || in fbcon_rotate_font()
41 ops->rotate == FB_ROTATE_CCW) in fbcon_rotate_font()
64 switch (ops->rotate) { in fbcon_rotate_font()
100 switch(ops->rotate) { in fbcon_set_rotate()
Dfbcon.c206 ops->rotate = ops->p->con_rotate; in fbcon_set_rotation()
208 ops->rotate = 0; in fbcon_set_rotation()
211 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
224 if (rotate < 4) in fbcon_rotate()
225 p->con_rotate = rotate; in fbcon_rotate()
233 static void fbcon_rotate_all(struct fb_info *info, u32 rotate) in fbcon_rotate_all() argument
240 if (!ops || ops->currcon < 0 || rotate > 3) in fbcon_rotate_all()
250 p->con_rotate = rotate; in fbcon_rotate_all()
260 ops->rotate = FB_ROTATE_UR; in fbcon_set_rotation()
263 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
[all …]
Dfbcon.h46 u32 rotate; member
79 int rotate; member
/linux-2.6.39/arch/arm/mach-omap1/
Dlcd_dma.c60 int rotate, data_type, xres, yres; member
96 void omap_set_lcd_dma_b1_rotation(int rotate) in omap_set_lcd_dma_b1_rotation() argument
103 lcd_dma.rotate = rotate; in omap_set_lcd_dma_b1_rotation()
173 switch (lcd_dma.rotate) { in set_b1_regs()
276 if (!(lcd_dma.rotate || lcd_dma.mirror || in set_b1_regs()
325 lcd_dma.rotate = 0; in omap_request_lcd_dma()
/linux-2.6.39/drivers/video/
Dfbmem.c386 struct fb_image *image, int rotate) in fb_rotate_logo() argument
390 if (rotate == FB_ROTATE_UD) { in fb_rotate_logo()
395 } else if (rotate == FB_ROTATE_CW) { in fb_rotate_logo()
404 } else if (rotate == FB_ROTATE_CCW) { in fb_rotate_logo()
419 int rotate, unsigned int num) in fb_do_show_logo() argument
423 if (rotate == FB_ROTATE_UR) { in fb_do_show_logo()
430 } else if (rotate == FB_ROTATE_UD) { in fb_do_show_logo()
435 } else if (rotate == FB_ROTATE_CW) { in fb_do_show_logo()
442 } else if (rotate == FB_ROTATE_CCW) { in fb_do_show_logo()
450 static int fb_show_logo_line(struct fb_info *info, int rotate, in fb_show_logo_line() argument
[all …]
Dau1100fb.c219 info->var.rotate = ((fbdev->panel->control_base&LCD_CONTROL_SM_MASK) \ in au1100fb_setmode()
244 if (!info->var.rotate || (info->var.rotate == 180)) { in au1100fb_setmode()
246 if (info->var.rotate /* 180 */) { in au1100fb_setmode()
Dfbsysfs.c243 var.rotate = simple_strtoul(buf, last, 0); in store_rotate()
257 return snprintf(buf, PAGE_SIZE, "%d\n", fb_info->var.rotate); in show_rotate()
503 __ATTR(rotate, S_IRUGO|S_IWUSR, show_rotate, store_rotate),
/linux-2.6.39/init/
Ddo_mounts_rd.c165 unsigned short rotate = 0; in rd_load_image() local
238 rotate = 0; in rd_load_image()
255 printk("%c\b", rotator[rotate & 0x3]); in rd_load_image()
256 rotate++; in rd_load_image()
/linux-2.6.39/sound/soc/davinci/
Ddavinci-mcasp.c513 u32 mask, rotate; in davinci_config_channel_size() local
518 rotate = 6; in davinci_config_channel_size()
524 rotate = 5; in davinci_config_channel_size()
530 rotate = 4; in davinci_config_channel_size()
536 rotate = 3; in davinci_config_channel_size()
542 rotate = 2; in davinci_config_channel_size()
548 rotate = 1; in davinci_config_channel_size()
554 rotate = 0; in davinci_config_channel_size()
566 mcasp_mod_bits(dev->base + DAVINCI_MCASP_TXFMT_REG, TXROT(rotate), in davinci_config_channel_size()
568 mcasp_mod_bits(dev->base + DAVINCI_MCASP_RXFMT_REG, RXROT(rotate), in davinci_config_channel_size()
/linux-2.6.39/drivers/video/omap2/displays/
Dpanel-taal.c209 u8 rotate; member
346 static int taal_set_addr_mode(struct taal_data *td, u8 rotate, bool mirror) in taal_set_addr_mode() argument
356 switch (rotate) { in taal_set_addr_mode()
487 if (td->rotate == 0 || td->rotate == 2) { in taal_get_resolution()
898 r = taal_set_addr_mode(td, td->rotate, td->mirror); in taal_power_on()
1272 static int taal_rotate(struct omap_dss_device *dssdev, u8 rotate) in taal_rotate() argument
1277 dev_dbg(&dssdev->dev, "rotate %d\n", rotate); in taal_rotate()
1281 if (td->rotate == rotate) in taal_rotate()
1287 r = taal_set_addr_mode(td, rotate, td->mirror); in taal_rotate()
1292 td->rotate = rotate; in taal_rotate()
[all …]
/linux-2.6.39/fs/afs/
Dvlocation.c67 goto rotate; in afs_vlocation_access_vl_by_name()
74 goto rotate; in afs_vlocation_access_vl_by_name()
78 rotate: in afs_vlocation_access_vl_by_name()
125 goto rotate; in afs_vlocation_access_vl_by_id()
140 goto rotate; in afs_vlocation_access_vl_by_id()
143 goto rotate; in afs_vlocation_access_vl_by_id()
147 rotate: in afs_vlocation_access_vl_by_id()
/linux-2.6.39/arch/arm/mach-omap1/include/mach/
Dlcd_dma.h71 extern void omap_set_lcd_dma_b1_rotation(int rotate);
/linux-2.6.39/drivers/video/omap2/dss/
Ddisplay.c188 int rotate; in display_rotate_show() local
191 rotate = dssdev->driver->get_rotate(dssdev); in display_rotate_show()
192 return snprintf(buf, PAGE_SIZE, "%u\n", rotate); in display_rotate_show()
289 static DEVICE_ATTR(rotate, S_IRUGO|S_IWUSR,
/linux-2.6.39/arch/sh/include/asm/
Dsh7760fb.h185 int rotate; /* set to 1 to rotate 90 CCW */ member
/linux-2.6.39/drivers/video/omap/
Domapfb_main.c237 r = fbdev->ctrl->set_rotate(var->rotate); in ctrl_change_mode()
524 switch (var->rotate) { in set_fb_var()
627 static void omapfb_rotate(struct fb_info *fbi, int rotate) in omapfb_rotate() argument
633 if (rotate != fbi->var.rotate) { in omapfb_rotate()
637 new_var->rotate = rotate; in omapfb_rotate()
745 switch (var->rotate) { in omapfb_update_window_async()
1524 var->rotate = def_rotate; in fbinfo_init()
1994 module_param_named(rotate, def_rotate, uint, 0664);
Dlcdc.c192 switch (var->rotate) { in setup_lcd_dma()
236 omap_set_lcd_dma_b1_rotation(var->rotate); in setup_lcd_dma()
301 if (var->rotate == 0) { in omap_lcdc_setup_plane()
/linux-2.6.39/arch/sh/boards/mach-sh7763rdp/
Dsetup.c137 .rotate = 0,
/linux-2.6.39/arch/arm/configs/
Dcollie_defconfig20 CONFIG_CMDLINE="noinitrd root=/dev/mtdblock2 rootfstype=jffs2 fbcon=rotate:1"
/linux-2.6.39/drivers/scsi/
Dch.c422 ch_position(scsi_changer *ch, u_int trans, u_int elem, int rotate) in ch_position() argument
436 cmd[8] = rotate ? 1 : 0; in ch_position()
441 ch_move(scsi_changer *ch, u_int trans, u_int src, u_int dest, int rotate) in ch_move() argument
457 cmd[10] = rotate ? 1 : 0; in ch_move()
/linux-2.6.39/Documentation/fb/
Dfbcon.txt126 4. fbcon=rotate:<n>
140 rotate - rotate the display of the active console
141 rotate_all - rotate the display of all consoles
/linux-2.6.39/drivers/video/pnx4008/
Dsdum.c201 if ((ch_setup->xmirror) || (ch_setup->ymirror) || (ch_setup->rotate)) { in dum_ch_setup()
209 if (ch_setup->rotate) in dum_ch_setup()
365 k.rotate = 0; in display_open()
Ddum.h192 int rotate; member
/linux-2.6.39/arch/arm/lib/
Dcsumpartial.S77 movne r0, r0, ror #8 @ rotate checksum by 8 bits
/linux-2.6.39/include/linux/
Dfb.h275 __u32 rotate; /* angle we rotate counter clockwise */ member
1002 extern int fb_prepare_logo(struct fb_info *fb_info, int rotate);
1003 extern int fb_show_logo(struct fb_info *fb_info, int rotate);
/linux-2.6.39/Documentation/arm/OMAP/
DDSS121 rotate Rotation 0-3 for 0, 90, 180, 270 degrees
153 rotate Rotation 0-3 for 0, 90, 180, 270 degrees
286 omapfb.rotate=<angle>

12