Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/spi/spi-dln2.c dln2_spi_probe() -> dln2_spi_enable()

Type Parameter Key Value
PARAM_VALUE 0 dln2 4096-ptr_max
PARAM_VALUE 0 dln2->buf 1-u64max
PARAM_VALUE 0 dln2->cs 255
PARAM_VALUE 0 dln2->host 4096-ptr_max
PARAM_VALUE 0 dln2->mode 255
PARAM_VALUE 0 dln2->pdev 4096-ptr_max
PARAM_VALUE 0 dln2->pdev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dln2->pdev->dev.driver_data 4096-ptr_max
PARAM_VALUE 1 enable 0
BUF_SIZE 0 dln2 s32min-(-2),1-s32max
BUF_SIZE 0 dln2 s32min-(-2),1-s32max
BUF_SIZE 0 dln2->buf 272
BUF_SIZE 0 dln2->host 2888-5752
TERMINATED 0 dln2->buf->node.name 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dln2 unit_byte

drivers/spi/spi-dln2.c dln2_spi_probe() -> dln2_spi_enable()

Type Parameter Key Value
PARAM_VALUE 0 dln2 4096-ptr_max
PARAM_VALUE 0 dln2->buf 1-u64max
PARAM_VALUE 0 dln2->buf->count 0-36
PARAM_VALUE 0 dln2->cs 255
PARAM_VALUE 0 dln2->host 4096-ptr_max
PARAM_VALUE 0 dln2->mode 255
PARAM_VALUE 0 dln2->pdev 4096-ptr_max
PARAM_VALUE 0 dln2->pdev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dln2->pdev->dev.driver_data 4096-ptr_max
PARAM_VALUE 0 dln2->pdev->dev.parent 4096-ptr_max
PARAM_VALUE 0 dln2->pdev->dev.parent->driver_data 4096-ptr_max
PARAM_VALUE 0 dln2->pdev->dev.parent->driver_data->active_transfers s32min-s32max
PARAM_VALUE 0 dln2->pdev->dev.parent->driver_data->disconnect 0
PARAM_VALUE 0 dln2->pdev->dev.parent->driver_data->disconnect_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dln2->pdev->dev.parent->driver_data->usb_dev->bus->sysdev->iommu->attach_deferred 0
PARAM_VALUE 0 dln2->pdev->dev.parent->driver_data->usb_dev->state 4-4294967295
PARAM_VALUE 0 dln2->pdev->dev.platform_data 4096-ptr_max
PARAM_VALUE 1 enable 1
BUF_SIZE 0 dln2 s32min-(-2),1-s32max
BUF_SIZE 0 dln2 s32min-(-2),1-s32max
BUF_SIZE 0 dln2->buf 272
BUF_SIZE 0 dln2->host 2888-5752
CAPPED_DATA 0 dln2->buf->count 1
TERMINATED 0 dln2->buf->node.name 1
HARD_MAX 0 dln2->buf->count 36
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dln2 unit_byte

drivers/spi/spi-dln2.c dln2_spi_probe() -> dln2_spi_enable()

Type Parameter Key Value
PARAM_VALUE 0 dln2 4096-ptr_max
PARAM_VALUE 0 dln2->buf 1-u64max
PARAM_VALUE 0 dln2->buf->count 0-36
PARAM_VALUE 0 dln2->cs 255
PARAM_VALUE 0 dln2->host 4096-ptr_max
PARAM_VALUE 0 dln2->mode 255
PARAM_VALUE 0 dln2->pdev 4096-ptr_max
PARAM_VALUE 0 dln2->pdev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dln2->pdev->dev.driver_data 4096-ptr_max
PARAM_VALUE 0 dln2->pdev->dev.parent 4096-ptr_max
PARAM_VALUE 0 dln2->pdev->dev.parent->driver_data 4096-ptr_max
PARAM_VALUE 0 dln2->pdev->dev.parent->driver_data->active_transfers s32min-s32max
PARAM_VALUE 0 dln2->pdev->dev.parent->driver_data->disconnect 0
PARAM_VALUE 0 dln2->pdev->dev.parent->driver_data->disconnect_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dln2->pdev->dev.parent->driver_data->usb_dev->bus->sysdev->iommu->attach_deferred 0
PARAM_VALUE 0 dln2->pdev->dev.parent->driver_data->usb_dev->state 4-4294967295
PARAM_VALUE 0 dln2->pdev->dev.platform_data 4096-ptr_max
PARAM_VALUE 1 enable 0
BUF_SIZE 0 dln2 s32min-(-2),1-s32max
BUF_SIZE 0 dln2 s32min-(-2),1-s32max
BUF_SIZE 0 dln2->buf 272
BUF_SIZE 0 dln2->host 2888-5752
CAPPED_DATA 0 dln2->buf->count 1
TERMINATED 0 dln2->buf->node.name 1
HARD_MAX 0 dln2->buf->count 36
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dln2 unit_byte

drivers/spi/spi-dln2.c dln2_spi_remove() -> dln2_spi_enable()

Type Parameter Key Value
PARAM_VALUE 1 enable 0
BUF_SIZE 0 dln2 s32min-(-2),1-s32max
BUF_SIZE 0 dln2 s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dln2 unit_byte
HALF_LOCKED2 &_dev->mutex

drivers/spi/spi-dln2.c dln2_spi_resume() -> dln2_spi_enable()

Type Parameter Key Value
PARAM_VALUE 0 dln2 4096-ptr_max
PARAM_VALUE 0 dln2->host 4096-ptr_max
PARAM_VALUE 0 dln2->pdev 4096-ptr_max
PARAM_VALUE 0 dln2->pdev->dev.parent 4096-ptr_max
PARAM_VALUE 0 dln2->pdev->dev.parent->driver_data 4096-ptr_max
PARAM_VALUE 0 dln2->pdev->dev.parent->driver_data->active_transfers s32min-s32max
PARAM_VALUE 0 dln2->pdev->dev.parent->driver_data->disconnect 0
PARAM_VALUE 0 dln2->pdev->dev.parent->driver_data->disconnect_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dln2->pdev->dev.parent->driver_data->usb_dev->bus->sysdev->iommu->attach_deferred 0
PARAM_VALUE 0 dln2->pdev->dev.parent->driver_data->usb_dev->state 4-4294967295
PARAM_VALUE 0 dln2->pdev->dev.platform_data 4096-ptr_max
PARAM_VALUE 1 enable 1
BUF_SIZE 0 dln2 s32min-(-2),1-s32max
BUF_SIZE 0 dln2 s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dln2 unit_byte

drivers/spi/spi-dln2.c dln2_spi_runtime_resume() -> dln2_spi_enable()

Type Parameter Key Value
PARAM_VALUE 1 enable 1
BUF_SIZE 0 dln2 s32min-(-2),1-s32max
BUF_SIZE 0 dln2 s32min-(-2),1-s32max
UNITS 0 dln2 unit_byte

drivers/spi/spi-dln2.c dln2_spi_runtime_suspend() -> dln2_spi_enable()

Type Parameter Key Value
PARAM_VALUE 1 enable 0
BUF_SIZE 0 dln2 s32min-(-2),1-s32max
BUF_SIZE 0 dln2 s32min-(-2),1-s32max
UNITS 0 dln2 unit_byte

drivers/spi/spi-dln2.c dln2_spi_suspend() -> dln2_spi_enable()

