Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c nvkm_clk_astate() -> nvkm_pstate_calc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clk | 4096-ptr_max |
| PARAM_VALUE | 0 | clk->astate | 0-s32max |
| PARAM_VALUE | 1 | wait | 0 |
| CAPPED_DATA | 0 | clk->astate | 1 |
| DATA_SOURCE | 0 | clk | $0 |
| DATA_SOURCE | 1 | wait | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c nvkm_clk_dstate() -> nvkm_pstate_calc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clk | 4096-ptr_max |
| PARAM_VALUE | 0 | clk->dstate | 0-s32max |
| PARAM_VALUE | 1 | wait | 1 |
| CAPPED_DATA | 0 | clk->dstate | 1 |
| DATA_SOURCE | 0 | clk | $0 |
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c nvkm_clk_init() -> nvkm_pstate_calc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clk | 1261374861315223544 |
| PARAM_VALUE | 0 | clk->bstate.base.domain | 0 |
| PARAM_VALUE | 0 | clk->bstate.list.next | 1261374861315223872 |
| PARAM_VALUE | 0 | clk->bstate.list.next->next | 1261374861315223872 |
| PARAM_VALUE | 0 | clk->bstate.list.prev | 1261374861315223872 |
| PARAM_VALUE | 0 | clk->bstate.list.prev->next | 1261374861315223872 |
| PARAM_VALUE | 0 | clk->bstate.list.prev->prev | 1261374861315223872 |
| PARAM_VALUE | 0 | clk->bstate.pstate | 255 |
| PARAM_VALUE | 0 | clk->domains->name | 0-1,8,15-27,29 |
| PARAM_VALUE | 0 | clk->dstate | 0 |
| PARAM_VALUE | 0 | clk->func | 4096-ptr_max |
| PARAM_VALUE | 0 | clk->func->init | 0 |
| PARAM_VALUE | 0 | clk->func->read | 0,4096-ptr_max |
| PARAM_VALUE | 0 | clk->pstate | (-1) |
| PARAM_VALUE | 0 | clk->temp | 90 |
| PARAM_VALUE | 1 | wait | 1 |
| MEM_ZERO | 0 | &clk->bstate | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &subdev->use.mutex | ||
| HALF_LOCKED2 | flags |
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c nvkm_clk_pwrsrc() -> nvkm_pstate_calc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clk | 1-u64max |
| PARAM_VALUE | 1 | wait | 0 |
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c nvkm_clk_tstate() -> nvkm_pstate_calc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clk | 4096-ptr_max |
| PARAM_VALUE | 1 | wait | 0 |
| DATA_SOURCE | 0 | clk | $0 |
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c nvkm_clk_ustate() -> nvkm_pstate_calc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clk | 4096-ptr_max |
| PARAM_VALUE | 0 | clk->allow_reclock | 1 |
| PARAM_VALUE | 0 | clk->func->nr_pstates | 0,12-13,15 |
| PARAM_VALUE | 0 | clk->func->pstates | 0,2809775081782562816,5013599277638512640,5253204760865959936 |
| PARAM_VALUE | 1 | wait | 1 |
| DATA_SOURCE | 0 | clk | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &devfreq->lock |