Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/spi/spi-ar934x.c, line 146
- drivers/spi/spi-dw-core.c
- drivers/spi/spi-dw-dma.c
- drivers/spi/spi-omap2-mcspi.c
- drivers/spi/spi-orion.c
- drivers/spi/spi.c
- include/linux/spi/spi.h, line 1289
Smatch caller information:
drivers/spi/spi-omap2-mcspi.c omap2_mcspi_txrx_pio() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer->len | 1-u32max |
| CAPPED_DATA | 1 | xfer->len | 1 |
| DATA_SOURCE | 1 | xfer | $1 |
| 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_pio() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer->len | 1-u32max |
| CAPPED_DATA | 1 | xfer->len | 1 |
| DATA_SOURCE | 1 | xfer | $1 |
| 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_pio() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer->len | 1-u32max |
| CAPPED_DATA | 1 | xfer->len | 1 |
| DATA_SOURCE | 1 | xfer | $1 |
| 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-cavium.c spi_transfer_delay_exec() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer | 4096-ptr_max |
| DATA_SOURCE | 1 | xfer | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-orion.c orion_spi_write_read() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer->len | 1-u32max |
| DATA_SOURCE | 1 | xfer | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &host->io_mutex | ||
| HALF_LOCKED2 | &host->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-orion.c orion_spi_write_read() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer->len | 1-u32max |
| DATA_SOURCE | 1 | xfer | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &host->io_mutex | ||
| HALF_LOCKED2 | &host->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-bcm63xx-hsspi.c spi_transfer_delay_exec() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer | 4096-ptr_max |
| DATA_SOURCE | 1 | xfer | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &bs->msg_mutex | ||
| LOCK2 | &host->io_mutex | ||
| HALF_LOCKED2 | &host->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct bcm63xx_hsspi)->msg_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-dw-core.c dw_spi_poll_transfer() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 731216583214264320 |
| PARAM_VALUE | 0 | _delay->unit | 2 |
| PARAM_VALUE | 1 | xfer | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer->len | 1-u32max |
| CAPPED_DATA | 1 | xfer->len | 1 |
| DATA_SOURCE | 1 | xfer | $1 |
| 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-dw-core.c dw_spi_wait_mem_op_done() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 6730189097224581120 |
| PARAM_VALUE | 0 | _delay->unit | 0-1 |
| PARAM_VALUE | 1 | xfer | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | _delay->value | 0-1000[c] |
| LOCK2 | &mem->spi->controller->bus_lock_mutex | ||
| LOCK2 | &mem->spi->controller->io_mutex | ||
| HALF_LOCKED2 | &at25->lock | ||
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| HALF_LOCKED2 | &spinand->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct spi_controller)->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-tegra114.c spi_transfer_delay_exec() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer | 4096-ptr_max |
| DATA_SOURCE | 1 | xfer | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &host->io_mutex | ||
| HALF_LOCKED2 | &host->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-bcmbca-hsspi.c spi_transfer_delay_exec() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer | 4096-ptr_max |
| DATA_SOURCE | 1 | xfer | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &bs->msg_mutex | ||
| LOCK2 | &host->io_mutex | ||
| HALF_LOCKED2 | &host->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct bcmbca_hsspi)->msg_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-topcliff-pch.c spi_transfer_delay_exec() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer->len | 1-u32max |
| BUF_SIZE | 1 | xfer->rx_buf | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | xfer | $0 |
| BIT_INFO | 1 | xfer->len | 0x0,0x7fffffff |
| HALF_LOCKED2 | &pool->lock |
drivers/spi/spi-dw-dma.c dw_spi_dma_wait_rx_done() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 871112745737547776 |
| PARAM_VALUE | 0 | _delay->unit | 0-1 |
| PARAM_VALUE | 1 | xfer | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | _delay->value | 0-1000 |
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-dw-dma.c dw_spi_dma_wait_tx_done() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 8638848322372825088 |
| PARAM_VALUE | 0 | _delay->unit | 2 |
| PARAM_VALUE | 1 | xfer | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer->len | 1-u32max |
| PARAM_VALUE | 1 | xfer->tx_buf | 1-u64max |
| CAPPED_DATA | 1 | xfer->len | 1 |
| CAPPED_DATA | 1 | xfer->rx_buf | 1 |
| CAPPED_DATA | 1 | xfer->tx_buf | 1 |
| DATA_SOURCE | 1 | xfer | $1 |
| 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.c _spi_transfer_cs_change_delay() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 4096-ptr_max |
| PARAM_VALUE | 0 | _delay->value | 1-u16max |
| PARAM_VALUE | 1 | xfer | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer->cs_change | 1 |
| PARAM_VALUE | 1 | xfer->cs_change_delay.value | 1-u16max |
| DATA_SOURCE | 1 | xfer | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | xfer->ptp_sts->post_sts.cycles | 0-u64max |
| HOST_DATA | 1 | xfer->ptp_sts->pre_sts.cycles | 0-u64max |
| HALF_LOCKED2 | &bs->msg_mutex | ||
| HALF_LOCKED2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &host->io_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi.c spi_set_cs() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &spi->controller->io_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi.c spi_set_cs() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &spi->controller->io_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi.c spi_set_cs() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &spi->controller->io_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi.c spi_toggle_csgpiod() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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.c spi_toggle_csgpiod() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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.c spi_transfer_delay_exec() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer | 4096-ptr_max |
| DATA_SOURCE | 1 | xfer | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | xfer->ptp_sts->post_sts.cycles | 0-u64max |
| HOST_DATA | 1 | xfer->ptp_sts->pre_sts.cycles | 0-u64max |
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-cadence-xspi.c spi_transfer_delay_exec() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer->len | 0 |
| DATA_SOURCE | 1 | xfer | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &controller->io_mutex | ||
| HALF_LOCKED2 | &controller->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-fsl-dspi.c spi_transfer_delay_exec() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer | 4096-ptr_max |
| DATA_SOURCE | 1 | xfer | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-tegra210-quad.c spi_transfer_delay_exec() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer | 4096-ptr_max |
| DATA_SOURCE | 1 | xfer | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &host->io_mutex | ||
| HALF_LOCKED2 | &host->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-xcomm.c spi_transfer_delay_exec() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer->len | 0-62 |
| DATA_SOURCE | 1 | xfer | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &host->io_mutex | ||
| HALF_LOCKED2 | &host->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-sh-hspi.c spi_transfer_delay_exec() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer | 4096-ptr_max |
| DATA_SOURCE | 1 | xfer | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-sc18is602.c spi_transfer_delay_exec() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer | 4096-ptr_max |
| DATA_SOURCE | 1 | xfer | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &host->io_mutex | ||
| HALF_LOCKED2 | &host->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-ar934x.c ar934x_spi_transfer_one_message() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer->len | 1-u32max |
| CAPPED_DATA | 1 | &xfer->transfer_list | 1 |
| 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-ar934x.c spi_transfer_delay_exec() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer | 4096-ptr_max |
| CAPPED_DATA | 1 | xfer->len | 1 |
| DATA_SOURCE | 1 | xfer | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &ctlr->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-tegra20-sflash.c spi_transfer_delay_exec() -> spi_delay_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _delay | 4096-ptr_max |
| PARAM_VALUE | 0 | _delay->value | 1-u16max |
| PARAM_VALUE | 1 | xfer | 4096-ptr_max |
| PARAM_VALUE | 1 | xfer->cs_change | 1 |
| PARAM_VALUE | 1 | xfer->delay.value | 1-u16max |
| DATA_SOURCE | 1 | xfer | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &host->io_mutex | ||
| HALF_LOCKED2 | &host->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |