Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mmc/host/mtk-sd.c msdc_drv_probe() -> msdc_gate_clock()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->base 4096-ptr_max
PARAM_VALUE 0 host->bus_clk 0,4096-ptr_max
PARAM_VALUE 0 host->bus_clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 host->bus_clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 host->bus_clk->core->dev->power.request 0-4
PARAM_VALUE 0 host->bus_clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 host->bus_clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 host->bus_clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 host->bus_clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 host->bus_clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 host->bus_clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 host->bus_clk->core->enable_count 0-4294967295
PARAM_VALUE 0 host->bus_clk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 host->bus_clk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 host->bus_clk->core->parent->dev->power.request 0-4294967295
PARAM_VALUE 0 host->bus_clk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 host->bus_clk->core->parent->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 host->bus_clk->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 host->bus_clk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 host->bus_clk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 host->bus_clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 host->bus_clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 host->bus_clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 host->bus_clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 host->bus_clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 host->bus_clk->core->protect_count 0-4294967295
PARAM_VALUE 0 host->cq_host->dcmd_slot 0,31
PARAM_VALUE 0 host->cq_host->num_slots 0,32
PARAM_VALUE 0 host->cq_host->slot->flags 0-4294967295
PARAM_VALUE 0 host->crypto_clk 0,4096-ptr_max
PARAM_VALUE 0 host->crypto_clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 host->crypto_clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 host->crypto_clk->core->dev->power.request 0-4
PARAM_VALUE 0 host->crypto_clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 host->crypto_clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 host->crypto_clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 host->crypto_clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 host->crypto_clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 host->crypto_clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 host->crypto_clk->core->enable_count 0-4294967295
PARAM_VALUE 0 host->crypto_clk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 host->crypto_clk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 host->crypto_clk->core->parent->dev->power.request 0-4294967295
PARAM_VALUE 0 host->crypto_clk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 host->crypto_clk->core->parent->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 host->crypto_clk->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 host->crypto_clk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 host->crypto_clk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 host->crypto_clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 host->crypto_clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 host->crypto_clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 host->crypto_clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 host->crypto_clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 host->crypto_clk->core->protect_count 0-4294967295
PARAM_VALUE 0 host->dev 4096-ptr_max
PARAM_VALUE 0 host->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 host->dev->of_node 0,4096-ptr_max
PARAM_VALUE 0 host->dev->power.autosuspend_delay 50
PARAM_VALUE 0 host->dev->power.disable_depth 1-7
PARAM_VALUE 0 host->dev->power.last_status s32min-0,2,4-s32max
PARAM_VALUE 0 host->dev->power.qos 0,4096-u64max
PARAM_VALUE 0 host->dev->power.request_pending 0
PARAM_VALUE 0 host->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 host->dev->power.runtime_status 0,2
PARAM_VALUE 0 host->dev->power.timer_expires 0
PARAM_VALUE 0 host->dev->power.usage_count.counter 0-s32max
PARAM_VALUE 0 host->dev->power.use_autosuspend 1
PARAM_VALUE 0 host->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 host->dev_comp 4096-ptr_max
PARAM_VALUE 0 host->dma.bd 4096-ptr_max
PARAM_VALUE 0 host->dma.bd->bd_data_len 0
PARAM_VALUE 0 host->dma.bd->bd_info 0
PARAM_VALUE 0 host->dma.bd->next 0
PARAM_VALUE 0 host->dma.bd->ptr 0
PARAM_VALUE 0 host->dma.gpd 4096-ptr_max
PARAM_VALUE 0 host->dma.gpd->arg 0
PARAM_VALUE 0 host->dma.gpd->blknum 0
PARAM_VALUE 0 host->dma.gpd->cmd 0
PARAM_VALUE 0 host->dma.gpd->gpd_data_len 0
PARAM_VALUE 0 host->dma_mask u32max,68719476735
PARAM_VALUE 0 host->h_clk 0,4096-ptr_max
PARAM_VALUE 0 host->h_clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 host->h_clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 host->h_clk->core->dev->power.request 0-4294967295
PARAM_VALUE 0 host->h_clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 host->h_clk->core->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 host->h_clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 host->h_clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 host->h_clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 host->h_clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 host->h_clk->core->enable_count 0-4294967295
PARAM_VALUE 0 host->h_clk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 host->h_clk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 host->h_clk->core->parent->dev->power.request 0-4294967295
PARAM_VALUE 0 host->h_clk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 host->h_clk->core->parent->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 host->h_clk->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 host->h_clk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 host->h_clk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 host->h_clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 host->h_clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 host->h_clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 host->h_clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 host->h_clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 host->h_clk->core->protect_count 0-4294967295
PARAM_VALUE 0 host->irq 1-s32max
PARAM_VALUE 0 host->pinctrl 4096-ptr_max
PARAM_VALUE 0 host->pins_default 4096-ptr_max
PARAM_VALUE 0 host->pins_uhs 4096-ptr_max
PARAM_VALUE 0 host->reset 0,4096-ptr_max
PARAM_VALUE 0 host->reset->array 0-1
PARAM_VALUE 0 host->src_clk 0,4096-ptr_max
PARAM_VALUE 0 host->src_clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 host->src_clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 host->src_clk->core->dev->power.request 0-4
PARAM_VALUE 0 host->src_clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 host->src_clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 host->src_clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 host->src_clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 host->src_clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 host->src_clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 host->src_clk->core->enable_count 0-4294967295
PARAM_VALUE 0 host->src_clk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 host->src_clk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 host->src_clk->core->parent->dev->power.request 0-4294967295
PARAM_VALUE 0 host->src_clk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 host->src_clk->core->parent->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 host->src_clk->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 host->src_clk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 host->src_clk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 host->src_clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 host->src_clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 host->src_clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 host->src_clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 host->src_clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 host->src_clk->core->protect_count 0-4294967295
PARAM_VALUE 0 host->src_clk_cg 0,4096-ptr_max
PARAM_VALUE 0 host->src_clk_cg->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 host->src_clk_cg->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 host->src_clk_cg->core->dev->power.request 0-4
PARAM_VALUE 0 host->src_clk_cg->core->dev->power.request_pending 0-1
PARAM_VALUE 0 host->src_clk_cg->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 host->src_clk_cg->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 host->src_clk_cg->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 host->src_clk_cg->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 host->src_clk_cg->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 host->src_clk_cg->core->enable_count 0-4294967295
PARAM_VALUE 0 host->src_clk_cg->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 host->src_clk_cg->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 host->src_clk_cg->core->parent->dev->power.request 0-4294967295
PARAM_VALUE 0 host->src_clk_cg->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 host->src_clk_cg->core->parent->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 host->src_clk_cg->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 host->src_clk_cg->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 host->src_clk_cg->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 host->src_clk_cg->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 host->src_clk_cg->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 host->src_clk_cg->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 host->src_clk_cg->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 host->src_clk_cg->core->prepare_count 0-4294967295
PARAM_VALUE 0 host->src_clk_cg->core->protect_count 0-4294967295
PARAM_VALUE 0 host->sys_clk_cg 0,4096-ptr_max
PARAM_VALUE 0 host->timeout_clks 3145728
BUF_SIZE 0 host->cq_host 416,u64max
BUF_SIZE 0 host->cq_host->ops (-1)-0,80
BUF_SIZE 0 host->crypto_clk (-1),1-s32max
BUF_SIZE 0 host->dev 1616
BUF_SIZE 0 host->dma.bd 16384
BUF_SIZE 0 host->dma.gpd 56
BUF_SIZE 0 host->eint_irq s32min-(-1),1-s32max
BUF_SIZE 0 host->irq s32min-(-1),1-s32max
BUF_SIZE 0 host->pinctrl (-1),72
BUF_SIZE 0 host->pins_default (-1),40
BUF_SIZE 0 host->pins_eint (-1)-0,40
BUF_SIZE 0 host->pins_uhs (-1),40
BUF_SIZE 0 host->reset (-1),8,96,280,1296
FUZZY_MAX 0 host->dma_mask 68719476735
BIT_INFO 0 host->dma_mask 0xffffffff,0xffffffffffffffff
HARD_MAX 0 host->dma_mask 68719476735
MEM_ZERO 0 host->dma.bd
MEM_ZERO 0 host->dma.gpd
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 host->cq_host->crypto_capabilities.reg_val 0-u32max
HOST_DATA 0 host->def_tune_para s32min-s32max
HOST_DATA 0 host->def_tune_para->emmc_top_cmd 0-u32max
HOST_DATA 0 host->def_tune_para->emmc_top_control 0-u32max
HOST_DATA 0 host->def_tune_para->iocon 0-u32max
HOST_DATA 0 host->def_tune_para->pad_cmd_tune 0-u32max
HOST_DATA 0 host->def_tune_para->pad_tune 0-u32max
HOST_DATA 0 host->saved_tune_para s32min-s32max
HOST_DATA 0 host->saved_tune_para->emmc_top_cmd 0-u32max
HOST_DATA 0 host->saved_tune_para->emmc_top_control 0-u32max
HOST_DATA 0 host->saved_tune_para->iocon 0-u32max
HOST_DATA 0 host->saved_tune_para->pad_cmd_tune 0-u32max
HOST_DATA 0 host->saved_tune_para->pad_tune 0-u32max
NO_OVERFLOW_SIMPLE 0 host->cq_host->crypto_capabilities.num_crypto_cap
NO_OVERFLOW_SIMPLE 0 host->cq_host->num_slots

