Searched refs:nvkm_clk_read (Results 1 – 10 of 10) sorted by relevance
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | nv50.c | 56 u32 coef, ref = nvkm_clk_read(&clk->base, nv_clk_src_crystal); in read_pll_src() 103 case 1: return nvkm_clk_read(&clk->base, nv_clk_src_crystal); in read_pll_src() 104 case 2: return nvkm_clk_read(&clk->base, nv_clk_src_href); in read_pll_src() 145 return nvkm_clk_read(&clk->base, nv_clk_src_crystal); in read_pll_ref() 152 return nvkm_clk_read(&clk->base, nv_clk_src_href); in read_pll_ref() 171 return nvkm_clk_read(&clk->base, nv_clk_src_dom6); in read_pll() 206 return div_u64((u64)nvkm_clk_read(&clk->base, nv_clk_src_href) * 27778, 10000); in nv50_clk_read() 208 return nvkm_clk_read(&clk->base, nv_clk_src_hclk) * 3; in nv50_clk_read() 210 return nvkm_clk_read(&clk->base, nv_clk_src_hclk) * 3 / 2; in nv50_clk_read() 213 case 0x00000000: return nvkm_clk_read(&clk->base, nv_clk_src_href); in nv50_clk_read() [all …]
|
D | mcp77.c | 54 u32 ref = nvkm_clk_read(&clk->base, nv_clk_src_href); in read_pll() 95 return nvkm_clk_read(&clk->base, nv_clk_src_href) * 4; in mcp77_clk_read() 97 return nvkm_clk_read(&clk->base, nv_clk_src_href) * 2 / 3; in mcp77_clk_read() 100 case 0x00000000: return nvkm_clk_read(&clk->base, nv_clk_src_hclkm2d3); in mcp77_clk_read() 102 case 0x00080000: return nvkm_clk_read(&clk->base, nv_clk_src_hclkm4); in mcp77_clk_read() 103 case 0x000c0000: return nvkm_clk_read(&clk->base, nv_clk_src_cclk); in mcp77_clk_read() 110 case 0x00000000: return nvkm_clk_read(&clk->base, nv_clk_src_crystal) >> P; in mcp77_clk_read() 112 case 0x00000002: return nvkm_clk_read(&clk->base, nv_clk_src_hclkm4) >> P; in mcp77_clk_read() 118 return nvkm_clk_read(&clk->base, nv_clk_src_core); in mcp77_clk_read() 121 return nvkm_clk_read(&clk->base, nv_clk_src_core); in mcp77_clk_read() [all …]
|
D | gf100.c | 54 return nvkm_clk_read(&clk->base, nv_clk_src_sppll0); in read_vco() 55 return nvkm_clk_read(&clk->base, nv_clk_src_sppll1); in read_vco() 79 sclk = nvkm_clk_read(&clk->base, nv_clk_src_mpllsrc); in read_pll() 82 sclk = nvkm_clk_read(&clk->base, nv_clk_src_mpllsrcref); in read_pll() 184 return nvkm_clk_read(&clk->base, nv_clk_src_mpll); in gf100_clk_read() 185 return nvkm_clk_read(&clk->base, nv_clk_src_mdiv); in gf100_clk_read()
|
D | base.c | 576 nvkm_clk_read(struct nvkm_clk *clk, enum nv_clk_src src) in nvkm_clk_read() function 604 ret = nvkm_clk_read(clk, clock->name); in nvkm_clk_init()
|
D | gm20b.c | 601 cur_freq = nvkm_clk_read(&clk->base.base, nv_clk_src_gpc); in gm20b_clk_prog()
|
/linux-5.19.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | clk.h | 122 int nvkm_clk_read(struct nvkm_clk *, enum nv_clk_src);
|
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
D | ctrl.c | 120 lo = max(nvkm_clk_read(clk, domain->name), 0); in nvkm_control_mthd_pstate_attr()
|
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ramgf100.c | 189 ref = nvkm_clk_read(clk, nv_clk_src_sppll0); in gf100_ram_calc() 191 ref = nvkm_clk_read(clk, nv_clk_src_sppll1); in gf100_ram_calc()
|
D | ramgt215.c | 187 clk_current = nvkm_clk_read(clk, nv_clk_src_mem); in gt215_link_train()
|
D | ramgk104.c | 1122 nvkm_clk_read(clk, nv_clk_src_mem), in gk104_ram_calc()
|