Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/ufs/core/ufshcd.c ufshcd_clear_cmd() -> ufshcd_wait_for_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| PARAM_VALUE | 0 | hba->mcq_enabled | 0 |
| PARAM_VALUE | 0 | hba->tmf_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 88 |
| PARAM_VALUE | 4 | interval_us | 1000 |
| PARAM_VALUE | 5 | timeout_ms | 1000 |
| DATA_SOURCE | 0 | hba | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/ufs/core/ufshcd.c ufshcd_clear_tm_cmd() -> ufshcd_wait_for_register()
| 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->dev->power.wakeirq->status | 0-4294967295 |
| 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->pseudo_sdev->request_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | hba->host_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | hba->tmf_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | hba->ufs_device_wlun->sdev_gendev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | hba->ufs_device_wlun->sdev_target->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 120 |
| PARAM_VALUE | 3 | val | 0 |
| PARAM_VALUE | 4 | interval_us | 1000 |
| PARAM_VALUE | 5 | timeout_ms | 1000 |
| DATA_SOURCE | 0 | hba | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | hba->devfreq->previous_freq | |
| NO_OVERFLOW_SIMPLE | 0 | hba->devfreq->resume_freq | |
| HALF_LOCKED2 | 0 | &hba->host_sem |
drivers/ufs/core/ufshcd.c ufshcd_hba_execute_hce() -> ufshcd_wait_for_register()
| 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->host->pseudo_sdev->request_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | hba->uic_link_state | 0 |
| PARAM_VALUE | 0 | hba->vops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hba->vps | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 52 |
| PARAM_VALUE | 2 | mask | 1 |
| PARAM_VALUE | 3 | val | 1 |
| PARAM_VALUE | 4 | interval_us | 1000 |
| PARAM_VALUE | 5 | timeout_ms | 50 |
| DATA_SOURCE | 0 | hba | $0 |
| BIT_INFO | 0 | hba->quirks | 0x0,0xfffffeff |
| 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_hba_stop() -> ufshcd_wait_for_register()
| 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->host->pseudo_sdev->request_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | hba->host_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | hba->is_irq_enabled | 0 |
| PARAM_VALUE | 0 | hba->ufs_device_wlun->request_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | hba->vops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hba->vps->wb_flush_threshold | 1-10 |
| PARAM_VALUE | 1 | reg | 52 |
| PARAM_VALUE | 2 | mask | 1 |
| PARAM_VALUE | 3 | val | 0 |
| PARAM_VALUE | 4 | interval_us | 10 |
| PARAM_VALUE | 5 | timeout_ms | 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 | |
| HALF_LOCKED2 | 0 | &hba->host_sem |