Type Parameter Key Value
PARAM_VALUE 0 dln2->abort_done.done 0-4294967293,4294967295
PARAM_VALUE 0 dln2->abort_done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 dln2->abort_done.wait.lock.owner (-1)
PARAM_VALUE 0 dln2->abort_done.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 dln2->abort_done.wait.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 dln2->abort_failed 1
PARAM_VALUE 0 dln2->cancel_done.done 0-4294967293,4294967295
PARAM_VALUE 0 dln2->cancel_done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 dln2->cancel_done.wait.lock.owner (-1)
PARAM_VALUE 0 dln2->cancel_done.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 dln2->cancel_done.wait.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 dln2->completion.done 0-4294967295
PARAM_VALUE 0 dln2->completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 dln2->completion.wait.lock.owner (-1)
PARAM_VALUE 0 dln2->completion.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 dln2->controller->cur_msg->status (-4)
PARAM_VALUE 0 dln2->controller->xfer_completion.done 0-4294967295
PARAM_VALUE 0 dln2->controller->xfer_completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 dln2->controller->xfer_completion.wait.lock.owner (-1)
PARAM_VALUE 0 dln2->controller->xfer_completion.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 dln2->cur_xfer 0
PARAM_VALUE 0 dln2->dma->chan_rx->completed_cookie 1
PARAM_VALUE 0 dln2->dma->chan_rx->cookie 1
PARAM_VALUE 0 dln2->dma->chan_tx->completed_cookie 1
PARAM_VALUE 0 dln2->dma->chan_tx->cookie 1
PARAM_VALUE 0 dln2->dma_channels->dma_rx_completion.done 0-4294967295
PARAM_VALUE 0 dln2->dma_channels->dma_rx_completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 dln2->dma_channels->dma_rx_completion.wait.lock.owner (-1)
PARAM_VALUE 0 dln2->dma_channels->dma_rx_completion.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 dln2->dma_channels->dma_tx_completion.done 0-4294967295
PARAM_VALUE 0 dln2->dma_channels->dma_tx_completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 dln2->dma_channels->dma_tx_completion.wait.lock.owner (-1)
PARAM_VALUE 0 dln2->dma_channels->dma_tx_completion.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 dln2->dma_rx_completion.done 0-4294967295
PARAM_VALUE 0 dln2->dma_rx_completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 dln2->dma_rx_completion.wait.lock.owner (-1)
PARAM_VALUE 0 dln2->dma_rx_completion.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 dln2->dma_tx_completion.done 0-4294967295
PARAM_VALUE 0 dln2->dma_tx_completion.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 dln2->dma_tx_completion.wait.lock.owner (-1)
PARAM_VALUE 0 dln2->dma_tx_completion.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 dln2->done.done 0-4294967295
PARAM_VALUE 0 dln2->done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 dln2->done.wait.lock.owner (-1)
PARAM_VALUE 0 dln2->done.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 dln2->done_txdma.done 0-4294967295
PARAM_VALUE 0 dln2->done_txdma.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 dln2->done_txdma.wait.lock.owner (-1)
PARAM_VALUE 0 dln2->done_txdma.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 dln2->isr_done.done 0-4294967295
PARAM_VALUE 0 dln2->isr_done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 dln2->isr_done.wait.lock.owner (-1)
PARAM_VALUE 0 dln2->isr_done.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 dln2->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dln2->map->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 dln2->map->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 dln2->map->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 dln2->map->cache_dirty 1
PARAM_VALUE 0 dln2->regmap->async 0
PARAM_VALUE 0 dln2->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 dln2->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 dln2->regmap->cache_dirty 0-1
PARAM_VALUE 0 dln2->rx_reset_done.done 0-4294967293,4294967295
PARAM_VALUE 0 dln2->rx_reset_done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 dln2->rx_reset_done.wait.lock.owner (-1)
PARAM_VALUE 0 dln2->rx_reset_done.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 dln2->rx_reset_done.wait.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 dln2->rxchan->completed_cookie 1
PARAM_VALUE 0 dln2->rxchan->cookie 1
PARAM_VALUE 0 dln2->state.counter 0
PARAM_VALUE 0 dln2->status 0
PARAM_VALUE 0 dln2->target_abort 1
PARAM_VALUE 0 dln2->target_aborted 1
PARAM_VALUE 0 dln2->target_isr.done 0-4294967295
PARAM_VALUE 0 dln2->target_isr.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 dln2->target_isr.wait.lock.owner (-1)
PARAM_VALUE 0 dln2->target_isr.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 dln2->tx_reset_done.done 0-4294967293,4294967295
PARAM_VALUE 0 dln2->tx_reset_done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 dln2->tx_reset_done.wait.lock.owner (-1)
PARAM_VALUE 0 dln2->tx_reset_done.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 dln2->tx_reset_done.wait.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 dln2->txchan->completed_cookie 1
PARAM_VALUE 0 dln2->txchan->cookie 1
PARAM_VALUE 0 dln2->txdone.done 0-4294967295
PARAM_VALUE 0 dln2->txdone.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 dln2->txdone.wait.lock.owner (-1)
PARAM_VALUE 0 dln2->txdone.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 dln2->xfer->len 0-4294967295
PARAM_VALUE 0 dln2->xfer_done.done 0-4294967295
PARAM_VALUE 0 dln2->xfer_done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 dln2->xfer_done.wait.lock.owner (-1)
PARAM_VALUE 0 dln2->xfer_done.wait.lock.owner_cpu 4294967295
PARAM_VALUE 1 enable 0
BUF_SIZE 0 dln2 s32min-(-2),1-s32max
BUF_SIZE 0 dln2 s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dln2 unit_byte

drivers/spi/spi-dln2.c dln2_spi_transfer_setup() -> dln2_spi_enable()

Type Parameter Key Value
PARAM_VALUE 0 dln2 4096-ptr_max
PARAM_VALUE 1 enable 0
BUF_SIZE 0 dln2 s32min-(-2),1-s32max
BUF_SIZE 0 dln2 s32min-(-2),1-s32max
DATA_SOURCE 0 dln2 $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dln2 unit_byte
LOCK2 &host->io_mutex
HALF_LOCKED2 &host->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex

drivers/spi/spi-dln2.c dln2_spi_transfer_setup() -> dln2_spi_enable()

Type Parameter Key Value
PARAM_VALUE 0 dln2 4096-ptr_max
PARAM_VALUE 0 dln2->mode 0-255
PARAM_VALUE 0 dln2->pdev 4096-ptr_max
PARAM_VALUE 0 dln2->pdev->dev.parent 4096-ptr_max
PARAM_VALUE 0 dln2->pdev->dev.parent->driver_data 4096-ptr_max
PARAM_VALUE 0 dln2->pdev->dev.parent->driver_data->active_transfers s32min-s32max
PARAM_VALUE 0 dln2->pdev->dev.parent->driver_data->disconnect 0
PARAM_VALUE 0 dln2->pdev->dev.parent->driver_data->disconnect_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dln2->pdev->dev.parent->driver_data->usb_dev->bus->sysdev->iommu->attach_deferred 0
PARAM_VALUE 0 dln2->pdev->dev.parent->driver_data->usb_dev->state 4-4294967295
PARAM_VALUE 0 dln2->pdev->dev.platform_data 4096-ptr_max
PARAM_VALUE 1 enable 1
BUF_SIZE 0 dln2 s32min-(-2),1-s32max
BUF_SIZE 0 dln2 s32min-(-2),1-s32max
DATA_SOURCE 0 dln2 $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dln2 unit_byte
LOCK2 &host->io_mutex
HALF_LOCKED2 &host->dev.driver_data->op_lock
TYPE_LOCK (struct spi_controller)->io_mutex