Lines Matching refs:mt
238 struct my_timming *mt, const struct output_desc *outd) in computeRegs() argument
253 hvis = ((mt->HDisplay << 1) + 3) & ~3; in computeRegs()
266 mt->mnp = mnp; in computeRegs()
267 mt->pixclock = g450_mnp2f(minfo, mnp); in computeRegs()
271 pixclock = 1000000000U / mt->pixclock; in computeRegs()
276 do_div(piic, mt->pixclock); in computeRegs()
323 mt->interlaced = 1; in computeRegs()
325 mt->HDisplay = hvis & ~7; in computeRegs()
326 mt->HSyncStart = mt->HDisplay + 8; in computeRegs()
327 mt->HSyncEnd = (hlen & ~7) - 8; in computeRegs()
328 mt->HTotal = hlen; in computeRegs()
336 vtotal = mt->VTotal; in computeRegs()
337 vsyncend = mt->VSyncEnd; in computeRegs()
338 vdisplay = mt->VDisplay; in computeRegs()
354 mt->VDisplay = vdisplay; in computeRegs()
355 mt->VSyncStart = outd->v_total - 2; in computeRegs()
356 mt->VSyncEnd = outd->v_total; in computeRegs()
357 mt->VTotal = outd->v_total; in computeRegs()
521 static int matroxfb_g450_compute(void* md, struct my_timming* mt) { in matroxfb_g450_compute() argument
526 if (mt->crtc == MATROXFB_SRC_CRTC2 && in matroxfb_g450_compute()
548 computeRegs(minfo, &minfo->hw.maven, mt, outd); in matroxfb_g450_compute()
549 } else if (mt->mnp < 0) { in matroxfb_g450_compute()
552 …mt->mnp = matroxfb_g450_setclk(minfo, mt->pixclock, (mt->crtc == MATROXFB_SRC_CRTC1) ? M_PIXEL_PLL… in matroxfb_g450_compute()
553 mt->pixclock = g450_mnp2f(minfo, mt->mnp); in matroxfb_g450_compute()
555 dprintk(KERN_DEBUG "Pixclock = %u\n", mt->pixclock); in matroxfb_g450_compute()
578 static int g450_dvi_compute(void* md, struct my_timming* mt) { in g450_dvi_compute() argument
581 if (mt->mnp < 0) { in g450_dvi_compute()
582 …mt->mnp = matroxfb_g450_setclk(minfo, mt->pixclock, (mt->crtc == MATROXFB_SRC_CRTC1) ? M_PIXEL_PLL… in g450_dvi_compute()
583 mt->pixclock = g450_mnp2f(minfo, mt->mnp); in g450_dvi_compute()