Lines Matching refs:mt

65 		struct my_timming* mt,  in matroxfb_dh_restore()  argument
105 if (mt->interlaced) { in matroxfb_dh_restore()
107 mt->VDisplay >>= 1; in matroxfb_dh_restore()
108 mt->VSyncStart >>= 1; in matroxfb_dh_restore()
109 mt->VSyncEnd >>= 1; in matroxfb_dh_restore()
110 mt->VTotal >>= 1; in matroxfb_dh_restore()
112 if ((mt->HTotal & 7) == 2) { in matroxfb_dh_restore()
114 mt->HTotal &= ~7; in matroxfb_dh_restore()
117 mga_outl(0x3C14, ((mt->HDisplay - 8) << 16) | (mt->HTotal - 8)); in matroxfb_dh_restore()
118 mga_outl(0x3C18, ((mt->HSyncEnd - 8) << 16) | (mt->HSyncStart - 8)); in matroxfb_dh_restore()
119 mga_outl(0x3C1C, ((mt->VDisplay - 1) << 16) | (mt->VTotal - 1)); in matroxfb_dh_restore()
120 mga_outl(0x3C20, ((mt->VSyncEnd - 1) << 16) | (mt->VSyncStart - 1)); in matroxfb_dh_restore()
121 mga_outl(0x3C24, ((mt->VSyncStart) << 16) | (mt->HSyncStart)); /* preload */ in matroxfb_dh_restore()
153 tmp = mt->VDisplay << 16; /* line compare */ in matroxfb_dh_restore()
154 if (mt->sync & FB_SYNC_HOR_HIGH_ACT) in matroxfb_dh_restore()
156 if (mt->sync & FB_SYNC_VERT_HIGH_ACT) in matroxfb_dh_restore()
344 struct my_timming mt; in matroxfb_dh_set_par() local
349 matroxfb_var2my(&m2info->fbcon.var, &mt); in matroxfb_dh_set_par()
350 mt.crtc = MATROXFB_SRC_CRTC2; in matroxfb_dh_set_par()
352 mt.delay = 34; in matroxfb_dh_set_par()
362 minfo->outputs[out].output->compute(minfo->outputs[out].data, &mt); in matroxfb_dh_set_par()
366 minfo->crtc2.pixclock = mt.pixclock; in matroxfb_dh_set_par()
367 minfo->crtc2.mnp = mt.mnp; in matroxfb_dh_set_par()
370 matroxfb_dh_restore(m2info, &mt, mode, pos); in matroxfb_dh_set_par()