Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/opp/core.c _disable_opp_table() -> _get_opp_count()

Type Parameter Key Value
PARAM_VALUE 0 opp_table 4096-ptr_max
PARAM_VALUE 0 opp_table->enabled 1
BUF_SIZE 0 opp_table (-1),1-s32max
BUF_SIZE 0 opp_table (-1),1-s32max
DATA_SOURCE 0 opp_table $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &core->lock
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &devfreq->lock

drivers/opp/core.c dev_pm_opp_get_opp_count() -> _get_opp_count()

Type Parameter Key Value
PARAM_VALUE 0 opp_table 4096-ptr_max
BUF_SIZE 0 opp_table (-1),1-s32max
BUF_SIZE 0 opp_table (-1),1-s32max
DATA_SOURCE 0 opp_table r _find_opp_table
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &first_bridge->encoder->bridge_chain_mutex
HALF_LOCKED2 &policy->rwsem
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &gpd_list_lock

drivers/opp/core.c dev_pm_opp_set_rate() -> _get_opp_count()

Type Parameter Key Value
PARAM_VALUE 0 opp_table 4096-ptr_max
BUF_SIZE 0 opp_table (-1),1-s32max
BUF_SIZE 0 opp_table (-1),1-s32max
DATA_SOURCE 0 opp_table r _find_opp_table
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bus->lock
HALF_LOCKED2 &core->lock
HALF_LOCKED2 &devfreq->lock
HALF_LOCKED2 &hdmi->audio_lock
HALF_LOCKED2 &host->io_mutex
HALF_LOCKED2 &reqs->rate_lock
HALF_LOCKED2 &spi->io_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags

drivers/opp/debugfs.c opp_debug_create_one() -> _get_opp_count()

Type Parameter Key Value
PARAM_VALUE 0 opp_table 4096-ptr_max
PARAM_VALUE 0 opp_table->dentry->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 opp_table->dentry->d_inode->i_rwsem.first_waiter->type 0-1
BUF_SIZE 0 opp_table (-1),1-s32max
BUF_SIZE 0 opp_table (-1),1-s32max
DATA_SOURCE 0 opp_table $1
STR_LEN 0 opp_table (-1),8-9,11-29,31-34,38
STR_LEN 0 opp_table (-1),8-9,11-29,31-34,38
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock