Lines Matching refs:xres
24 .xres = 800,
41 .xres = 800,
63 .xres = 1024,
79 .xres = 1280,
95 .xres = 1280,
111 .xres = 1920,
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()
288 info.var.xres = fsl_diu_mode_db->xres; in fsl_diu_init()
300 info.fix.line_length = info.var.xres * info.var.bits_per_pixel / 8; 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()