Searched refs:state_nr (Results 1 – 7 of 7) sorted by relevance
78 level = min(clk->state_nr - 1, level + (clk->state_nr / 3)); in gk20a_pmu_dvfs_get_target_state()83 level = min(clk->state_nr - 1, level); in gk20a_pmu_dvfs_get_target_state()
315 if (clk->state_nr && pstate != -1) { in nvkm_pstate_work()317 pstate = min(pstate, clk->state_nr - 1); in nvkm_pstate_work()465 clk->state_nr++; in nvkm_pstate_new()537 clk->astate = min(clk->astate, clk->state_nr - 1); in nvkm_clk_astate()556 clk->dstate = min(clk->dstate, clk->state_nr - 1); in nvkm_clk_dstate()615 clk->astate = clk->state_nr - 1; in nvkm_clk_init()687 clk->state_nr = func->nr_pstates; in nvkm_clk_ctor()
41 size_t state_nr; member
198 for (i = 0; i < qe->state_nr; i++) { in fix_dtb()346 for (i = 0; i < qe->state_nr; i++) { in fill_context()612 KdVersionBlock, qemu_elf.state_nr)) { in main()
121 qe->state_nr = states->len; in init_states()
51 args->v0.count = clk->state_nr; in nvkm_control_mthd_pstate_info()90 if (args->v0.state >= clk->state_nr) in nvkm_control_mthd_pstate_attr()
90 int state_nr; member