Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/pmdomain/core.c _genpd_set_performance_state() -> _genpd_set_parent_state()

Type Parameter Key Value
PARAM_VALUE 0 genpd 4096-ptr_max
PARAM_VALUE 0 genpd->performance_state 0-4294967294
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 2 state 1-u32max
CAPPED_DATA 0 genpd->performance_state 1
CAPPED_DATA 0 &genpd->child_links 1
CAPPED_DATA 1 &link->child_node 1
CAPPED_DATA 2 state 1
DATA_SOURCE 0 genpd $0
DATA_SOURCE 2 state $1
DATA_SOURCE 3 depth $2
PARAM_COMPARE 0 genpd->performance_state < $2
PARAM_COMPARE 2 state > $0->performance_state
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &genpd->mlock
HALF_LOCKED2 0 &genpd->mlock
TYPE_LOCK (struct generic_pm_domain)->mlock

drivers/pmdomain/core.c _genpd_set_performance_state() -> _genpd_set_parent_state()

Type Parameter Key Value
PARAM_VALUE 0 genpd 4096-ptr_max
PARAM_VALUE 0 genpd->performance_state 1-u32max
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 2 state 0-4294967294
CAPPED_DATA 0 &genpd->child_links 1
CAPPED_DATA 1 &link->child_node 1
CAPPED_DATA 2 state 1
DATA_SOURCE 0 genpd $0
DATA_SOURCE 2 state $1
DATA_SOURCE 3 depth $2
PARAM_COMPARE 0 genpd->performance_state > $2
PARAM_COMPARE 2 state < $0->performance_state
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &genpd->mlock
HALF_LOCKED2 0 &genpd->mlock
TYPE_LOCK (struct generic_pm_domain)->mlock