Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/mtd/nand/ecc-mtk.c
- drivers/mtd/nand/raw/mtk_nand.c, line 1017
- drivers/spi/spi-mtk-snfi.c, line 986
Smatch caller information:
drivers/mtd/nand/ecc-mtk.c mtk_ecc_encode() -> mtk_ecc_wait_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ecc | 4096-ptr_max |
| PARAM_VALUE | 0 | ecc->caps->num_ecc_strength | 1-255 |
| 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 | 0 | ecc->done.done | 0 |
| PARAM_VALUE | 0 | ecc->done.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | ecc->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | ecc->done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ecc->done.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ecc->done.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ecc->done.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ecc->done.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ecc->done.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ecc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ecc->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ecc->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ecc->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | op | 0 |
| CAPPED_DATA | 0 | ecc->caps->num_ecc_strength | 1 |
| DATA_SOURCE | 0 | ecc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ecc->lock | |
| HALF_LOCKED2 | &chip->controller->lock | ||
| HALF_LOCKED2 | &chip->lock | ||
| TYPE_LOCK | (struct mtk_ecc)->lock |
drivers/spi/spi-mtk-snfi.c mtk_snand_read_page_cache() -> mtk_ecc_wait_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ecc | 4096-ptr_max |
| PARAM_VALUE | 0 | ecc->caps->num_ecc_strength | 1-255 |
| PARAM_VALUE | 0 | ecc->done.done | 0 |
| PARAM_VALUE | 0 | ecc->done.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | ecc->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | ecc->done.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ecc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ecc->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ecc->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ecc->sectors | 0-4294967295 |
| PARAM_VALUE | 1 | op | 1 |
| CAPPED_DATA | 0 | ecc->caps->num_ecc_strength | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mem->spi->controller->bus_lock_mutex | ||
| LOCK2 | &mem->spi->controller->io_mutex | ||
| LOCK2 | 0 | &ecc->lock | |
| HALF_LOCKED2 | &at25->lock | ||
| HALF_LOCKED2 | &master->master.chrdev_lock | ||
| HALF_LOCKED2 | &spinand->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct mtk_ecc)->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_wait_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ecc | 4096-ptr_max |
| PARAM_VALUE | 0 | ecc->caps->num_ecc_strength | 1-255 |
| PARAM_VALUE | 0 | ecc->done.done | 0 |
| PARAM_VALUE | 0 | ecc->done.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | ecc->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | ecc->done.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ecc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ecc->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ecc->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ecc->sectors | 0-4294967295 |
| PARAM_VALUE | 1 | op | 1 |
| CAPPED_DATA | 0 | ecc->caps->num_ecc_strength | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ecc->lock | |
| HALF_LOCKED2 | &chip->controller->lock | ||
| HALF_LOCKED2 | &chip->lock | ||
| TYPE_LOCK | (struct mtk_ecc)->lock |