Defined in 2 files as a prototype:
- drivers/ufs/core/ufshcd-priv.h, line 367 (as a prototype)
- include/ufs/ufshcd.h, line 1679 (as a prototype)
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/ufs/core/ufshcd.c ufshcd_update_ee_control() -> __ufshcd_write_ee_control()
| 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->ee_ctrl_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hba->ee_ctrl_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hba->ee_ctrl_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hba->ee_ctrl_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hba->ee_ctrl_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hba->ee_ctrl_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hba->ee_ctrl_mutex.wait_lock.owner_cpu | u32max |
| 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->ufs_device_wlun->request_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->vps->hba_enable_delay_us | 1000 |
| PARAM_VALUE | 0 | hba->vps->wb_flush_threshold | 1-10 |
| PARAM_VALUE | 0 | hba->vreg_info.vcc->max_uA | 0-s32max |
| PARAM_VALUE | 0 | hba->vreg_info.vccq->max_uA | 0-s32max |
| PARAM_VALUE | 0 | hba->vreg_info.vccq2->max_uA | 0-s32max |
| BUF_SIZE | 0 | hba | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hba | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | &hba->ee_ctrl_mutex | 1 |
| DATA_SOURCE | 0 | hba | $0 |
| PARAM_COMPARE | 1 | ee_ctrl_mask | != $0->ee_ctrl_mask |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | ee_ctrl_mask | 0-u16max |
| NO_OVERFLOW_SIMPLE | 0 | hba->dev_info.wb_buf_flush_enabled | |
| NO_OVERFLOW_SIMPLE | 0 | hba->dev_info.wb_enabled | |
| LOCK2 | 0 | &hba->ee_ctrl_mutex | |
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &hba->host_sem | |
| TYPE_LOCK | (struct ufs_hba)->ee_ctrl_mutex |
drivers/ufs/core/ufshcd.c ufshcd_write_ee_control() -> __ufshcd_write_ee_control()
| 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->ee_ctrl_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hba->ee_ctrl_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hba->ee_ctrl_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hba->ee_ctrl_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hba->ee_ctrl_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hba->ee_ctrl_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hba->ee_ctrl_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hba->ee_usr_mask | 1-u16max |
| 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->ufs_device_wlun->sdev_gendev.power.wakeirq->status | 0-4294967295 |
| CAPPED_DATA | 0 | &hba->ee_ctrl_mutex | 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 | |
| LOCK2 | 0 | &hba->ee_ctrl_mutex | |
| HALF_LOCKED2 | 0 | &hba->host_sem | |
| TYPE_LOCK | (struct ufs_hba)->ee_ctrl_mutex |
drivers/ufs/core/ufs-debugfs.c ufs_debugfs_exception_event() -> __ufshcd_write_ee_control()
| 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.ungate_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | hba->clk_scaling_lock.dep_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->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | hba->clk_scaling_lock.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | hba->clk_scaling_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | hba->debugfs_ee_rate_limit_ms | 1-u32max |
| PARAM_VALUE | 0 | hba->dev_cmd.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hba->dev_cmd.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hba->dev_cmd.lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hba->dev_cmd.lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hba->dev_cmd.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | hba->dev_cmd.lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | hba->dev_cmd.lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | hba->dev_cmd.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hba->ee_ctrl_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hba->ee_ctrl_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hba->ee_ctrl_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hba->ee_ctrl_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hba->ee_ctrl_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hba->ee_ctrl_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hba->ee_ctrl_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hba->host->pseudo_sdev->request_queue->dev->power.wakeirq->status | 0-4294967295 |
| CAPPED_DATA | 0 | &hba->ee_ctrl_mutex | 1 |
| DATA_SOURCE | 0 | hba | $0 |
| PARAM_COMPARE | 1 | ee_ctrl_mask | != $0->ee_ctrl_mask |
| LOCK2 | 0 | &hba->ee_ctrl_mutex | |
| TYPE_LOCK | (struct ufs_hba)->ee_ctrl_mutex |