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_init_query()

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->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 request 5297886694429810688
PARAM_VALUE 1 *request 0
PARAM_VALUE 2 response 3376497749949505536
PARAM_VALUE 2 *response 0
PARAM_VALUE 3 opcode 1
PARAM_VALUE 4 idn 0,2,4-5,7-9
PARAM_VALUE 6 selector 0
BUF_SIZE 0 hba s32min-(-1),1-s32max
BUF_SIZE 0 hba s32min-(-1),1-s32max
DATA_SOURCE 0 hba $0
DATA_SOURCE 3 opcode $1
DATA_SOURCE 4 idn $2
DATA_SOURCE 5 index $3
DATA_SOURCE 6 selector $4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 5 index 0-254[c]
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_init_query()

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 request 6356506761307676672
PARAM_VALUE 1 *request 0
PARAM_VALUE 2 response 8560532708147769344
PARAM_VALUE 2 *response 0
PARAM_VALUE 3 opcode 3-4
PARAM_VALUE 4 idn 0,2-15,20-26,28-31,53-57,60-62,72
BUF_SIZE 0 hba s32min-(-1),1-s32max
BUF_SIZE 0 hba s32min-(-1),1-s32max
DATA_SOURCE 0 hba $0
DATA_SOURCE 3 opcode $1
DATA_SOURCE 4 idn $2
DATA_SOURCE 5 index $3
DATA_SOURCE 6 selector $4
HARD_MAX 3 opcode 4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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_init_query()

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 request 4074727066722828288
PARAM_VALUE 1 *request 0
PARAM_VALUE 2 response 6719686528017747968
PARAM_VALUE 2 *response 0
PARAM_VALUE 3 opcode 3-4
PARAM_VALUE 4 idn 0,2-8,10-11,13-14,20-22,28-31,48,52,71
BUF_SIZE 0 hba s32min-(-1),1-s32max
BUF_SIZE 0 hba s32min-(-1),1-s32max
DATA_SOURCE 0 hba $0
DATA_SOURCE 3 opcode $1
DATA_SOURCE 4 idn $2
DATA_SOURCE 5 index $3
DATA_SOURCE 6 selector $4
HARD_MAX 3 opcode 4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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_init_query()

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 request 4885309835820224512
PARAM_VALUE 1 *request 0
PARAM_VALUE 2 response 7232805466881224704
PARAM_VALUE 2 *response 0
PARAM_VALUE 3 opcode 5-7
PARAM_VALUE 4 idn 1-5,8-9,11,14-16
PARAM_VALUE 6 selector 0
BUF_SIZE 0 hba s32min-(-1),1-s32max
BUF_SIZE 0 hba s32min-(-1),1-s32max
DATA_SOURCE 0 hba $0
DATA_SOURCE 3 opcode $1
DATA_SOURCE 4 idn $2
DATA_SOURCE 5 index $3
HARD_MAX 3 opcode 7
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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