/drivers/staging/fbtft/ |
D | fbtft_device.c | 35 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()
|
D | fb_watterott.c | 195 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()
|
D | fb_uc1611.c | 116 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()
|
D | fb_ili9163.c | 150 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()
|
D | fb_upd161704.c | 128 switch (par->info->var.rotate) { in set_addr_win() 154 switch (par->info->var.rotate) { in set_var()
|
D | fb_bd663474.c | 119 switch (par->info->var.rotate) { in set_addr_win() 144 switch (par->info->var.rotate) { in set_var()
|
D | fb_ssd1289.c | 80 switch (par->info->var.rotate) { in set_addr_win() 115 switch (par->info->var.rotate) { in set_var()
|
D | fb_s6d1121.c | 83 switch (par->info->var.rotate) { in set_addr_win() 108 switch (par->info->var.rotate) { in set_var()
|
D | fb_ili9320.c | 176 switch (par->info->var.rotate) { in set_addr_win() 201 switch (par->info->var.rotate) { in set_var()
|
D | fb_ili9325.c | 171 switch (par->info->var.rotate) { in set_addr_win() 196 switch (par->info->var.rotate) { in set_var()
|
D | fb_ili9486.c | 71 switch (par->info->var.rotate) { in set_var()
|
D | fb_ili9481.c | 71 switch (par->info->var.rotate) { in set_var()
|
D | fb_s6d02a1.c | 122 switch (par->info->var.rotate) { in set_var()
|
D | fb_tinylcd.c | 72 switch (par->info->var.rotate) { in set_var()
|
/drivers/video/console/ |
D | fbcon_rotate.c | 41 if (ops->rotate == FB_ROTATE_CW || in fbcon_rotate_font() 42 ops->rotate == FB_ROTATE_CCW) in fbcon_rotate_font() 65 switch (ops->rotate) { in fbcon_rotate_font() 101 switch(ops->rotate) { in fbcon_set_rotate()
|
D | fbcon.c | 193 ops->rotate = ops->p->con_rotate; in fbcon_set_rotation() 195 ops->rotate = 0; in fbcon_set_rotation() 198 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument 211 if (rotate < 4) in fbcon_rotate() 212 p->con_rotate = rotate; in fbcon_rotate() 220 static void fbcon_rotate_all(struct fb_info *info, u32 rotate) in fbcon_rotate_all() argument 227 if (!ops || ops->currcon < 0 || rotate > 3) in fbcon_rotate_all() 237 p->con_rotate = rotate; in fbcon_rotate_all() 247 ops->rotate = FB_ROTATE_UR; in fbcon_set_rotation() 250 static void fbcon_rotate(struct fb_info *info, u32 rotate) in fbcon_rotate() argument [all …]
|
D | fbcon.h | 46 u32 rotate; member 80 int rotate; member
|
/drivers/video/fbdev/core/ |
D | fbmem.c | 392 struct fb_image *image, int rotate) in fb_rotate_logo() argument 396 if (rotate == FB_ROTATE_UD) { in fb_rotate_logo() 401 } else if (rotate == FB_ROTATE_CW) { in fb_rotate_logo() 410 } else if (rotate == FB_ROTATE_CCW) { in fb_rotate_logo() 425 int rotate, unsigned int num) in fb_do_show_logo() argument 432 if (rotate == FB_ROTATE_UR) { in fb_do_show_logo() 439 } else if (rotate == FB_ROTATE_UD) { in fb_do_show_logo() 446 } else if (rotate == FB_ROTATE_CW) { in fb_do_show_logo() 453 } else if (rotate == FB_ROTATE_CCW) { in fb_do_show_logo() 463 static int fb_show_logo_line(struct fb_info *info, int rotate, in fb_show_logo_line() argument [all …]
|
D | fbsysfs.c | 251 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),
|
/drivers/video/fbdev/omap2/dss/ |
D | display-sysfs.c | 153 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,
|
/drivers/video/fbdev/ |
D | goldfishfb.c | 147 if ((var->rotate & 1) != (info->var.rotate & 1)) { in goldfish_fb_check_var() 176 if (fb->rotation != fb->fb.var.rotate) { in goldfish_fb_set_par() 179 fb->rotation = fb->fb.var.rotate; in goldfish_fb_set_par()
|
D | au1100fb.c | 188 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()
|
/drivers/media/platform/exynos-gsc/ |
D | gsc-core.c | 561 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()
|
D | gsc-regs.c | 255 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()
|
/drivers/video/fbdev/omap/ |
D | omapfb_main.c | 213 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);
|