Defined in 1 files as a function:
Referenced in 6 files:
- drivers/ufs/core/ufs-mcq.c, line 296
- drivers/ufs/core/ufs_bsg.c, line 73
- drivers/ufs/core/ufshcd.c
- drivers/ufs/host/ufs-mediatek.c
- drivers/ufs/host/ufs-qcom.c, line 1295
- include/ufs/ufshcd.h, line 1442
Smatch caller information:
drivers/ufs/core/ufshcd.c ufshcd_get_intr_mask() -> ufshci_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 2 |
| PARAM_VALUE | 1 | minor | 0 |
drivers/ufs/core/ufshcd.c ufshcd_get_ufs_version() -> ufshci_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 1 |
| PARAM_VALUE | 1 | minor | 0,256 |
| BIT_INFO | 1 | minor | 0x0,0x100 |
| HOST_DATA | 1 | minor | 0,256 |
drivers/ufs/core/ufs-txeq.c ufshcd_is_tx_eq_supported() -> ufshci_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 5 |
| PARAM_VALUE | 1 | minor | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &hba->host_sem |
drivers/ufs/core/ufs-mcq.c ufshcd_mcq_get_tag() -> ufshci_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 4 |
| PARAM_VALUE | 1 | minor | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hwq->cq_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct ufs_hw_queue)->cq_lock |
drivers/ufs/core/ufs_bsg.c ufs_bsg_exec_advanced_rpmb_req() -> ufshci_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 4 |
| PARAM_VALUE | 1 | minor | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |
drivers/ufs/core/ufs-debugfs.c ufshcd_is_tx_eq_supported() -> ufshci_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | major | 5 |
| PARAM_VALUE | 1 | minor | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &s->lock |