Lines Matching refs:dsp
440 struct display* dsp; in matroxfb_pan_display() local
445 dsp = info->disp; in matroxfb_pan_display()
447 dsp = fb_display + con; in matroxfb_pan_display()
452 if (var->xoffset+dsp->var.xres > dsp->var.xres_virtual || in matroxfb_pan_display()
453 var->yoffset+dsp->var.yres > dsp->var.yres_virtual) in matroxfb_pan_display()
458 dsp->var.xoffset = var->xoffset; in matroxfb_pan_display()
459 dsp->var.yoffset = var->yoffset; in matroxfb_pan_display()
460 dsp->var.vmode &= ~FB_VMODE_YWRAP; in matroxfb_pan_display()
1098 struct display* dsp = (con < 0) ? ACCESS_FBINFO(fbcon.disp) in matroxfb_get_cmap() local
1109 else if (dsp->cmap.len) /* non default colormap? */ in matroxfb_get_cmap()
1110 fb_copy_cmap(&dsp->cmap, cmap, kspc ? 0 : 2); in matroxfb_get_cmap()
1112 fb_copy_cmap(fb_default_cmap(matroxfb_get_cmap_len(&dsp->var)), in matroxfb_get_cmap()
1122 struct display* dsp = (con < 0) ? info->disp : (fb_display + con); in matroxfb_set_cmap() local
1131 cmap_len = matroxfb_get_cmap_len(&dsp->var); in matroxfb_set_cmap()
1132 if (dsp->cmap.len != cmap_len) { in matroxfb_set_cmap()
1135 err = fb_alloc_cmap(&dsp->cmap, cmap_len, 0); in matroxfb_set_cmap()
1142 fb_copy_cmap(cmap, &dsp->cmap, kspc ? 0 : 1); in matroxfb_set_cmap()