Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/spi/spi-tegra114.c handle_cpu_based_xfer() -> tegra_spi_flush_fifos()

Type Parameter Key Value
PARAM_VALUE 0 tspi 4096-ptr_max
PARAM_VALUE 0 tspi->dev 0,4096-ptr_max
PARAM_VALUE 0 tspi->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 tspi->dev->class 0,4096-ptr_max
PARAM_VALUE 0 tspi->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 tspi->is_curr_dma_xfer 0
DATA_SOURCE 0 tspi $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &tspi->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 irq
TYPE_LOCK (struct tegra_spi_data)->lock

drivers/spi/spi-tegra114.c handle_dma_based_xfer() -> tegra_spi_flush_fifos()

Type Parameter Key Value
PARAM_VALUE 0 tspi 4096-ptr_max
PARAM_VALUE 0 tspi->dev 0,4096-ptr_max
PARAM_VALUE 0 tspi->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 tspi->dev->class 0,4096-ptr_max
PARAM_VALUE 0 tspi->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 tspi->is_curr_dma_xfer 1
DATA_SOURCE 0 tspi $0
BIT_INFO 0 tspi->cur_direction 0x0,0xffffffff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &tspi->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 irq
TYPE_LOCK (struct tegra_spi_data)->lock

drivers/spi/spi-tegra114.c tegra_spi_start_transfer_one() -> tegra_spi_flush_fifos()

Type Parameter Key Value
PARAM_VALUE 0 tspi 4096-ptr_max
PARAM_VALUE 0 tspi->bytes_per_word 0-32
PARAM_VALUE 0 tspi->cur_direction 0-3
PARAM_VALUE 0 tspi->words_per_32bit 1-2,4
BUF_SIZE 0 tspi s32min-(-2),1-s32max
BUF_SIZE 0 tspi s32min-(-2),1-s32max
FUZZY_MAX 0 tspi->cur_direction 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 tspi unit_byte
LOCK2 &host->io_mutex
HALF_LOCKED2 &host->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-tegra114.c tegra_spi_transfer_one_message() -> tegra_spi_flush_fifos()

Type Parameter Key Value
PARAM_VALUE 0 tspi 4096-ptr_max
PARAM_VALUE 0 tspi->dev 0,4096-ptr_max
PARAM_VALUE 0 tspi->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 tspi->dev->class 0,4096-ptr_max
PARAM_VALUE 0 tspi->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 tspi->xfer_completion.done 0-4294967293,u32max
PARAM_VALUE 0 tspi->xfer_completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 tspi->xfer_completion.wait.lock.owner (-1)
PARAM_VALUE 0 tspi->xfer_completion.wait.lock.owner_cpu u32max
PARAM_VALUE 0 tspi->xfer_completion.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 tspi->xfer_completion.wait.task_list.prev->next->next 4096-ptr_max
BUF_SIZE 0 tspi s32min-(-2),1-s32max
BUF_SIZE 0 tspi s32min-(-2),1-s32max
STR_LEN 0 tspi->cs_control (-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 tspi unit_byte
LOCK2 &host->io_mutex
HALF_LOCKED2 &host->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex