Searched refs:lpitch (Results 1 – 5 of 5) sorted by relevance
438 u32 lpitch; in tdfxfb_check_var() local477 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()1375 int err, lpitch; in tdfxfb_probe() local1527 lpitch = info->var.xres_virtual * ((info->var.bits_per_pixel + 7) >> 3); in tdfxfb_probe()1528 info->var.yres_virtual = info->fix.smem_len / lpitch; in tdfxfb_probe()
914 u32 lpitch; in pm3fb_check_var() local983 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()
567 u32 lpitch; in pm2fb_check_var() local603 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()
1113 int lpitch; in nvidia_set_fbinfo() local1166 lpitch = info->var.xres_virtual * in nvidia_set_fbinfo()1168 info->var.yres_virtual = info->screen_size / lpitch; in nvidia_set_fbinfo()
2177 int err, lpitch; in savagefb_probe() local2260 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()