Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/mmc/host/sdhci-uhs2.c sdhci_uhs2_prepare_data() -> sdhci_initialize_data()
| 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_timeout | 0 |
| PARAM_VALUE | 0 | host->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | host->ops->write_l | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *host->mmc->err_stats | 0-4294967295 |
| BUF_SIZE | 0 | host->cmd | (-1),72 |
| BUF_SIZE | 0 | host->data_cmd | (-1),72 |
| DATA_SOURCE | 0 | host | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &host->lock | |
| TYPE_LOCK | (struct sdhci_host)->lock |
drivers/mmc/host/sdhci.c __sdhci_external_dma_prepare_data() -> sdhci_initialize_data()
| 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 | 1-u64max |
| PARAM_VALUE | 1 | data->host_cookie | 1-2 |
| PARAM_VALUE | 1 | data->sg_count | 0-s32max |
| PARAM_VALUE | 1 | data->sg_len | 0-s32max |
| 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 | |||
| NOCHECK_CALL | |||
| 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_prepare_data() -> sdhci_initialize_data()
| 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_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->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 | 0 |
| PARAM_VALUE | 0 | *host->cmd->resp | 0-4294967295 |
| PARAM_VALUE | 0 | *host->mmc->card->host->err_stats | 0-4294967295 |
| PARAM_VALUE | 0 | *host->mmc->err_stats | 0-4294967295 |
| PARAM_VALUE | 1 | data | 1-u64max |
| BUF_SIZE | 0 | host->cmd | (-1)-0,72 |
| BUF_SIZE | 0 | host->data_cmd | (-1)-0,72 |
| DATA_SOURCE | 0 | host | $0 |
| BIT_INFO | 0 | host->quirks2 | 0x0,0xffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |