Lines Matching refs:mt
240 struct my_timming *mt, const struct output_desc *outd) in computeRegs() argument
255 hvis = ((mt->HDisplay << 1) + 3) & ~3; in computeRegs()
268 mt->mnp = mnp; in computeRegs()
269 mt->pixclock = g450_mnp2f(minfo, mnp); in computeRegs()
273 pixclock = 1000000000U / mt->pixclock; in computeRegs()
278 do_div(piic, mt->pixclock); in computeRegs()
325 mt->interlaced = 1; in computeRegs()
327 mt->HDisplay = hvis & ~7; in computeRegs()
328 mt->HSyncStart = mt->HDisplay + 8; in computeRegs()
329 mt->HSyncEnd = (hlen & ~7) - 8; in computeRegs()
330 mt->HTotal = hlen; in computeRegs()
338 vtotal = mt->VTotal; in computeRegs()
339 vsyncend = mt->VSyncEnd; in computeRegs()
340 vdisplay = mt->VDisplay; in computeRegs()
356 mt->VDisplay = vdisplay; in computeRegs()
357 mt->VSyncStart = outd->v_total - 2; in computeRegs()
358 mt->VSyncEnd = outd->v_total; in computeRegs()
359 mt->VTotal = outd->v_total; in computeRegs()
523 static int matroxfb_g450_compute(void* md, struct my_timming* mt) { in matroxfb_g450_compute() argument
528 if (mt->crtc == MATROXFB_SRC_CRTC2 && in matroxfb_g450_compute()
550 computeRegs(minfo, &minfo->hw.maven, mt, outd); in matroxfb_g450_compute()
551 } else if (mt->mnp < 0) { in matroxfb_g450_compute()
554 …mt->mnp = matroxfb_g450_setclk(minfo, mt->pixclock, (mt->crtc == MATROXFB_SRC_CRTC1) ? M_PIXEL_PLL… in matroxfb_g450_compute()
555 mt->pixclock = g450_mnp2f(minfo, mt->mnp); in matroxfb_g450_compute()
557 dprintk(KERN_DEBUG "Pixclock = %u\n", mt->pixclock); in matroxfb_g450_compute()
580 static int g450_dvi_compute(void* md, struct my_timming* mt) { in g450_dvi_compute() argument
583 if (mt->mnp < 0) { in g450_dvi_compute()
584 …mt->mnp = matroxfb_g450_setclk(minfo, mt->pixclock, (mt->crtc == MATROXFB_SRC_CRTC1) ? M_PIXEL_PLL… in g450_dvi_compute()
585 mt->pixclock = g450_mnp2f(minfo, mt->mnp); in g450_dvi_compute()