Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/spi/spi-imx.c spi_imx_dma_submit() -> (struct spi_imx_devtype_data)->reset()

Type Parameter Key Value
PARAM_VALUE 0 spi_imx 4096-ptr_max
PARAM_VALUE 0 spi_imx->bits_per_word 0-255
PARAM_VALUE 0 spi_imx->controller 4096-ptr_max
PARAM_VALUE 0 spi_imx->controller->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 spi_imx->controller->dev.class 0,4096-ptr_max
PARAM_VALUE 0 spi_imx->controller->dev.driver 0,4096-ptr_max
PARAM_VALUE 0 spi_imx->controller->dev.driver_data 4096-ptr_max
PARAM_VALUE 0 spi_imx->controller->dma_rx 4096-ptr_max
PARAM_VALUE 0 spi_imx->controller->dma_rx->device 4096-ptr_max
PARAM_VALUE 0 spi_imx->controller->dma_rx->device->dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 spi_imx->controller->dma_rx->device->dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 spi_imx->controller->dma_rx->device->dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 spi_imx->controller->dma_rx->device->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 spi_imx->controller->dma_rx->device->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 spi_imx->controller->dma_rx->device->device_config 1-u64max
PARAM_VALUE 0 spi_imx->controller->dma_rx->device->device_issue_pending 4096-ptr_max
PARAM_VALUE 0 spi_imx->controller->dma_tx 4096-ptr_max
PARAM_VALUE 0 spi_imx->controller->dma_tx->device 4096-ptr_max
PARAM_VALUE 0 spi_imx->controller->dma_tx->device->dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 spi_imx->controller->dma_tx->device->dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 spi_imx->controller->dma_tx->device->dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 spi_imx->controller->dma_tx->device->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 spi_imx->controller->dma_tx->device->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 spi_imx->controller->dma_tx->device->device_config 1-u64max
PARAM_VALUE 0 spi_imx->controller->dma_tx->device->device_issue_pending 4096-ptr_max
PARAM_VALUE 0 spi_imx->count 1-u32max
PARAM_VALUE 0 spi_imx->devtype_data 4096-ptr_max
PARAM_VALUE 0 spi_imx->devtype_data->setup_wml 1-u64max
PARAM_VALUE 0 spi_imx->dma_data 4096-ptr_max
PARAM_VALUE 0 spi_imx->dma_package_num 1-2
PARAM_VALUE 0 spi_imx->dma_rx_completion.done 0-4294967293,u32max
PARAM_VALUE 0 spi_imx->dma_rx_completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 spi_imx->dma_rx_completion.wait.lock.owner (-1)
PARAM_VALUE 0 spi_imx->dma_rx_completion.wait.lock.owner_cpu u32max
PARAM_VALUE 0 spi_imx->dma_rx_completion.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 spi_imx->dma_rx_completion.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 spi_imx->dma_tx_completion.done 0-4294967293,u32max
PARAM_VALUE 0 spi_imx->dma_tx_completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 spi_imx->dma_tx_completion.wait.lock.owner (-1)
PARAM_VALUE 0 spi_imx->dma_tx_completion.wait.lock.owner_cpu u32max
PARAM_VALUE 0 spi_imx->dma_tx_completion.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 spi_imx->dma_tx_completion.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 spi_imx->dynamic_burst 0-1
PARAM_VALUE 0 spi_imx->rx 42342777452650496,113465671552167936,462074568686665728,4659679021030215680,6599172078914756608
PARAM_VALUE 0 spi_imx->target_burst 1-u32max
PARAM_VALUE 0 spi_imx->target_mode 0
PARAM_VALUE 0 spi_imx->tx 111164812599615488,1973180455362531328,4613384052067262464,4807103415222149120,7782709079490289664
PARAM_VALUE 0 spi_imx->usedma 1
PARAM_VALUE 0 spi_imx->wml 1-u32max
BUF_SIZE 0 spi_imx s32min-(-2),1-s32max
BUF_SIZE 0 spi_imx s32min-(-2),1-s32max
CAPPED_DATA 0 spi_imx->dma_data 1
DATA_SOURCE 0 spi_imx $0
CONTAINER 0 -40-448+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 spi_imx->dma_package_num
LOCK2 &controller->io_mutex
HALF_LOCKED2 &controller->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-imx.c spi_imx_pio_transfer() -> (struct spi_imx_devtype_data)->reset()

Type Parameter Key Value
PARAM_VALUE 0 spi_imx 4096-ptr_max
PARAM_VALUE 0 spi_imx->devtype_data 4096-ptr_max
PARAM_VALUE 0 spi_imx->remainder 1-512
PARAM_VALUE 0 spi_imx->xfer_done.done 0-4294967293,u32max
PARAM_VALUE 0 spi_imx->xfer_done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 spi_imx->xfer_done.wait.lock.owner (-1)
PARAM_VALUE 0 spi_imx->xfer_done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 spi_imx->xfer_done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 spi_imx->xfer_done.wait.task_list.prev->next->next 4096-ptr_max
BUF_SIZE 0 spi_imx s32min-(-2),1-s32max
BUF_SIZE 0 spi_imx s32min-(-2),1-s32max
BUF_SIZE 0 spi_imx->rx_buf s32min-(-2),1-s32max
CAPPED_DATA 0 spi_imx->devtype_data->fifo_size 1
CONTAINER 0 -40-448+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &controller->io_mutex
HALF_LOCKED2 &controller->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-imx.c spi_imx_probe() -> (struct spi_imx_devtype_data)->reset()

