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_is_devfreq_scaling_required()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
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
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_is_devfreq_scaling_required()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
BUF_SIZE 0 hba s32min-(-2),1-s32max
BUF_SIZE 0 hba s32min-(-2),1-s32max
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
LOCK2 irq
LOCK2 0 &hba->clk_scaling.lock
TYPE_LOCK (struct devfreq)->lock
TYPE_LOCK (struct ufs_clk_scaling)->lock