Searched refs:log2P (Results 1 – 9 of 9) sorted by relevance
/drivers/gpu/drm/nouveau/ |
D | nv40_pm.c | 119 u32 clk, int *N1, int *M1, int *N2, int *M2, int *log2P) in nv40_calc_pll() argument 149 *log2P = coef.log2P; in nv40_calc_pll() 158 int N1, N2, M1, M2, log2P; in nv40_pm_clocks_pre() local 167 &N1, &M1, &N2, &M2, &log2P); in nv40_pm_clocks_pre() 172 info->npll_ctrl = 0x80000100 | (log2P << 16); in nv40_pm_clocks_pre() 175 info->npll_ctrl = 0xc0000000 | (log2P << 16); in nv40_pm_clocks_pre() 182 &N1, &M1, NULL, NULL, &log2P); in nv40_pm_clocks_pre() 186 info->spll = 0xc0000000 | (log2P << 16) | (N1 << 8) | M1; in nv40_pm_clocks_pre() 200 &N1, &M1, &N2, &M2, &log2P); in nv40_pm_clocks_pre() 204 info->mpll_ctrl = 0x80000000 | (log2P << 16); in nv40_pm_clocks_pre() [all …]
|
D | nv50_pm.c | 379 u32 clk, int *N1, int *M1, int *log2P) in calc_pll() argument 402 *log2P = coef.log2P; in calc_pll()
|
D | nouveau_pm.h | 279 *P = pv.log2P; in nva3_calc_pll()
|
/drivers/gpu/drm/nouveau/core/subdev/clock/ |
D | pllnv04.c | 150 int M1, N1, M2, N2, log2P; in getMNP_double() local 156 for (log2P = 0; clk && log2P < maxlog2P && clk <= (vco2 >> log2P); log2P++) in getMNP_double() 158 clkP = clk << log2P; in getMNP_double() 202 calcclkout = calcclk2 >> log2P; in getMNP_double() 214 *pP = log2P; in getMNP_double()
|
D | nv04.c | 72 uint32_t pll = (oldpll & 0xfff80000) | pv->log2P << 16 | pv->NM1; in setPLL_single() 88 nv_wr32(priv, reg, pv->log2P << 16 | (oldpll & 0xffff)); in setPLL_single() 127 uint32_t pll1 = (oldpll1 & 0xfff80000) | pv->log2P << 16 | pv->NM1; in setPLL_double_highregs() 212 0xc << 28 | pv->log2P << 16; in setPLL_double_lowregs() 233 Pval2 = pv->log2P + info.bias_p; in setPLL_double_lowregs() 307 pv->log2P = P; in nv04_clock_pll_calc()
|
D | nva3.c | 81 pv->log2P = P; in nva3_clock_pll_calc()
|
/drivers/gpu/drm/nouveau/core/include/subdev/bios/ |
D | pll.h | 18 int log2P; member
|
/drivers/gpu/drm/nouveau/dispnv04/ |
D | hw.c | 142 pllvals->log2P = (pll1 >> 16) & 0x7; in nouveau_hw_decode_pll() 213 return pv->N1 * pv->N2 * pv->refclk / (pv->M1 * pv->M2) >> pv->log2P; in nouveau_hw_pllvals_to_clk() 270 pv.log2P <= pll_lim.max_p) in nouveau_hw_fix_bad_vpll() 278 pv.log2P = pll_lim.max_p_usable; in nouveau_hw_fix_bad_vpll()
|
D | crtc.c | 158 pv->N1, pv->N2, pv->M1, pv->M2, pv->log2P); in nv_crtc_calc_state_ext() 161 pv->N1, pv->M1, pv->log2P); in nv_crtc_calc_state_ext()
|