Searched refs:nvkm_clk_read (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | nv50.c | 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() 208 return nvkm_clk_read(&clk->base, nv_clk_src_hclk) * 3; in nv50_clk_read() 234 return nvkm_clk_read(&clk->base, nv_clk_src_host) >> P; in nv50_clk_read() 249 return nvkm_clk_read(&clk->base, nv_clk_src_href) >> P; in nv50_clk_read() 276 return nvkm_clk_read(&clk->base, nv_clk_src_core) >> P; in nv50_clk_read() 288 return nvkm_clk_read(&clk->base, nv_clk_src_mem) >> P; in nv50_clk_read() 406 out = nvkm_clk_read(&clk->base, nv_clk_src_hclkm3d2); in nv50_clk_calc() [all …]
|
H A 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() 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() 134 return nvkm_clk_read(&clk->base, nv_clk_src_href) >> P; in mcp77_clk_read() 135 return nvkm_clk_read(&clk->base, nv_clk_src_crystal) >> P; in mcp77_clk_read() 148 return nvkm_clk_read(&clk->base, nv_clk_src_core) >> P; in mcp77_clk_read() 174 pll.refclk = nvkm_clk_read(&clk->base, nv_clk_src_href); in calc_pll() 212 if (core < nvkm_clk_read(&clk->base, nv_clk_src_hclkm4)) in mcp77_clk_calc() [all …]
|
H A 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()
|
H A D | base.c | 574 nvkm_clk_read(struct nvkm_clk *clk, enum nv_clk_src src) in nvkm_clk_read() function 601 ret = nvkm_clk_read(clk, clock->name); in nvkm_clk_init()
|
H A D | gm20b.c | 601 cur_freq = nvkm_clk_read(&clk->base.base, nv_clk_src_gpc); in gm20b_clk_prog()
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | clk.h | 120 int nvkm_clk_read(struct nvkm_clk *, enum nv_clk_src);
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | ctrl.c | 120 lo = max(nvkm_clk_read(clk, domain->name), 0); in nvkm_control_mthd_pstate_attr()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A 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()
|
H A D | ramgt215.c | 187 clk_current = nvkm_clk_read(clk, nv_clk_src_mem); in gt215_link_train()
|
H A D | ramgk104.c | 1122 nvkm_clk_read(clk, nv_clk_src_mem), in gk104_ram_calc()
|