drivers/mmc/host/mtk-sd.c msdc_drv_remove() -> msdc_gate_clock()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->dev 4096-ptr_max
PARAM_VALUE 0 host->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 host->dev->class 0,4096-ptr_max
PARAM_VALUE 0 host->dev->power.request 0-4
PARAM_VALUE 0 host->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 host->dev->power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 host->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 host->dev->type 0,4096-ptr_max
PARAM_VALUE 0 host->lock.rlock.dep_map->name 0-255
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex

drivers/mmc/host/mtk-sd.c msdc_runtime_suspend() -> msdc_gate_clock()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->dev_comp 4096-ptr_max
NOCHECK_CALL
HOST_DATA 0 host->save_para s64min-s64max
HOST_DATA 0 host->save_para->emmc50_cfg0 0-u32max
HOST_DATA 0 host->save_para->emmc50_cfg3 0-u32max
HOST_DATA 0 host->save_para->emmc50_pad_ds_tune 0-u32max
HOST_DATA 0 host->save_para->emmc_top_cmd 0-u32max
HOST_DATA 0 host->save_para->emmc_top_control 0-u32max
HOST_DATA 0 host->save_para->iocon 0-u32max
HOST_DATA 0 host->save_para->loop_test_control 0-u32max
HOST_DATA 0 host->save_para->msdc_cfg 0-u32max
HOST_DATA 0 host->save_para->pad_cmd_tune 0-u32max
HOST_DATA 0 host->save_para->pad_ds_tune 0-u32max
HOST_DATA 0 host->save_para->pad_tune 0-u32max
HOST_DATA 0 host->save_para->patch_bit0 0-u32max
HOST_DATA 0 host->save_para->patch_bit1 0-u32max
HOST_DATA 0 host->save_para->patch_bit2 0-u32max
HOST_DATA 0 host->save_para->sdc_cfg 0-u32max
HOST_DATA 0 host->save_para->sdc_fifo_cfg 0-u32max