Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/cpufreq/brcmstb-avs-cpufreq.c brcm_avs_cpufreq_init() -> brcm_avs_get_pstate()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->done.done 0-4294967293,u32max
PARAM_VALUE 0 priv->done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 priv->done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 priv->done.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 priv->sem.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 priv->sem.first_waiter->up 1
PARAM_VALUE 0 priv->sem.last_holder 0
PARAM_VALUE 0 priv->sem.lock.dep_map->name 0-255
PARAM_VALUE 0 priv->sem.lock.owner (-1)
PARAM_VALUE 0 priv->sem.lock.owner_cpu u32max
PARAM_VALUE 1 pstate 7627883723100901376
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 priv unit_byte
LOCK2 &policy->rwsem
HALF_LOCKED2 &sp->mutex
TYPE_LOCK (struct cpufreq_policy)->rwsem

drivers/cpufreq/brcmstb-avs-cpufreq.c brcm_avs_get_freq_table() -> brcm_avs_get_pstate()

Type Parameter Key Value
PARAM_VALUE 1 pstate 6606780298826084352
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
DATA_SOURCE 0 priv $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 priv unit_byte
LOCK2 &policy->rwsem
HALF_LOCKED2 &sp->mutex
TYPE_LOCK (struct cpufreq_policy)->rwsem

drivers/cpufreq/brcmstb-avs-cpufreq.c brcm_avs_suspend() -> brcm_avs_get_pstate()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->done.done 0-4294967293,u32max
PARAM_VALUE 0 priv->done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 priv->done.wait.lock.owner (-1)
PARAM_VALUE 0 priv->done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 priv->done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 priv->done.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 priv->sem.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 priv->sem.first_waiter->up 1
PARAM_VALUE 0 priv->sem.last_holder 0
PARAM_VALUE 0 priv->sem.lock.dep_map->name 0-255
PARAM_VALUE 0 priv->sem.lock.owner (-1)
PARAM_VALUE 0 priv->sem.lock.owner_cpu u32max
PARAM_VALUE 1 pstate 4096-ptr_max
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 priv unit_byte
HALF_LOCKED2 &policy->rwsem
HALF_LOCKED2 global &system_transition_mutex

drivers/cpufreq/brcmstb-avs-cpufreq.c show_brcm_avs_pstate() -> brcm_avs_get_pstate()

Type Parameter Key Value
PARAM_VALUE 1 pstate 2047447728331898880
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 priv unit_byte
LOCK2 &of->mutex
LOCK2 &policy->rwsem
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct cpufreq_policy)->rwsem
TYPE_LOCK (struct kernfs_open_file)->mutex