Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mmc/host/sdhci.c __sdhci_finish_data() -> sdhci_send_command()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->cmd 0
PARAM_VALUE 0 host->data 0
PARAM_VALUE 0 host->data_cmd 0
PARAM_VALUE 0 host->ops 4096-ptr_max
PARAM_VALUE 0 host->ops->adma_workaround 0,2908329563369152512
PARAM_VALUE 0 host->ops->irq 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->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 cmd 1-u64max
DATA_SOURCE 0 host $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 host->ier 0-u32max[c]
HOST_DATA 0 host->mmc->f_max 0[c]
HOST_DATA 0 host->mmc->max_busy_timeout 0[c]
HOST_DATA 0 host->sg_miter.consumed 0-u32max[c]
HOST_DATA 0 host->thread_isr 0-u32max[c]
LOCK2 0 &host->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct sdhci_host)->lock

drivers/mmc/host/sdhci.c sdhci_finish_command() -> sdhci_send_command()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->cmd 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->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 host->ops 4096-ptr_max
PARAM_VALUE 0 host->ops->irq 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_l 0,4096-ptr_max
PARAM_VALUE 0 host->ops->write_w 0,4096-ptr_max
PARAM_VALUE 0 host->runtime_suspended 0
PARAM_VALUE 0 *host->cmd->resp 0-4294967295
PARAM_VALUE 0 *host->mmc->err_stats 0-4294967295
DATA_SOURCE 0 host $0
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->thread_isr 0-u32max[c]
LOCK2 0 &host->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct sdhci_host)->lock

drivers/mmc/host/sdhci.c sdhci_request_atomic() -> sdhci_send_command()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &host->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct sdhci_host)->lock

drivers/mmc/host/sdhci.c sdhci_send_command_retry() -> sdhci_send_command()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->ops->platform_execute_tuning 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->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->mmc->card->host->err_stats 0-4294967295
PARAM_VALUE 0 *host->mmc->err_stats 0-4294967295
BUF_SIZE 1 cmd (-1)-0,72
BUF_SIZE 1 cmd (-1)-0,72
DATA_SOURCE 0 host $0
DATA_SOURCE 1 cmd $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &host->lock
TYPE_LOCK (struct sdhci_host)->lock

drivers/mmc/host/sdhci.c sdhci_send_command_retry() -> sdhci_send_command()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 host->mmc 4096-ptr_max
PARAM_VALUE 0 host->mmc->ops 4096-ptr_max
PARAM_VALUE 0 host->ops 4096-ptr_max
PARAM_VALUE 0 host->ops->platform_execute_tuning 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->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->mmc->card->host->err_stats 0-4294967295
PARAM_VALUE 0 *host->mmc->err_stats 0-4294967295
PARAM_VALUE 1 cmd 4096-ptr_max
PARAM_VALUE 1 cmd->error 0
PARAM_VALUE 1 cmd->mrq 4096-ptr_max
PARAM_VALUE 1 cmd->mrq->data 0,4096-ptr_max
BUF_SIZE 1 cmd (-1)-0,72
BUF_SIZE 1 cmd (-1)-0,72
DATA_SOURCE 0 host $0
DATA_SOURCE 1 cmd $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &host->lock
TYPE_LOCK (struct sdhci_host)->lock