Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/ufs/core/ufshcd.c ufshcd_clkscale_enable_store() -> ufshcd_devfreq_scale()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 0 hba->clk_scaling.is_enabled 0
PARAM_VALUE 0 hba->clk_scaling.is_suspended 1
PARAM_VALUE 0 hba->clk_scaling.resume_work.lockdep_map->name 0-255
PARAM_VALUE 0 hba->clk_scaling.suspend_work.lockdep_map->name 0-255
PARAM_VALUE 0 hba->clk_scaling.window_start_t 0
PARAM_VALUE 0 hba->devfreq->dev.parent->driver_data->clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 hba->devfreq->dev.parent->driver_data->clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 hba->devfreq->dev.parent->driver_data->clk->core->dev->power.request 0-4294967295
PARAM_VALUE 0 hba->devfreq->dev.parent->driver_data->clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 hba->devfreq->dev.parent->driver_data->clk->core->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 hba->devfreq->dev.parent->driver_data->clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 hba->devfreq->dev.parent->driver_data->clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 hba->devfreq->dev.parent->driver_data->clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 hba->devfreq->dev.parent->driver_data->clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hba->devfreq->dev.parent->driver_data->clks.core->core->dev->power.request 0-4294967295
PARAM_VALUE 0 hba->devfreq->dev.parent->driver_data->clks.core->core->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 hba->devfreq->dev.parent->driver_data->clks.core->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 hba->devfreq->dev.parent->driver_data->lock.dep_map->name 0-255
PARAM_VALUE 0 hba->devfreq->dev.parent->driver_data->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hba->devfreq->dev.parent->driver_data->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hba->devfreq->dev.parent->driver_data->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hba->devfreq->lock.dep_map->name 0-255
PARAM_VALUE 0 hba->devfreq->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hba->devfreq->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hba->devfreq->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hba->devfreq->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hba->devfreq->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hba->devfreq->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hba->devfreq->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hba->devfreq->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hba->devfreq->previous_freq 1-u64max
PARAM_VALUE 0 hba->devfreq->transition_notifier_list.srcu.dep_map->name 0-255
PARAM_VALUE 0 hba->host_sem.first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 hba->host_sem.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 hba->host_sem.first_waiter->list.prev->next 5349227543279349760
PARAM_VALUE 0 hba->host_sem.first_waiter->up 0
PARAM_VALUE 0 hba->host_sem.lock.dep_map->name 0-255
PARAM_VALUE 0 hba->host_sem.lock.owner (-1)
PARAM_VALUE 0 hba->host_sem.lock.owner_cpu u32max
PARAM_VALUE 0 hba->shutting_down 0
PARAM_VALUE 0 hba->ufs_device_wlun 4096-ptr_max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.request 0-4
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 freq 0-u32max
PARAM_VALUE 2 scale_up 1
BUF_SIZE 0 hba s32min-(-2),1-s32max
BUF_SIZE 0 hba s32min-(-2),1-s32max
PARAM_COMPARE 0 &hba->clk_list_head != $0->clk_list_head.next
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 hba->clk_scaling.is_enabled 0
NO_OVERFLOW_SIMPLE 0 hba->clk_scaling.is_enabled
UNITS 0 hba unit_byte
LOCK2 &of->mutex
LOCK2 0 &hba->host_sem
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct ufs_hba)->host_sem

drivers/ufs/core/ufshcd.c ufshcd_devfreq_target() -> ufshcd_devfreq_scale()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 0 hba->clk_scaling.is_suspended 0
BUF_SIZE 0 hba s32min-(-2),1-s32max
BUF_SIZE 0 hba s32min-(-2),1-s32max
PARAM_COMPARE 0 &hba->clk_list_head != $0->clk_list_head.next
BIT_INFO 0 hba->eh_flags 0x0,0xfffffffe
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 2 scale_up 0-1
NO_OVERFLOW_SIMPLE 1 freq
UNITS 0 hba unit_byte
LOCK2 &devfreq->lock
TYPE_LOCK (struct devfreq)->lock