Home
last modified time | relevance | path

Searched refs:nvkm_clk_read (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dnv50.c104 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 Dmcp77.c54 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 Dgf100.c54 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 Dbase.c574 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 Dgm20b.c601 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 Dclk.h120 int nvkm_clk_read(struct nvkm_clk *, enum nv_clk_src);
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Dctrl.c120 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 Dramgf100.c189 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 Dramgt215.c187 clk_current = nvkm_clk_read(clk, nv_clk_src_mem); in gt215_link_train()
H A Dramgk104.c1122 nvkm_clk_read(clk, nv_clk_src_mem), in gk104_ram_calc()