Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/spi/spi-qcom-qspi.c qcom_qspi_alloc_desc() -> qspi_buswidth_to_iomode()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->dma_cmd_desc 4096-ptr_max
PARAM_VALUE 0 ctrl->dma_cmd_pool 4096-ptr_max
PARAM_VALUE 0 ctrl->dma_cmd_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctrl->dma_cmd_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctrl->dma_cmd_pool->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctrl->dma_cmd_pool->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 ctrl->dma_cmd_pool->dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->dma_cmd_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 ctrl->dma_cmd_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 ctrl->dma_cmd_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->dma_cmd_pool->size 0-s32max
PARAM_VALUE 0 ctrl->last_speed 0-u32max
PARAM_VALUE 0 ctrl->n_cmd_desc 0-17
PARAM_VALUE 0 ctrl->virt_cmd_desc 4096-ptr_max
PARAM_VALUE 0 ctrl->xfer.buswidth 0-15
PARAM_VALUE 0 ctrl->xfer.dir 0-1
PARAM_VALUE 0 ctrl->xfer.rem_bytes 1-u32max
PARAM_VALUE 1 buswidth 0-15
BUF_SIZE 0 ctrl s32min-(-2),1-s32max
BUF_SIZE 0 ctrl s32min-(-2),1-s32max
BUF_SIZE 0 ctrl->xfer.rx_buf s32min-(-1),1-s32max
BUF_SIZE 0 ctrl->xfer.tx_buf s32min-(-1),1-s32max
CAPPED_DATA 0 ctrl->dma_cmd_pool->size 1
CAPPED_DATA 0 ctrl->last_speed 1
DATA_SOURCE 0 ctrl $0
HARD_MAX 0 ctrl->xfer.dir 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ctrl unit_byte
LOCK2 &host->io_mutex
LOCK2 flags
LOCK2 0 &ctrl->lock
HALF_LOCKED2 &host->dev.driver_data->op_lock
TYPE_LOCK (struct qcom_qspi)->lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-qcom-qspi.c qcom_qspi_pio_xfer_cfg() -> qspi_buswidth_to_iomode()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->dma_cmd_pool->size 0-4294967295
PARAM_VALUE 0 ctrl->last_speed 0-u32max
PARAM_VALUE 0 ctrl->xfer.buswidth 0-15
PARAM_VALUE 0 ctrl->xfer.dir 0-1
PARAM_VALUE 0 ctrl->xfer.rem_bytes 1-u32max
PARAM_VALUE 1 buswidth 0-15
BUF_SIZE 0 ctrl s32min-(-2),1-s32max
BUF_SIZE 0 ctrl s32min-(-2),1-s32max
BUF_SIZE 0 ctrl->xfer.rx_buf s32min-(-1),1-s32max
BUF_SIZE 0 ctrl->xfer.tx_buf s32min-(-1),1-s32max
CAPPED_DATA 0 ctrl->last_speed 1
DATA_SOURCE 0 ctrl $0
FUZZY_MAX 0 ctrl->xfer.dir 1
HARD_MAX 0 ctrl->xfer.dir 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ctrl unit_byte
LOCK2 &host->io_mutex
LOCK2 flags
LOCK2 0 &ctrl->lock
HALF_LOCKED2 &host->dev.driver_data->op_lock
TYPE_LOCK (struct qcom_qspi)->lock
TYPE_LOCK (struct spi_controller)->io_mutex