Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/ufs/core/ufshcd.c ufshcd_clk_scaling_suspend() -> ufshcd_clk_scaling_allow()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 0 hba->clk_gating.gate_work.timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 hba->clk_gating.state 2
PARAM_VALUE 0 hba->host 4096-ptr_max
PARAM_VALUE 1 allow 0
DATA_SOURCE 0 hba $0
NOCHECK_CALL

drivers/ufs/core/ufshcd.c ufshcd_clk_scaling_suspend() -> ufshcd_clk_scaling_allow()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 0 hba->clk_gating.gate_work.timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 hba->clk_gating.state 2
PARAM_VALUE 0 hba->host 4096-ptr_max
PARAM_VALUE 1 allow 1
DATA_SOURCE 0 hba $0
NOCHECK_CALL

drivers/ufs/core/ufshcd.c ufshcd_err_handling_prepare() -> ufshcd_clk_scaling_allow()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 0 hba->dev 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->driver 0,4096-ptr_max
PARAM_VALUE 0 hba->dev->power.request 0-4
PARAM_VALUE 0 hba->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->dev->power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 hba->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hba->dev->type 0,4096-ptr_max
PARAM_VALUE 0 hba->host 4096-ptr_max
PARAM_VALUE 0 hba->host->host_lock 4096-ptr_max
PARAM_VALUE 0 hba->host->host_lock->rlock.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->is_powered 1
PARAM_VALUE 0 hba->is_sys_suspended 0
PARAM_VALUE 0 hba->pm_op_in_progress 0
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.runtime_status s32min-1,3-s32max
PARAM_VALUE 0 hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hba->ufshcd_state 0-3,5-u32max
PARAM_VALUE 1 allow 0
DATA_SOURCE 0 hba $0
NOCHECK_CALL
LOCK2 0 &hba->host_sem
TYPE_LOCK (struct ufs_hba)->host_sem