Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/video/
Dtdfxfb.c458 u32 lpitch; in tdfxfb_check_var() local
497 lpitch = var->xres * ((var->bits_per_pixel + 7) >> 3); in tdfxfb_check_var()
509 if (lpitch * var->yres_virtual > info->fix.smem_len) { in tdfxfb_check_var()
510 var->yres_virtual = info->fix.smem_len / lpitch; in tdfxfb_check_var()
1396 int err, lpitch; in tdfxfb_probe() local
1546 lpitch = info->var.xres_virtual * ((info->var.bits_per_pixel + 7) >> 3); in tdfxfb_probe()
1547 info->var.yres_virtual = info->fix.smem_len / lpitch; in tdfxfb_probe()
Dpm3fb.c920 u32 lpitch; in pm3fb_check_var() local
989 lpitch = var->xres * ((var->bits_per_pixel + 7) >> 3); in pm3fb_check_var()
1001 if (lpitch * var->yres_virtual > info->fix.smem_len) { in pm3fb_check_var()
Dpm2fb.c570 u32 lpitch; in pm2fb_check_var() local
606 lpitch = var->xres * ((var->bits_per_pixel + 7) >> 3); in pm2fb_check_var()
618 if (lpitch * var->yres_virtual > info->fix.smem_len) { in pm2fb_check_var()
/linux-2.6.39/drivers/video/nvidia/
Dnvidia.c1113 int lpitch; in nvidia_set_fbinfo() local
1166 lpitch = info->var.xres_virtual * in nvidia_set_fbinfo()
1168 info->var.yres_virtual = info->screen_size / lpitch; in nvidia_set_fbinfo()
/linux-2.6.39/drivers/video/savage/
Dsavagefb_driver.c2185 int err, lpitch; in savagefb_probe() local
2248 lpitch = info->var.xres_virtual*((info->var.bits_per_pixel + 7) >> 3); in savagefb_probe()
2249 info->var.yres_virtual = info->fix.smem_len/lpitch; in savagefb_probe()