Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/spi/spi-tegra20-sflash.c handle_cpu_based_xfer() -> tegra_sflash_start_cpu_based_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tsd | 4096-ptr_max |
| PARAM_VALUE | 0 | tsd->curr_xfer_words | 0-4 |
| PARAM_VALUE | 1 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | tsd | $0 |
| PARAM_COMPARE | 1 | t->len | != $0->cur_pos |
| BIT_INFO | 0 | tsd->cur_direction | 0x0,0xffffffff |
| BIT_INFO | 0 | tsd->status_reg | 0x0,0x7fffffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | tsd->rx_status | 0 |
| HOST_DATA | 0 | tsd->status_reg | 0-u32max |
| HOST_DATA | 0 | tsd->tx_status | 0 |
| LOCK2 | 0 | &tsd->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct tegra_sflash_data)->lock |
drivers/spi/spi-tegra20-sflash.c tegra_sflash_start_transfer_one() -> tegra_sflash_start_cpu_based_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tsd | 4096-ptr_max |
| PARAM_VALUE | 0 | tsd->cur_direction | 0-3 |
| PARAM_VALUE | 0 | tsd->cur_tx_pos | 0 |
| PARAM_VALUE | 0 | tsd->curr_xfer_words | 0-4 |
| PARAM_VALUE | 1 | t | 4096-ptr_max |
| BUF_SIZE | 0 | tsd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tsd | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | t | $1 |
| FUZZY_MAX | 0 | tsd->cur_direction | 0 |
| STR_LEN | 0 | tsd->cur_spi | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tsd->clk->core->parent->req_rate | |
| UNITS | 0 | tsd | unit_byte |
| LOCK2 | &host->io_mutex | ||
| HALF_LOCKED2 | &host->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |