Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/mtd/nand/ecc-mtk.c mtk_ecc_encode() -> mtk_ecc_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ecc | 4096-ptr_max |
| PARAM_VALUE | 0 | ecc->dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ecc->dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ecc->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ecc->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ecc->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | ecc->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | ecc->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 1 | config | 4096-ptr_max |
| PARAM_VALUE | 1 | config->addr | 0-18446744073709551614 |
| PARAM_VALUE | 1 | config->mode | 0 |
| PARAM_VALUE | 1 | config->op | 0 |
| DATA_SOURCE | 0 | ecc | $0 |
| DATA_SOURCE | 1 | config | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &chip->controller->lock | ||
| HALF_LOCKED2 | &chip->lock |
drivers/spi/spi-mtk-snfi.c mtk_snand_read_page_cache() -> mtk_ecc_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | config | 4096-ptr_max |
| PARAM_VALUE | 1 | config->op | 1 |
| 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-mtk-snfi.c mtk_snand_write_page_cache() -> mtk_ecc_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | config | 4096-ptr_max |
| PARAM_VALUE | 1 | config->op | 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/mtd/nand/raw/mtk_nand.c mtk_nfc_read_subpage() -> mtk_ecc_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | config | 4096-ptr_max |
| PARAM_VALUE | 1 | config->mode | 1 |
| PARAM_VALUE | 1 | config->op | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &chip->controller->lock | ||
| HALF_LOCKED2 | &chip->lock |
drivers/mtd/nand/raw/mtk_nand.c mtk_nfc_write_page() -> mtk_ecc_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | config | 4096-ptr_max |
| PARAM_VALUE | 1 | config->mode | 1 |
| PARAM_VALUE | 1 | config->op | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &chip->controller->lock | ||
| HALF_LOCKED2 | &chip->lock |