Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/video/fbdev/matrox/
Dg450_pll.c29 unsigned int mnp) in g450_mnp2vco() argument
33 m = ((mnp >> 16) & 0x0FF) + 1; in g450_mnp2vco()
34 n = ((mnp >> 7) & 0x1FE) + 4; in g450_mnp2vco()
38 unsigned int g450_mnp2f(const struct matrox_fb_info *minfo, unsigned int mnp) in g450_mnp2f() argument
40 return g450_vco2f(mnp, g450_mnp2vco(minfo, mnp)); in g450_mnp2f()
57 unsigned int *fvco, unsigned int mnp) in g450_nextpll() argument
62 m = (mnp >> 16) & 0xFF; in g450_nextpll()
63 p = mnp & 0xFF; in g450_nextpll()
137 unsigned int mnp, unsigned int pll) in g450_setpll() argument
141 matroxfb_DAC_out(minfo, M1064_XPIXPLLAM, mnp >> 16); in g450_setpll()
[all …]
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 …]
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,
Dmatroxfb_base.h188 int mnp; member
359 int mnp; member
365 int mnp; member
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()
Dmatroxfb_crtc2.c367 minfo->crtc2.mnp = mt.mnp; in matroxfb_dh_set_par()
Dmatroxfb_misc.c115 mt->mnp = -1; in matroxfb_var2my()
Dmatroxfb_base.c810 minfo->crtc1.mnp = mt.mnp; in matroxfb_set_par()
/linux-6.1.9/arch/x86/kernel/apic/
Dx2apic_uv_x.c1256 static void get_mn(struct mn *mnp) in get_mn() argument
1258 memset(mnp, 0, sizeof(*mnp)); in get_mn()
1259 mnp->n_val = uv_cpuid.n_skt; in get_mn()
1261 mnp->m_val = 0; in get_mn()
1262 mnp->n_lshift = 0; in get_mn()
1266 mnp->m_val = uv_cpuid.m_skt; in get_mn()
1268 mnp->n_lshift = m_gr_config.s3.m_skt; in get_mn()
1270 mnp->m_val = uv_cpuid.m_skt; in get_mn()
1271 mnp->n_lshift = mnp->m_val == 40 ? 40 : 39; in get_mn()
1273 mnp->m_shift = mnp->m_val ? 64 - mnp->m_val : 0; in get_mn()
/linux-6.1.9/drivers/net/dsa/qca/
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()
/linux-6.1.9/drivers/net/ethernet/atheros/
Dag71xx.c688 struct device_node *np, *mnp; in ag71xx_mdio_probe() local
734 mnp = of_get_child_by_name(np, "mdio"); in ag71xx_mdio_probe()
735 err = of_mdiobus_register(mii_bus, mnp); in ag71xx_mdio_probe()
736 of_node_put(mnp); in ag71xx_mdio_probe()
/linux-6.1.9/drivers/media/usb/pvrusb2/
Dpvrusb2-v4l2.c1261 struct pvr2_v4l2 *pvr2_v4l2_create(struct pvr2_context *mnp) in pvr2_v4l2_create() argument
1267 pvr2_channel_init(&vp->channel,mnp); in pvr2_v4l2_create()