Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/cpufreq/mediatek-cpufreq.c mtk_cpufreq_opp_notifier() -> mtk_cpufreq_set_voltage()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->reg_lock.dep_map->name 0-255
PARAM_VALUE 0 info->reg_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 info->reg_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 info->reg_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 info->reg_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 info->reg_lock.wait_lock.owner (-1)
PARAM_VALUE 0 info->reg_lock.wait_lock.owner_cpu u32max
CAPPED_DATA 0 info->current_freq 1
CAPPED_DATA 0 &info->reg_lock 1
DATA_SOURCE 1 vproc r dev_pm_opp_get_voltage
LOCK2 0 &info->reg_lock
TYPE_LOCK (struct mtk_cpu_dvfs_info)->reg_lock

drivers/cpufreq/mediatek-cpufreq.c mtk_cpufreq_set_target() -> mtk_cpufreq_set_voltage()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->cci_dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 info->cpu_dev 1-ptr_max
PARAM_VALUE 0 info->reg_lock.dep_map->name 0-255
PARAM_VALUE 0 info->reg_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 info->reg_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 info->reg_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 info->reg_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 info->reg_lock.wait_lock.owner (-1)
PARAM_VALUE 0 info->reg_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 info->soc_data 4096-ptr_max
PARAM_VALUE 1 vproc 0-s32max
BUF_SIZE 0 info s32min-(-2),1-s32max
BUF_SIZE 0 info s32min-(-2),1-s32max
CAPPED_DATA 0 &info->reg_lock 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 info unit_byte
LOCK2 0 &info->reg_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &policy->rwsem
HALF_LOCKED2 &policy_dbs->update_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &sg_policy->work_lock
HALF_LOCKED2 &userspace->mutex
HALF_LOCKED2 global &gov_dbs_data_mutex
TYPE_LOCK (struct mtk_cpu_dvfs_info)->reg_lock

drivers/cpufreq/mediatek-cpufreq.c mtk_cpufreq_set_target() -> mtk_cpufreq_set_voltage()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->cci_dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 info->cpu_dev 1-ptr_max
PARAM_VALUE 0 info->cpu_dev->bus 0,4096-ptr_max
PARAM_VALUE 0 info->cpu_dev->class 0,4096-ptr_max
PARAM_VALUE 0 info->cpu_dev->driver 0,4096-ptr_max
PARAM_VALUE 0 info->proc_reg 4096-ptr_max
PARAM_VALUE 0 info->proc_reg->rdev->reg_data->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 info->reg_lock.dep_map->name 0-255
PARAM_VALUE 0 info->reg_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 info->reg_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 info->reg_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 info->reg_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 info->reg_lock.wait_lock.owner (-1)
PARAM_VALUE 0 info->reg_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 info->soc_data 4096-ptr_max
PARAM_VALUE 0 info->sram_reg->rdev->reg_data->lock.dep_map->name 0-255
PARAM_VALUE 0 info->sram_reg->rdev->reg_data->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 info->sram_reg->rdev->reg_data->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 info->sram_reg->rdev->reg_data->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 info->sram_reg->rdev->reg_data->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 info->sram_reg->rdev->reg_data->lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 info->sram_reg->rdev->reg_data->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 info->sram_reg->rdev->reg_data->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 vproc 0-s32max
BUF_SIZE 0 info s32min-(-2),1-s32max
BUF_SIZE 0 info s32min-(-2),1-s32max
CAPPED_DATA 0 &info->reg_lock 1
CAPPED_DATA 1 vproc 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 info unit_byte
LOCK2 0 &info->reg_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &policy->rwsem
HALF_LOCKED2 &policy_dbs->update_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &sg_policy->work_lock
HALF_LOCKED2 &userspace->mutex
HALF_LOCKED2 global &gov_dbs_data_mutex
TYPE_LOCK (struct mtk_cpu_dvfs_info)->reg_lock

drivers/cpufreq/mediatek-cpufreq.c mtk_cpufreq_set_target() -> mtk_cpufreq_set_voltage()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->cci_dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 info->cpu_dev 1-ptr_max
PARAM_VALUE 0 info->cpu_dev->bus 0,4096-ptr_max
PARAM_VALUE 0 info->cpu_dev->class 0,4096-ptr_max
PARAM_VALUE 0 info->cpu_dev->driver 0,4096-ptr_max
PARAM_VALUE 0 info->inter_clk 0,4096-ptr_max
PARAM_VALUE 0 info->reg_lock.dep_map->name 0-255
PARAM_VALUE 0 info->reg_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 info->reg_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 info->reg_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 info->reg_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 info->reg_lock.wait_lock.owner (-1)
PARAM_VALUE 0 info->reg_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 info->soc_data 4096-ptr_max
PARAM_VALUE 1 vproc 0-s32max
BUF_SIZE 0 info s32min-(-2),1-s32max
BUF_SIZE 0 info s32min-(-2),1-s32max
CAPPED_DATA 0 &info->reg_lock 1
CAPPED_DATA 1 vproc 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 info unit_byte
LOCK2 0 &info->reg_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &policy->rwsem
HALF_LOCKED2 &policy_dbs->update_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &sg_policy->work_lock
HALF_LOCKED2 &userspace->mutex
HALF_LOCKED2 global &gov_dbs_data_mutex
TYPE_LOCK (struct mtk_cpu_dvfs_info)->reg_lock

