Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/spi/spi-sun6i.c sun6i_spi_handler() -> sun6i_spi_drain_fifo()

Type Parameter Key Value
PARAM_VALUE 0 sspi 4096-ptr_max
DATA_SOURCE 0 sspi $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/spi/spi-sun6i.c sun6i_spi_transfer_one() -> sun6i_spi_drain_fifo()

Type Parameter Key Value
PARAM_VALUE 0 sspi 4096-ptr_max
PARAM_VALUE 0 sspi->cfg 4096-ptr_max
PARAM_VALUE 0 sspi->dma_rx_done.done 0
PARAM_VALUE 0 sspi->done.done 0-4294967293,u32max
PARAM_VALUE 0 sspi->done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 sspi->done.wait.lock.owner (-1)
PARAM_VALUE 0 sspi->done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 sspi->done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 sspi->done.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 sspi->len 1-16777215
PARAM_VALUE 0 sspi->mclk 0,4096-ptr_max
PARAM_VALUE 0 sspi->mclk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 sspi->mclk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 sspi->mclk->core->dev->power.request 0-4294967295
PARAM_VALUE 0 sspi->mclk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 sspi->mclk->core->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 sspi->mclk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 sspi->mclk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 sspi->mclk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 sspi->mclk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 sspi->tx_buf 0,2-u64max
BUF_SIZE 0 sspi s32min-(-2),1-s32max
BUF_SIZE 0 sspi s32min-(-2),1-s32max
BUF_SIZE 0 sspi->rx_buf s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 sspi->mclk->core->parent->req_rate
UNITS 0 sspi unit_byte
LOCK2 &host->io_mutex
HALF_LOCKED2 &host->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex