Searched refs:nr_pstates (Results 1 – 4 of 4) sorted by relevance
68 int nr_pstates; member78 int i, pstate_min, pstate_max, pstate_nominal, nr_pstates = 0; in init_powernv_pstates() local124 nr_pstates = min(len_ids, len_freqs) / sizeof(u32); in init_powernv_pstates()125 if (!nr_pstates) { in init_powernv_pstates()130 pr_debug("NR PStates %d\n", nr_pstates); in init_powernv_pstates()131 for (i = 0; i < nr_pstates; i++) { in init_powernv_pstates()145 powernv_pstate_info.nr_pstates = nr_pstates; in init_powernv_pstates()156 if (i >= powernv_pstate_info.nr_pstates || i < 0) { in pstate_id_to_freq()
14 int nr_pstates; member
581 for (idx = 0; idx < func->nr_pstates; idx++) in nvkm_clk_ctor()583 clk->state_nr = func->nr_pstates; in nvkm_clk_ctor()
638 .nr_pstates = ARRAY_SIZE(gk20a_pstates),