Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/spi/spi-intel.c intel_spi_erase() -> intel_spi_chip_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mem | 4096-ptr_max |
| PARAM_VALUE | 1 | mem->spi | 4096-ptr_max |
| BUF_SIZE | 0 | ispi | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ispi | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ispi | $0 |
| DATA_SOURCE | 1 | mem | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &mem->spi->controller->bus_lock_mutex | |
| LOCK2 | 1 | &mem->spi->controller->io_mutex | |
| TYPE_LOCK | (struct spi_controller)->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-intel.c intel_spi_read() -> intel_spi_chip_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mem | 0,4096-ptr_max |
| PARAM_VALUE | 1 | mem->spi | 4096-ptr_max |
| BUF_SIZE | 0 | ispi | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ispi | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ispi->host | (-1),2864-5728 |
| BUF_SIZE | 0 | ispi->info | (-1),1-s32max |
| DATA_SOURCE | 0 | ispi | $0 |
| DATA_SOURCE | 1 | mem | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ispi | unit_byte |
| HALF_LOCKED2 | 1 | &mem->spi->controller->bus_lock_mutex | |
| HALF_LOCKED2 | 1 | &mem->spi->controller->io_mutex |
drivers/spi/spi-intel.c intel_spi_read_reg() -> intel_spi_chip_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mem | 4096-ptr_max |
| PARAM_VALUE | 1 | mem->spi | 4096-ptr_max |
| BUF_SIZE | 0 | ispi | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ispi | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ispi | $0 |
| DATA_SOURCE | 1 | mem | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &mem->spi->controller->bus_lock_mutex | |
| LOCK2 | 1 | &mem->spi->controller->io_mutex | |
| TYPE_LOCK | (struct spi_controller)->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-intel.c intel_spi_write() -> intel_spi_chip_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mem | 4096-ptr_max |
| PARAM_VALUE | 1 | mem->spi | 4096-ptr_max |
| BUF_SIZE | 0 | ispi | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ispi | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ispi | $0 |
| DATA_SOURCE | 1 | mem | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &mem->spi->controller->bus_lock_mutex | |
| LOCK2 | 1 | &mem->spi->controller->io_mutex | |
| TYPE_LOCK | (struct spi_controller)->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-intel.c intel_spi_write_reg() -> intel_spi_chip_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mem | 4096-ptr_max |
| PARAM_VALUE | 1 | mem->spi | 4096-ptr_max |
| BUF_SIZE | 0 | ispi | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ispi | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ispi | $0 |
| DATA_SOURCE | 1 | mem | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &mem->spi->controller->bus_lock_mutex | |
| LOCK2 | 1 | &mem->spi->controller->io_mutex | |
| TYPE_LOCK | (struct spi_controller)->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |