Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/spi/spi-mt7621.c mt7621_spi_prepare() -> mt7621_spi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rs | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 40 |
| BUF_SIZE | 0 | rs | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rs | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | rs | unit_byte |
| LOCK2 | &host->io_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-mt7621.c mt7621_spi_read_half_duplex() -> mt7621_spi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rs | 4096-ptr_max |
| PARAM_VALUE | 0 | rs->base | 4096-ptr_max |
| PARAM_VALUE | 0 | rs->pending_write | 0 |
| PARAM_VALUE | 1 | reg | 0 |
| BUF_SIZE | 0 | rs | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rs | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | rs | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | rs | unit_byte |
| LOCK2 | &host->io_mutex | ||
| HALF_LOCKED2 | &host->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-mt7621.c mt7621_spi_read_half_duplex() -> mt7621_spi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rs | 4096-ptr_max |
| PARAM_VALUE | 0 | rs->base | 4096-ptr_max |
| PARAM_VALUE | 0 | rs->pending_write | 0 |
| PARAM_VALUE | 1 | reg | 8-36 |
| BUF_SIZE | 0 | rs | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rs | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | reg | 1 |
| DATA_SOURCE | 0 | rs | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | rs | unit_byte |
| LOCK2 | &host->io_mutex | ||
| HALF_LOCKED2 | &host->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-mt7621.c mt7621_spi_set_native_cs() -> mt7621_spi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 40 |
| BUF_SIZE | 0 | rs | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rs | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | rs | unit_byte |
| HALF_LOCKED2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &spi->controller->bus_lock_mutex | ||
| HALF_LOCKED2 | &spi->controller->io_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-mt7621.c mt7621_spi_wait_till_ready() -> mt7621_spi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 0 |
| BUF_SIZE | 0 | rs | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rs | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | rs | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | rs | unit_byte |
| LOCK2 | &host->io_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-mt7621.c mt7621_spi_write_half_duplex() -> mt7621_spi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rs | 4096-ptr_max |
| PARAM_VALUE | 0 | rs->pending_write | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | reg | 4 |
| BUF_SIZE | 0 | rs | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rs | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | rs | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | rs | unit_byte |
| LOCK2 | &host->io_mutex | ||
| HALF_LOCKED2 | &host->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |