Home
last modified time | relevance | path

Searched refs:fN (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dpllgt215.c34 int M, lM, hM, N, fN; in gt215_pll_calc() local
51 fN = tmp % info->refclk; in gt215_pll_calc()
54 if (fN >= info->refclk / 2) in gt215_pll_calc()
57 if (fN < info->refclk / 2) in gt215_pll_calc()
59 fN = tmp - (N * info->refclk); in gt215_pll_calc()
75 *pfN = ((fN << 13) + info->refclk / 2) / info->refclk; in gt215_pll_calc()
Dpll.h11 int *N, int *fN, int *M, int *P);
Dgk104.c69 u16 fN = 0xf000; in read_pll() local
86 fN = nvkm_rd32(device, pll + 0x10) >> 16; in read_pll()
101 sclk = (sclk * N) + (((u16)(fN + 4096) * sclk) >> 13); in read_pll()
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
Dgv100.c35 int N, fN, M, P; in gv100_devinit_pll_set() local
42 ret = gt215_pll_calc(subdev, &info, freq, &N, &fN, &M, &P); in gv100_devinit_pll_set()
51 nvkm_wr32(device, 0x00ef10 + (head * 0x40), fN << 16); in gv100_devinit_pll_set()
Dtu102.c35 int N, fN, M, P; in tu102_devinit_pll_set() local
42 ret = gt215_pll_calc(subdev, &info, freq, &N, &fN, &M, &P); in tu102_devinit_pll_set()
51 nvkm_wr32(device, 0x00ef10 + (head * 0x40), fN << 16); in tu102_devinit_pll_set()
Dgf100.c37 int N, fN, M, P; in gf100_devinit_pll_set() local
44 ret = gt215_pll_calc(subdev, &info, freq, &N, &fN, &M, &P); in gf100_devinit_pll_set()
55 nvkm_wr32(device, info.reg + 0x10, fN << 16); in gf100_devinit_pll_set()
Dgt215.c37 int N, fN, M, P; in gt215_devinit_pll_set() local
44 ret = gt215_pll_calc(subdev, &info, freq, &N, &fN, &M, &P); in gt215_devinit_pll_set()
54 nvkm_wr32(device, info.reg + 8, fN); in gt215_devinit_pll_set()
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramgk104.c982 gk104_calc_pll_output(int fN, int M, int N, int P, int clk) in gk104_calc_pll_output() argument
984 return ((clk * N) + (((u16)(fN + 4096) * clk) >> 13)) / (M * P); in gk104_calc_pll_output()