Lines Matching refs:mt

237 			struct my_timming *mt, const struct output_desc *outd)  in computeRegs()  argument
252 hvis = ((mt->HDisplay << 1) + 3) & ~3; in computeRegs()
265 mt->mnp = mnp; in computeRegs()
266 mt->pixclock = g450_mnp2f(minfo, mnp); in computeRegs()
270 pixclock = 1000000000U / mt->pixclock; in computeRegs()
275 do_div(piic, mt->pixclock); in computeRegs()
322 mt->interlaced = 1; in computeRegs()
324 mt->HDisplay = hvis & ~7; in computeRegs()
325 mt->HSyncStart = mt->HDisplay + 8; in computeRegs()
326 mt->HSyncEnd = (hlen & ~7) - 8; in computeRegs()
327 mt->HTotal = hlen; in computeRegs()
335 vtotal = mt->VTotal; in computeRegs()
336 vsyncend = mt->VSyncEnd; in computeRegs()
337 vdisplay = mt->VDisplay; in computeRegs()
353 mt->VDisplay = vdisplay; in computeRegs()
354 mt->VSyncStart = outd->v_total - 2; in computeRegs()
355 mt->VSyncEnd = outd->v_total; in computeRegs()
356 mt->VTotal = outd->v_total; in computeRegs()
520 static int matroxfb_g450_compute(void* md, struct my_timming* mt) { in matroxfb_g450_compute() argument
525 if (mt->crtc == MATROXFB_SRC_CRTC2 && in matroxfb_g450_compute()
547 computeRegs(minfo, &minfo->hw.maven, mt, outd); in matroxfb_g450_compute()
548 } else if (mt->mnp < 0) { in matroxfb_g450_compute()
551mt->mnp = matroxfb_g450_setclk(minfo, mt->pixclock, (mt->crtc == MATROXFB_SRC_CRTC1) ? M_PIXEL_PLL… in matroxfb_g450_compute()
552 mt->pixclock = g450_mnp2f(minfo, mt->mnp); in matroxfb_g450_compute()
554 dprintk(KERN_DEBUG "Pixclock = %u\n", mt->pixclock); in matroxfb_g450_compute()
577 static int g450_dvi_compute(void* md, struct my_timming* mt) { in g450_dvi_compute() argument
580 if (mt->mnp < 0) { in g450_dvi_compute()
581mt->mnp = matroxfb_g450_setclk(minfo, mt->pixclock, (mt->crtc == MATROXFB_SRC_CRTC1) ? M_PIXEL_PLL… in g450_dvi_compute()
582 mt->pixclock = g450_mnp2f(minfo, mt->mnp); in g450_dvi_compute()