Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/spi/spi-topcliff-pch.c pch_spi_handle_dma() -> pch_spi_writereg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | host | 4096-ptr_max |
| PARAM_VALUE | 0 | host->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | host->dev.flags | 4096-ptr_max |
| PARAM_VALUE | 1 | idx | 24 |
| PARAM_VALUE | 2 | val | 2 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &data->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct pch_spi_data)->lock |
drivers/spi/spi-topcliff-pch.c pch_spi_process_messages() -> pch_spi_writereg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | idx | 24 |
| PARAM_VALUE | 2 | val | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/spi/spi-topcliff-pch.c pch_spi_process_messages() -> pch_spi_writereg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | host | 4096-ptr_max |
| PARAM_VALUE | 0 | host->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | idx | 24 |
| PARAM_VALUE | 2 | val | 3 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/spi/spi-topcliff-pch.c pch_spi_reset() -> pch_spi_writereg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | idx | 28 |
| PARAM_VALUE | 2 | val | 1 |
| BUF_SIZE | 0 | host | (-1),2864-5728 |
| BUF_SIZE | 0 | host | (-1),2864-5728 |
| DATA_SOURCE | 0 | host | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/spi/spi-topcliff-pch.c pch_spi_reset() -> pch_spi_writereg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | host | 4096-ptr_max |
| PARAM_VALUE | 0 | host->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | idx | 28 |
| PARAM_VALUE | 2 | val | 0 |
| BUF_SIZE | 0 | host | (-1),2864-5728 |
| BUF_SIZE | 0 | host | (-1),2864-5728 |
| DATA_SOURCE | 0 | host | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/spi/spi-topcliff-pch.c pch_spi_set_ir() -> pch_spi_writereg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | host | 4096-ptr_max |
| PARAM_VALUE | 0 | host->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | idx | 8 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u32max |
| HALF_LOCKED2 | &pool->lock |
drivers/spi/spi-topcliff-pch.c pch_spi_set_tx() -> pch_spi_writereg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | host | 4096-ptr_max |
| PARAM_VALUE | 0 | host->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | idx | 24 |
| PARAM_VALUE | 2 | val | 2 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/spi/spi-topcliff-pch.c pch_spi_set_tx() -> pch_spi_writereg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | host | 4096-ptr_max |
| PARAM_VALUE | 0 | host->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | idx | 12 |
| PARAM_VALUE | 2 | val | 0-u16max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/spi/spi-topcliff-pch.c pch_spi_setclr_reg() -> pch_spi_writereg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | host | 4096-ptr_max |
| PARAM_VALUE | 0 | host->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | host->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | idx | 0,4 |
| BUF_SIZE | 0 | host | (-1),2864-5728 |
| BUF_SIZE | 0 | host | (-1),2864-5728 |
| CAPPED_DATA | 2 | val | 1 |
| DATA_SOURCE | 0 | host | $0 |
| DATA_SOURCE | 1 | idx | $1 |
| HARD_MAX | 1 | idx | 4 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u32max[c] |
| HALF_LOCKED2 | &_dev->mutex | ||
| HALF_LOCKED2 | &data->lock | ||
| HALF_LOCKED2 | flags |
drivers/spi/spi-topcliff-pch.c pch_spi_start_transfer() -> pch_spi_writereg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | host | 4096-ptr_max |
| PARAM_VALUE | 0 | host->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | host->dev.flags | 4096-ptr_max |
| PARAM_VALUE | 1 | idx | 8 |
| PREEMPT_ADD | <- disables preempt | ||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u32max |
| LOCK2 | &data->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct pch_spi_data)->lock |