Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mmc/host/sdhci.c sdhci_external_dma_setup() -> sdhci_pre_dma_transfer()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->cmd 4096-ptr_max
PARAM_VALUE 0 host->cmd->data 1-u64max
PARAM_VALUE 0 host->cmd->error 0
PARAM_VALUE 0 host->cmd->mrq 4096-ptr_max
PARAM_VALUE 0 host->data->flags 0,256,512,4352,4608,8448,8704,12544,12800
PARAM_VALUE 0 host->data->sg_count 0-s32max
PARAM_VALUE 0 host->data_cmd 4096-ptr_max
PARAM_VALUE 0 host->data_cmd->data 1-u64max
PARAM_VALUE 0 host->data_cmd->error 0
PARAM_VALUE 0 host->data_cmd->mrq 4096-ptr_max
PARAM_VALUE 0 host->ier 0,1048576-u32max
PARAM_VALUE 0 host->mapbase 1-u64max
PARAM_VALUE 0 host->mmc->parent->iommu->attach_deferred 0-1
PARAM_VALUE 0 host->ops 4096-ptr_max
PARAM_VALUE 0 host->ops->adma_workaround 0,2908329563369152512
PARAM_VALUE 0 host->ops->copy_to_bounce_buffer 0
PARAM_VALUE 0 host->ops->enable_dma 0,4096-ptr_max
PARAM_VALUE 0 host->ops->hw_reset 0,4096-ptr_max
PARAM_VALUE 0 host->ops->irq 0,4096-ptr_max
PARAM_VALUE 0 host->ops->platform_execute_tuning 0,4096-ptr_max
PARAM_VALUE 0 host->ops->read_b 0,4096-ptr_max
PARAM_VALUE 0 host->ops->read_l 0,4096-ptr_max
PARAM_VALUE 0 host->ops->read_w 0,4096-ptr_max
PARAM_VALUE 0 host->ops->set_timeout 0,4096-ptr_max
PARAM_VALUE 0 host->ops->write_b 0,4096-ptr_max
PARAM_VALUE 0 host->ops->write_l 0,4096-ptr_max
PARAM_VALUE 0 host->ops->write_w 0,4096-ptr_max
PARAM_VALUE 0 host->use_external_dma 1
PARAM_VALUE 0 *host->cmd->resp 0-4294967295
PARAM_VALUE 0 *host->mmc->err_stats 0-4294967295
PARAM_VALUE 1 data 4096-ptr_max
PARAM_VALUE 1 data->sg_len 0-s32max
PARAM_VALUE 2 cookie 2
BUF_SIZE 0 host->cmd (-1)-0,72
BUF_SIZE 0 host->data_cmd (-1)-0,72
CAPPED_DATA 1 data->sg_len 1
DATA_SOURCE 0 host $0
BIT_INFO 0 host->quirks2 0x0,0xffffffff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 host->ier 0,1048576-u32max[c]
HOST_DATA 0 host->mmc->f_max 0-u32max[c]
HOST_DATA 0 host->mmc->max_busy_timeout 0-2147483648[c]
HOST_DATA 0 host->mmc->uhs2_caps.dap 0-15
HOST_DATA 0 host->mmc->uhs2_caps.phy_rev 0-63
HOST_DATA 0 host->sg_miter.consumed 0-u32max[c]
HOST_DATA 0 host->thread_isr 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 host->cmd->arg
NO_OVERFLOW_SIMPLE 0 host->data_cmd->arg
NO_OVERFLOW_SIMPLE 0 host->sg_count
LOCK2 0 &host->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct sdhci_host)->lock

drivers/mmc/host/sdhci.c sdhci_pre_req() -> sdhci_pre_dma_transfer()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->bounce_buffer 0
PARAM_VALUE 1 data 4096-ptr_max
PARAM_VALUE 1 data->host_cookie 0
PARAM_VALUE 2 cookie 1
BIT_INFO 0 host->flags 0x4,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &mmc_test_lock

drivers/mmc/host/sdhci.c sdhci_prepare_dma() -> sdhci_pre_dma_transfer()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->cmd 4096-ptr_max
PARAM_VALUE 0 host->cmd->error 0
PARAM_VALUE 0 host->data 4096-ptr_max
PARAM_VALUE 0 host->data->blocks 0-u16max
PARAM_VALUE 0 host->data->bytes_xfered 0
PARAM_VALUE 0 host->data->flags 0,256,512,4352,4608,8448,8704,12544,12800
PARAM_VALUE 0 host->data->sg_count 0-s32max
PARAM_VALUE 0 host->data_early 0
PARAM_VALUE 0 host->mmc 4096-ptr_max
PARAM_VALUE 0 host->ops 4096-ptr_max
PARAM_VALUE 0 host->ops->adma_workaround 0,2908329563369152512
PARAM_VALUE 0 host->ops->copy_to_bounce_buffer 0
PARAM_VALUE 0 host->ops->enable_dma 0,4096-ptr_max
PARAM_VALUE 0 host->ops->hw_reset 0,4096-ptr_max
PARAM_VALUE 0 host->ops->irq 0,4096-ptr_max
PARAM_VALUE 0 host->ops->platform_execute_tuning 0,4096-ptr_max
PARAM_VALUE 0 host->ops->read_b 0,4096-ptr_max
PARAM_VALUE 0 host->ops->read_l 0,4096-ptr_max
PARAM_VALUE 0 host->ops->read_w 0,4096-ptr_max
PARAM_VALUE 0 host->ops->set_timeout 0,4096-ptr_max
PARAM_VALUE 0 host->ops->write_b 0,4096-ptr_max
PARAM_VALUE 0 host->ops->write_l 0,4096-ptr_max
PARAM_VALUE 0 host->ops->write_w 0,4096-ptr_max
PARAM_VALUE 0 *host->cmd->resp 0-4294967295
PARAM_VALUE 0 *host->mmc->err_stats 0-4294967295
PARAM_VALUE 1 data 4096-ptr_max
PARAM_VALUE 1 data->blocks 0-u16max
PARAM_VALUE 1 data->flags 0,256,512,4352,4608,8448,8704,12544,12800
PARAM_VALUE 2 cookie 2
BUF_SIZE 0 host->cmd (-1)-0,72
BUF_SIZE 0 host->data_cmd (-1)-0,72
CAPPED_DATA 1 data->blksz 1
DATA_SOURCE 0 host $0
DATA_SOURCE 1 data $1
BIT_INFO 0 host->flags 0x4,0x7fffffff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 host->ier 0-u32max[c]
HOST_DATA 0 host->mmc->f_max 0-u32max[c]
HOST_DATA 0 host->mmc->max_busy_timeout 0-2147483648[c]
HOST_DATA 0 host->mmc->uhs2_caps.dap 0-15
HOST_DATA 0 host->mmc->uhs2_caps.phy_rev 0-63
HOST_DATA 0 host->sg_miter.consumed 0-u32max[c]
HOST_DATA 0 host->thread_isr 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 host->clock
NO_OVERFLOW_SIMPLE 0 host->cmd->arg
NO_OVERFLOW_SIMPLE 0 host->data_cmd->arg
NO_OVERFLOW_SIMPLE 0 host->sg_count
LOCK2 0 &host->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct sdhci_host)->lock