Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/ufs/core/ufshcd.c ufshcd_err_handling_prepare() -> ufshcd_enable_irq()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 0 hba->dev 4096-ptr_max
PARAM_VALUE 0 hba->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 hba->dev->class 0,4096-ptr_max
PARAM_VALUE 0 hba->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 hba->dev->power.request 0-4
PARAM_VALUE 0 hba->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 hba->dev->power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 hba->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hba->dev->type 0,4096-ptr_max
PARAM_VALUE 0 hba->host 4096-ptr_max
PARAM_VALUE 0 hba->host->host_lock 4096-ptr_max
PARAM_VALUE 0 hba->host->host_lock->rlock.dep_map->name 0-255
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->is_powered 1
PARAM_VALUE 0 hba->pm_op_in_progress 0
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 0 hba->ufshcd_state 0-3,5-u32max
PARAM_VALUE 0 hba->vreg_info.vdd_hba->always_on 0
PARAM_VALUE 0 hba->vreg_info.vdd_hba->max_uA 0-s32max
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->ena_gpio_state 0-1
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->ena_pin->enable_count 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->notifier.head->priority s32min-s32max
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->ref_cnt s32min-s32max
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->reg_data->lock->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->reg_data->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->reg_data->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->reg_data->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->regmap->async 0-1
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->regmap->cache_dirty 0-1
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->supply->enable_count 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->use_count 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->uA_load s32min-s32max
DATA_SOURCE 0 hba $0
NOCHECK_CALL
LOCK2 0 &hba->host_sem
TYPE_LOCK (struct ufs_hba)->host_sem

drivers/ufs/core/ufshcd.c ufshcd_hba_stop() -> ufshcd_enable_irq()

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->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->is_irq_enabled 0
PARAM_VALUE 0 hba->ufs_device_wlun->request_queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hba->vops 0,4096-ptr_max
PARAM_VALUE 0 hba->vps->wb_flush_threshold 1-10
DATA_SOURCE 0 hba $0
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
HALF_LOCKED2 0 &hba->host_sem

