Home
last modified time | relevance | path

Searched refs:mnp (Results 1 – 8 of 8) sorted by relevance

/linux-2.4.37.9/drivers/video/matrox/
Dg450_pll.c28 static unsigned int g450_mnp2vco(CPMINFO unsigned int mnp) { in g450_mnp2vco() argument
31 m = ((mnp >> 16) & 0x0FF) + 1; in g450_mnp2vco()
32 n = ((mnp >> 7) & 0x1FE) + 4; in g450_mnp2vco()
36 unsigned int g450_mnp2f(CPMINFO unsigned int mnp) { in g450_mnp2f() argument
37 return g450_vco2f(mnp, g450_mnp2vco(PMINFO mnp)); in g450_mnp2f()
52 …nt g450_nextpll(CPMINFO const struct matrox_pll_limits* pi, unsigned int* fvco, unsigned int mnp) { in g450_nextpll() argument
56 m = (mnp >> 16) & 0xFF; in g450_nextpll()
57 p = mnp & 0xFF; in g450_nextpll()
127 static inline unsigned int g450_setpll(CPMINFO unsigned int mnp, unsigned int pll) { in g450_setpll() argument
130 matroxfb_DAC_out(PMINFO M1064_XPIXPLLAM, mnp >> 16); in g450_setpll()
[all …]
Dmatroxfb_g450.c242 int mnp; in computeRegs() local
258 mnp = matroxfb_g450_setclk(PMINFO piic, M_VIDEO_PLL); in computeRegs()
260 mt->mnp = mnp; in computeRegs()
261 mt->pixclock = g450_mnp2f(PMINFO mnp); in computeRegs()
263 dprintk(KERN_DEBUG "MNP=%08X\n", mnp); in computeRegs()
541 } else if (mt->mnp < 0) { in matroxfb_g450_compute()
544 …mt->mnp = matroxfb_g450_setclk(PMINFO mt->pixclock, (mt->crtc == MATROXFB_SRC_CRTC1) ? M_PIXEL_PLL… in matroxfb_g450_compute()
545 mt->pixclock = g450_mnp2f(PMINFO mt->mnp); in matroxfb_g450_compute()
575 if (mt->mnp < 0) { in g450_dvi_compute()
576 …mt->mnp = matroxfb_g450_setclk(PMINFO mt->pixclock, (mt->crtc == MATROXFB_SRC_CRTC1) ? M_PIXEL_PLL… in g450_dvi_compute()
[all …]
Dg450_pll.h7 unsigned int g450_mnp2f(CPMINFO unsigned int mnp);
8 void matroxfb_g450_setpll_cond(WPMINFO unsigned int mnp, unsigned int pll);
Dmatroxfb_DAC1064.c290 pixelmnp = ACCESS_FBINFO(crtc1).mnp; in g450_set_plls()
291 videomnp = ACCESS_FBINFO(crtc2).mnp; in g450_set_plls()
633 if (m->mnp < 0) { in g450_compute()
634 …m->mnp = matroxfb_g450_setclk(PMINFO m->pixclock, (m->crtc == MATROXFB_SRC_CRTC1) ? M_PIXEL_PLL_C … in g450_compute()
635 if (m->mnp >= 0) { in g450_compute()
636 m->pixclock = g450_mnp2f(PMINFO m->mnp); in g450_compute()
Dmatroxfb_base.h321 int mnp; member
617 int mnp; member
622 int mnp; member
Dmatroxfb_crtc2.c479 ACCESS_FBINFO(crtc2).mnp = mt.mnp; in matroxfb_dh_set_var()
Dmatroxfb_misc.c149 mt->mnp = -1; in matroxfb_var2my()
Dmatroxfb_base.c1010 ACCESS_FBINFO(crtc1).mnp = mt.mnp; in matroxfb_set_var()