Home
last modified time | relevance | path

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

/openbmc/linux/drivers/video/fbdev/matrox/
H A Dg450_pll.c29 unsigned int mnp) in g450_mnp2vco() argument
40 return g450_vco2f(mnp, g450_mnp2vco(minfo, mnp)); in g450_mnp2f()
63 p = mnp & 0xFF; in g450_nextpll()
276 *sptr = mnp; in g450_findworkingpll()
288 return mnp; in g450_findworkingpll()
291 mnpfound = mnp; in g450_findworkingpll()
325 return mnp; in g450_checkcache()
432 unsigned int mnp; in __g450_setclk() local
435 …for (mnp = g450_firstpll(minfo, pi, &xvco, fout); mnp != NO_MORE_MNP; mnp = g450_nextpll(minfo, pi… in __g450_setclk()
474 unsigned int mnp; in __g450_setclk() local
[all …]
H A Dmatroxfb_g450.c248 int mnp; in computeRegs() local
264 mnp = matroxfb_g450_setclk(minfo, piic, M_VIDEO_PLL); in computeRegs()
266 mt->mnp = mnp; in computeRegs()
267 mt->pixclock = g450_mnp2f(minfo, mnp); in computeRegs()
269 dprintk(KERN_DEBUG "MNP=%08X\n", mnp); in computeRegs()
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()
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()
[all …]
H A Dg450_pll.h9 unsigned int g450_mnp2f(const struct matrox_fb_info *minfo, unsigned int mnp);
10 void matroxfb_g450_setpll_cond(struct matrox_fb_info *minfo, unsigned int mnp,
H A Dmatroxfb_base.h188 int mnp; member
359 int mnp; member
365 int mnp; member
H A Dmatroxfb_DAC1064.c176 pixelmnp = minfo->crtc1.mnp; in g450_set_plls()
177 videomnp = minfo->crtc2.mnp; in g450_set_plls()
517 if (m->mnp < 0) { in g450_compute()
518 …m->mnp = matroxfb_g450_setclk(minfo, m->pixclock, (m->crtc == MATROXFB_SRC_CRTC1) ? M_PIXEL_PLL_C … in g450_compute()
519 if (m->mnp >= 0) { in g450_compute()
520 m->pixclock = g450_mnp2f(minfo, m->mnp); in g450_compute()
H A Dmatroxfb_crtc2.c367 minfo->crtc2.mnp = mt.mnp; in matroxfb_dh_set_par()
H A Dmatroxfb_misc.c115 mt->mnp = -1; in matroxfb_var2my()
H A Dmatroxfb_base.c810 minfo->crtc1.mnp = mt.mnp; in matroxfb_set_par()
/openbmc/linux/arch/x86/kernel/apic/
H A Dx2apic_uv_x.c1220 static void get_mn(struct mn *mnp) in get_mn() argument
1222 memset(mnp, 0, sizeof(*mnp)); in get_mn()
1223 mnp->n_val = uv_cpuid.n_skt; in get_mn()
1225 mnp->m_val = 0; in get_mn()
1226 mnp->n_lshift = 0; in get_mn()
1230 mnp->m_val = uv_cpuid.m_skt; in get_mn()
1232 mnp->n_lshift = m_gr_config.s3.m_skt; in get_mn()
1234 mnp->m_val = uv_cpuid.m_skt; in get_mn()
1235 mnp->n_lshift = mnp->m_val == 40 ? 40 : 39; in get_mn()
1237 mnp->m_shift = mnp->m_val ? 64 - mnp->m_val : 0; in get_mn()
/openbmc/linux/drivers/net/dsa/qca/
H A Dar9331.c361 struct device_node *np, *mnp; in ar9331_sw_mbus_init() local
378 mnp = of_get_child_by_name(np, "mdio"); in ar9331_sw_mbus_init()
379 if (!mnp) in ar9331_sw_mbus_init()
382 ret = devm_of_mdiobus_register(dev, mbus, mnp); in ar9331_sw_mbus_init()
383 of_node_put(mnp); in ar9331_sw_mbus_init()
/openbmc/linux/drivers/net/ethernet/atheros/
H A Dag71xx.c689 struct device_node *np, *mnp; in ag71xx_mdio_probe() local
735 mnp = of_get_child_by_name(np, "mdio"); in ag71xx_mdio_probe()
736 err = of_mdiobus_register(mii_bus, mnp); in ag71xx_mdio_probe()
737 of_node_put(mnp); in ag71xx_mdio_probe()
/openbmc/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-v4l2.c1258 struct pvr2_v4l2 *pvr2_v4l2_create(struct pvr2_context *mnp) in pvr2_v4l2_create() argument
1264 pvr2_channel_init(&vp->channel,mnp); in pvr2_v4l2_create()