Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/spi/spi-tegra210-quad.c handle_dma_based_xfer() -> tegra_qspi_start_dma_based_transfer()

Type Parameter Key Value
PARAM_VALUE 0 tqspi 4096-ptr_max
PARAM_VALUE 0 tqspi->bytes_per_word 0-32
PARAM_VALUE 0 tqspi->curr_xfer 4096-ptr_max
PARAM_VALUE 0 tqspi->is_curr_dma_xfer 1
PARAM_VALUE 0 tqspi->rx_dma_dev->dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tqspi->tx_dma_dev->dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tqspi->words_per_32bit 1-2,4
PARAM_VALUE 1 t 4096-ptr_max
BUF_SIZE 0 tqspi s32min-(-1),1-s32max
BUF_SIZE 0 tqspi s32min-(-1),1-s32max
DATA_SOURCE 0 tqspi $0
PARAM_COMPARE 1 t->len != $0->cur_pos
BIT_INFO 0 tqspi->cur_direction 0x0,0xffffffff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 tqspi->rx_status 0,16-48
HOST_DATA 0 tqspi->status_reg 0-u32max
HOST_DATA 0 tqspi->tx_status 0,64-192
UNITS 0 tqspi unit_byte
LOCK2 flags
LOCK2 0 &tqspi->lock
HALF_LOCKED2 &host->io_mutex
TYPE_LOCK (struct tegra_qspi)->lock

drivers/spi/spi-tegra210-quad.c tegra_qspi_start_transfer_one() -> tegra_qspi_start_dma_based_transfer()

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