Lines Matching refs:video
62 static int video[KPARAM_CNT] = { 2, XENFB_WIDTH, XENFB_HEIGHT }; variable
63 module_param_array(video, int, NULL, 0);
64 MODULE_PARM_DESC(video,
287 if (var->xres == video[KPARAM_WIDTH] && in xenfb_check_var()
288 var->yres == video[KPARAM_HEIGHT] && in xenfb_check_var()
296 if (var->xres > video[KPARAM_WIDTH] || var->yres > video[KPARAM_HEIGHT]) in xenfb_check_var()
379 if (val < video[KPARAM_MEM]) in xenfb_probe()
380 video[KPARAM_MEM] = val; in xenfb_probe()
384 fb_size = video[KPARAM_MEM] * 1024 * 1024; in xenfb_probe()
385 if (video[KPARAM_WIDTH] * video[KPARAM_HEIGHT] * XENFB_DEPTH / 8 in xenfb_probe()
387 video[KPARAM_WIDTH] = XENFB_WIDTH; in xenfb_probe()
388 video[KPARAM_HEIGHT] = XENFB_HEIGHT; in xenfb_probe()
426 fb_info->var.xres_virtual = fb_info->var.xres = video[KPARAM_WIDTH]; in xenfb_probe()
427 fb_info->var.yres_virtual = fb_info->var.yres = video[KPARAM_HEIGHT]; in xenfb_probe()