Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/spi/spi-bcm2835.c bcm2835_spi_transfer_prologue() -> bcm2835_wr_fifo_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bs | 4096-ptr_max |
| PARAM_VALUE | 0 | bs->rx_buf | 1-u64max |
| PARAM_VALUE | 0 | bs->rx_prologue | 1-3 |
| PARAM_VALUE | 0 | bs->tfr | 4096-ptr_max |
| PARAM_VALUE | 0 | bs->tfr->len | 96-u32max |
| PARAM_VALUE | 0 | bs->tx_prologue | 1-6 |
| PARAM_VALUE | 0 | bs->tx_spillover | 0-1 |
| PARAM_VALUE | 1 | count | 1-3 |
| BUF_SIZE | 0 | bs | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bs | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | bs->rx_prologue | 1 |
| CAPPED_DATA | 1 | count | 1 |
| DATA_SOURCE | 0 | bs | $2 |
| FUZZY_MAX | 0 | bs->tx_spillover | 1 |
| PARAM_COMPARE | 0 | bs->rx_prologue | <= $0->tx_prologue |
| PARAM_COMPARE | 1 | count | <= $0->tx_prologue |
| HARD_MAX | 0 | bs->tx_spillover | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | bs | unit_byte |
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-bcm2835.c bcm2835_spi_transfer_prologue() -> bcm2835_wr_fifo_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bs | 4096-ptr_max |
| PARAM_VALUE | 0 | bs->rx_prologue | 0-3 |
| PARAM_VALUE | 0 | bs->tfr | 4096-ptr_max |
| PARAM_VALUE | 0 | bs->tfr->len | 96-u32max |
| PARAM_VALUE | 0 | bs->tx_buf | 1-u64max |
| PARAM_VALUE | 0 | bs->tx_prologue | 1-6 |
| PARAM_VALUE | 0 | bs->tx_spillover | 0-1 |
| PARAM_VALUE | 1 | count | 1-6 |
| BUF_SIZE | 0 | bs | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bs | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | bs->rx_prologue | 1 |
| DATA_SOURCE | 0 | bs | $2 |
| FUZZY_MAX | 0 | bs->rx_prologue | 0 |
| FUZZY_MAX | 0 | bs->tx_spillover | 1 |
| PARAM_COMPARE | 0 | bs->rx_prologue | <= $0->tx_prologue |
| HARD_MAX | 0 | bs->tx_spillover | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | *bs->rx_buf | 0-255 |
| UNITS | 0 | bs | unit_byte |
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |