Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/mtd/nand/qpic_common.c, line 524
- drivers/mtd/nand/raw/qcom_nandc.c
- drivers/spi/spi-qpic-snand.c
Smatch caller information:
drivers/spi/spi-qpic-snand.c qcom_spi_read_cw_raw() -> qcom_read_data_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nandc | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->buf_count | 0 |
| PARAM_VALUE | 0 | nandc->buf_start | 0 |
| PARAM_VALUE | 0 | nandc->props | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi->addr2 | 0-u16max |
| PARAM_VALUE | 0 | nandc->qspi->cmd | 0,6,132,93952,939524107,939524109-939524110,939524146-939524147,939524150,939524154,3087007758 |
| PARAM_VALUE | 0 | nandc->qspi->ecc | 4096-9223372036854775807 |
| PARAM_VALUE | 0 | nandc->qspi->mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi->page_rw | 1 |
| PARAM_VALUE | 0 | nandc->qspi->raw_rw | 1 |
| PARAM_VALUE | 0 | nandc->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->regs->addr1 | 0-u16max |
| PARAM_VALUE | 0 | nandc->regs->cmd | 0,6,132,93952,939524107,939524109-939524110,939524146-939524147,939524150,939524154,3087007758 |
| PARAM_VALUE | 0 | nandc->regs->ecc_bch_cfg | 1 |
| PARAM_VALUE | 0 | nandc->regs->exec | 1 |
| PARAM_VALUE | 0 | nandc->regs->read_location1 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location2 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location3 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location_last1 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location_last2 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location_last3 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 1 | reg_off | 256 |
| PARAM_VALUE | 4 | flags | 0 |
| BUF_SIZE | 0 | nandc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | nandc | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | vaddr | (-1)-s32max |
| BUF_SIZE | 2 | vaddr | (-1)-s32max |
| DATA_SOURCE | 0 | nandc | $0 |
| DATA_SOURCE | 2 | vaddr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | *vaddr | 0-255 |
| USER_DATA | 2 | *vaddr | 0-255 |
| UNITS | 0 | nandc | unit_byte |
| UNITS | 2 | vaddr | unit_byte |
| UNITS | 3 | size | unit_byte |
| USER_PTR | 2 | vaddr | |
| 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 | ||
| TYPE_LOCK | (struct spi_controller)->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-qpic-snand.c qcom_spi_read_cw_raw() -> qcom_read_data_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nandc | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->buf_count | 0 |
| PARAM_VALUE | 0 | nandc->buf_start | 0 |
| PARAM_VALUE | 0 | nandc->props | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi->addr2 | 0-u16max |
| PARAM_VALUE | 0 | nandc->qspi->cmd | 0,6,132,93952,939524107,939524109-939524110,939524146-939524147,939524150,939524154,3087007758 |
| PARAM_VALUE | 0 | nandc->qspi->ecc | 4096-9223372036854775807 |
| PARAM_VALUE | 0 | nandc->qspi->mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi->page_rw | 1 |
| PARAM_VALUE | 0 | nandc->qspi->raw_rw | 1 |
| PARAM_VALUE | 0 | nandc->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->regs->addr1 | 0-u16max |
| PARAM_VALUE | 0 | nandc->regs->cmd | 0,6,132,93952,939524107,939524109-939524110,939524146-939524147,939524150,939524154,3087007758 |
| PARAM_VALUE | 0 | nandc->regs->ecc_bch_cfg | 1 |
| PARAM_VALUE | 0 | nandc->regs->exec | 1 |
| PARAM_VALUE | 0 | nandc->regs->read_location1 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location2 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location3 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location_last1 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location_last2 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location_last3 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 4 | flags | 0 |
| BUF_SIZE | 0 | nandc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | nandc | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | vaddr | (-1),1-s32max |
| BUF_SIZE | 2 | vaddr | (-1),1-s32max |
| DATA_SOURCE | 0 | nandc | $0 |
| DATA_SOURCE | 2 | vaddr | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | nandc | 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 | ||
| TYPE_LOCK | (struct spi_controller)->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-qpic-snand.c qcom_spi_read_cw_raw() -> qcom_read_data_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nandc | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->buf_count | 0 |
| PARAM_VALUE | 0 | nandc->buf_start | 0 |
| PARAM_VALUE | 0 | nandc->props | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi->addr2 | 0-u16max |
| PARAM_VALUE | 0 | nandc->qspi->cmd | 0,6,132,93952,939524107,939524109-939524110,939524146-939524147,939524150,939524154,3087007758 |
| PARAM_VALUE | 0 | nandc->qspi->ecc | 4096-9223372036854775807 |
| PARAM_VALUE | 0 | nandc->qspi->mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi->page_rw | 1 |
| PARAM_VALUE | 0 | nandc->qspi->raw_rw | 1 |
| PARAM_VALUE | 0 | nandc->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->regs->addr1 | 0-u16max |
| PARAM_VALUE | 0 | nandc->regs->cmd | 0,6,132,93952,939524107,939524109-939524110,939524146-939524147,939524150,939524154,3087007758 |
| PARAM_VALUE | 0 | nandc->regs->ecc_bch_cfg | 1 |
| PARAM_VALUE | 0 | nandc->regs->exec | 1 |
| PARAM_VALUE | 0 | nandc->regs->read_location1 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location2 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location3 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location_last1 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location_last2 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location_last3 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 2 | vaddr | 4096-ptr_max |
| PARAM_VALUE | 4 | flags | 0 |
| BUF_SIZE | 0 | nandc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | nandc | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | nandc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | *vaddr | 0-255 |
| UNITS | 0 | nandc | unit_byte |
| UNITS | 2 | vaddr | unit_byte |
| UNITS | 3 | size | unit_byte |
| USER_PTR | 2 | vaddr | |
| 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 | ||
| TYPE_LOCK | (struct spi_controller)->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-qpic-snand.c qcom_spi_read_cw_raw() -> qcom_read_data_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nandc | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->buf_count | 0 |
| PARAM_VALUE | 0 | nandc->buf_start | 0 |
| PARAM_VALUE | 0 | nandc->props | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi->addr2 | 0-u16max |
| PARAM_VALUE | 0 | nandc->qspi->cmd | 0,6,132,93952,939524107,939524109-939524110,939524146-939524147,939524150,939524154,3087007758 |
| PARAM_VALUE | 0 | nandc->qspi->ecc | 4096-9223372036854775807 |
| PARAM_VALUE | 0 | nandc->qspi->mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi->page_rw | 1 |
| PARAM_VALUE | 0 | nandc->qspi->raw_rw | 1 |
| PARAM_VALUE | 0 | nandc->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->regs->addr1 | 0-u16max |
| PARAM_VALUE | 0 | nandc->regs->cmd | 0,6,132,93952,939524107,939524109-939524110,939524146-939524147,939524150,939524154,3087007758 |
| PARAM_VALUE | 0 | nandc->regs->ecc_bch_cfg | 1 |
| PARAM_VALUE | 0 | nandc->regs->exec | 1 |
| PARAM_VALUE | 0 | nandc->regs->read_location1 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location2 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location3 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location_last1 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location_last2 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location_last3 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 2 | vaddr | 4096-ptr_max |
| PARAM_VALUE | 4 | flags | 0 |
| BUF_SIZE | 0 | nandc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | nandc | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | nandc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | nandc | 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 | ||
| TYPE_LOCK | (struct spi_controller)->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/spi/spi-qpic-snand.c qcom_spi_read_last_cw() -> qcom_read_data_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nandc | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->bam_txn->last_cmd_desc | 16,4096-u64max |
| PARAM_VALUE | 0 | nandc->desc_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->desc_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | nandc->props | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi->addr2 | 0-u16max |
| PARAM_VALUE | 0 | nandc->qspi->cmd | 0,6,132,939524107,939524109-939524110,939524146-939524147,939524150,939524154,3087007758 |
| PARAM_VALUE | 0 | nandc->qspi->ecc | 4096-9223372036854775807 |
| PARAM_VALUE | 0 | nandc->qspi->oob_rw | 1 |
| PARAM_VALUE | 0 | nandc->qspi->page_rw | 0 |
| PARAM_VALUE | 0 | nandc->qspi->raw_rw | 1 |
| PARAM_VALUE | 0 | nandc->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->regs->addr1 | 0-u16max |
| PARAM_VALUE | 0 | nandc->regs->cmd | 0,6,132,939524107,939524109-939524110,939524146-939524147,939524150,939524154,3087007758 |
| PARAM_VALUE | 0 | nandc->regs->ecc_bch_cfg | 1 |
| PARAM_VALUE | 0 | nandc->regs->exec | 1 |
| PARAM_VALUE | 0 | nandc->regs->read_location1 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location2 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location3 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location_last1 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location_last2 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location_last3 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 1 | reg_off | 256 |
| PARAM_VALUE | 4 | flags | 0 |
| BUF_SIZE | 0 | nandc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | nandc | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | vaddr | 532 |
| DATA_SOURCE | 0 | nandc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | nandc | unit_byte |
| UNITS | 3 | size | 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 |
drivers/spi/spi-qpic-snand.c qcom_spi_read_page_ecc() -> qcom_read_data_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nandc | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->buf_count | 0 |
| PARAM_VALUE | 0 | nandc->buf_start | 0 |
| PARAM_VALUE | 0 | nandc->props | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi->addr2 | 0-u16max |
| PARAM_VALUE | 0 | nandc->qspi->cmd | 0,6,132,939524107,939524109-939524110,939524146-939524147,939524150,939524154,3087007758 |
| PARAM_VALUE | 0 | nandc->qspi->ecc | 4096-9223372036854775807 |
| PARAM_VALUE | 0 | nandc->qspi->page_rw | 1 |
| PARAM_VALUE | 0 | nandc->qspi->raw_rw | 0 |
| PARAM_VALUE | 0 | nandc->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->regs->addr1 | 0-u16max |
| PARAM_VALUE | 0 | nandc->regs->cmd | 0,6,132,939524107,939524109-939524110,939524146-939524147,939524150,939524154,3087007758 |
| PARAM_VALUE | 0 | nandc->regs->exec | 1 |
| PARAM_VALUE | 0 | nandc->regs->read_location1 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location2 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location3 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location_last1 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location_last2 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location_last3 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 1 | reg_off | 256 |
| PARAM_VALUE | 2 | vaddr | 1-u64max |
| PARAM_VALUE | 4 | flags | 0 |
| BUF_SIZE | 0 | nandc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | nandc | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | vaddr | (-1)-s32max |
| BUF_SIZE | 2 | vaddr | (-1)-s32max |
| DATA_SOURCE | 0 | nandc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | *vaddr | 0-255 |
| USER_DATA | 2 | *vaddr | 0-255 |
| UNITS | 0 | nandc | unit_byte |
| UNITS | 2 | vaddr | unit_byte |
| UNITS | 3 | size | unit_byte |
| USER_PTR | 2 | vaddr | |
| 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-qpic-snand.c qcom_spi_read_page_ecc() -> qcom_read_data_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nandc | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->buf_count | 0 |
| PARAM_VALUE | 0 | nandc->buf_start | 0 |
| PARAM_VALUE | 0 | nandc->props | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi->addr2 | 0-u16max |
| PARAM_VALUE | 0 | nandc->qspi->cmd | 0,6,132,939524107,939524109-939524110,939524146-939524147,939524150,939524154,3087007758 |
| PARAM_VALUE | 0 | nandc->qspi->ecc | 4096-9223372036854775807 |
| PARAM_VALUE | 0 | nandc->qspi->page_rw | 1 |
| PARAM_VALUE | 0 | nandc->qspi->raw_rw | 0 |
| PARAM_VALUE | 0 | nandc->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->regs->addr1 | 0-u16max |
| PARAM_VALUE | 0 | nandc->regs->cmd | 0,6,132,939524107,939524109-939524110,939524146-939524147,939524150,939524154,3087007758 |
| PARAM_VALUE | 0 | nandc->regs->exec | 1 |
| PARAM_VALUE | 0 | nandc->regs->read_location1 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location2 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location3 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location_last1 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location_last2 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location_last3 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 2 | vaddr | 1-u64max |
| PARAM_VALUE | 4 | flags | 0 |
| BUF_SIZE | 0 | nandc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | nandc | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | vaddr | (-1),1-s32max |
| BUF_SIZE | 2 | vaddr | (-1),1-s32max |
| DATA_SOURCE | 0 | nandc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | nandc | unit_byte |
| UNITS | 1 | reg_off | 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 |
drivers/spi/spi-qpic-snand.c qcom_spi_read_page_oob() -> qcom_read_data_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nandc | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->buf_count | 0 |
| PARAM_VALUE | 0 | nandc->buf_start | 0 |
| PARAM_VALUE | 0 | nandc->props | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi->addr2 | 0-u16max |
| PARAM_VALUE | 0 | nandc->qspi->cmd | 0,6,132,939524107,939524109-939524110,939524146-939524147,939524150,939524154,3087007758 |
| PARAM_VALUE | 0 | nandc->qspi->ecc | 4096-9223372036854775807 |
| PARAM_VALUE | 0 | nandc->qspi->oob_rw | 1 |
| PARAM_VALUE | 0 | nandc->qspi->page_rw | 0 |
| PARAM_VALUE | 0 | nandc->qspi->raw_rw | 0 |
| PARAM_VALUE | 0 | nandc->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->regs->addr1 | 0-u16max |
| PARAM_VALUE | 0 | nandc->regs->cmd | 0,6,132,939524107,939524109-939524110,939524146-939524147,939524150,939524154,3087007758 |
| PARAM_VALUE | 0 | nandc->regs->exec | 1 |
| PARAM_VALUE | 0 | nandc->regs->read_location1 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location2 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location3 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location_last1 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location_last2 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 0 | nandc->regs->read_location_last3 | 0-67108863,2147483648-2214592511 |
| PARAM_VALUE | 2 | vaddr | 1-u64max |
| PARAM_VALUE | 4 | flags | 0 |
| BUF_SIZE | 0 | nandc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | nandc | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | vaddr | (-1)-s32max |
| BUF_SIZE | 2 | vaddr | (-1)-s32max |
| DATA_SOURCE | 0 | nandc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | *vaddr | 0-255 |
| USER_DATA | 2 | *vaddr | 0-255 |
| UNITS | 0 | nandc | unit_byte |
| UNITS | 1 | reg_off | unit_byte |
| UNITS | 2 | vaddr | unit_byte |
| USER_PTR | 2 | vaddr | |
| 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/qcom_nandc.c copy_last_cw() -> qcom_read_data_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nandc | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->props | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi->ecc | 0-s64max |
| PARAM_VALUE | 0 | nandc->reg_read_pos | 0 |
| PARAM_VALUE | 1 | reg_off | 256 |
| PARAM_VALUE | 3 | size | 0,524-536 |
| PARAM_VALUE | 4 | flags | 0 |
| BUF_SIZE | 2 | vaddr | 532 |
| DATA_SOURCE | 0 | nandc | r get_qcom_nand_controller |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | size | unit_byte |
| HALF_LOCKED2 | &chip->controller->lock | ||
| HALF_LOCKED2 | &chip->lock | ||
| HALF_LOCKED2 | &spinand->lock |
drivers/mtd/nand/raw/qcom_nandc.c qcom_nandc_read_cw_raw() -> qcom_read_data_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nandc | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->buf_count | 0 |
| PARAM_VALUE | 0 | nandc->buf_start | 0 |
| PARAM_VALUE | 0 | nandc->props | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi->ecc | 0-s64max |
| PARAM_VALUE | 0 | nandc->reg_read_pos | 0 |
| PARAM_VALUE | 1 | reg_off | 256 |
| PARAM_VALUE | 4 | flags | 0 |
| BUF_SIZE | 2 | vaddr | s32min,(-1)-s32max |
| BUF_SIZE | 2 | vaddr | s32min,(-1)-s32max |
| DATA_SOURCE | 0 | nandc | r get_qcom_nand_controller |
| DATA_SOURCE | 2 | vaddr | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | *vaddr | 0-255 |
| UNITS | 3 | size | unit_byte |
| USER_PTR | 2 | vaddr |
drivers/mtd/nand/raw/qcom_nandc.c qcom_nandc_read_cw_raw() -> qcom_read_data_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nandc | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->buf_count | 0 |
| PARAM_VALUE | 0 | nandc->buf_start | 0 |
| PARAM_VALUE | 0 | nandc->props | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi->cmd | 0,6,132,939524107,939524109-939524110,939524146-939524147,939524150,939524154,3087007758 |
| PARAM_VALUE | 0 | nandc->qspi->ecc | 0-s64max |
| PARAM_VALUE | 0 | nandc->reg_read_pos | 0 |
| PARAM_VALUE | 3 | size | 0-2 |
| PARAM_VALUE | 4 | flags | 0 |
| DATA_SOURCE | 0 | nandc | r get_qcom_nand_controller |
| DATA_SOURCE | 2 | vaddr | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | *vaddr | 0-255 |
| USER_DATA | 2 | *vaddr | 0-255 |
| UNITS | 2 | vaddr | unit_byte |
| USER_PTR | 2 | vaddr |
drivers/mtd/nand/raw/qcom_nandc.c qcom_nandc_read_cw_raw() -> qcom_read_data_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nandc | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->buf_count | 0 |
| PARAM_VALUE | 0 | nandc->buf_start | 0 |
| PARAM_VALUE | 0 | nandc->props | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi->cmd | 0,6,132,939524107,939524109-939524110,939524146-939524147,939524150,939524154,3087007758 |
| PARAM_VALUE | 0 | nandc->qspi->ecc | 0-s64max |
| PARAM_VALUE | 0 | nandc->reg_read_pos | 0 |
| PARAM_VALUE | 2 | vaddr | 4096-ptr_max |
| PARAM_VALUE | 4 | flags | 0 |
| DATA_SOURCE | 0 | nandc | r get_qcom_nand_controller |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | *vaddr | 0-255 |
| UNITS | 2 | vaddr | unit_byte |
| UNITS | 3 | size | unit_byte |
| USER_PTR | 2 | vaddr |
drivers/mtd/nand/raw/qcom_nandc.c qcom_nandc_read_cw_raw() -> qcom_read_data_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nandc | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->buf_count | 0 |
| PARAM_VALUE | 0 | nandc->buf_start | 0 |
| PARAM_VALUE | 0 | nandc->props | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi->cmd | 0,6,132,939524107,939524109-939524110,939524146-939524147,939524150,939524154,3087007758 |
| PARAM_VALUE | 0 | nandc->qspi->ecc | 0-s64max |
| PARAM_VALUE | 0 | nandc->reg_read_pos | 0 |
| PARAM_VALUE | 2 | vaddr | 4096-ptr_max |
| PARAM_VALUE | 4 | flags | 0 |
| DATA_SOURCE | 0 | nandc | r get_qcom_nand_controller |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | *vaddr | 0-255 |
| UNITS | 2 | vaddr | unit_byte |
| UNITS | 3 | size | unit_byte |
| USER_PTR | 2 | vaddr |
drivers/mtd/nand/raw/qcom_nandc.c qcom_param_page_type_exec() -> qcom_read_data_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nandc | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->buf_count | 512 |
| PARAM_VALUE | 0 | nandc->buf_start | 0 |
| PARAM_VALUE | 0 | nandc->props | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi->ecc | 0-s64max |
| PARAM_VALUE | 0 | nandc->reg_read_pos | 0 |
| PARAM_VALUE | 0 | nandc->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->regs->addr0 | 0 |
| PARAM_VALUE | 0 | nandc->regs->addr1 | 0 |
| PARAM_VALUE | 0 | nandc->regs->cfg0 | 0-1073741823 |
| PARAM_VALUE | 0 | nandc->regs->cmd | 0,16-u32max |
| PARAM_VALUE | 0 | nandc->regs->exec | 1 |
| PARAM_VALUE | 1 | reg_off | 256 |
| PARAM_VALUE | 3 | size | 512 |
| PARAM_VALUE | 4 | flags | 0 |
| BUF_SIZE | 2 | vaddr | 532 |
| DATA_SOURCE | 0 | nandc | r get_qcom_nand_controller |
| BIT_INFO | 0 | nandc->regs->cmd | 0x30,0xffffffff |
| NOCHECK_CALL |
drivers/mtd/nand/raw/qcom_nandc.c read_page_ecc() -> qcom_read_data_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nandc | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->props | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi->cmd | 0,6,132,939524107,939524109-939524110,939524146-939524147,939524150,939524154,3087007758 |
| PARAM_VALUE | 1 | reg_off | 256 |
| PARAM_VALUE | 2 | vaddr | 1-u64max |
| PARAM_VALUE | 4 | flags | 0 |
| BUF_SIZE | 2 | vaddr | (-1)-s32max |
| BUF_SIZE | 2 | vaddr | (-1)-s32max |
| DATA_SOURCE | 0 | nandc | r get_qcom_nand_controller |
| DATA_SOURCE | 2 | vaddr | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | size | unit_byte |
| HALF_LOCKED2 | &chip->controller->lock | ||
| HALF_LOCKED2 | &chip->lock |
drivers/mtd/nand/raw/qcom_nandc.c read_page_ecc() -> qcom_read_data_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nandc | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->props | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->qspi->cmd | 0,6,132,939524107,939524109-939524110,939524146-939524147,939524150,939524154,3087007758 |
| PARAM_VALUE | 2 | vaddr | 1-u64max |
| PARAM_VALUE | 4 | flags | 0 |
| DATA_SOURCE | 0 | nandc | r get_qcom_nand_controller |
| DATA_SOURCE | 2 | vaddr | $2 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | *vaddr | 0-255 |
| USER_DATA | 2 | *vaddr | 0-255 |
| UNITS | 1 | reg_off | unit_byte |
| UNITS | 2 | vaddr | unit_byte |
| UNITS | 3 | size | unit_byte |
| USER_PTR | 2 | vaddr | |
| HALF_LOCKED2 | &chip->controller->lock | ||
| HALF_LOCKED2 | &chip->lock |