Home
last modified time | relevance | path

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

/linux-4.4.14/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.c202 ops->rotate = ops->p->con_rotate; in fbcon_set_rotation()
204 ops->rotate = 0; in fbcon_set_rotation()
207 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
220 if (rotate < 4) in fbcon_rotate()
221 p->con_rotate = rotate; in fbcon_rotate()
229 static void fbcon_rotate_all(struct fb_info *info, u32 rotate) in fbcon_rotate_all() argument
236 if (!ops || ops->currcon < 0 || rotate > 3) in fbcon_rotate_all()
246 p->con_rotate = rotate; in fbcon_rotate_all()
256 ops->rotate = FB_ROTATE_UR; in fbcon_set_rotation()
259 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument
[all …]
Dfbcon.h46 u32 rotate; member
80 int rotate; member
Dbitblit.c413 if (ops->rotate) in fbcon_set_bitops()
/linux-4.4.14/drivers/staging/fbtft/
Dfbtft_device.c35 static unsigned rotate; variable
36 module_param(rotate, uint, 0);
37 MODULE_PARM_DESC(rotate,
1432 if (rotate > 0 && rotate < 4) { in fbtft_device_init()
1433 rotate = (4 - rotate) * 90; in fbtft_device_init()
1435 rotate); in fbtft_device_init()
1437 if (rotate != 0 && rotate != 90 && rotate != 180 && rotate != 270) { in fbtft_device_init()
1439 rotate); in fbtft_device_init()
1440 rotate = 0; in fbtft_device_init()
1483 pdata->rotate = rotate; in fbtft_device_init()
Dfb_watterott.c195 u8 rotate; in set_var() local
198 switch (par->info->var.rotate) { in set_var()
200 rotate = 27; in set_var()
203 rotate = 18; in set_var()
206 rotate = 9; in set_var()
209 rotate = 0; in set_var()
211 write_reg(par, CMD_LCD_ORIENTATION, rotate); in set_var()
Dfb_uc1611.c116 switch (par->info->var.rotate) { in set_addr_win()
164 switch (par->info->var.rotate) { in set_var()
235 switch (par->info->var.rotate) { in write_vmem()
269 switch (par->info->var.rotate) { in write_vmem()
Dfb_ili9163.c150 switch (par->info->var.rotate) { in set_addr_win()
173 par->info->var.rotate = 0; /* Fix incorrect setting */ in set_addr_win()
202 switch (par->info->var.rotate) { in set_var()
Dfb_upd161704.c128 switch (par->info->var.rotate) { in set_addr_win()
154 switch (par->info->var.rotate) { in set_var()
Dfb_bd663474.c119 switch (par->info->var.rotate) { in set_addr_win()
144 switch (par->info->var.rotate) { in set_var()
Dfb_s6d1121.c83 switch (par->info->var.rotate) { in set_addr_win()
108 switch (par->info->var.rotate) { in set_var()
Dfb_ssd1289.c80 switch (par->info->var.rotate) { in set_addr_win()
115 switch (par->info->var.rotate) { in set_var()
Dfb_ili9320.c176 switch (par->info->var.rotate) { in set_addr_win()
201 switch (par->info->var.rotate) { in set_var()
Dfb_ili9325.c171 switch (par->info->var.rotate) { in set_addr_win()
196 switch (par->info->var.rotate) { in set_var()
Dfb_ili9486.c71 switch (par->info->var.rotate) { in set_var()
Dfb_ili9481.c71 switch (par->info->var.rotate) { in set_var()
Dfb_s6d02a1.c122 switch (par->info->var.rotate) { in set_var()
Dfb_tinylcd.c72 switch (par->info->var.rotate) { in set_var()
Dfb_ili9340.c111 switch (par->info->var.rotate) { in set_var()
Dfb_hx8353d.c96 switch (par->info->var.rotate) { in set_var()
Dfb_hx8357d.c167 switch (par->info->var.rotate) { in set_var()
Dfb_st7735r.c115 switch (par->info->var.rotate) { in set_var()
Dfb_st7789v.c148 switch (par->info->var.rotate) { in set_var()
Dfb_ili9341.c98 switch (par->info->var.rotate) { in set_var()
Dfb_hx8340bn.c117 switch (par->info->var.rotate) { in set_var()
Dflexfb.c236 switch (par->info->var.rotate) { in flexfb_set_addr_win_1()
263 switch (par->info->var.rotate) { in flexfb_set_addr_win_2()
Dfb_ssd1351.c81 switch (par->info->var.rotate) { in set_var()
Dfbtft-core.c712 switch (pdata->rotate) { in fbtft_framebuffer_alloc()
778 info->var.rotate = pdata->rotate; in fbtft_framebuffer_alloc()
1298 pdata->rotate = fbtft_of_value(node, "rotate"); in fbtft_probe_dt()
Dfbtft.h157 unsigned rotate; member
/linux-4.4.14/arch/arm/mach-omap1/
Dlcd_dma.c61 int rotate, data_type, xres, yres; member
92 void omap_set_lcd_dma_b1_rotation(int rotate) in omap_set_lcd_dma_b1_rotation() argument
99 lcd_dma.rotate = rotate; in omap_set_lcd_dma_b1_rotation()
168 switch (lcd_dma.rotate) { in set_b1_regs()
271 if (!(lcd_dma.rotate || lcd_dma.mirror || in set_b1_regs()
320 lcd_dma.rotate = 0; in omap_request_lcd_dma()
/linux-4.4.14/drivers/video/fbdev/core/
Dfbmem.c391 struct fb_image *image, int rotate) in fb_rotate_logo() argument
395 if (rotate == FB_ROTATE_UD) { in fb_rotate_logo()
400 } else if (rotate == FB_ROTATE_CW) { in fb_rotate_logo()
409 } else if (rotate == FB_ROTATE_CCW) { in fb_rotate_logo()
424 int rotate, unsigned int num) in fb_do_show_logo() argument
428 if (rotate == FB_ROTATE_UR) { in fb_do_show_logo()
435 } else if (rotate == FB_ROTATE_UD) { in fb_do_show_logo()
440 } else if (rotate == FB_ROTATE_CW) { in fb_do_show_logo()
447 } else if (rotate == FB_ROTATE_CCW) { in fb_do_show_logo()
455 static int fb_show_logo_line(struct fb_info *info, int rotate, in fb_show_logo_line() argument
[all …]
Dfbsysfs.c251 var.rotate = simple_strtoul(buf, last, 0); in store_rotate()
265 return snprintf(buf, PAGE_SIZE, "%d\n", fb_info->var.rotate); in show_rotate()
510 __ATTR(rotate, S_IRUGO|S_IWUSR, show_rotate, store_rotate),
/linux-4.4.14/init/
Ddo_mounts_rd.c192 unsigned short rotate = 0; in rd_load_image() local
265 rotate = 0; in rd_load_image()
282 printk("%c\b", rotator[rotate & 0x3]); in rd_load_image()
283 rotate++; in rd_load_image()
/linux-4.4.14/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()
139 goto rotate; in afs_vlocation_access_vl_by_id()
142 goto rotate; in afs_vlocation_access_vl_by_id()
146 rotate: in afs_vlocation_access_vl_by_id()
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Ddisplay-sysfs.c153 int rotate; in display_rotate_show() local
156 rotate = dssdev->driver->get_rotate(dssdev); in display_rotate_show()
157 return snprintf(buf, PAGE_SIZE, "%u\n", rotate); in display_rotate_show()
261 static DISPLAY_ATTR(rotate, S_IRUGO|S_IWUSR,
/linux-4.4.14/tools/include/linux/
Drbtree_augmented.h44 void (*rotate)(struct rb_node *old, struct rb_node *new); member
63 __rb_insert_augmented(node, root, augment->rotate); in rb_insert_augmented()
242 __rb_erase_color(rebalance, root, augment->rotate); in rb_erase_augmented()
/linux-4.4.14/include/linux/
Drbtree_augmented.h41 void (*rotate)(struct rb_node *old, struct rb_node *new); member
60 __rb_insert_augmented(node, root, augment->rotate); in rb_insert_augmented()
246 __rb_erase_color(rebalance, root, augment->rotate); in rb_erase_augmented()
Dfb.h622 extern int fb_prepare_logo(struct fb_info *fb_info, int rotate);
623 extern int fb_show_logo(struct fb_info *fb_info, int rotate);
/linux-4.4.14/drivers/video/fbdev/
Dgoldfishfb.c99 if ((var->rotate & 1) != (info->var.rotate & 1)) { in goldfish_fb_check_var()
127 if (fb->rotation != fb->fb.var.rotate) { in goldfish_fb_set_par()
129 fb->rotation = fb->fb.var.rotate; in goldfish_fb_set_par()
Dau1100fb.c188 info->var.rotate = ((fbdev->panel->control_base&LCD_CONTROL_SM_MASK) \ in au1100fb_setmode()
213 if (!info->var.rotate || (info->var.rotate == 180)) { in au1100fb_setmode()
215 if (info->var.rotate /* 180 */) { in au1100fb_setmode()
Dauo_k190x.c498 switch (var->rotate) { in auok190xfb_check_var()
553 par->rotation = info->var.rotate; in auok190xfb_set_par()
Dsh7760fb.c209 par->rot = par->pd->rotate; in sh7760fb_set_par()
Dcarminefb.c187 if (var->grayscale || var->rotate || var->nonstd) in carmine_check_var()
Dpxa168fb.c192 var->rotate = FB_ROTATE_UR; in set_mode()
Dtmiofb.c609 var->rotate = 0; in tmiofb_check_var()
Dps3fb.c581 if (var->rotate) { in ps3fb_check_var()
/linux-4.4.14/drivers/media/platform/exynos-gsc/
Dgsc-core.c561 if (ctx->gsc_ctrls.rotate->val == 90 || in gsc_try_crop()
562 ctx->gsc_ctrls.rotate->val == 270) { in gsc_try_crop()
582 (ctx->gsc_ctrls.rotate->val == 90 || in gsc_try_crop()
583 ctx->gsc_ctrls.rotate->val == 270)) in gsc_try_crop()
647 ctx->gsc_ctrls.rotate->val, ctx->out_path); in gsc_set_scaler_info()
653 if (ctx->gsc_ctrls.rotate->val == 90 || in gsc_set_scaler_info()
654 ctx->gsc_ctrls.rotate->val == 270) { in gsc_set_scaler_info()
726 ctx->gsc_ctrls.rotate->val, in __gsc_s_ctrl()
771 ctx->gsc_ctrls.rotate = v4l2_ctrl_new_std(&ctx->ctrl_handler, in gsc_ctrls_create()
Dgsc-regs.c255 if (ctx->gsc_ctrls.rotate->val == 90 || in gsc_hw_set_out_size()
256 ctx->gsc_ctrls.rotate->val == 270) { in gsc_hw_set_out_size()
379 switch (ctx->gsc_ctrls.rotate->val) { in gsc_hw_set_rotation()
Dgsc-core.h163 struct v4l2_ctrl *rotate; member
Dgsc-m2m.c538 ctx->gsc_ctrls.rotate->val, ctx->out_path); in gsc_m2m_s_selection()
543 cr.c.height, ctx->gsc_ctrls.rotate->val, in gsc_m2m_s_selection()
/linux-4.4.14/arch/arm/mach-omap1/include/mach/
Dlcd_dma.h71 extern void omap_set_lcd_dma_b1_rotation(int rotate);
/linux-4.4.14/arch/sh/include/asm/
Dsh7760fb.h185 int rotate; /* set to 1 to rotate 90 CCW */ member
/linux-4.4.14/drivers/video/fbdev/omap/
Domapfb_main.c213 r = fbdev->ctrl->set_rotate(var->rotate); in ctrl_change_mode()
495 switch (var->rotate) { in set_fb_var()
598 static void omapfb_rotate(struct fb_info *fbi, int rotate) in omapfb_rotate() argument
604 if (rotate != fbi->var.rotate) { in omapfb_rotate()
608 new_var->rotate = rotate; in omapfb_rotate()
716 switch (var->rotate) { in omapfb_update_window_async()
1495 var->rotate = def_rotate; in fbinfo_init()
1957 module_param_named(rotate, def_rotate, uint, 0664);
Dlcdc.c191 switch (var->rotate) { in setup_lcd_dma()
235 omap_set_lcd_dma_b1_rotation(var->rotate); in setup_lcd_dma()
300 if (var->rotate == 0) { in omap_lcdc_setup_plane()
/linux-4.4.14/arch/sh/boards/mach-sh7763rdp/
Dsetup.c137 .rotate = 0,
/linux-4.4.14/arch/arm/configs/
Dcollie_defconfig20 CONFIG_CMDLINE="noinitrd root=/dev/mtdblock2 rootfstype=jffs2 fbcon=rotate:1"
/linux-4.4.14/tools/vm/
Dslabinfo-gnuplot.sh98 set xtics rotate $xtic_rotate
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
Dinterval_tree.c137 struct interval_node *rotate) in __rotate_change_maxhigh() argument
141 rotate->in_max_high = node->in_max_high; in __rotate_change_maxhigh()
/linux-4.4.14/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
Dsh7760fb.txt99 .rotate = 0,
Dapi.txt216 __u32 rotate; /* angle we rotate counter clockwise */
/linux-4.4.14/drivers/scsi/
Dch.c420 ch_position(scsi_changer *ch, u_int trans, u_int elem, int rotate) in ch_position() argument
434 cmd[8] = rotate ? 1 : 0; in ch_position()
439 ch_move(scsi_changer *ch, u_int trans, u_int src, u_int dest, int rotate) in ch_move() argument
455 cmd[10] = rotate ? 1 : 0; in ch_move()
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_intel_cqm.c1088 bool rotate = false; in intel_cqm_event_init() local
1131 rotate = true; in intel_cqm_event_init()
1136 if (rotate) in intel_cqm_event_init()
/linux-4.4.14/arch/arm/lib/
Dcsumpartial.S77 movne r0, r0, ror #8 @ rotate checksum by 8 bits
/linux-4.4.14/include/uapi/linux/
Dfb.h275 __u32 rotate; /* angle we rotate counter clockwise */ member
/linux-4.4.14/Documentation/arm/OMAP/
DDSS166 rotate Rotation 0-3 for 0, 90, 180, 270 degrees
198 rotate Rotation 0-3 for 0, 90, 180, 270 degrees
330 omapfb.rotate=<angle>
/linux-4.4.14/drivers/video/fbdev/omap2/omapfb/
Domapfb-main.c690 if (var->rotate > 3) in check_fb_var()
855 int rotation = var->rotate; in omapfb_setup_overlay()
967 int rotation = (var->rotate + ofbi->rotation[i]) % 4; in omapfb_apply_changes()
1760 var->rotate = def_rotate; in omapfb_fb_init()
1764 int rotation = (var->rotate + ofbi->rotation[0]) % 4; in omapfb_fb_init()
2646 module_param_named(rotate, def_rotate, int, 0);
/linux-4.4.14/Documentation/devicetree/bindings/
Dxilinx.txt246 - rotate-display (empty) : rotate display 180 degrees.
/linux-4.4.14/drivers/media/platform/exynos4-is/
Dfimc-core.c608 ctrls->rotate = v4l2_ctrl_new_std(handler, &fimc_ctrl_ops, in fimc_ctrls_create()
659 v4l2_ctrl_activate(ctrls->rotate, active); in fimc_ctrls_activate()
668 ctx->rotation = ctrls->rotate->val; in fimc_ctrls_activate()
Dfimc-core.h459 struct v4l2_ctrl *rotate; member
Dfimc-capture.c660 bool rotate = ctx->rotation == 90 || ctx->rotation == 270; in fimc_capture_try_selection() local
699 rotate ? pl->out_rot_en_w : pl->out_rot_dis_w, in fimc_capture_try_selection()
700 rotate ? sink->f_height : sink->f_width); in fimc_capture_try_selection()
706 if (rotate) { in fimc_capture_try_selection()
/linux-4.4.14/arch/arm/boot/dts/
Dtegra114-tn7.dts12 bootargs = "console=ttyS0,115200n8 console=tty1 gpt fbcon=rotate:2";
Dtegra114-roth.dts12 bootargs = "console=ttyS0,115200n8 console=tty1 gpt fbcon=rotate:1";
/linux-4.4.14/Documentation/crypto/
Ddescore-readme.txt159 it in the form for the first half and use a simple rotate to get the other
205 ROR and ROL macros to use machine rotate instructions if you have them.
213 1) with the lack of a bit rotate operator in C, rotates have to be synthesized
/linux-4.4.14/Documentation/hwmon/
Dabituguru-datasheet259 0-255 = 0-12v (linear), specify voltage at which fan will rotate when under
263 0-255 = 0-12v (linear), specify voltage at which fan will rotate when above
/linux-4.4.14/arch/x86/crypto/
Dsha1_avx2_x86_64_asm.S197 .if (i == 0) # Initialize and rotate registers
Dsha1_ssse3_asm.S286 # rotate: \a<=\d, \b<=\e, \c<=\a, \d<=\b, \e<=\c
/linux-4.4.14/include/video/
Domapdss.h812 int (*set_rotate)(struct omap_dss_device *dssdev, u8 rotate);
/linux-4.4.14/drivers/dma/ipu/
Dipu_idmac.c433 enum ipu_rotate_mode rotate) in ipu_ch_param_set_rotation() argument
435 params->pp.bam = rotate; in ipu_ch_param_set_rotation()
/linux-4.4.14/Documentation/DocBook/
Dgpu.xml.db446 API-drm-rect-rotate
447 API-drm-rect-rotate-inv
Dkernel-api.xml.db11 API-list-rotate-left
/linux-4.4.14/fs/ocfs2/
Dalloc.c3855 goto rotate; in ocfs2_insert_at_leaf()
3912 rotate: in ocfs2_insert_at_leaf()
4221 int ret, rotate = 0; in ocfs2_do_insert_extent() local
4256 rotate = 1; in ocfs2_do_insert_extent()
4278 if (rotate) { in ocfs2_do_insert_extent()
/linux-4.4.14/Documentation/input/
Dsentelic.txt717 bit3 1 RO 0: rotate 180 degree
722 bit2 0 RW 1: rotate 180 degree
/linux-4.4.14/arch/arm/crypto/
Dsha1-armv4-large.S35 @ instructions with 3 arguments, no [fixed] rotate, addressing
Daes-armv4.S15 @ allows to merge logical or arithmetic operation with shift or rotate
/linux-4.4.14/kernel/events/
Dcore.c3077 int rotate = 0; in perf_rotate_context() local
3081 rotate = 1; in perf_rotate_context()
3087 rotate = 1; in perf_rotate_context()
3090 if (!rotate) in perf_rotate_context()
3110 return rotate; in perf_rotate_context()
/linux-4.4.14/arch/m68k/ifpsp060/src/
Dfpsp.S16286 ror.l &0x8,%d1 # rotate to top byte