Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/ufs/core/ufshcd.c ufshcd_host_reset_and_restore() -> ufshcd_hba_enable()
| 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->is_irq_enabled | 1 |
| 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->vops | 0,4096-ptr_max |
| 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_link_startup() -> ufshcd_hba_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| PARAM_VALUE | 0 | hba->active_uic_cmd | 0 |
| PARAM_VALUE | 0 | hba->active_uic_cmd->cmd_active | 1 |
| PARAM_VALUE | 0 | hba->active_uic_cmd->done.done | 0 |
| PARAM_VALUE | 0 | hba->active_uic_cmd->done.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | hba->active_uic_cmd->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | hba->active_uic_cmd->done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hba->active_uic_cmd->done.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | hba->active_uic_cmd->done.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hba->clk_gating.gate_work.timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | hba->clk_gating.gate_work.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hba->clk_gating.ungate_work.lockdep_map->name | 0-255 |
| 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 | 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->driver | 0,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->ufshcd_state | 0 |
| PARAM_VALUE | 0 | hba->uic_cmd_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hba->uic_cmd_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hba->uic_cmd_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hba->uic_cmd_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hba->uic_cmd_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | hba->uic_cmd_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | hba->uic_cmd_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | hba->uic_cmd_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hba->uic_cmd_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hba->uic_link_state | 0 |
| PARAM_VALUE | 0 | hba->vops | 0,4096-ptr_max |
| 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 | |
| HALF_LOCKED2 | 0 | &hba->host_sem |
drivers/ufs/core/ufshcd.c ufshcd_probe_hba() -> ufshcd_hba_enable()
| 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->is_irq_enabled | 1 |
| PARAM_VALUE | 0 | hba->pm_op_in_progress | 0 |
| PARAM_VALUE | 0 | hba->quirks | 524288-u32max |
| PARAM_VALUE | 0 | hba->vops | 0,4096-ptr_max |
| DATA_SOURCE | 0 | hba | $0 |
| BIT_INFO | 0 | hba->quirks | 0x80000,0xffffffffffffffff |
| RX_PATH | |||
| LOCK2 | 0 | &hba->host_sem | |
| TYPE_LOCK | (struct ufs_hba)->host_sem |