Defined in 2 files as a prototype:
- drivers/ufs/core/ufshcd-priv.h, line 369 (as a prototype)
- include/ufs/ufshcd.h, line 1681 (as a prototype)
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/ufs/core/ufshcd.c ufshcd_update_ee_drv_mask() -> ufshcd_update_ee_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| PARAM_VALUE | 0 | hba->clk_gating.clk_gating_workq->flags | 0-4294967295 |
| 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->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->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | hba->dev->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | hba->dev->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | hba->dev_cmd.lock.first_waiter->list.prev->next | 5159360019465732096 |
| 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->host->dma_dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | hba->host->pseudo_sdev->request_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | hba->ufs_device_wlun->request_queue->dev->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 | 1 | mask | 4096-ptr_max |
| PARAM_VALUE | 2 | other_mask | 4096-ptr_max |
| PARAM_VALUE | 3 | set | 0,4,8,16,24,128,512 |
| PARAM_VALUE | 4 | clr | 0,4 |
| DATA_SOURCE | 0 | hba | $0 |
| DATA_SOURCE | 3 | set | $1 |
| DATA_SOURCE | 4 | clr | $2 |
| BIT_INFO | 3 | set | 0x0,0x29c |
| HARD_MAX | 4 | clr | 4 |
| 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/ufs-hwmon.c ufshcd_update_ee_usr_mask() -> ufshcd_update_ee_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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->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.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | mask | 4096-ptr_max |
| PARAM_VALUE | 2 | other_mask | 4096-ptr_max |
| PARAM_VALUE | 3 | set | 0,24 |
| PARAM_VALUE | 4 | clr | 0,24 |
| DATA_SOURCE | 0 | hba | $0 |
| DATA_SOURCE | 3 | set | $1 |
| DATA_SOURCE | 4 | clr | $2 |
| HARD_MAX | 3 | set | 24 |
| HARD_MAX | 4 | clr | 24 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| LOCK2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |
drivers/ufs/core/ufs-debugfs.c ufshcd_update_ee_usr_mask() -> ufshcd_update_ee_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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->shutting_down | 0 |
| 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.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | mask | 4096-ptr_max |
| PARAM_VALUE | 2 | other_mask | 4096-ptr_max |
| PARAM_VALUE | 3 | set | 0-65534 |
| PARAM_VALUE | 4 | clr | u16max |
| BUF_SIZE | 0 | hba | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hba | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | hba | $0 |
| DATA_SOURCE | 3 | set | $1 |
| DATA_SOURCE | 4 | clr | $2 |
| USER_DATA | 3 | set | 0-65534 |
| LOCK2 | &attr->mutex | ||
| LOCK2 | 0 | &hba->host_sem | |
| TYPE_LOCK | (struct simple_attr)->mutex | ||
| TYPE_LOCK | (struct ufs_hba)->host_sem |