drivers/cpufreq/mediatek-cpufreq.c mtk_cpufreq_set_target() -> mtk_cpufreq_set_voltage()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->cci_dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 info->cpu_dev 1-ptr_max
PARAM_VALUE 0 info->cpu_dev->bus 0,4096-ptr_max
PARAM_VALUE 0 info->cpu_dev->class 0,4096-ptr_max
PARAM_VALUE 0 info->cpu_dev->driver 0,4096-ptr_max
PARAM_VALUE 0 info->inter_clk 0,4096-ptr_max
PARAM_VALUE 0 info->reg_lock.dep_map->name 0-255
PARAM_VALUE 0 info->reg_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 info->reg_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 info->reg_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 info->reg_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 info->reg_lock.wait_lock.owner (-1)
PARAM_VALUE 0 info->reg_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 info->soc_data 4096-ptr_max
PARAM_VALUE 1 vproc 0-s32max
BUF_SIZE 0 info s32min-(-2),1-s32max
BUF_SIZE 0 info s32min-(-2),1-s32max
CAPPED_DATA 0 &info->reg_lock 1
CAPPED_DATA 1 vproc 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 info unit_byte
LOCK2 0 &info->reg_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &policy->rwsem
HALF_LOCKED2 &policy_dbs->update_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &sg_policy->work_lock
HALF_LOCKED2 &userspace->mutex
HALF_LOCKED2 global &gov_dbs_data_mutex
TYPE_LOCK (struct mtk_cpu_dvfs_info)->reg_lock

drivers/cpufreq/mediatek-cpufreq.c mtk_cpufreq_set_target() -> mtk_cpufreq_set_voltage()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->cci_dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 info->cpu_dev 1-ptr_max
PARAM_VALUE 0 info->cpu_dev->bus 0,4096-ptr_max
PARAM_VALUE 0 info->cpu_dev->class 0,4096-ptr_max
PARAM_VALUE 0 info->cpu_dev->driver 0,4096-ptr_max
PARAM_VALUE 0 info->inter_clk 0,4096-ptr_max
PARAM_VALUE 0 info->reg_lock.dep_map->name 0-255
PARAM_VALUE 0 info->reg_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 info->reg_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 info->reg_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 info->reg_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 info->reg_lock.wait_lock.owner (-1)
PARAM_VALUE 0 info->reg_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 info->soc_data 4096-ptr_max
BUF_SIZE 0 info s32min-(-2),1-s32max
BUF_SIZE 0 info s32min-(-2),1-s32max
CAPPED_DATA 0 &info->reg_lock 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 info unit_byte
LOCK2 0 &info->reg_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &policy->rwsem
HALF_LOCKED2 &policy_dbs->update_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &sg_policy->work_lock
HALF_LOCKED2 &userspace->mutex
HALF_LOCKED2 global &gov_dbs_data_mutex
TYPE_LOCK (struct mtk_cpu_dvfs_info)->reg_lock

drivers/cpufreq/mediatek-cpufreq.c mtk_cpufreq_set_target() -> mtk_cpufreq_set_voltage()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->cci_dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 info->cpu_dev 1-ptr_max
PARAM_VALUE 0 info->reg_lock.dep_map->name 0-255
PARAM_VALUE 0 info->reg_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 info->reg_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 info->reg_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 info->reg_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 info->reg_lock.wait_lock.owner (-1)
PARAM_VALUE 0 info->reg_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 info->soc_data 4096-ptr_max
PARAM_VALUE 1 vproc s32min-2147483646
BUF_SIZE 0 info s32min-(-2),1-s32max
BUF_SIZE 0 info s32min-(-2),1-s32max
CAPPED_DATA 0 &info->reg_lock 1
CAPPED_DATA 1 vproc 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 info unit_byte
LOCK2 0 &info->reg_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &policy->rwsem
HALF_LOCKED2 &policy_dbs->update_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &sg_policy->work_lock
HALF_LOCKED2 &userspace->mutex
HALF_LOCKED2 global &gov_dbs_data_mutex
TYPE_LOCK (struct mtk_cpu_dvfs_info)->reg_lock