Home
last modified time | relevance | path

Searched refs:MClk (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/video/fbdev/nvidia/
Dnv_hw.c141 static void nvGetClocks(struct nvidia_par *par, unsigned int *MClk, in nvGetClocks() argument
160 *MClk = ((N * NB * par->CrystalFreqKHz) / (M * MB)) >> P; in nvGetClocks()
184 *MClk = ((N * NB * par->CrystalFreqKHz) / (M * MB)) >> P; in nvGetClocks()
213 *MClk = ((N * NB * par->CrystalFreqKHz) / (M * MB)) >> P; in nvGetClocks()
232 *MClk = (N * par->CrystalFreqKHz / M) >> P; in nvGetClocks()
387 unsigned int MClk, NVClk, cfg1; in nv4UpdateArbitrationSettings() local
389 nvGetClocks(par, &MClk, &NVClk); in nv4UpdateArbitrationSettings()
403 sim_data.mclk_khz = MClk; in nv4UpdateArbitrationSettings()
626 unsigned int MClk, NVClk, cfg1; in nv10UpdateArbitrationSettings() local
628 nvGetClocks(par, &MClk, &NVClk); in nv10UpdateArbitrationSettings()
[all …]
/linux-6.1.9/drivers/gpu/drm/nouveau/dispnv04/
Darb.c200 int MClk = nouveau_hw_get_clock(dev, PLL_MEMORY); in nv04_update_arb() local
206 sim_data.mclk_khz = MClk; in nv04_update_arb()
/linux-6.1.9/drivers/video/fbdev/riva/
Driva_hw.c618 unsigned int M, N, P, pll, MClk; in nv3UpdateArbitrationSettings() local
622 MClk = (N * chip->CrystalFreqKHz / M) >> P; in nv3UpdateArbitrationSettings()
636 sim_data.mclk_khz = MClk; in nv3UpdateArbitrationSettings()
802 unsigned int M, N, P, pll, MClk, NVClk, cfg1; in nv4UpdateArbitrationSettings() local
806 MClk = (N * chip->CrystalFreqKHz / M) >> P; in nv4UpdateArbitrationSettings()
821 sim_data.mclk_khz = MClk; in nv4UpdateArbitrationSettings()
1051 unsigned int M, N, P, pll, MClk, NVClk, cfg1; in nv10UpdateArbitrationSettings() local
1055 MClk = (N * chip->CrystalFreqKHz / M) >> P; in nv10UpdateArbitrationSettings()
1072 sim_data.mclk_khz = MClk; in nv10UpdateArbitrationSettings()
1097 unsigned int M, N, P, pll, MClk, NVClk; in nForceUpdateArbitrationSettings() local
[all …]