Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/spi/spi-omap2-mcspi.c omap2_mcspi_controller_setup() -> mcspi_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctlr | 4096-ptr_max |
| PARAM_VALUE | 1 | idx | 32 |
| PARAM_VALUE | 2 | val | 1 |
| BUF_SIZE | 0 | ctlr | 2864-5728 |
| BUF_SIZE | 0 | ctlr | 2864-5728 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/spi/spi-omap2-mcspi.c omap2_mcspi_irq_handler() -> mcspi_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctlr | 4096-ptr_max |
| PARAM_VALUE | 0 | ctlr->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | idx | 28 |
| PARAM_VALUE | 2 | val | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/spi/spi-omap2-mcspi.c omap2_mcspi_set_fifo() -> mcspi_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctlr | 4096-ptr_max |
| PARAM_VALUE | 1 | idx | 124 |
| BIT_INFO | 2 | val | 0x0,0xffff0303 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-omap2-mcspi.c omap2_mcspi_set_mode() -> mcspi_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctlr | 4096-ptr_max |
| PARAM_VALUE | 0 | ctlr->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | idx | 40 |
| PARAM_VALUE | 2 | val | 0-4294967291 |
| BUF_SIZE | 0 | ctlr | (-1),2864-5728 |
| BUF_SIZE | 0 | ctlr | (-1),2864-5728 |
| DATA_SOURCE | 0 | ctlr | $0 |
| STR_LEN | 0 | ctlr->cur_msg->spi | (-1) |
| BIT_INFO | 2 | val | 0x0,0xfffffff7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-4294967291[c] |
| HALF_LOCKED2 | 0 | &ctlr->io_mutex |
drivers/spi/spi-omap2-mcspi.c omap2_mcspi_txrx_dma() -> mcspi_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctlr | 4096-ptr_max |
| PARAM_VALUE | 1 | idx | 28 |
| PARAM_VALUE | 2 | val | 131072 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-omap2-mcspi.c omap2_mcspi_txrx_dma() -> mcspi_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | idx | 24 |
| PARAM_VALUE | 2 | val | 131072 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-omap2-mcspi.c omap_mcspi_runtime_resume() -> mcspi_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctlr | 4096-ptr_max |
| PARAM_VALUE | 1 | idx | 40 |
| BUF_SIZE | 0 | ctlr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctlr | s32min-(-2),1-s32max |
| NOCHECK_CALL | |||
| UNITS | 0 | ctlr | unit_byte |
drivers/spi/spi-omap2-mcspi.c omap_mcspi_runtime_resume() -> mcspi_write_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctlr | 4096-ptr_max |
| PARAM_VALUE | 0 | ctlr->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | idx | 32 |
| BUF_SIZE | 0 | ctlr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctlr | s32min-(-2),1-s32max |
| NOCHECK_CALL | |||
| UNITS | 0 | ctlr | unit_byte |