Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/spi/spi-sh.c spi_sh_clear_bit() -> spi_sh_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ss | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 0-u32max |
| PARAM_VALUE | 2 | offset | 8,16,32 |
| BUF_SIZE | 0 | ss | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ss | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ss | $0 |
| DATA_SOURCE | 2 | offset | $2 |
| HARD_MAX | 2 | offset | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | data | 0-u32max[c] |
| UNITS | 0 | ss | unit_byte |
| HALF_LOCKED2 | &ctlr->io_mutex |
drivers/spi/spi-sh.c spi_sh_receive() -> spi_sh_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ss | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 255 |
| PARAM_VALUE | 2 | offset | 24 |
| BUF_SIZE | 0 | ss | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ss | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ss | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ss | unit_byte |
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-sh.c spi_sh_receive() -> spi_sh_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ss | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 0-255 |
| PARAM_VALUE | 2 | offset | 24 |
| BUF_SIZE | 0 | ss | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ss | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ss | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ss | unit_byte |
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-sh.c spi_sh_receive() -> spi_sh_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ss | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 1 |
| PARAM_VALUE | 2 | offset | 24 |
| BUF_SIZE | 0 | ss | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ss | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ss | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ss | unit_byte |
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-sh.c spi_sh_receive() -> spi_sh_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ss | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 0 |
| PARAM_VALUE | 2 | offset | 24 |
| BUF_SIZE | 0 | ss | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ss | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ss | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ss | unit_byte |
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-sh.c spi_sh_send() -> spi_sh_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ss | 4096-ptr_max |
| PARAM_VALUE | 2 | offset | 0 |
| BUF_SIZE | 0 | ss | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ss | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ss | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ss | unit_byte |
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-sh.c spi_sh_set_bit() -> spi_sh_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ss | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 0-4294967423 |
| PARAM_VALUE | 2 | offset | 8,16,32 |
| BUF_SIZE | 0 | ss | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ss | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ss | $0 |
| DATA_SOURCE | 2 | offset | $2 |
| BIT_INFO | 1 | data | 0x0,0xffffffff |
| BIT_INFO | 1 | data | 0x0,0xffffffff |
| HARD_MAX | 2 | offset | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | data | 0-4294967423[c] |
| UNITS | 0 | ss | unit_byte |
| HALF_LOCKED2 | &ctlr->io_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-sh.c spi_sh_setup() -> spi_sh_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | data | 254 |
| PARAM_VALUE | 2 | offset | 8 |
| BUF_SIZE | 0 | ss | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ss | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ss | unit_byte |
| LOCK2 | &spi->controller->io_mutex | ||
| HALF_LOCKED2 | &spi->controller->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-sh.c spi_sh_setup() -> spi_sh_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ss | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 0 |
| PARAM_VALUE | 2 | offset | 8 |
| BUF_SIZE | 0 | ss | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ss | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ss | unit_byte |
| LOCK2 | &spi->controller->io_mutex | ||
| HALF_LOCKED2 | &spi->controller->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-sh.c spi_sh_setup() -> spi_sh_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ss | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 0 |
| PARAM_VALUE | 2 | offset | 24 |
| BUF_SIZE | 0 | ss | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ss | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ss | unit_byte |
| LOCK2 | &spi->controller->io_mutex | ||
| HALF_LOCKED2 | &spi->controller->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-sh.c spi_sh_setup() -> spi_sh_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ss | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 7-4294967302 |
| PARAM_VALUE | 2 | offset | 16 |
| BUF_SIZE | 0 | ss | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ss | s32min-(-2),1-s32max |
| BIT_INFO | 1 | data | 0x7,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | data | 7-4294967302[c] |
| UNITS | 0 | ss | unit_byte |
| LOCK2 | &spi->controller->io_mutex | ||
| HALF_LOCKED2 | &spi->controller->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |