Home
last modified time | relevance | path

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

/Linux-v5.10/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-v5.10/drivers/gpu/drm/nouveau/dispnv04/
Darb.c200 int MClk = nouveau_hw_get_clock(dev, PLL_MEMORY); in nv04_update_arb() local
205 sim_data.mclk_khz = MClk; in nv04_update_arb()
/Linux-v5.10/drivers/video/fbdev/riva/
Driva_hw.c619 unsigned int M, N, P, pll, MClk; in nv3UpdateArbitrationSettings() local
623 MClk = (N * chip->CrystalFreqKHz / M) >> P; in nv3UpdateArbitrationSettings()
637 sim_data.mclk_khz = MClk; in nv3UpdateArbitrationSettings()
808 unsigned int M, N, P, pll, MClk, NVClk, cfg1; in nv4UpdateArbitrationSettings() local
812 MClk = (N * chip->CrystalFreqKHz / M) >> P; in nv4UpdateArbitrationSettings()
827 sim_data.mclk_khz = MClk; in nv4UpdateArbitrationSettings()
1071 unsigned int M, N, P, pll, MClk, NVClk, cfg1; in nv10UpdateArbitrationSettings() local
1075 MClk = (N * chip->CrystalFreqKHz / M) >> P; in nv10UpdateArbitrationSettings()
1092 sim_data.mclk_khz = MClk; in nv10UpdateArbitrationSettings()
1117 unsigned int M, N, P, pll, MClk, NVClk; in nForceUpdateArbitrationSettings() local
[all …]