Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/spi/spi-aspeed-smc.c aspeed_spi_cleanup() -> aspeed_spi_chip_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cs | 0-255 |
| PARAM_VALUE | 2 | enable | 0 |
| BUF_SIZE | 0 | aspi | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | aspi | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | cs | r spi_get_chipselect |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | aspi | unit_byte |
drivers/spi/spi-aspeed-smc.c aspeed_spi_enable() -> aspeed_spi_chip_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aspi | 4096-ptr_max |
| PARAM_VALUE | 0 | aspi->data | 4096-ptr_max |
| PARAM_VALUE | 1 | cs | 0-s32max |
| PARAM_VALUE | 2 | enable | 0 |
| BUF_SIZE | 0 | aspi | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | aspi | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | cs | 1 |
| DATA_SOURCE | 0 | aspi | $0 |
| DATA_SOURCE | 2 | enable | $1 |
| PARAM_COMPARE | 0 | aspi->data->max_cs | > $1 |
| PARAM_COMPARE | 1 | cs | < $0->data->max_cs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | aspi | unit_byte |
| UNITS | 1 | cs | unit_array_size |
| LOCK2 | &_dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/spi/spi-aspeed-smc.c aspeed_spi_setup() -> aspeed_spi_chip_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | aspi | 4096-ptr_max |
| PARAM_VALUE | 0 | aspi->data | 4096-ptr_max |
| PARAM_VALUE | 1 | cs | 0-255 |
| PARAM_VALUE | 2 | enable | 1 |
| BUF_SIZE | 0 | aspi | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | aspi | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | cs | r spi_get_chipselect |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | aspi | unit_byte |
| LOCK2 | &spi->controller->io_mutex | ||
| HALF_LOCKED2 | &spi->controller->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |