Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/mmc/core/sd.c mmc_sd_init_card() -> mmc_app_set_bus_width()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 card->host 4096-ptr_max
PARAM_VALUE 0 *card->host->err_stats 0-4294967295
PARAM_VALUE 0 *card->raw_csd 0-4294967295
PARAM_VALUE 0 *card->raw_ssr 0-4294967295
PARAM_VALUE 1 width 2
BUF_SIZE 0 card (-1),2576
BUF_SIZE 0 card (-1),2576
BUF_SIZE 0 card->dev.type (-1),48
BIT_INFO 0 card->scr.bus_widths 0x4,0xff
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 card->host->fail_mmc_request.stacktrace_depth 0-u64max

drivers/mmc/core/sd.c mmc_sd_init_uhs_card() -> mmc_app_set_bus_width()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 1 width 2
DATA_SOURCE 0 card $0
BIT_INFO 0 card->csd.cmdclass 0x400,0xffff

drivers/mmc/core/sdio.c sdio_disable_4bit_bus() -> mmc_app_set_bus_width()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->host 4096-ptr_max
PARAM_VALUE 0 card->type 0-1,3-u32max
PARAM_VALUE 1 width 0
DATA_SOURCE 0 card $0
BIT_INFO 0 card->host->caps 0x1,0xffffffff
BIT_INFO 0 card->scr.bus_widths 0x4,0xff
RX_PATH
TASK_NOT_RUNNING

drivers/mmc/core/sdio.c sdio_enable_4bit_bus() -> mmc_app_set_bus_width()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->host 4096-ptr_max
PARAM_VALUE 0 card->host->led->brightness 0-4294967295
PARAM_VALUE 0 card->host->ongoing_mrq->cmd_completion.wait.lock.owner (-1)
PARAM_VALUE 0 card->host->ongoing_mrq->cmd_completion.wait.lock.owner_cpu u32max
PARAM_VALUE 0 card->host->ongoing_mrq->cmd_completion.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 card->host->ongoing_mrq->cmd_completion.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 card->host->ongoing_mrq->uhs2_cmd.packet_len 0,4-12
PARAM_VALUE 0 card->host->ongoing_mrq->uhs2_cmd.payload_len 0-8
PARAM_VALUE 0 card->host->ongoing_mrq->uhs2_cmd.tmode_half_duplex 0-1
PARAM_VALUE 0 card->host->ongoing_mrq->uhs2_cmd.uhs2_resp_len 0,4-6,8
PARAM_VALUE 0 card->scr.sda_spec3 1-255
PARAM_VALUE 0 card->type 0-1,3-u32max
PARAM_VALUE 1 width 2
DATA_SOURCE 0 card $0
BIT_INFO 0 card->scr.bus_widths 0x4,0xff