Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/spi/spi-qpic-snand.c qcom_spi_check_error() -> qcom_nandc_dev_to_mem()

Type Parameter Key Value
PARAM_VALUE 0 nandc 4096-ptr_max
PARAM_VALUE 0 nandc->bam_txn->last_cmd_desc->callback 4090947285144051712
PARAM_VALUE 0 nandc->bam_txn->last_cmd_desc->callback_param 4096-ptr_max
PARAM_VALUE 0 nandc->bam_txn->txn_done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 nandc->bam_txn->txn_done.wait.lock.owner (-1)
PARAM_VALUE 0 nandc->bam_txn->txn_done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 nandc->bam_txn->txn_done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 nandc->bam_txn->txn_done.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 nandc->buf_count 0
PARAM_VALUE 0 nandc->buf_start 0
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->ecc_stats.corrected 0
PARAM_VALUE 0 nandc->qspi->ecc_stats.failed 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 1 is_cpu 1
BUF_SIZE 0 nandc s32min-(-2),1-s32max
BUF_SIZE 0 nandc s32min-(-2),1-s32max
CAPPED_DATA 0 nandc->dev->iommu_group->default_domain 1
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_check_raw_flash_errors() -> qcom_nandc_dev_to_mem()

Type Parameter Key Value
PARAM_VALUE 0 nandc 4096-ptr_max
PARAM_VALUE 0 nandc->bam_txn->last_cmd_desc->callback 4090947285144051712
PARAM_VALUE 0 nandc->bam_txn->last_cmd_desc->callback_param 4096-ptr_max
PARAM_VALUE 0 nandc->bam_txn->txn_done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 nandc->bam_txn->txn_done.wait.lock.owner (-1)
PARAM_VALUE 0 nandc->bam_txn->txn_done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 nandc->bam_txn->txn_done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 nandc->bam_txn->txn_done.wait.task_list.prev->next->next 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,93952,939524107,939524109-939524110,939524146-939524147,939524150,939524154,3087007758
PARAM_VALUE 0 nandc->qspi->ecc 4096-9223372036854775807
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 is_cpu 1
BUF_SIZE 0 nandc s32min-(-2),1-s32max
BUF_SIZE 0 nandc s32min-(-2),1-s32max
CAPPED_DATA 0 nandc->dev->iommu_group->default_domain 1
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_io_op() -> qcom_nandc_dev_to_mem()

Type Parameter Key Value
PARAM_VALUE 0 nandc 4096-ptr_max
PARAM_VALUE 0 nandc->bam_txn->last_cmd_desc->callback 4090947285144051712
PARAM_VALUE 0 nandc->bam_txn->last_cmd_desc->callback_param 4096-ptr_max
PARAM_VALUE 0 nandc->bam_txn->txn_done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 nandc->bam_txn->txn_done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 nandc->bam_txn->txn_done.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 nandc->buf_count 4
PARAM_VALUE 0 nandc->buf_start 0
PARAM_VALUE 0 nandc->props 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 0-9223372036854775807
PARAM_VALUE 0 nandc->regs->addr1 0
PARAM_VALUE 0 nandc->regs->cmd 6,132,939524107,939524109-939524110,939524146-939524147,939524150,939524154,3087007758
PARAM_VALUE 0 nandc->regs->exec 1
PARAM_VALUE 1 is_cpu 1
BUF_SIZE 0 nandc s32min-(-2),1-s32max
BUF_SIZE 0 nandc s32min-(-2),1-s32max
CAPPED_DATA 0 nandc->dev->iommu_group->default_domain 1
DATA_SOURCE 0 nandc $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 nandc->regs->addr0 0-u32max[c]
USER_DATA 0 nandc->regs->addr0 0-u32max
USER_DATA 0 nandc->regs->flash_feature 0-u32max
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
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_io_op() -> qcom_nandc_dev_to_mem()

Type Parameter Key Value
PARAM_VALUE 0 nandc 4096-ptr_max
PARAM_VALUE 0 nandc->bam_txn->last_cmd_desc->callback 4090947285144051712
PARAM_VALUE 0 nandc->bam_txn->last_cmd_desc->callback_param 4096-ptr_max
PARAM_VALUE 0 nandc->bam_txn->txn_done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 nandc->bam_txn->txn_done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 nandc->bam_txn->txn_done.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 nandc->buf_count 4
PARAM_VALUE 0 nandc->buf_start 0
PARAM_VALUE 0 nandc->props 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 0-9223372036854775807
PARAM_VALUE 0 nandc->regs->addr1 0
PARAM_VALUE 0 nandc->regs->cmd 6,132,939524107,939524109-939524110,939524146-939524147,939524150,939524154,3087007758
PARAM_VALUE 0 nandc->regs->exec 1
PARAM_VALUE 1 is_cpu 1
BUF_SIZE 0 nandc s32min-(-2),1-s32max
BUF_SIZE 0 nandc s32min-(-2),1-s32max
CAPPED_DATA 0 nandc->dev->iommu_group->default_domain 1
DATA_SOURCE 0 nandc $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 nandc->regs->addr0 0-u32max[c]
USER_DATA 0 nandc->regs->addr0 0-u32max
USER_DATA 0 nandc->regs->flash_feature 0-u32max
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
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 check_flash_errors() -> qcom_nandc_dev_to_mem()

Type Parameter Key Value
PARAM_VALUE 0 nandc 4096-ptr_max
PARAM_VALUE 1 is_cpu 1
DATA_SOURCE 0 nandc r get_qcom_nand_controller
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/mtd/nand/raw/qcom_nandc.c parse_read_errors() -> qcom_nandc_dev_to_mem()

Type Parameter Key Value
PARAM_VALUE 0 nandc 4096-ptr_max
PARAM_VALUE 1 is_cpu 1
DATA_SOURCE 0 nandc r get_qcom_nand_controller
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &chip->controller->lock
HALF_LOCKED2 &chip->lock

drivers/mtd/nand/raw/qcom_nandc.c qcom_read_id_type_exec() -> qcom_nandc_dev_to_mem()

Type Parameter Key Value
PARAM_VALUE 0 nandc 4096-ptr_max
PARAM_VALUE 0 nandc->bam_txn->last_cmd_desc->callback 4090947285144051712
PARAM_VALUE 0 nandc->bam_txn->last_cmd_desc->callback_param 4096-ptr_max
PARAM_VALUE 0 nandc->bam_txn->txn_done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 nandc->bam_txn->txn_done.wait.lock.owner (-1)
PARAM_VALUE 0 nandc->bam_txn->txn_done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 nandc->bam_txn->txn_done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 nandc->bam_txn->txn_done.wait.task_list.prev->next->next 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->regs 4096-ptr_max
PARAM_VALUE 0 nandc->regs->chip_sel 0,4
PARAM_VALUE 0 nandc->regs->exec 1
PARAM_VALUE 1 is_cpu 1
DATA_SOURCE 0 nandc r get_qcom_nand_controller
FUZZY_MAX 0 nandc->regs->chip_sel 4
BIT_INFO 0 nandc->regs->chip_sel 0x0,0x4
HARD_MAX 0 nandc->regs->chip_sel 4
NOCHECK_CALL

drivers/mtd/nand/raw/qcom_nandc.c qcom_read_status_exec() -> qcom_nandc_dev_to_mem()

Type Parameter Key Value
PARAM_VALUE 0 nandc 4096-ptr_max
PARAM_VALUE 0 nandc->bam_txn->last_cmd_desc->callback 4090947285144051712
PARAM_VALUE 0 nandc->bam_txn->last_cmd_desc->callback_param 4096-ptr_max
PARAM_VALUE 0 nandc->bam_txn->txn_done.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 nandc->bam_txn->txn_done.wait.lock.owner (-1)
PARAM_VALUE 0 nandc->bam_txn->txn_done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 nandc->bam_txn->txn_done.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 nandc->bam_txn->txn_done.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 nandc->buf_count 0
PARAM_VALUE 0 nandc->buf_start 0
PARAM_VALUE 0 nandc->exec_opwrite 0
PARAM_VALUE 0 nandc->props 4096-ptr_max
PARAM_VALUE 0 nandc->qspi->ecc 0-s64max
PARAM_VALUE 0 nandc->regs 4096-ptr_max
PARAM_VALUE 0 nandc->regs->exec 1
PARAM_VALUE 1 is_cpu 1
DATA_SOURCE 0 nandc r get_qcom_nand_controller
NOCHECK_CALL

drivers/mtd/nand/raw/qcom_nandc.c qcom_wait_rdy_poll() -> qcom_nandc_dev_to_mem()

Type Parameter Key Value
PARAM_VALUE 0 nandc 4096-ptr_max
PARAM_VALUE 1 is_cpu 1
DATA_SOURCE 0 nandc r get_qcom_nand_controller
NOCHECK_CALL

drivers/mtd/nand/qpic_common.c qcom_clear_read_regs() -> qcom_nandc_dev_to_mem()

Type Parameter Key Value
PARAM_VALUE 0 nandc 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->oob_rw 0-1
PARAM_VALUE 0 nandc->qspi->page_rw 0-1
PARAM_VALUE 0 nandc->qspi->raw_rw 0-1
PARAM_VALUE 0 nandc->reg_read_pos 0
PARAM_VALUE 0 nandc->regs->exec 0-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 is_cpu 0
BUF_SIZE 0 nandc s32min-(-1),1-s32max
BUF_SIZE 0 nandc s32min-(-1),1-s32max
DATA_SOURCE 0 nandc $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 nandc->regs->addr0 0-u32max[c]
HOST_DATA 0 nandc->regs->addr1 0-48026[c]
USER_DATA 0 nandc->regs->addr0 0-u32max
USER_DATA 0 nandc->regs->addr1 0-s16max[c]
USER_DATA 0 nandc->regs->flash_feature 0-u32max
UNITS 0 nandc unit_byte
HALF_LOCKED2 &mem->spi->controller->bus_lock_mutex
HALF_LOCKED2 &mem->spi->controller->io_mutex