Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/mmc/core/mmc.c mmc_select_driver_type() -> mmc_set_driver_type()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->fixed_drv_type 0-s32max
PARAM_VALUE 0 host->ops 4096-ptr_max
PARAM_VALUE 1 drv_type 1-s32max
NOCHECK_CALL
HOST_DATA 0 host->fail_mmc_request.stacktrace_depth 0-u64max

drivers/mmc/core/mmc.c mmc_select_driver_type() -> mmc_set_driver_type()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->fixed_drv_type s32min-(-1)
PARAM_VALUE 0 host->ops 4096-ptr_max
PARAM_VALUE 0 host->ops->select_drive_strength 1-u64max
PARAM_VALUE 1 drv_type 1-u16max
NOCHECK_CALL
HOST_DATA 0 host->fail_mmc_request.stacktrace_depth 0-u64max
HOST_DATA 1 drv_type 1-u16max[c]

drivers/mmc/core/sd.c sd_select_driver_type() -> mmc_set_driver_type()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->card 0,4096-ptr_max
PARAM_VALUE 0 host->ios.bus_width 2
PARAM_VALUE 0 host->led->brightness 0-4294967295
PARAM_VALUE 0 host->ongoing_mrq->cmd_completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 host->ongoing_mrq->cmd_completion.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 host->ongoing_mrq->cmd_completion.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 host->ongoing_mrq->uhs2_cmd.packet_len 0,4-12
PARAM_VALUE 0 host->ongoing_mrq->uhs2_cmd.payload_len 0-8
PARAM_VALUE 0 host->ongoing_mrq->uhs2_cmd.tmode_half_duplex 0-1
PARAM_VALUE 0 host->ongoing_mrq->uhs2_cmd.uhs2_resp_len 0,4-6,8
PARAM_VALUE 0 host->ops 4096-ptr_max
PARAM_VALUE 0 host->ops->select_drive_strength 1-u64max
PARAM_VALUE 0 host->ops->set_ios 4096-ptr_max
PARAM_VALUE 0 host->parent->cma_area->nranges s32min-s32max
PARAM_VALUE 0 *host->err_stats 0-4294967295
PARAM_VALUE 1 drv_type 1-u16max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 host->fail_mmc_request.stacktrace_depth 0-u64max
HOST_DATA 1 drv_type 1-u16max[c]
NO_OVERFLOW_SIMPLE 0 host->ios.clock
HALF_LOCKED2 &pool->lock

drivers/mmc/core/sdio.c sdio_select_driver_type() -> mmc_set_driver_type()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->ops 4096-ptr_max
PARAM_VALUE 0 host->ops->select_drive_strength 1-u64max
PARAM_VALUE 1 drv_type 1-u16max
NOCHECK_CALL