drivers/ufs/core/ufshcd.c ufshcd_resume() -> ufshcd_enable_irq()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 0 hba->vreg_info.vcc->always_on 0
PARAM_VALUE 0 hba->vreg_info.vcc->max_uA 0-s32max
PARAM_VALUE 0 hba->vreg_info.vcc->reg->enable_count 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vcc->reg->rdev->ena_gpio_state 0-1
PARAM_VALUE 0 hba->vreg_info.vcc->reg->rdev->ena_pin->enable_count 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vcc->reg->rdev->mutex->base.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 hba->vreg_info.vcc->reg->rdev->notifier.head->priority s32min-s32max
PARAM_VALUE 0 hba->vreg_info.vcc->reg->rdev->ref_cnt s32min-s32max
PARAM_VALUE 0 hba->vreg_info.vcc->reg->rdev->reg_data->lock->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 hba->vreg_info.vcc->reg->rdev->reg_data->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hba->vreg_info.vcc->reg->rdev->reg_data->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hba->vreg_info.vcc->reg->rdev->reg_data->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hba->vreg_info.vcc->reg->rdev->reg_data->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vcc->reg->rdev->reg_data->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vcc->reg->rdev->regmap->async 0-1
PARAM_VALUE 0 hba->vreg_info.vcc->reg->rdev->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vcc->reg->rdev->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vcc->reg->rdev->regmap->cache_dirty 0-1
PARAM_VALUE 0 hba->vreg_info.vcc->reg->rdev->supply->enable_count 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vcc->reg->rdev->use_count 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vcc->reg->uA_load s32min-s32max
PARAM_VALUE 0 hba->vreg_info.vccq->always_on 0
PARAM_VALUE 0 hba->vreg_info.vccq->max_uA 0-s32max
PARAM_VALUE 0 hba->vreg_info.vccq->reg->enable_count 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vccq->reg->rdev->ena_gpio_state 0-1
PARAM_VALUE 0 hba->vreg_info.vccq->reg->rdev->ena_pin->enable_count 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vccq->reg->rdev->notifier.head->priority s32min-s32max
PARAM_VALUE 0 hba->vreg_info.vccq->reg->rdev->ref_cnt s32min-s32max
PARAM_VALUE 0 hba->vreg_info.vccq->reg->rdev->reg_data->lock->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 hba->vreg_info.vccq->reg->rdev->reg_data->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hba->vreg_info.vccq->reg->rdev->reg_data->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hba->vreg_info.vccq->reg->rdev->reg_data->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hba->vreg_info.vccq->reg->rdev->reg_data->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vccq->reg->rdev->reg_data->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vccq->reg->rdev->regmap->async 0-1
PARAM_VALUE 0 hba->vreg_info.vccq->reg->rdev->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vccq->reg->rdev->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vccq->reg->rdev->regmap->cache_dirty 0-1
PARAM_VALUE 0 hba->vreg_info.vccq->reg->rdev->supply->enable_count 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vccq->reg->rdev->use_count 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vccq->reg->uA_load s32min-s32max
PARAM_VALUE 0 hba->vreg_info.vccq2->always_on 0
PARAM_VALUE 0 hba->vreg_info.vccq2->max_uA 0-s32max
PARAM_VALUE 0 hba->vreg_info.vccq2->reg->enable_count 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vccq2->reg->rdev->ena_gpio_state 0-1
PARAM_VALUE 0 hba->vreg_info.vccq2->reg->rdev->ena_pin->enable_count 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vccq2->reg->rdev->notifier.head->priority s32min-s32max
PARAM_VALUE 0 hba->vreg_info.vccq2->reg->rdev->ref_cnt s32min-s32max
PARAM_VALUE 0 hba->vreg_info.vccq2->reg->rdev->reg_data->lock->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 hba->vreg_info.vccq2->reg->rdev->reg_data->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hba->vreg_info.vccq2->reg->rdev->reg_data->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hba->vreg_info.vccq2->reg->rdev->reg_data->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hba->vreg_info.vccq2->reg->rdev->reg_data->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vccq2->reg->rdev->reg_data->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vccq2->reg->rdev->regmap->async 0-1
PARAM_VALUE 0 hba->vreg_info.vccq2->reg->rdev->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vccq2->reg->rdev->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vccq2->reg->rdev->regmap->cache_dirty 0-1
PARAM_VALUE 0 hba->vreg_info.vccq2->reg->rdev->supply->enable_count 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vccq2->reg->rdev->use_count 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vccq2->reg->uA_load s32min-s32max
PARAM_VALUE 0 hba->vreg_info.vdd_hba->always_on 0
PARAM_VALUE 0 hba->vreg_info.vdd_hba->max_uA 0-s32max
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->ena_gpio_state 0-1
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->ena_pin->enable_count 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->notifier.head->priority s32min-s32max
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->ref_cnt s32min-s32max
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->reg_data->lock->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->reg_data->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->reg_data->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->reg_data->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->regmap->async 0-1
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->regmap->cache_dirty 0-1
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->supply->enable_count 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->use_count 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->uA_load s32min-s32max
PARAM_VALUE 0 *hba->vreg_info->vcc->reg->rdev->reg_data->mc13xxx->regmap->cache->data 0-4294967295
PARAM_VALUE 0 *hba->vreg_info->vccq->reg->rdev->reg_data->mc13xxx->regmap->cache->data 0-4294967295
PARAM_VALUE 0 *hba->vreg_info->vccq2->reg->rdev->reg_data->mc13xxx->regmap->cache->data 0-4294967295
PARAM_VALUE 0 *hba->vreg_info.vccq->reg->rdev->reg_data->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *hba->vreg_info.vccq2->reg->rdev->reg_data->regmap->work_buf (-4611686018427387904)-4611686018427387903
BUF_SIZE 0 hba s32min-(-2),1-s32max
BUF_SIZE 0 hba s32min-(-2),1-s32max
DATA_SOURCE 0 hba $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 hba unit_byte

drivers/ufs/core/ufshcd.c ufshcd_suspend() -> ufshcd_enable_irq()

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->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
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
UNITS 0 hba unit_byte
HALF_LOCKED2 &dev->mutex

drivers/ufs/core/ufshcd.c ufshcd_ungate_work() -> ufshcd_enable_irq()

Type Parameter Key Value
PARAM_VALUE 0 hba 4096-ptr_max
PARAM_VALUE 0 hba->clk_gating.gate_work.work.lockdep_map->name 0-255
PARAM_VALUE 0 hba->vreg_info.vdd_hba->enabled 1
PARAM_VALUE 0 hba->vreg_info.vdd_hba->max_uA 0-s32max
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->ena_gpio_state 1
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->ena_pin->enable_count 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->notifier.head->priority s32min-s32max
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->ref_cnt s32min-s32max
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->reg_data->lock->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->reg_data->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->reg_data->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->reg_data->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->reg_data->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->regmap->async 0-1
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->regmap->cache_dirty 0-1
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->supply->enable_count 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->rdev->use_count 0-4294967295
PARAM_VALUE 0 hba->vreg_info.vdd_hba->reg->uA_load s32min-s32max
NOCHECK_CALL
HALF_LOCKED2 &pool->lock