Lines Matching refs:video
57 static int video[KPARAM_CNT] = { 2, XENFB_WIDTH, XENFB_HEIGHT }; variable
58 module_param_array(video, int, NULL, 0);
59 MODULE_PARM_DESC(video,
282 if (var->xres == video[KPARAM_WIDTH] && in xenfb_check_var()
283 var->yres == video[KPARAM_HEIGHT] && in xenfb_check_var()
291 if (var->xres > video[KPARAM_WIDTH] || var->yres > video[KPARAM_HEIGHT]) in xenfb_check_var()
374 if (val < video[KPARAM_MEM]) in xenfb_probe()
375 video[KPARAM_MEM] = val; in xenfb_probe()
379 fb_size = video[KPARAM_MEM] * 1024 * 1024; in xenfb_probe()
380 if (video[KPARAM_WIDTH] * video[KPARAM_HEIGHT] * XENFB_DEPTH / 8 in xenfb_probe()
382 video[KPARAM_WIDTH] = XENFB_WIDTH; in xenfb_probe()
383 video[KPARAM_HEIGHT] = XENFB_HEIGHT; in xenfb_probe()
422 fb_info->var.xres_virtual = fb_info->var.xres = video[KPARAM_WIDTH]; in xenfb_probe()
423 fb_info->var.yres_virtual = fb_info->var.yres = video[KPARAM_HEIGHT]; in xenfb_probe()