Lines Matching refs:cstate
274 calc_clk(struct gf100_clk *clk, struct nvkm_cstate *cstate, int idx, int dom) in calc_clk() argument
277 u32 freq = cstate->domain[dom]; in calc_clk()
294 clk1 = cstate->domain[nv_clk_src_hubk06]; in calc_clk()
325 gf100_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) in gf100_clk_calc() argument
330 if ((ret = calc_clk(clk, cstate, 0x00, nv_clk_src_gpc)) || in gf100_clk_calc()
331 (ret = calc_clk(clk, cstate, 0x01, nv_clk_src_rop)) || in gf100_clk_calc()
332 (ret = calc_clk(clk, cstate, 0x02, nv_clk_src_hubk07)) || in gf100_clk_calc()
333 (ret = calc_clk(clk, cstate, 0x07, nv_clk_src_hubk06)) || in gf100_clk_calc()
334 (ret = calc_clk(clk, cstate, 0x08, nv_clk_src_hubk01)) || in gf100_clk_calc()
335 (ret = calc_clk(clk, cstate, 0x09, nv_clk_src_copy)) || in gf100_clk_calc()
336 (ret = calc_clk(clk, cstate, 0x0c, nv_clk_src_pmu)) || in gf100_clk_calc()
337 (ret = calc_clk(clk, cstate, 0x0e, nv_clk_src_vdec))) in gf100_clk_calc()