Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mmc/host/bcm2835.c bcm2835_busy_irq() -> bcm2835_finish_command()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->cmd 1-u64max
PARAM_VALUE 0 host->irq_block 0
PARAM_VALUE 0 host->irq_busy 0
PARAM_VALUE 0 host->irq_data 0
PARAM_VALUE 0 host->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 host->mutex.dep_map->name 0-255
PARAM_VALUE 0 host->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 host->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 host->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 host->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 host->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 host->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 host->use_busy 0
DATA_SOURCE 0 host $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &host->mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 irq
TYPE_LOCK (struct bcm2835_host)->mutex

drivers/mmc/host/bcm2835.c bcm2835_finish_command() -> bcm2835_finish_command()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->cmd 4096-ptr_max
PARAM_VALUE 0 host->data 0,4096-ptr_max
PARAM_VALUE 0 host->data->bytes_xfered 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->mrq 4096-ptr_max
PARAM_VALUE 0 host->mrq->cmd 4096-ptr_max
PARAM_VALUE 0 host->mrq->cmd->data->flags 0,256,512,4352,4608,8448,8704,12544,12800
PARAM_VALUE 0 host->mrq->cmd->data->sg_count 0-s32max
PARAM_VALUE 0 host->mrq->sbc 4096-ptr_max
PARAM_VALUE 0 host->use_busy 0
PARAM_VALUE 0 *host->cmd->resp 0-4294967295
BUF_SIZE 0 host->mrq (-1)-0,304
CAPPED_DATA 0 host->mrq->sbc 1
DATA_SOURCE 0 host $0
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 0 host->sg_miter.consumed
NO_OVERFLOW_SIMPLE 0 host->sg_miter.length
NO_OVERFLOW_SIMPLE 0 host->sg_miter.piter.__nents
NO_OVERFLOW_SIMPLE 0 host->sg_miter.piter.sg->length
HALF_LOCKED2 0 &host->mutex

drivers/mmc/host/bcm2835.c bcm2835_request() -> bcm2835_finish_command()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->cmd 4096-ptr_max
PARAM_VALUE 0 host->data 0,4096-ptr_max
PARAM_VALUE 0 host->data->bytes_xfered 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->data_complete 0
PARAM_VALUE 0 host->mrq 4096-ptr_max
PARAM_VALUE 0 host->mrq->cmd 4096-ptr_max
PARAM_VALUE 0 host->mrq->data 4096-ptr_max
PARAM_VALUE 0 host->mrq->sbc 4096-ptr_max
PARAM_VALUE 0 host->mrq->stop 0,4096-ptr_max
PARAM_VALUE 0 host->mutex.dep_map->name 0-255
PARAM_VALUE 0 host->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 host->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 host->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 host->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 host->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 host->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 host->sg_miter.__flags 3,5
PARAM_VALUE 0 host->sg_miter.__offset 0
PARAM_VALUE 0 host->sg_miter.__remaining 0
PARAM_VALUE 0 host->sg_miter.addr 0
PARAM_VALUE 0 host->sg_miter.consumed 0
PARAM_VALUE 0 host->sg_miter.length 0
PARAM_VALUE 0 host->sg_miter.page 0
PARAM_VALUE 0 host->sg_miter.piter.__pg_advance 0
PARAM_VALUE 0 host->sg_miter.piter.sg_pgoffset 0
PARAM_VALUE 0 host->timeout_work.timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 host->use_busy 0
PARAM_VALUE 0 host->use_sbc 1
BUF_SIZE 0 host->mrq (-1)-0,304
CAPPED_DATA 0 &host->mutex 1
BIT_INFO 0 host->mrq->data->flags 0x200,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &host->mutex
TYPE_LOCK (struct bcm2835_host)->mutex

drivers/mmc/host/bcm2835.c bcm2835_request() -> bcm2835_finish_command()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->cmd 4096-ptr_max
PARAM_VALUE 0 host->data 0,4096-ptr_max
PARAM_VALUE 0 host->data->bytes_xfered 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->data_complete 0
PARAM_VALUE 0 host->mrq 4096-ptr_max
PARAM_VALUE 0 host->mrq->cmd 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 0 host->mrq->stop 0,4096-ptr_max
PARAM_VALUE 0 host->mutex.dep_map->name 0-255
PARAM_VALUE 0 host->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 host->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 host->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 host->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 host->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 host->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 host->sg_miter.__flags 3,5
PARAM_VALUE 0 host->sg_miter.__offset 0
PARAM_VALUE 0 host->sg_miter.__remaining 0
PARAM_VALUE 0 host->sg_miter.addr 0
PARAM_VALUE 0 host->sg_miter.consumed 0
PARAM_VALUE 0 host->sg_miter.length 0
PARAM_VALUE 0 host->sg_miter.page 0
PARAM_VALUE 0 host->sg_miter.piter.__pg_advance 0
PARAM_VALUE 0 host->sg_miter.piter.sg_pgoffset 0
PARAM_VALUE 0 host->timeout_work.timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 host->use_busy 0
PARAM_VALUE 0 host->use_sbc 0
BUF_SIZE 0 host->mrq (-1)-0,304
CAPPED_DATA 0 &host->mutex 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 host->data->sg_count
LOCK2 0 &host->mutex
TYPE_LOCK (struct bcm2835_host)->mutex

drivers/mmc/host/bcm2835.c bcm2835_transfer_complete() -> bcm2835_finish_command()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->cmd 4096-ptr_max
PARAM_VALUE 0 host->data 0,4096-ptr_max
PARAM_VALUE 0 host->data->bytes_xfered 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->mrq 4096-ptr_max
PARAM_VALUE 0 host->mrq->stop 4096-ptr_max
PARAM_VALUE 0 host->mrq->stop->data->flags 0,256,512,4352,4608,8448,8704,12544,12800
PARAM_VALUE 0 host->mrq->stop->data->sg_count 0-s32max
PARAM_VALUE 0 host->sg_miter.__flags 3,5
PARAM_VALUE 0 host->sg_miter.__offset 0
PARAM_VALUE 0 host->sg_miter.__remaining 0
PARAM_VALUE 0 host->sg_miter.addr 0
PARAM_VALUE 0 host->sg_miter.consumed 0
PARAM_VALUE 0 host->sg_miter.length 0
PARAM_VALUE 0 host->sg_miter.page 0
PARAM_VALUE 0 host->sg_miter.piter.__pg_advance 0
PARAM_VALUE 0 host->sg_miter.piter.sg_pgoffset 0
PARAM_VALUE 0 host->timeout_work.timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 host->use_busy 0
PARAM_VALUE 0 *host->cmd->resp 0-4294967295
BUF_SIZE 0 host->mrq (-1)-0,304
DATA_SOURCE 0 host $0
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 0 host->sg_miter.consumed
NO_OVERFLOW_SIMPLE 0 host->sg_miter.length
NO_OVERFLOW_SIMPLE 0 host->sg_miter.piter.__nents
NO_OVERFLOW_SIMPLE 0 host->sg_miter.piter.sg->length
HALF_LOCKED2 0 &host->mutex