Lines Matching refs:xres
197 unsigned int xres; member
548 ch->display.mode.xres, ch->display.mode.yres, in sh_mobile_lcdc_must_reconfigure()
549 new_mode->xres, new_mode->yres); in sh_mobile_lcdc_must_reconfigure()
836 h_total = mode->xres + mode->hsync_len + mode->left_margin in sh_mobile_lcdc_geometry()
839 tmp |= (min(mode->xres, ch->xres) / 8) << 16; /* HDCN */ in sh_mobile_lcdc_geometry()
842 hsync_pos = mode->xres + mode->right_margin; in sh_mobile_lcdc_geometry()
858 display_h_total = mode->xres + mode->hsync_len + mode->left_margin in sh_mobile_lcdc_geometry()
860 tmp = ((mode->xres & 7) << 24) | ((display_h_total & 7) << 16) in sh_mobile_lcdc_geometry()
942 (ovl->xres << LDBBSSZR_BHSS_SHIFT)); in sh_mobile_lcdc_overlay_setup()
1250 if (var->xres > MAX_XRES || var->yres > MAX_YRES) in __sh_mobile_lcdc_check_var()
1256 if (var->xres_virtual < var->xres) in __sh_mobile_lcdc_check_var()
1257 var->xres_virtual = var->xres; in __sh_mobile_lcdc_check_var()
1581 ovl->xres = info->var.xres; in sh_mobile_lcdc_overlay_set_par()
1671 dev_name(lcdc->dev), ovl->index, info->var.xres, in sh_mobile_lcdc_overlay_fb_register()
1743 var->xres = ovl->xres; in sh_mobile_lcdc_overlay_fb_init()
1994 if (var->xres > mode->xres || var->yres > mode->yres) in sh_mobile_lcdc_check_var()
1997 dist = var->xres * var->yres + mode->xres * mode->yres in sh_mobile_lcdc_check_var()
1998 - 2 * min(var->xres, mode->xres) in sh_mobile_lcdc_check_var()
2002 best_xres = mode->xres; in sh_mobile_lcdc_check_var()
2013 var->xres = best_xres; in sh_mobile_lcdc_check_var()
2039 ch->xres = info->var.xres; in sh_mobile_lcdc_set_par()
2082 .width = ch->xres, in sh_mobile_lcdc_blank()
2166 "mainlcd" : "sublcd", info->var.xres, info->var.yres, in sh_mobile_lcdc_channel_fb_register()
2424 .xres = 1280,
2569 ovl->xres = ovl->cfg->max_xres; in sh_mobile_lcdc_overlay_init()
2570 ovl->xres_virtual = ovl->xres; in sh_mobile_lcdc_overlay_init()
2624 unsigned int size = mode->yres * mode->xres; in sh_mobile_lcdc_channel_init()
2644 max_mode->xres, max_mode->yres); in sh_mobile_lcdc_channel_init()
2658 ch->xres = mode->xres; in sh_mobile_lcdc_channel_init()
2659 ch->xres_virtual = mode->xres; in sh_mobile_lcdc_channel_init()