Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mmc/host/mtk-sd.c msdc_ack_sdio_irq() -> __msdc_enable_sdio_irq()

Type Parameter Key Value
PARAM_VALUE 1 enb 1
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &host->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct msdc_host)->lock

drivers/mmc/host/mtk-sd.c msdc_enable_sdio_irq() -> __msdc_enable_sdio_irq()

Type Parameter Key Value
PARAM_VALUE 1 enb 0-1
DATA_SOURCE 1 enb $1
HARD_MAX 1 enb 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &host->lock
HALF_LOCKED2 &vub300->irq_mutex
TYPE_LOCK (struct msdc_host)->lock

drivers/mmc/host/mtk-sd.c msdc_irq() -> __msdc_enable_sdio_irq()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 enb 0
DATA_SOURCE 0 host $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &host->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags
TYPE_LOCK (struct msdc_host)->lock

drivers/mmc/host/mtk-sd.c msdc_recheck_sdio_irq() -> __msdc_enable_sdio_irq()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->dev_comp 4096-ptr_max
PARAM_VALUE 0 host->dev_comp->recheck_sdio_irq 1
PARAM_VALUE 1 enb 0
DATA_SOURCE 0 host $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 host->bus_clk->core->parent->req_rate
NO_OVERFLOW_SIMPLE 0 host->cmd->arg
NO_OVERFLOW_SIMPLE 0 host->crypto_clk->core->parent->req_rate
NO_OVERFLOW_SIMPLE 0 host->data->sg_count
NO_OVERFLOW_SIMPLE 0 host->h_clk->core->parent->req_rate
NO_OVERFLOW_SIMPLE 0 host->src_clk->core->parent->req_rate
NO_OVERFLOW_SIMPLE 0 host->src_clk_cg->core->parent->req_rate
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 &host->lock

drivers/mmc/host/mtk-sd.c msdc_restore_reg() -> __msdc_enable_sdio_irq()

Type Parameter Key Value
PARAM_VALUE 0 host 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->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_comp 4096-ptr_max
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-4
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-(-17),(-15)-(-14),(-12),(-10)-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->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 1 enb 1
DATA_SOURCE 0 host $0
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->dev_comp 4096-ptr_max
PARAM_VALUE 1 enb 0
CAPPED_DATA 0 host->pins_eint 1
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