Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/spi/spi-tegra20-slink.c handle_cpu_based_xfer() -> tegra_slink_start_cpu_based_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tspi | 4096-ptr_max |
| PARAM_VALUE | 0 | tspi->bytes_per_word | 0-32 |
| PARAM_VALUE | 0 | tspi->curr_xfer | 4096-ptr_max |
| PARAM_VALUE | 0 | tspi->is_curr_dma_xfer | 0 |
| PARAM_VALUE | 0 | tspi->packed_size | 0,2097152,4194304,6291456 |
| PARAM_VALUE | 0 | tspi->rx_status | 0 |
| PARAM_VALUE | 0 | tspi->tx_status | 0 |
| PARAM_VALUE | 0 | tspi->words_per_32bit | 1-2,4 |
| PARAM_VALUE | 1 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | tspi | $0 |
| PARAM_COMPARE | 1 | t->len | != $0->cur_pos |
| BIT_INFO | 0 | tspi->cur_direction | 0x0,0xffffffff |
| BIT_INFO | 0 | tspi->status_reg | 0x0,0x7fffffff |
| 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_slink_data)->lock |
drivers/spi/spi-tegra20-slink.c handle_dma_based_xfer() -> tegra_slink_start_cpu_based_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tspi | 4096-ptr_max |
| PARAM_VALUE | 0 | tspi->bytes_per_word | 0-32 |
| PARAM_VALUE | 0 | tspi->curr_xfer | 4096-ptr_max |
| PARAM_VALUE | 0 | tspi->is_curr_dma_xfer | 1 |
| PARAM_VALUE | 0 | tspi->packed_size | 0,2097152,4194304,6291456 |
| PARAM_VALUE | 0 | tspi->words_per_32bit | 1-2,4 |
| PARAM_VALUE | 1 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | tspi | $0 |
| PARAM_COMPARE | 1 | t->len | != $0->cur_pos |
| BIT_INFO | 0 | tspi->cur_direction | 0x0,0xffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &tspi->lock | |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct tegra_slink_data)->lock |
drivers/spi/spi-tegra20-slink.c tegra_slink_start_transfer_one() -> tegra_slink_start_cpu_based_transfer()
| 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->cur_pos | 0 |
| PARAM_VALUE | 0 | tspi->cur_rx_pos | 0 |
| PARAM_VALUE | 0 | tspi->cur_spi | 4096-ptr_max |
| PARAM_VALUE | 0 | tspi->cur_spi->controller | 4096-ptr_max |
| PARAM_VALUE | 0 | tspi->cur_tx_pos | 0 |
| PARAM_VALUE | 0 | tspi->curr_xfer | 4096-ptr_max |
| PARAM_VALUE | 0 | tspi->curr_xfer->len | 1-u32max |
| PARAM_VALUE | 0 | tspi->packed_size | 0,2097152,4194304,6291456 |
| PARAM_VALUE | 0 | tspi->words_per_32bit | 1-2,4 |
| PARAM_VALUE | 1 | t | 4096-ptr_max |
| PARAM_VALUE | 1 | t->len | 1-u32max |
| BUF_SIZE | 0 | tspi | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tspi | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | t | $1 |
| FUZZY_MAX | 0 | tspi->cur_direction | 0 |
| STR_LEN | 0 | tspi->cur_spi | (-1) |
| 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 |