Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mmc/host/mtk-sd.c msdc_cmd_next() -> msdc_start_command()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->cmd 0
PARAM_VALUE 0 host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 mrq 4096-ptr_max
PARAM_VALUE 1 mrq->sbc 4096-ptr_max
PARAM_VALUE 1 mrq->sbc->error 0
BUF_SIZE 0 host->mrq (-1)-0,304
BUF_SIZE 1 mrq (-1)-0,304
BUF_SIZE 1 mrq (-1)-0,304
BUF_SIZE 1 mrq->cmd (-1),72
BUF_SIZE 1 mrq->data (-1)-0,72
BUF_SIZE 1 mrq->sbc (-1)-0,72
BUF_SIZE 1 mrq->stop (-1)-0,72
BUF_SIZE 2 cmd (-1),72
BUF_SIZE 2 cmd (-1),72
CAPPED_DATA 1 mrq->sbc 1
DATA_SOURCE 0 host $0
DATA_SOURCE 1 mrq $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 host->cmd->arg
NO_OVERFLOW_SIMPLE 0 host->data->sg_count
NO_OVERFLOW_SIMPLE 1 mrq->cmd->arg
NO_OVERFLOW_SIMPLE 1 mrq->cmd->data->sg_count
NO_OVERFLOW_SIMPLE 1 mrq->data->sg->length
NO_OVERFLOW_SIMPLE 1 mrq->data->sg_count
NO_OVERFLOW_SIMPLE 2 cmd->arg
NO_OVERFLOW_SIMPLE 2 cmd->data->sg_count

drivers/mmc/host/mtk-sd.c msdc_data_xfer_next() -> msdc_start_command()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->cmd 0
PARAM_VALUE 0 host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 host->mrq 1-u64max
PARAM_VALUE 1 mrq 4096-ptr_max
PARAM_VALUE 1 mrq->cmd 4096-ptr_max
PARAM_VALUE 1 mrq->cmd->opcode 18,25
PARAM_VALUE 1 mrq->sbc 0
PARAM_VALUE 1 mrq->stop 4096-ptr_max
PARAM_VALUE 1 mrq->stop->error 0
PARAM_VALUE 2 cmd 4096-ptr_max
PARAM_VALUE 2 cmd->error 0
DATA_SOURCE 0 host $0
DATA_SOURCE 1 mrq $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/mmc/host/mtk-sd.c msdc_ops_request() -> msdc_start_command()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->error 0
PARAM_VALUE 0 host->mrq 4096-ptr_max
PARAM_VALUE 0 host->mrq->data 0,4096-ptr_max
PARAM_VALUE 0 host->mrq->sbc 1-u64max
PARAM_VALUE 1 mrq 4096-ptr_max
PARAM_VALUE 1 mrq->data 0,4096-ptr_max
PARAM_VALUE 1 mrq->data->sg->dma_flags 0,2-u32max
PARAM_VALUE 1 mrq->sbc 1-u64max
PARAM_VALUE 2 cmd 1-u64max
BUF_SIZE 0 host->mrq (-1)-0,304
BUF_SIZE 1 mrq (-1)-0,304
BUF_SIZE 1 mrq (-1)-0,304
BUF_SIZE 1 mrq->cmd (-1),72
BUF_SIZE 1 mrq->data (-1)-0,72
BUF_SIZE 1 mrq->sbc (-1)-0,72
BUF_SIZE 1 mrq->stop (-1)-0,72
BUF_SIZE 2 cmd (-1)-0,72
BUF_SIZE 2 cmd (-1)-0,72
DATA_SOURCE 1 mrq $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 mrq->cmd->data->sg_count
NO_OVERFLOW_SIMPLE 1 mrq->data->sg_count

drivers/mmc/host/mtk-sd.c msdc_ops_request() -> msdc_start_command()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->error 0
PARAM_VALUE 0 host->mrq 4096-ptr_max
PARAM_VALUE 0 host->mrq->data 0,4096-ptr_max
PARAM_VALUE 0 host->mrq->sbc 0,4096-ptr_max
PARAM_VALUE 1 mrq 4096-ptr_max
PARAM_VALUE 1 mrq->data 0,4096-ptr_max
PARAM_VALUE 1 mrq->data->sg->dma_flags 0,2-u32max
PARAM_VALUE 1 mrq->sbc 0,4096-ptr_max
PARAM_VALUE 1 mrq->sbc->arg 0-65534
BUF_SIZE 0 host->mrq (-1)-0,304
BUF_SIZE 1 mrq (-1)-0,304
BUF_SIZE 1 mrq (-1)-0,304
BUF_SIZE 1 mrq->cmd (-1),72
BUF_SIZE 1 mrq->data (-1)-0,72
BUF_SIZE 1 mrq->sbc (-1)-0,72
BUF_SIZE 1 mrq->stop (-1)-0,72
BUF_SIZE 2 cmd (-1),72
BUF_SIZE 2 cmd (-1),72
DATA_SOURCE 1 mrq $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 mrq->cmd->data->sg_count
NO_OVERFLOW_SIMPLE 1 mrq->data->sg_count
NO_OVERFLOW_SIMPLE 2 cmd->data->sg_count