Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/ufs/core/ufshcd.c ufshcd_scale_clks() -> ufshcd_set_clk_freq()
| 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 | 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->ufs_device_wlun->sdev_gendev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | hba->use_pm_opp | 0 |
| PARAM_VALUE | 0 | hba->vops | 0,4096-ptr_max |
| BUF_SIZE | 0 | hba | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hba | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hba | $0 |
| DATA_SOURCE | 1 | scale_up | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | scale_up | 0-1 |
| USER_DATA | 0 | hba->clk_scaling.is_enabled | 0 |
| USER_DATA | 0 | hba->pm_qos_req.node.prio | 0-s32max |
| UNITS | 0 | hba | unit_byte |
| HALF_LOCKED2 | 0 | &hba->clk_scaling_lock | |
| HALF_LOCKED2 | 0 | &hba->host->scan_mutex | |
| HALF_LOCKED2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | 0 | &hba->wb_mutex |
drivers/ufs/core/ufshcd.c ufshcd_scale_clks() -> ufshcd_set_clk_freq()
| 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 | 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->ufs_device_wlun->sdev_gendev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | hba->use_pm_opp | 0 |
| PARAM_VALUE | 0 | hba->vops | 4096-ptr_max |
| PARAM_VALUE | 0 | hba->vops->clk_scale_notify | 1-u64max |
| BUF_SIZE | 0 | hba | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hba | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hba | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | scale_up | 0-1 |
| USER_DATA | 0 | hba->clk_scaling.is_enabled | 0 |
| USER_DATA | 0 | hba->pm_qos_req.node.prio | 0-s32max |
| UNITS | 0 | hba | unit_byte |
| HALF_LOCKED2 | 0 | &hba->clk_scaling_lock | |
| HALF_LOCKED2 | 0 | &hba->host->scan_mutex | |
| HALF_LOCKED2 | 0 | &hba->host_sem | |
| HALF_LOCKED2 | 0 | &hba->wb_mutex |