Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/ufs/core/ufshcd.c ufshcd_init_clocks() -> ufshcd_opp_set_rate()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 0 hba->dev 0,4096-ptr_max
PARAM_VALUE 0 hba->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 hba->dev->class 0,4096-ptr_max
PARAM_VALUE 0 hba->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 hba->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 hba->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 hba->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 hba->use_pm_opp 1
PARAM_VALUE 0 hba->vreg_info.vdd_hba->enabled 1
PARAM_VALUE 0 hba->vreg_info.vdd_hba->max_uA 0-s32max
PARAM_VALUE 0 hba->vreg_info.vdd_hba->name 1-u64max
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg 4096-ptr_max
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->enable_count 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->desc->n_voltages 0-s32max
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->ena_gpio_state 1
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->ena_pin->enable_count 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->notifier.head->priority s32min-s32max
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->ref_cnt s32min-s32max
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->reg_data->load 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->reg_data->load_updated 0-1
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->reg_data->lock->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->reg_data->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->reg_data->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->reg_data->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->reg_data->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->regmap->async 0-1
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->regmap->cache_dirty 0-1
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->supply->enable_count 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->use_count 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->uA_load 1-s32max
PARAM_VALUE 1 freq u64max
DATA_SOURCE 0 hba $0

drivers/ufs/core/ufshcd.c ufshcd_scale_clks() -> ufshcd_opp_set_rate()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 0 hba->clk_scaling_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 hba->clk_scaling_lock.first_waiter->type 0-1
PARAM_VALUE 0 hba->crypto_profile.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 hba->crypto_profile.lock.first_waiter->type 0-1
PARAM_VALUE 0 hba->host 4096-ptr_max
PARAM_VALUE 0 hba->host->host_lock->rlock.dep_map->name 0-255
PARAM_VALUE 0 hba->host->pseudo_sdev->request_queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hba->host_sem.first_waiter->up 0-1
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hba->use_pm_opp 1
PARAM_VALUE 0 hba->vops 0,4096-ptr_max
BUF_SIZE 0 hba s32min-(-1),1-s32max
BUF_SIZE 0 hba s32min-(-1),1-s32max
DATA_SOURCE 0 hba $0
DATA_SOURCE 1 freq $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 hba->clk_scaling.is_enabled 0
USER_DATA 0 hba->pm_qos_req.node.prio 0-s32max
UNITS 0 hba unit_byte
HALF_LOCKED2 0 &hba->clk_scaling_lock
HALF_LOCKED2 0 &hba->host->scan_mutex
HALF_LOCKED2 0 &hba->host_sem
HALF_LOCKED2 0 &hba->wb_mutex

drivers/ufs/core/ufshcd.c ufshcd_scale_clks() -> ufshcd_opp_set_rate()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 0 hba->clk_scaling_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 hba->clk_scaling_lock.first_waiter->type 0-1
PARAM_VALUE 0 hba->crypto_profile.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 hba->crypto_profile.lock.first_waiter->type 0-1
PARAM_VALUE 0 hba->dev 1-ptr_max
PARAM_VALUE 0 hba->devfreq 4096-ptr_max
PARAM_VALUE 0 hba->host 4096-ptr_max
PARAM_VALUE 0 hba->host->host_lock->rlock.dep_map->name 0-255
PARAM_VALUE 0 hba->host->pseudo_sdev->request_queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hba->host_sem.first_waiter->up 0-1
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hba->use_pm_opp 1
PARAM_VALUE 0 hba->vops 4096-ptr_max
PARAM_VALUE 0 hba->vops->clk_scale_notify 1-u64max
BUF_SIZE 0 hba s32min-(-1),1-s32max
BUF_SIZE 0 hba s32min-(-1),1-s32max
CAPPED_DATA 0 hba->dev 1
DATA_SOURCE 0 hba $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 hba->clk_scaling.is_enabled 0
USER_DATA 0 hba->pm_qos_req.node.prio 0-s32max
UNITS 0 hba unit_byte
HALF_LOCKED2 0 &hba->clk_scaling_lock
HALF_LOCKED2 0 &hba->host->scan_mutex
HALF_LOCKED2 0 &hba->host_sem
HALF_LOCKED2 0 &hba->wb_mutex