Lines Matching refs:fbcon

162 	if (info && (info->fbcon.var.bits_per_pixel == minfo->fbcon.var.bits_per_pixel)  in update_crtc2()
163 && (info->fbcon.var.xres_virtual == minfo->fbcon.var.xres_virtual) in update_crtc2()
164 && (info->fbcon.var.green.length == minfo->fbcon.var.green.length) in update_crtc2()
166 switch (minfo->fbcon.var.bits_per_pixel) { in update_crtc2()
172 mga_outl(0x3C28, pos + minfo->fbcon.var.xres_virtual * minfo->fbcon.var.bits_per_pixel / 8); in update_crtc2()
324 minfo->fbcon.var.xoffset = var->xoffset; in matrox_pan_var()
325 minfo->fbcon.var.yoffset = var->yoffset; in matrox_pan_var()
326 …pos = (minfo->fbcon.var.yoffset * minfo->fbcon.var.xres_virtual + minfo->fbcon.var.xoffset) * minf… in matrox_pan_var()
373 unregister_framebuffer(&minfo->fbcon); in matroxfb_remove()
648 struct matrox_fb_info* minfo = container_of(fb_info, struct matrox_fb_info, fbcon); in matroxfb_setcolreg()
662 if (minfo->fbcon.var.grayscale) { in matroxfb_setcolreg()
667 red = CNVT_TOHW(red, minfo->fbcon.var.red.length); in matroxfb_setcolreg()
668 green = CNVT_TOHW(green, minfo->fbcon.var.green.length); in matroxfb_setcolreg()
669 blue = CNVT_TOHW(blue, minfo->fbcon.var.blue.length); in matroxfb_setcolreg()
670 transp = CNVT_TOHW(transp, minfo->fbcon.var.transp.length); in matroxfb_setcolreg()
672 switch (minfo->fbcon.var.bits_per_pixel) { in matroxfb_setcolreg()
685 (red << minfo->fbcon.var.red.offset) | in matroxfb_setcolreg()
686 (green << minfo->fbcon.var.green.offset) | in matroxfb_setcolreg()
687 (blue << minfo->fbcon.var.blue.offset) | in matroxfb_setcolreg()
688 (transp << minfo->fbcon.var.transp.offset); /* for 1:5:5:5 */ in matroxfb_setcolreg()
697 (red << minfo->fbcon.var.red.offset) | in matroxfb_setcolreg()
698 (green << minfo->fbcon.var.green.offset) | in matroxfb_setcolreg()
699 (blue << minfo->fbcon.var.blue.offset) | in matroxfb_setcolreg()
700 (transp << minfo->fbcon.var.transp.offset); /* 8:8:8:8 */ in matroxfb_setcolreg()
708 struct fb_fix_screeninfo *fix = &minfo->fbcon.fix; in matroxfb_init_fix()
723 struct fb_fix_screeninfo *fix = &minfo->fbcon.fix; in matroxfb_update_fix()
726 mutex_lock(&minfo->fbcon.mm_lock); in matroxfb_update_fix()
729 mutex_unlock(&minfo->fbcon.mm_lock); in matroxfb_update_fix()
766 minfo->fbcon.screen_base = vaddr_va(minfo->video.vbase) + ydstorg; in matroxfb_set_par()
768 minfo->fbcon.fix.visual = visual; in matroxfb_set_par()
769 minfo->fbcon.fix.type = FB_TYPE_PACKED_PIXELS; in matroxfb_set_par()
770 minfo->fbcon.fix.type_aux = 0; in matroxfb_set_par()
771 minfo->fbcon.fix.line_length = (var->xres_virtual * var->bits_per_pixel) >> 3; in matroxfb_set_par()
860 if (vblank->vcount >= minfo->fbcon.var.yres) in matroxfb_get_vblank()
952 crtc2->fbcon.fbops->fb_set_par(&crtc2->fbcon); in matroxfb_ioctl()
1793 minfo->fbcon.monspecs.hfmin = 0; in initMatrox2()
1794 minfo->fbcon.monspecs.hfmax = fh; in initMatrox2()
1795 minfo->fbcon.monspecs.vfmin = 0; in initMatrox2()
1796 minfo->fbcon.monspecs.vfmax = fv; in initMatrox2()
1797 minfo->fbcon.monspecs.dpms = 0; /* TBD */ in initMatrox2()
1810 minfo->fbcon.fbops = &minfo->fbops; in initMatrox2()
1811 minfo->fbcon.pseudo_palette = minfo->cmap; in initMatrox2()
1812 minfo->fbcon.flags = FBINFO_PARTIAL_PAN_OK | /* Prefer panning for scroll under MC viewer/edit */ in initMatrox2()
1820 fb_alloc_cmap(&minfo->fbcon.cmap, 256, 1); in initMatrox2()
1825 fb_find_mode(&vesafb_defined, &minfo->fbcon, videomode[0] ? videomode : NULL, in initMatrox2()
1916 minfo->fbcon.screen_base = vaddr_va(minfo->video.vbase); in initMatrox2()
1918 matroxfb_check_var(&vesafb_defined, &minfo->fbcon); in initMatrox2()
1923 minfo->fbcon.var = vesafb_defined; in initMatrox2()
1935 minfo->fbcon.device = &minfo->pcidev->dev; in initMatrox2()
1936 if (register_framebuffer(&minfo->fbcon) < 0) { in initMatrox2()
1939 fb_info(&minfo->fbcon, "%s frame buffer device\n", minfo->fbcon.fix.id); in initMatrox2()
1944 fb_info(&minfo->fbcon, "initializing hardware\n"); in initMatrox2()
1948 fb_set_var(&minfo->fbcon, &vesafb_defined); in initMatrox2()
2111 mutex_init(&minfo->fbcon.mm_lock); in matroxfb_probe()