Home
last modified time | relevance | path

Searched refs:nr_pstates (Results 1 – 5 of 5) sorted by relevance

/drivers/cpufreq/
Dpowernv-cpufreq.c142 unsigned int nr_pstates; member
148 if (unlikely(i >= powernv_pstate_info.nr_pstates)) { in idx_to_pstate()
198 int i, nr_pstates = 0; in init_powernv_pstates() local
245 nr_pstates = min(len_ids, len_freqs) / sizeof(u32); in init_powernv_pstates()
246 if (!nr_pstates) { in init_powernv_pstates()
251 powernv_pstate_info.nr_pstates = nr_pstates; in init_powernv_pstates()
252 pr_debug("NR PStates %d\n", nr_pstates); in init_powernv_pstates()
253 for (i = 0; i < nr_pstates; i++) { in init_powernv_pstates()
280 if (i >= powernv_pstate_info.nr_pstates || i < 0) { in pstate_id_to_freq()
/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dpriv.h14 int nr_pstates; member
Dgm20b.c885 .nr_pstates = ARRAY_SIZE(gm20b_pstates) - 1,
902 .nr_pstates = ARRAY_SIZE(gm20b_pstates),
984 int nr_pstates = clk->base.base.func->nr_pstates; in gm20b_clk_init_safe_fmax() local
999 for (i = 0; i < nr_pstates; i++) in gm20b_clk_init_safe_fmax()
Dgk20a.c604 .nr_pstates = ARRAY_SIZE(gk20a_pstates),
623 for (i = 0; i < func->nr_pstates; i++) { in gk20a_clk_ctor()
Dbase.c586 for (idx = 0; idx < func->nr_pstates; idx++) in nvkm_clk_ctor()
588 clk->state_nr = func->nr_pstates; in nvkm_clk_ctor()