Lines Matching refs:outd
237 struct my_timming *mt, const struct output_desc *outd) in computeRegs() argument
259 do_div(piic, outd->h_vis); in computeRegs()
274 piic = outd->chromasc; in computeRegs()
284 hbp = (((outd->h_b_porch + pixclock) / pixclock)) & ~1; in computeRegs()
285 hfp = (((outd->h_f_porch + pixclock) / pixclock)) & ~1; in computeRegs()
286 hsl = (((outd->h_sync + pixclock) / pixclock)) & ~1; in computeRegs()
307 r->regs[0x09] = (outd->burst + pixclock - 1) / pixclock; /* burst length */ in computeRegs()
338 if (vtotal < outd->v_total) { in computeRegs()
339 unsigned int yovr = outd->v_total - vtotal; in computeRegs()
342 } else if (vtotal > outd->v_total) { in computeRegs()
343 vdisplay = outd->v_total - 4; in computeRegs()
344 vsyncend = outd->v_total; in computeRegs()
346 upper = (outd->v_total - vsyncend) >> 1; /* in field lines */ in computeRegs()
347 r->regs[0x17] = outd->v_total / 4; in computeRegs()
348 r->regs[0x18] = outd->v_total & 3; 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()
360 static void cve2_init_TVdata(int norm, struct mavenregs* data, const struct output_desc** outd) { in cve2_init_TVdata() argument
494 *outd = &paloutd; in cve2_init_TVdata()
497 *outd = &ntscoutd; in cve2_init_TVdata()
527 const struct output_desc* outd; in matroxfb_g450_compute() local
529 cve2_init_TVdata(minfo->outputs[1].mode, &minfo->hw.maven, &outd); in matroxfb_g450_compute()
547 computeRegs(minfo, &minfo->hw.maven, mt, outd); in matroxfb_g450_compute()