Searched refs:state_nr (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
H A D | gk20a.c | 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
H A D | gk20a.c | 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | base.c | 315 if (clk->state_nr && pstate != -1) { in nvkm_pstate_work() 317 pstate = min(pstate, clk->state_nr - 1); in nvkm_pstate_work() 466 clk->state_nr++; in nvkm_pstate_new() 538 clk->astate = min(clk->astate, clk->state_nr - 1); in nvkm_clk_astate() 557 clk->dstate = min(clk->dstate, clk->state_nr - 1); in nvkm_clk_dstate() 618 clk->astate = clk->state_nr - 1; in nvkm_clk_init() 692 clk->state_nr = func->nr_pstates; in nvkm_clk_ctor()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | base.c | 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | ctrl.c | 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | ctrl.c | 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | clk.h | 91 int state_nr; member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | clk.h | 90 int state_nr; member
|
Completed in 6 milliseconds