Lines Matching refs:PMINFO

289 …outTi3026(PMINFO TVP3026_XCURCTRL, inTi3026(PMINFO TVP3026_XCURCTRL) ^ TVP3026_XCURCTRL_DIS ^ TVP3…  in matroxfb_ti3026_flashcursor()
307 matroxfb_createcursorshape(PMINFO p, p->var.vmode); in matroxfb_ti3026_createcursor()
363 outTi3026(PMINFO TVP3026_XCURCTRL, ACCESS_FBINFO(hw.DACreg[POS3026_XCURCTRL])); in matroxfb_ti3026_cursor()
369 matroxfb_ti3026_createcursor(PMINFO p); in matroxfb_ti3026_cursor()
383 outTi3026(PMINFO TVP3026_XCURCTRL, ACCESS_FBINFO(hw.DACreg[POS3026_XCURCTRL])); in matroxfb_ti3026_cursor()
392 …outTi3026(PMINFO TVP3026_XCURCTRL, ACCESS_FBINFO(hw.DACreg[POS3026_XCURCTRL]) | TVP3026_XCURCTRL_X… in matroxfb_ti3026_cursor()
417 fvco = PLL_calcclock(PMINFO freq, fmax, &lin, &lfeed, &lpost); in Ti3026_calcclock()
431 f_pll = Ti3026_calcclock(PMINFO clk, ACCESS_FBINFO(max_pixel_clock), &pixin, &pixfeed, &pixpost); in Ti3026_setpclk()
546 if (matroxfb_vgaHWinit(PMINFO m, p)) return 1; in Ti3026_init()
575 Ti3026_setpclk(PMINFO m->pixclock, p); in Ti3026_init()
588 f_pll = Ti3026_calcclock(PMINFO fout, ACCESS_FBINFO(max_pixel_clock), &mclk_n, &mclk_m, &mclk_p); in ti3026_setMCLK()
591 outTi3026(PMINFO TVP3026_XPLLADDR, 0xFC); in ti3026_setMCLK()
592 pclk_n = inTi3026(PMINFO TVP3026_XPIXPLLDATA); in ti3026_setMCLK()
593 outTi3026(PMINFO TVP3026_XPLLADDR, 0xFD); in ti3026_setMCLK()
594 pclk_m = inTi3026(PMINFO TVP3026_XPIXPLLDATA); in ti3026_setMCLK()
595 outTi3026(PMINFO TVP3026_XPLLADDR, 0xFE); in ti3026_setMCLK()
596 pclk_p = inTi3026(PMINFO TVP3026_XPIXPLLDATA); in ti3026_setMCLK()
599 outTi3026(PMINFO TVP3026_XPLLADDR, 0xFE); in ti3026_setMCLK()
600 outTi3026(PMINFO TVP3026_XPIXPLLDATA, 0x00); in ti3026_setMCLK()
603 outTi3026(PMINFO TVP3026_XPLLADDR, 0xFC); in ti3026_setMCLK()
604 outTi3026(PMINFO TVP3026_XPIXPLLDATA, mclk_n | 0xC0); in ti3026_setMCLK()
605 outTi3026(PMINFO TVP3026_XPIXPLLDATA, mclk_m); in ti3026_setMCLK()
606 outTi3026(PMINFO TVP3026_XPIXPLLDATA, mclk_p | 0xB0); in ti3026_setMCLK()
610 if (inTi3026(PMINFO TVP3026_XPIXPLLDATA) & 0x40) in ti3026_setMCLK()
618 mclk_ctl = inTi3026(PMINFO TVP3026_XMEMPLLCTRL); in ti3026_setMCLK()
619 outTi3026(PMINFO TVP3026_XMEMPLLCTRL, mclk_ctl & 0xE7); in ti3026_setMCLK()
620 outTi3026(PMINFO TVP3026_XMEMPLLCTRL, (mclk_ctl & 0xE7) | TVP3026_XMEMPLLCTRL_STROBEMKC4); in ti3026_setMCLK()
623 outTi3026(PMINFO TVP3026_XPLLADDR, 0xFB); in ti3026_setMCLK()
624 outTi3026(PMINFO TVP3026_XMEMPLLDATA, 0x00); in ti3026_setMCLK()
627 outTi3026(PMINFO TVP3026_XPLLADDR, 0xF3); in ti3026_setMCLK()
628 outTi3026(PMINFO TVP3026_XMEMPLLDATA, mclk_n | 0xC0); in ti3026_setMCLK()
629 outTi3026(PMINFO TVP3026_XMEMPLLDATA, mclk_m); in ti3026_setMCLK()
630 outTi3026(PMINFO TVP3026_XMEMPLLDATA, mclk_p | 0xB0); in ti3026_setMCLK()
634 if (inTi3026(PMINFO TVP3026_XMEMPLLDATA) & 0x40) in ti3026_setMCLK()
655 outTi3026(PMINFO TVP3026_XMEMPLLCTRL, (mclk_ctl & 0xE7) | TVP3026_XMEMPLLCTRL_MCLK_MCLKPLL); in ti3026_setMCLK()
656 …outTi3026(PMINFO TVP3026_XMEMPLLCTRL, (mclk_ctl ) | TVP3026_XMEMPLLCTRL_MCLK_MCLKPLL | TVP30… in ti3026_setMCLK()
659 outTi3026(PMINFO TVP3026_XPLLADDR, 0xFE); in ti3026_setMCLK()
660 outTi3026(PMINFO TVP3026_XPIXPLLDATA, 0x00); in ti3026_setMCLK()
663 outTi3026(PMINFO TVP3026_XPLLADDR, 0xFC); in ti3026_setMCLK()
664 outTi3026(PMINFO TVP3026_XPIXPLLDATA, pclk_n); in ti3026_setMCLK()
665 outTi3026(PMINFO TVP3026_XPIXPLLDATA, pclk_m); in ti3026_setMCLK()
666 outTi3026(PMINFO TVP3026_XPIXPLLDATA, pclk_p); in ti3026_setMCLK()
670 if (inTi3026(PMINFO TVP3026_XPIXPLLDATA) & 0x40) in ti3026_setMCLK()
691 ti3026_setMCLK(PMINFO 60000); in ti3026_ramdac_init()
724 outTi3026(PMINFO DACseq[i], hw->DACreg[i]); in Ti3026_restore()
727 outTi3026(PMINFO TVP3026_XPLLADDR, 0x00); in Ti3026_restore()
728 progdac[0] = inTi3026(PMINFO TVP3026_XPIXPLLDATA); in Ti3026_restore()
729 progdac[3] = inTi3026(PMINFO TVP3026_XLOOPPLLDATA); in Ti3026_restore()
730 outTi3026(PMINFO TVP3026_XPLLADDR, 0x15); in Ti3026_restore()
731 progdac[1] = inTi3026(PMINFO TVP3026_XPIXPLLDATA); in Ti3026_restore()
732 progdac[4] = inTi3026(PMINFO TVP3026_XLOOPPLLDATA); in Ti3026_restore()
733 outTi3026(PMINFO TVP3026_XPLLADDR, 0x2A); in Ti3026_restore()
734 progdac[2] = inTi3026(PMINFO TVP3026_XPIXPLLDATA); in Ti3026_restore()
735 progdac[5] = inTi3026(PMINFO TVP3026_XLOOPPLLDATA); in Ti3026_restore()
744 outTi3026(PMINFO TVP3026_XCLKCTRL, hw->DACreg[POS3026_XCLKCTRL]); in Ti3026_restore()
745 outTi3026(PMINFO TVP3026_XPLLADDR, 0x2A); in Ti3026_restore()
746 outTi3026(PMINFO TVP3026_XLOOPPLLDATA, 0); in Ti3026_restore()
747 outTi3026(PMINFO TVP3026_XPIXPLLDATA, 0); in Ti3026_restore()
749 outTi3026(PMINFO TVP3026_XPLLADDR, 0x00); in Ti3026_restore()
751 outTi3026(PMINFO TVP3026_XPIXPLLDATA, hw->DACclk[i]); in Ti3026_restore()
755 outTi3026(PMINFO TVP3026_XPLLADDR, 0x3F); in Ti3026_restore()
757 if (inTi3026(PMINFO TVP3026_XPIXPLLDATA) & 0x40) in Ti3026_restore()
770 outTi3026(PMINFO TVP3026_XMEMPLLCTRL, hw->DACreg[POS3026_XMEMPLLCTRL]); in Ti3026_restore()
771 outTi3026(PMINFO TVP3026_XPLLADDR, 0x00); in Ti3026_restore()
773 outTi3026(PMINFO TVP3026_XLOOPPLLDATA, hw->DACclk[i]); in Ti3026_restore()
779 outTi3026(PMINFO TVP3026_XPLLADDR, 0x3F); in Ti3026_restore()
781 if (inTi3026(PMINFO TVP3026_XLOOPPLLDATA) & 0x40) in Ti3026_restore()
792 matrox_init_putc(PMINFO p, matroxfb_ti3026_createcursor); in Ti3026_restore()
857 ACCESS_FBINFO(accel.ramdac_rev) = inTi3026(PMINFO TVP3026_XSILICONREV); in Ti3026_preinit()
859 outTi3026(PMINFO TVP3026_XCLKCTRL, TVP3026_XCLKCTRL_SRC_CLK0VGA | TVP3026_XCLKCTRL_CLKSTOPPED); in Ti3026_preinit()
860 outTi3026(PMINFO TVP3026_XTRUECOLORCTRL, TVP3026_XTRUECOLORCTRL_PSEUDOCOLOR); in Ti3026_preinit()
861 outTi3026(PMINFO TVP3026_XMUXCTRL, TVP3026_XMUXCTRL_VGA); in Ti3026_preinit()
863 outTi3026(PMINFO TVP3026_XPLLADDR, 0x2A); in Ti3026_preinit()
864 outTi3026(PMINFO TVP3026_XLOOPPLLDATA, 0x00); in Ti3026_preinit()
865 outTi3026(PMINFO TVP3026_XPIXPLLDATA, 0x00); in Ti3026_preinit()
869 …outTi3026(PMINFO TVP3026_XMEMPLLCTRL, TVP3026_XMEMPLLCTRL_STROBEMKC4 | TVP3026_XMEMPLLCTRL_MCLK_MC… in Ti3026_preinit()