Defined in 5 files as a function:
- drivers/spi/spi-butterfly.c, line 67 (as a function)
- drivers/spi/spi-gpio.c, line 57 (as a function)
- drivers/spi/spi-lm70llp.c, line 133 (as a function)
- drivers/spi/spi-lp8841-rtc.c, line 40 (as a function)
- drivers/spi/spi-sh-sci.c, line 57 (as a function)
Referenced in 3 files:
Smatch caller information:
drivers/spi/spi-gpio.c bitbang_txrx_be_cpha0() -> setsck()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spi | 4096-ptr_max |
| PARAM_VALUE | 1 | is_on | 0-1 |
| DATA_SOURCE | 0 | spi | $0 |
| FUZZY_MAX | 1 | is_on | 1 |
| BIT_INFO | 0 | spi->mode | 0x0,0xfffffff7 |
| HARD_MAX | 1 | is_on | 1 |
| NOCHECK_CALL |
drivers/spi/spi-gpio.c bitbang_txrx_be_cpha0() -> setsck()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spi | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->controller | 4096-ptr_max |
| PARAM_VALUE | 1 | is_on | 0-1 |
| DATA_SOURCE | 0 | spi | $0 |
| DATA_SOURCE | 1 | is_on | $2 |
| BIT_INFO | 0 | spi->mode | 0x0,0xfffffff7 |
| NOCHECK_CALL |
drivers/spi/spi-gpio.c bitbang_txrx_be_cpha1() -> setsck()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spi | 4096-ptr_max |
| PARAM_VALUE | 1 | is_on | 0-1 |
| DATA_SOURCE | 0 | spi | $0 |
| FUZZY_MAX | 1 | is_on | 1 |
| BIT_INFO | 0 | spi->mode | 0x0,0xfffffff7 |
| HARD_MAX | 1 | is_on | 1 |
| NOCHECK_CALL |
drivers/spi/spi-gpio.c bitbang_txrx_be_cpha1() -> setsck()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spi | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->controller | 4096-ptr_max |
| PARAM_VALUE | 1 | is_on | 0-1 |
| DATA_SOURCE | 0 | spi | $0 |
| DATA_SOURCE | 1 | is_on | $2 |
| BIT_INFO | 0 | spi->mode | 0x0,0xfffffff7 |
| NOCHECK_CALL |
drivers/spi/spi-gpio.c bitbang_txrx_le_cpha0() -> setsck()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spi | 4096-ptr_max |
| PARAM_VALUE | 1 | is_on | 0-1 |
| DATA_SOURCE | 0 | spi | $0 |
| FUZZY_MAX | 1 | is_on | 1 |
| BIT_INFO | 0 | spi->mode | 0x8,0xffffffffffffffff |
| HARD_MAX | 1 | is_on | 1 |
| NOCHECK_CALL |
drivers/spi/spi-gpio.c bitbang_txrx_le_cpha0() -> setsck()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spi | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->controller | 4096-ptr_max |
| PARAM_VALUE | 1 | is_on | 0-1 |
| DATA_SOURCE | 0 | spi | $0 |
| DATA_SOURCE | 1 | is_on | $2 |
| BIT_INFO | 0 | spi->mode | 0x8,0xffffffffffffffff |
| NOCHECK_CALL |
drivers/spi/spi-gpio.c bitbang_txrx_le_cpha1() -> setsck()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spi | 4096-ptr_max |
| PARAM_VALUE | 1 | is_on | 0-1 |
| DATA_SOURCE | 0 | spi | $0 |
| FUZZY_MAX | 1 | is_on | 1 |
| BIT_INFO | 0 | spi->mode | 0x8,0xffffffffffffffff |
| HARD_MAX | 1 | is_on | 1 |
| NOCHECK_CALL |
drivers/spi/spi-gpio.c bitbang_txrx_le_cpha1() -> setsck()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spi | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->controller | 4096-ptr_max |
| PARAM_VALUE | 1 | is_on | 0-1 |
| DATA_SOURCE | 0 | spi | $0 |
| DATA_SOURCE | 1 | is_on | $2 |
| BIT_INFO | 0 | spi->mode | 0x8,0xffffffffffffffff |
| NOCHECK_CALL |
drivers/spi/spi-butterfly.c bitbang_txrx_be_cpha0() -> setsck()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | is_on | 0-1 |
| DATA_SOURCE | 0 | spi | $0 |
| FUZZY_MAX | 1 | is_on | 1 |
| HARD_MAX | 1 | is_on | 1 |
| NOCHECK_CALL |
drivers/spi/spi-butterfly.c bitbang_txrx_be_cpha0() -> setsck()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spi | 4096-ptr_max |
| PARAM_VALUE | 1 | is_on | 0 |
| DATA_SOURCE | 0 | spi | $0 |
| DATA_SOURCE | 1 | is_on | $2 |
| NOCHECK_CALL |
drivers/spi/spi-butterfly.c butterfly_chipselect() -> setsck()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spi | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->controller | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->controller->dev.parent->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | spi->controller->last_cs | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->controller->set_cs | 1-u64max |
| PARAM_VALUE | 0 | spi->dev.dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | *spi->chip_select | 0-255 |
| PARAM_VALUE | 1 | is_on | 0,2 |
| BUF_SIZE | 0 | spi->controller | (-1),3-6,8,12,16,24,32,48,56,64,80,88,112,120,136,176,208,272,360,504,696,976,1616,1656,1688,1728,1776,1888,1904,1984-5728 |
| BUF_SIZE | 0 | spi->controller_data | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | spi->dev.init_name | (-1),50 |
| BUF_SIZE | 0 | spi->dev.platform_data | (-1),32 |
| CAPPED_DATA | 0 | spi->num_chipselect | 1 |
| DATA_SOURCE | 0 | spi | $0 |
| STR_LEN | 0 | spi | (-1),56 |
| STR_LEN | 0 | spi | (-1),56 |
| STR_LEN | 0 | spi->dev.init_name | (-1),49 |
| BIT_INFO | 1 | is_on | 0x0,0x2 |
| NOSPEC | 0 | spi->max_speed_hz | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | spi->bits_per_word | 1-255 |
| USER_DATA | 0 | spi->controller->last_cs_mode_high | 0-1[c] |
| USER_DATA | 0 | spi->max_speed_hz | 1-u32max[c] |
| USER_DATA | 0 | spi->mode | 0-524287[c] |
| USER_DATA | 1 | is_on | 2[c] |
| NO_OVERFLOW_SIMPLE | 0 | spi->controller->kworker->task->dl.pi_se->dl_runtime | |
| NO_OVERFLOW_SIMPLE | 0 | spi->controller->num_chipselect | |
| HALF_LOCKED2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | 0 | &spi->controller->bus_lock_mutex | |
| HALF_LOCKED2 | 0 | &spi->controller->io_mutex | |
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-lp8841-rtc.c bitbang_txrx_be_cpha0_lsb() -> setsck()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spi | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->iomem | 4096-ptr_max |
| PARAM_VALUE | 1 | is_on | 0-1 |
| BUF_SIZE | 0 | spi | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | spi | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | spi | $0 |
| FUZZY_MAX | 1 | is_on | 1 |
| HARD_MAX | 1 | is_on | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | spi | unit_byte |
| LOCK2 | &host->io_mutex | ||
| HALF_LOCKED2 | &host->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-lp8841-rtc.c bitbang_txrx_be_cpha0_lsb() -> setsck()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spi | 4096-ptr_max |
| PARAM_VALUE | 0 | spi->iomem | 4096-ptr_max |
| PARAM_VALUE | 1 | is_on | 0 |
| BUF_SIZE | 0 | spi | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | spi | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | spi | $0 |
| DATA_SOURCE | 1 | is_on | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | spi | unit_byte |
| LOCK2 | &host->io_mutex | ||
| HALF_LOCKED2 | &host->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-lm70llp.c bitbang_txrx_be_cpha0() -> setsck()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | is_on | 0-1 |
| DATA_SOURCE | 0 | spi | $0 |
| FUZZY_MAX | 1 | is_on | 1 |
| HARD_MAX | 1 | is_on | 1 |
| NOCHECK_CALL |
drivers/spi/spi-lm70llp.c bitbang_txrx_be_cpha0() -> setsck()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spi | 4096-ptr_max |
| PARAM_VALUE | 1 | is_on | 0 |
| DATA_SOURCE | 0 | spi | $0 |
| DATA_SOURCE | 1 | is_on | $2 |
| NOCHECK_CALL |