Lines Matching refs:crtc2
151 minfo->hw.crtc2.ctl = tmp; in matroxfb_dh_restore()
165 minfo->hw.crtc2.ctl = 0x00000004; in matroxfb_dh_disable()
366 minfo->crtc2.pixclock = mt.pixclock; in matroxfb_dh_set_par()
367 minfo->crtc2.mnp = mt.mnp; in matroxfb_dh_set_par()
418 vblank->count = minfo->crtc2.vsync.cnt; in matroxfb_dh_get_vblank()
639 down_write(&minfo->crtc2.lock); in matroxfb_dh_regit()
640 oldcrtc2 = minfo->crtc2.info; in matroxfb_dh_regit()
641 minfo->crtc2.info = m2info; in matroxfb_dh_regit()
642 up_write(&minfo->crtc2.lock); in matroxfb_dh_regit()
670 struct matroxfb_dh_fb_info* crtc2; in matroxfb_dh_deregisterfb() local
672 down_write(&minfo->crtc2.lock); in matroxfb_dh_deregisterfb()
673 crtc2 = minfo->crtc2.info; in matroxfb_dh_deregisterfb()
674 if (crtc2 == m2info) in matroxfb_dh_deregisterfb()
675 minfo->crtc2.info = NULL; in matroxfb_dh_deregisterfb()
676 up_write(&minfo->crtc2.lock); in matroxfb_dh_deregisterfb()
677 if (crtc2 != m2info) { in matroxfb_dh_deregisterfb()
679 crtc2, m2info); in matroxfb_dh_deregisterfb()
697 if (!minfo->devflags.crtc2) in matroxfb_crtc2_probe()
712 static void matroxfb_crtc2_remove(struct matrox_fb_info* minfo, void* crtc2) { in matroxfb_crtc2_remove() argument
713 matroxfb_dh_deregisterfb(crtc2); in matroxfb_crtc2_remove()
714 kfree(crtc2); in matroxfb_crtc2_remove()
717 static struct matroxfb_driver crtc2 = { variable
726 matroxfb_register_driver(&crtc2); in matroxfb_crtc2_init()
731 matroxfb_unregister_driver(&crtc2); in matroxfb_crtc2_exit()