Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->slot.handler_priv 4096-ptr_max
BUF_SIZE 0 host 3456-s32max
BUF_SIZE 0 host 3456-s32max
BUF_SIZE 0 host->ops 216
DATA_SOURCE 0 host r devm_mmc_alloc_host
BIT_INFO 0 host->caps 0x0,0xfffffeff
BIT_INFO 0 host->pm_caps 0x0,0xffffffff
RX_PATH
TASK_NOT_RUNNING

drivers/mmc/host/dw_mmc.c dw_mci_runtime_resume() -> mmc_host_can_gpio_cd()

Type Parameter Key Value

drivers/mmc/host/dw_mmc.c dw_mci_runtime_resume() -> mmc_host_can_gpio_cd()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->slot.handler_priv 4096-ptr_max

drivers/mmc/host/dw_mmc.c dw_mci_runtime_suspend() -> mmc_host_can_gpio_cd()

Type Parameter Key Value

drivers/mmc/host/tmio_mmc_core.c tmio_mmc_host_probe() -> mmc_host_can_gpio_cd()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->slot.handler_priv 4096-ptr_max
CAPPED_DATA 0 host->max_req_size 1
CAPPED_DATA 0 host->max_seg_size 1
BIT_INFO 0 host->caps 0x1,0xffffffff
RX_PATH
TASK_NOT_RUNNING

drivers/mmc/host/tmio_mmc_core.c tmio_mmc_host_probe() -> mmc_host_can_gpio_cd()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->slot.handler_priv 4096-ptr_max
CAPPED_DATA 0 host->max_req_size 1
CAPPED_DATA 0 host->max_seg_size 1
BIT_INFO 0 host->caps 0x1,0xffffffff
RX_PATH
TASK_NOT_RUNNING

drivers/mmc/host/sdhci.c sdhci_cd_irq_can_wakeup() -> mmc_host_can_gpio_cd()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/mmc/host/sdhci.c sdhci_set_card_detection() -> mmc_host_can_gpio_cd()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/mmc/host/sunplus-mmc.c spmmc_get_cd() -> mmc_host_can_gpio_cd()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
BUF_SIZE 0 host s32min-(-1),1-s32max
BUF_SIZE 0 host s32min-(-1),1-s32max
BUF_SIZE 0 host->ongoing_mrq (-1)-0,304
BUF_SIZE 0 host->ops (-1),216
BUF_SIZE 0 host->parent (-1),1616
DATA_SOURCE 0 host $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 host->f_max 0-u32max[c]
HOST_DATA 0 host->fail_mmc_request.stacktrace_depth 0-u64max
HOST_DATA 0 host->max_busy_timeout 0-2147483648[c]
HOST_DATA 0 host->uhs2_caps.dap 0-15
HOST_DATA 0 host->uhs2_caps.phy_rev 0-63
USER_DATA 0 host->actual_clock 1-s32max[c]
NO_OVERFLOW_SIMPLE 0 host->card->debugfs_root->d_fsdata
NO_OVERFLOW_SIMPLE 0 host->card->debugfs_root->d_fsdata->d_fsdata
NO_OVERFLOW_SIMPLE 0 host->card->dev.dma_range_map
NO_OVERFLOW_SIMPLE 0 host->card->dev.p
NO_OVERFLOW_SIMPLE 0 host->card->dev.p->deferred_probe_reason
NO_OVERFLOW_SIMPLE 0 host->card->dev.physical_location
NO_OVERFLOW_SIMPLE 0 host->card->host->ios.clock
NO_OVERFLOW_SIMPLE 0 host->class_dev.p->deferred_probe_reason
NO_OVERFLOW_SIMPLE 0 host->ios.clock
NO_OVERFLOW_SIMPLE 0 host->parent->p->deferred_probe_reason
NO_OVERFLOW_SIMPLE 0 host->supply.vqmmc2->rdev->mutex.ctx->deadlock_inject_countdown
NO_OVERFLOW_SIMPLE 0 host->supply.vqmmc2->rdev->mutex.ctx->deadlock_inject_interval
NO_OVERFLOW_SIMPLE 0 host->supply.vqmmc2->rdev->regmap->cache_word_size