Lines Matching refs:dsp
512 struct display* dsp; in matroxfb_dh_get_cmap() local
515 dsp = m2info->fbcon.disp; in matroxfb_dh_get_cmap()
517 dsp = fb_display + con; in matroxfb_dh_get_cmap()
520 else if (dsp->cmap.len) in matroxfb_dh_get_cmap()
521 fb_copy_cmap(&dsp->cmap, cmap, kspc ? 0 : 2); in matroxfb_dh_get_cmap()
531 struct display* dsp; in matroxfb_dh_set_cmap() local
534 dsp = m2info->fbcon.disp; in matroxfb_dh_set_cmap()
536 dsp = fb_display + con; in matroxfb_dh_set_cmap()
537 if (dsp->cmap.len != 16) { in matroxfb_dh_set_cmap()
540 err = fb_alloc_cmap(&dsp->cmap, 16, 0); in matroxfb_dh_set_cmap()
547 fb_copy_cmap(cmap, &dsp->cmap, kspc ? 0 : 1); in matroxfb_dh_set_cmap()
555 struct display* dsp; in matroxfb_dh_pan_display() local
558 dsp = m2info->fbcon.disp; in matroxfb_dh_pan_display()
560 dsp = fb_display + con; in matroxfb_dh_pan_display()
561 if (var->xoffset + dsp->var.xres > dsp->var.xres_virtual || in matroxfb_dh_pan_display()
562 var->yoffset + dsp->var.yres > dsp->var.yres_virtual) in matroxfb_dh_pan_display()
566 dsp->var.xoffset = var->xoffset; in matroxfb_dh_pan_display()
567 dsp->var.yoffset = var->yoffset; in matroxfb_dh_pan_display()