Type Parameter Key Value
PARAM_VALUE 0 spi_imx 4096-ptr_max
PARAM_VALUE 0 spi_imx->base 4096-ptr_max
PARAM_VALUE 0 spi_imx->clk_ipg 0,4096-ptr_max
PARAM_VALUE 0 spi_imx->clk_ipg->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 spi_imx->clk_ipg->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 spi_imx->clk_ipg->core->dev->power.request 0-4
PARAM_VALUE 0 spi_imx->clk_ipg->core->dev->power.request_pending 0-1
PARAM_VALUE 0 spi_imx->clk_ipg->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 spi_imx->clk_ipg->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 spi_imx->clk_ipg->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 spi_imx->clk_ipg->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 spi_imx->clk_ipg->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 spi_imx->clk_ipg->core->enable_count 0-4294967295
PARAM_VALUE 0 spi_imx->clk_ipg->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 spi_imx->clk_ipg->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 spi_imx->clk_ipg->core->parent->dev->power.request 0-4
PARAM_VALUE 0 spi_imx->clk_ipg->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 spi_imx->clk_ipg->core->parent->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 spi_imx->clk_ipg->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 spi_imx->clk_ipg->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 spi_imx->clk_ipg->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 spi_imx->clk_ipg->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 spi_imx->clk_ipg->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 spi_imx->clk_ipg->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 spi_imx->clk_ipg->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 spi_imx->clk_ipg->core->prepare_count 1-4294967295
PARAM_VALUE 0 spi_imx->clk_ipg->core->protect_count 0-4294967295
PARAM_VALUE 0 spi_imx->clk_per 0,4096-ptr_max
PARAM_VALUE 0 spi_imx->clk_per->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 spi_imx->clk_per->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 spi_imx->clk_per->core->dev->power.request 0-4294967295
PARAM_VALUE 0 spi_imx->clk_per->core->dev->power.request_pending 0-1
PARAM_VALUE 0 spi_imx->clk_per->core->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 spi_imx->clk_per->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 spi_imx->clk_per->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 spi_imx->clk_per->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 spi_imx->clk_per->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 spi_imx->clk_per->core->enable_count 0-4294967295
PARAM_VALUE 0 spi_imx->clk_per->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 spi_imx->clk_per->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 spi_imx->clk_per->core->parent->dev->power.request 0-4
PARAM_VALUE 0 spi_imx->clk_per->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 spi_imx->clk_per->core->parent->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 spi_imx->clk_per->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 spi_imx->clk_per->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 spi_imx->clk_per->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 spi_imx->clk_per->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 spi_imx->clk_per->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 spi_imx->clk_per->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 spi_imx->clk_per->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 spi_imx->clk_per->core->prepare_count 1-4294967295
PARAM_VALUE 0 spi_imx->clk_per->core->protect_count 0-4294967295
PARAM_VALUE 0 spi_imx->controller 4096-ptr_max
PARAM_VALUE 0 spi_imx->controller->bits_per_word_mask u32max
PARAM_VALUE 0 spi_imx->controller->use_gpio_descriptors 1
PARAM_VALUE 0 spi_imx->dev 4096-ptr_max
PARAM_VALUE 0 spi_imx->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 spi_imx->dev->driver_data 4096-ptr_max
PARAM_VALUE 0 spi_imx->dev->power.autosuspend_delay 2000
PARAM_VALUE 0 spi_imx->dev->power.last_status (-1)
PARAM_VALUE 0 spi_imx->dev->power.qos 0,4096-u64max
PARAM_VALUE 0 spi_imx->dev->power.request 0-4
PARAM_VALUE 0 spi_imx->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 spi_imx->dev->power.runtime_status 0,2
PARAM_VALUE 0 spi_imx->dev->power.use_autosuspend 1
PARAM_VALUE 0 spi_imx->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 spi_imx->devtype_data 4096-ptr_max
PARAM_VALUE 0 spi_imx->spi_bus_clk 500000
PARAM_VALUE 0 spi_imx->spi_drctl 0-2,2147483648-u32max
PARAM_VALUE 0 spi_imx->xfer_done.done 0
PARAM_VALUE 0 spi_imx->xfer_done.wait.lock.magic 3735899821
PARAM_VALUE 0 spi_imx->xfer_done.wait.lock.owner (-1)
PARAM_VALUE 0 spi_imx->xfer_done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 spi_imx->xfer_done.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 spi_imx->xfer_done.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 spi_imx->xfer_done.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 spi_imx->xfer_done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 spi_imx->xfer_done.wait.task_list.prev->prev 4096-ptr_max
BUF_SIZE 0 spi_imx s32min-(-2),1-s32max
BUF_SIZE 0 spi_imx s32min-(-2),1-s32max
BUF_SIZE 0 spi_imx->clk_ipg (-1),1-s32max
BUF_SIZE 0 spi_imx->clk_per (-1),1-s32max
BUF_SIZE 0 spi_imx->controller 2888-5752
BUF_SIZE 0 spi_imx->dev 1616
CONTAINER 0 -40-448+0 $(-1)
BIT_INFO 0 spi_imx->spi_drctl 0x0,0x3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL