Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/ufs/core/ufshcd.c ufshcd_host_reset_and_restore() -> ufshcd_device_init()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 0 hba->caps 16-u32max
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 4096-ptr_max
PARAM_VALUE 0 hba->host->host_lock->rlock.dep_map->name 0-255
PARAM_VALUE 0 hba->host->hostdata->clk_gating.active_reqs s32min-s32max
PARAM_VALUE 0 hba->host->hostdata->clk_gating.gate_work.cpu s32min-s32max
PARAM_VALUE 0 hba->host->hostdata->clk_gating.gate_work.timer.flags 0-4294967295
PARAM_VALUE 0 hba->host->hostdata->clk_gating.state 0-4294967295
PARAM_VALUE 0 hba->host->hostdata->clk_scaling.active_reqs s32min-s32max
PARAM_VALUE 0 hba->host->hostdata->clk_scaling.is_busy_started 0-1
PARAM_VALUE 0 hba->host->hostdata->outstanding_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->tag_set.tags_srcu.dep_map->name 0-255
PARAM_VALUE 0 hba->nutmrs s32min-64
PARAM_VALUE 0 hba->pm_op_in_progress s32min-(-1),1-s32max
PARAM_VALUE 0 hba->silence_err_logs 0
PARAM_VALUE 0 hba->timeout_attr.ratelimit_state.lock.dep_map->name 0-255
PARAM_VALUE 0 hba->timeout_attr.times.counter (-1)-s32max
PARAM_VALUE 0 hba->ufshcd_state 0
PARAM_VALUE 0 hba->uic_cmd_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 hba->uic_link_state 0
PARAM_VALUE 0 hba->vops 0,4096-ptr_max
PARAM_VALUE 1 init_dev_params 0
CAPPED_DATA 0 hba->nutmrs 1
DATA_SOURCE 0 hba $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hba->dev_info.wb_buf_flush_enabled
NO_OVERFLOW_SIMPLE 0 hba->dev_info.wb_enabled

drivers/ufs/core/ufshcd.c ufshcd_probe_hba() -> ufshcd_device_init()

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->curr_dev_pwr_mode 1
PARAM_VALUE 0 hba->dev_info.device_id 0
PARAM_VALUE 0 hba->dev_info.model 0
PARAM_VALUE 0 hba->dev_info.rtc_time_baseline 0
PARAM_VALUE 0 hba->dev_info.wb_buf_flush_enabled 0
PARAM_VALUE 0 hba->dev_info.wb_enabled 0
PARAM_VALUE 0 hba->host->pseudo_sdev->request_queue->dev->power.wakeirq->status 0-4294967295
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->pm_op_in_progress 0
PARAM_VALUE 0 hba->quirks 524288-u32max
PARAM_VALUE 0 hba->uic_link_state 0
PARAM_VALUE 0 hba->vops 0,4096-ptr_max
PARAM_VALUE 1 init_dev_params 1
DATA_SOURCE 0 hba $0
DATA_SOURCE 1 init_dev_params $1
BIT_INFO 0 hba->quirks 0x80000,0xffffffffffffffff
RX_PATH
LOCK2 0 &hba->host_sem
TYPE_LOCK (struct ufs_hba)->host_sem