Home
last modified time | relevance | path

Searched refs:lpitch (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/video/fbdev/
H A Dtdfxfb.c438 u32 lpitch; in tdfxfb_check_var() local
477 lpitch = var->xres * ((var->bits_per_pixel + 7) >> 3); in tdfxfb_check_var()
489 if (lpitch * var->yres_virtual > info->fix.smem_len) { in tdfxfb_check_var()
490 var->yres_virtual = info->fix.smem_len / lpitch; in tdfxfb_check_var()
1376 int err, lpitch; in tdfxfb_probe() local
1528 lpitch = info->var.xres_virtual * ((info->var.bits_per_pixel + 7) >> 3); in tdfxfb_probe()
1529 info->var.yres_virtual = info->fix.smem_len / lpitch; in tdfxfb_probe()
H A Dpm3fb.c914 u32 lpitch; in pm3fb_check_var() local
983 lpitch = var->xres * ((var->bits_per_pixel + 7) >> 3); in pm3fb_check_var()
995 if (lpitch * var->yres_virtual > info->fix.smem_len) { in pm3fb_check_var()
H A Dpm2fb.c567 u32 lpitch; in pm2fb_check_var() local
603 lpitch = var->xres * ((var->bits_per_pixel + 7) >> 3); in pm2fb_check_var()
615 if (lpitch * var->yres_virtual > info->fix.smem_len) { in pm2fb_check_var()
/openbmc/linux/drivers/video/fbdev/nvidia/
H A Dnvidia.c1111 int lpitch; in nvidia_set_fbinfo() local
1164 lpitch = info->var.xres_virtual * in nvidia_set_fbinfo()
1166 info->var.yres_virtual = info->screen_size / lpitch; in nvidia_set_fbinfo()
/openbmc/linux/drivers/video/fbdev/savage/
H A Dsavagefb_driver.c2177 int err, lpitch; in savagefb_probe() local
2260 lpitch = info->var.xres_virtual*((info->var.bits_per_pixel + 7) >> 3); in savagefb_probe()
2261 info->var.yres_virtual = info->fix.smem_len/lpitch; in savagefb_probe()