Home
last modified time | relevance | path

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

/openbmc/linux/drivers/cpufreq/
H A Dpowernv-cpufreq.c160 unsigned int nr_pstates; member
185 if (unlikely(i >= powernv_pstate_info.nr_pstates)) { in idx_to_pstate()
234 int i, nr_pstates = 0; in init_powernv_pstates() local
304 nr_pstates = min(len_ids, len_freqs) / sizeof(u32); in init_powernv_pstates()
305 if (!nr_pstates) { in init_powernv_pstates()
310 powernv_pstate_info.nr_pstates = nr_pstates; in init_powernv_pstates()
311 pr_debug("NR PStates %d\n", nr_pstates); in init_powernv_pstates()
313 for (i = 0; i < nr_pstates; i++) { in init_powernv_pstates()
365 if (i >= powernv_pstate_info.nr_pstates || i < 0) { in pstate_id_to_freq()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dpriv.h15 int nr_pstates; member
H A Dgm20b.c885 .nr_pstates = ARRAY_SIZE(gm20b_pstates) - 1,
902 .nr_pstates = ARRAY_SIZE(gm20b_pstates),
981 int nr_pstates = clk->base.base.func->nr_pstates; in gm20b_clk_init_safe_fmax() local
996 for (i = 0; i < nr_pstates; i++) in gm20b_clk_init_safe_fmax()
H A Dgk20a.c604 .nr_pstates = ARRAY_SIZE(gk20a_pstates),
622 for (i = 0; i < func->nr_pstates; i++) { in gk20a_clk_ctor()
H A Dbase.c685 for (idx = 0; idx < func->nr_pstates; idx++) in nvkm_clk_ctor()
687 clk->state_nr = func->nr_pstates; in nvkm_clk_ctor()