Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/spi/spi-airoha-snfi.c airoha_snand_dirmap_read() -> airoha_snand_set_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode | 2 |
| BUF_SIZE | 0 | as_ctrl | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | as_ctrl | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | as_ctrl | unit_byte |
| LOCK2 | &desc->mem->spi->controller->bus_lock_mutex | ||
| LOCK2 | &desc->mem->spi->controller->io_mutex | ||
| TYPE_LOCK | (struct spi_controller)->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-airoha-snfi.c airoha_snand_dirmap_read() -> airoha_snand_set_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | as_ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | as_ctrl->dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | as_ctrl->dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | as_ctrl->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | as_ctrl->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | as_ctrl->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | as_ctrl->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | as_ctrl->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | as_ctrl->regmap_ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | as_ctrl->regmap_nfi | 4096-ptr_max |
| PARAM_VALUE | 0 | as_ctrl->regmap_nfi->async | 0 |
| PARAM_VALUE | 0 | as_ctrl->regmap_nfi->cache->cached_rbnode->blklen | 1-4294967295 |
| PARAM_VALUE | 0 | as_ctrl->regmap_nfi->cache_dirty | 1 |
| PARAM_VALUE | 0 | as_ctrl->regmap_nfi->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | as_ctrl->regmap_nfi->unlock | 4096-ptr_max |
| PARAM_VALUE | 1 | mode | 1 |
| BUF_SIZE | 0 | as_ctrl | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | as_ctrl | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | as_ctrl->regmap_nfi->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | as_ctrl->regmap_nfi->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | as_ctrl->regmap_nfi->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | as_ctrl->regmap_nfi->volatile_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | as_ctrl->regmap_nfi->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | as_ctrl->regmap_nfi->wr_table->n_yes_ranges | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | as_ctrl | unit_byte |
| LOCK2 | &desc->mem->spi->controller->bus_lock_mutex | ||
| LOCK2 | &desc->mem->spi->controller->io_mutex | ||
| TYPE_LOCK | (struct spi_controller)->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-airoha-snfi.c airoha_snand_dirmap_read() -> airoha_snand_set_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | as_ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | as_ctrl->regmap_ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | as_ctrl->regmap_nfi | 4096-ptr_max |
| PARAM_VALUE | 1 | mode | 1 |
| BUF_SIZE | 0 | as_ctrl | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | as_ctrl | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | as_ctrl | unit_byte |
| LOCK2 | &desc->mem->spi->controller->bus_lock_mutex | ||
| LOCK2 | &desc->mem->spi->controller->io_mutex | ||
| TYPE_LOCK | (struct spi_controller)->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-airoha-snfi.c airoha_snand_dirmap_write() -> airoha_snand_set_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode | 2 |
| BUF_SIZE | 0 | as_ctrl | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | as_ctrl | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | as_ctrl | unit_byte |
| LOCK2 | &desc->mem->spi->controller->bus_lock_mutex | ||
| LOCK2 | &desc->mem->spi->controller->io_mutex | ||
| TYPE_LOCK | (struct spi_controller)->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-airoha-snfi.c airoha_snand_dirmap_write() -> airoha_snand_set_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | as_ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | as_ctrl->dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | as_ctrl->dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | as_ctrl->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | as_ctrl->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | as_ctrl->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | as_ctrl->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | as_ctrl->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | as_ctrl->regmap_ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | as_ctrl->regmap_nfi | 4096-ptr_max |
| PARAM_VALUE | 0 | as_ctrl->regmap_nfi->async | 0 |
| PARAM_VALUE | 0 | as_ctrl->regmap_nfi->cache->cached_rbnode->blklen | 1-4294967295 |
| PARAM_VALUE | 0 | as_ctrl->regmap_nfi->cache_dirty | 1 |
| PARAM_VALUE | 0 | as_ctrl->regmap_nfi->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | as_ctrl->regmap_nfi->unlock | 4096-ptr_max |
| PARAM_VALUE | 1 | mode | 1 |
| BUF_SIZE | 0 | as_ctrl | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | as_ctrl | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | as_ctrl->regmap_nfi->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | as_ctrl->regmap_nfi->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | as_ctrl->regmap_nfi->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | as_ctrl->regmap_nfi->volatile_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | as_ctrl->regmap_nfi->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | as_ctrl->regmap_nfi->wr_table->n_yes_ranges | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | as_ctrl | unit_byte |
| LOCK2 | &desc->mem->spi->controller->bus_lock_mutex | ||
| LOCK2 | &desc->mem->spi->controller->io_mutex | ||
| TYPE_LOCK | (struct spi_controller)->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-airoha-snfi.c airoha_snand_dirmap_write() -> airoha_snand_set_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | as_ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | as_ctrl->regmap_ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | as_ctrl->regmap_nfi | 4096-ptr_max |
| PARAM_VALUE | 1 | mode | 1 |
| BUF_SIZE | 0 | as_ctrl | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | as_ctrl | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | as_ctrl | unit_byte |
| LOCK2 | &desc->mem->spi->controller->bus_lock_mutex | ||
| LOCK2 | &desc->mem->spi->controller->io_mutex | ||
| TYPE_LOCK | (struct spi_controller)->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-airoha-snfi.c airoha_snand_exec_op() -> airoha_snand_set_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode | 1 |
| BUF_SIZE | 0 | as_ctrl | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | as_ctrl | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | as_ctrl | unit_byte |
| 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 |