Lines Matching refs:yres
25 .yres = 480,
42 .yres = 600,
64 .yres = 768,
80 .yres = 1024,
96 .yres = 720,
112 .yres = 1080,
221 static struct diu_ad *allocate_fb(unsigned int xres, unsigned int yres, in allocate_fb() argument
224 unsigned long size = xres * yres * depth; in allocate_fb()
239 ad->aoi_size = cpu_to_le32((yres << 16) | xres); in allocate_fb()
240 ad->src_size_g_alpha = cpu_to_le32((yres << 12) | xres); in allocate_fb()
250 int fsl_diu_init(u16 xres, u16 yres, u32 pixel_format, int gamma_fix) in fsl_diu_init() argument
263 switch (RESOLUTION(xres, yres)) { in fsl_diu_init()
283 printf("DIU: Unsupported resolution %ux%u\n", xres, yres); in fsl_diu_init()
289 info.var.yres = fsl_diu_mode_db->yres; in fsl_diu_init()
304 info.var.xres * info.var.yres * (info.var.bits_per_pixel / 8); in fsl_diu_init()
305 ad = allocate_fb(info.var.xres, info.var.yres, in fsl_diu_init()
353 out_be32(&hw->disp_size, info.var.yres << 16 | info.var.xres); in fsl_diu_init()