Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/spi/spi-bcm-qspi.c bcm_qspi_mspi_exec_mem_op() -> bcm_qspi_transfer_one()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | host | 4096-ptr_max |
| PARAM_VALUE | 1 | spi | 4096-ptr_max |
| PARAM_VALUE | 1 | spi->controller | 4096-ptr_max |
| PARAM_VALUE | 2 | trans | 6667477613488787456 |
| PARAM_VALUE | 2 | trans->len | 2-260 |
| PARAM_VALUE | 2 | trans->tx_buf | 2299405240056905728 |
| PARAM_VALUE | 2 | trans->tx_nbits | 1-8 |
| BUF_SIZE | 2 | trans | 272 |
| DATA_SOURCE | 1 | spi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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-bcm-qspi.c bcm_qspi_mspi_exec_mem_op() -> bcm_qspi_transfer_one()
| 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.driver_data->base_clk | 27000000,108000000 |
| PARAM_VALUE | 0 | host->dev.driver_data->bspi_enabled | s32min-s32max |
| PARAM_VALUE | 0 | host->dev.driver_data->mspi_done.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 0 | host->dev.driver_data->mspi_done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->dev.driver_data->mspi_done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | host->dev.driver_data->mspi_done.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | host->dev.driver_data->trans_pos.byte | 0 |
| PARAM_VALUE | 0 | host->dev.driver_data->trans_pos.trans->len | 1-4294967295 |
| PARAM_VALUE | 1 | spi | 4096-ptr_max |
| PARAM_VALUE | 1 | spi->controller | 4096-ptr_max |
| PARAM_VALUE | 1 | spi->controller->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | spi->controller->dev.driver_data->base_clk | 27000000,108000000 |
| PARAM_VALUE | 1 | spi->controller->dev.driver_data->bspi_enabled | s32min-s32max |
| PARAM_VALUE | 1 | spi->controller->dev.driver_data->mspi_done.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 1 | spi->controller->dev.driver_data->mspi_done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | spi->controller->dev.driver_data->mspi_done.wait.lock.owner | (-1) |
| PARAM_VALUE | 1 | spi->controller->dev.driver_data->mspi_done.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | spi->controller->dev.driver_data->trans_pos.trans->len | 1-4294967295 |
| PARAM_VALUE | 2 | trans | 6667477613488787464 |
| PARAM_VALUE | 2 | trans->len | 1-u32max |
| PARAM_VALUE | 2 | trans->rx_nbits | 0-8 |
| DATA_SOURCE | 1 | spi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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.c spi_transfer_one_message() -> (struct spi_controller)->transfer_one()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | host | 4096-ptr_max |
| PARAM_VALUE | 0 | host->cur_msg | 4096-ptr_max |
| PARAM_VALUE | 0 | host->cur_msg_completion.done | 0 |
| PARAM_VALUE | 0 | host->cur_msg_incomplete | 1 |
| PARAM_VALUE | 0 | host->cur_msg_need_completion | 0 |
| PARAM_VALUE | 0 | host->cur_tx_dma_dev->dma_mask | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->cur_tx_dma_dev->dma_parms | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->dev.parent->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | host->dummy_rx | 1-u64max |
| PARAM_VALUE | 0 | host->dummy_tx | 1-u64max |
| PARAM_VALUE | 0 | host->flags | 8-u16max |
| PARAM_VALUE | 0 | host->io_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->io_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | host->io_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | host->io_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | host->io_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | host->io_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | host->io_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | host->io_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | host->xfer_completion.done | 0 |
| PARAM_VALUE | 1 | spi | 4096-ptr_max |
| PARAM_VALUE | 1 | spi->controller | 4096-ptr_max |
| PARAM_VALUE | 2 | trans | 4096-ptr_max |
| PARAM_VALUE | 2 | trans->len | 1-u32max |
| CAPPED_DATA | 0 | host->dummy_rx | 1 |
| CAPPED_DATA | 0 | host->dummy_tx | 1 |
| CAPPED_DATA | 2 | trans->rx_buf | 1 |
| CAPPED_DATA | 2 | trans->tx_buf | 1 |
| CAPPED_DATA | 2 | &trans->transfer_list | 1 |
| DATA_SOURCE | 0 | host | $0 |
| STR_LEN | 0 | host | (-1) |
| STR_LEN | 0 | host->cur_msg->spi | (-1) |
| STR_LEN | 1 | spi | (-1) |
| CONTAINER | 0 | -2720+0 | $(-1) |
| PARAM_COMPARE | 1 | spi->controller->dummy_rx | >= $2->rx_buf |
| PARAM_COMPARE | 1 | spi->controller->dummy_tx | >= $2->tx_buf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | spi->controller->dev.driver_data->pending_slave_select | 0-4294967295[c] |
| HOST_DATA | 2 | trans->ptp_sts->post_sts.cycles | 0-u64max |
| HOST_DATA | 2 | trans->ptp_sts->pre_sts.cycles | 0-u64max |
| LOCK2 | 0 | &host->io_mutex | |
| HALF_LOCKED2 | 0 | &host->dev.driver_data->op_lock | |
| TYPE_LOCK | (struct spi_controller)->io_mutex |