Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/ufs/core/ufshcd.c __ufshcd_query_descriptor() -> ufshcd_exec_dev_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| PARAM_VALUE | 0 | hba->clk_gating.state | 1 |
| 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->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_cmd.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hba->dev_cmd.lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hba->dev_cmd.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hba->dev_cmd.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hba->dev_cmd.query.descriptor | 4096-ptr_max |
| 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->vps->hba_enable_delay_us | 1000 |
| PARAM_VALUE | 0 | hba->vps->wb_flush_threshold | 1-10 |
| PARAM_VALUE | 1 | cmd_type | 1 |
| BUF_SIZE | 0 | hba | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hba | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hba->dev_cmd.query.descriptor | 4,255 |
| 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 | |
| UNITS | 0 | hba | unit_byte |
| LOCK2 | 0 | &hba->clk_scaling_lock | |
| LOCK2 | 0 | &hba->dev_cmd.lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &hba->host_sem | |
| TYPE_LOCK | (struct ufs_dev_cmd)->lock | ||
| TYPE_LOCK | (struct ufs_hba)->clk_scaling_lock |
drivers/ufs/core/ufshcd.c ufshcd_query_attr() -> ufshcd_exec_dev_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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_cmd.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hba->dev_cmd.lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hba->dev_cmd.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hba->dev_cmd.lock.osq.tail.counter | 0-s32max |
| 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 |
| PARAM_VALUE | 1 | cmd_type | 1 |
| 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 | |||
| NO_OVERFLOW_SIMPLE | 0 | hba->dev_info.wb_buf_flush_enabled | |
| NO_OVERFLOW_SIMPLE | 0 | hba->dev_info.wb_enabled | |
| UNITS | 0 | hba | unit_byte |
| LOCK2 | 0 | &hba->clk_scaling_lock | |
| LOCK2 | 0 | &hba->dev_cmd.lock | |
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &hba->ee_ctrl_mutex | |
| HALF_LOCKED2 | 0 | &hba->host_sem | |
| TYPE_LOCK | (struct ufs_dev_cmd)->lock | ||
| TYPE_LOCK | (struct ufs_hba)->clk_scaling_lock |
drivers/ufs/core/ufshcd.c ufshcd_query_attr_qword() -> ufshcd_exec_dev_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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_cmd.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hba->dev_cmd.lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hba->dev_cmd.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hba->dev_cmd.lock.osq.tail.counter | 0-s32max |
| 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->wb_flush_threshold | 1-10 |
| PARAM_VALUE | 1 | cmd_type | 1 |
| 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 | |||
| UNITS | 0 | hba | unit_byte |
| LOCK2 | 0 | &hba->clk_scaling_lock | |
| LOCK2 | 0 | &hba->dev_cmd.lock | |
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &hba->host_sem | |
| TYPE_LOCK | (struct ufs_dev_cmd)->lock | ||
| TYPE_LOCK | (struct ufs_hba)->clk_scaling_lock |
drivers/ufs/core/ufshcd.c ufshcd_query_flag() -> ufshcd_exec_dev_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| 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_cmd.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hba->dev_cmd.lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hba->dev_cmd.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hba->dev_cmd.lock.osq.tail.counter | 0-s32max |
| 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 | 1 | cmd_type | 1 |
| BUF_SIZE | 0 | hba | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hba | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hba | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | hba->clk_scaling.is_enabled | 0 |
| NO_OVERFLOW_SIMPLE | 0 | hba->clk_scaling.is_enabled | |
| NO_OVERFLOW_SIMPLE | 0 | hba->dev_info.wb_buf_flush_enabled | |
| NO_OVERFLOW_SIMPLE | 0 | hba->dev_info.wb_enabled | |
| UNITS | 0 | hba | unit_byte |
| LOCK2 | 0 | &hba->clk_scaling_lock | |
| LOCK2 | 0 | &hba->dev_cmd.lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &hba->host_sem | |
| TYPE_LOCK | (struct ufs_dev_cmd)->lock | ||
| TYPE_LOCK | (struct ufs_hba)->clk_scaling_lock |
drivers/ufs/core/ufshcd.c ufshcd_verify_dev_init() -> ufshcd_exec_dev_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| PARAM_VALUE | 0 | hba->caps | 16-u32max |
| PARAM_VALUE | 0 | hba->clk_gating.state | 1 |
| 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->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | hba->dev_cmd.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hba->dev_cmd.lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hba->dev_cmd.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hba->dev_cmd.lock.osq.tail.counter | 0-s32max |
| 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->ufs_device_wlun->sdev_target->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | hba->ufshcd_state | 0,2-4 |
| PARAM_VALUE | 1 | cmd_type | 0 |
| 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 | |
| NO_OVERFLOW_SIMPLE | 0 | hba->devfreq->previous_freq | |
| NO_OVERFLOW_SIMPLE | 0 | hba->devfreq->resume_freq | |
| LOCK2 | 0 | &hba->clk_scaling_lock | |
| LOCK2 | 0 | &hba->dev_cmd.lock | |
| HALF_LOCKED2 | 0 | &hba->host_sem | |
| TYPE_LOCK | (struct ufs_dev_cmd)->lock | ||
| TYPE_LOCK | (struct ufs_hba)->clk_scaling_lock |