Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/nand/qpic_common.c qcom_prep_bam_dma_desc_cmd() -> qcom_prepare_bam_async_desc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nandc | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->bam_txn | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->bam_txn->bam_ce | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->bam_txn->cmd_sgl | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->bam_txn->cmd_sgl_nitems | 1-u32max |
| PARAM_VALUE | 0 | nandc->chan->router->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | nandc->cmd_chan->router->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | nandc->props | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->props->supports_bam | 1 |
| 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->regs->busy_wait_cnt | 0,16 |
| PARAM_VALUE | 0 | nandc->regs->chip_sel | 0,4 |
| PARAM_VALUE | 0 | nandc->regs->exec | 0-1 |
| PARAM_VALUE | 0 | nandc->regs->num_addr_cycle | 0,894171 |
| 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 | 0 | nandc->rx_chan->router->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | nandc->tx_chan->router->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | chan->router->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | flags | 160 |
| BUF_SIZE | 0 | nandc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | nandc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | nandc->aon_clk | (-1),1-s32max |
| BUF_SIZE | 0 | nandc->core_clk | (-1),1-s32max |
| BUF_SIZE | 0 | nandc->dev | (-1),1616 |
| BUF_SIZE | 0 | nandc->qspi | (-1),144 |
| BUF_SIZE | 0 | nandc->qspi->ctlr | (-1),2864-5728 |
| BUF_SIZE | 0 | nandc->qspi->ecc | (-1),68 |
| BUF_SIZE | 0 | nandc->qspi->iomacro_clk | (-1),1-s32max |
| DATA_SOURCE | 0 | nandc | $0 |
| FUZZY_MAX | 0 | nandc->regs->chip_sel | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
drivers/mtd/nand/qpic_common.c qcom_prep_bam_dma_desc_data() -> qcom_prepare_bam_async_desc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nandc | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->bam_txn | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->bam_txn->data_sgl | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->bam_txn->data_sgl_nitems | 1-u32max |
| PARAM_VALUE | 0 | nandc->props | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->props->supports_bam | 1 |
| 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-s64max |
| 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->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 | 2 | flags | 1 |
| 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 | |||
| HOST_DATA | 0 | nandc->regs->addr0 | 0-u32max[c] |
| HOST_DATA | 0 | nandc->regs->addr1 | 0-154[c] |
| USER_DATA | 0 | nandc->regs->addr0 | 0-u32max[c] |
| USER_DATA | 0 | nandc->regs->addr1 | 0-255[c] |
| UNITS | 0 | nandc | unit_byte |
| HALF_LOCKED2 | &mem->spi->controller->bus_lock_mutex | ||
| HALF_LOCKED2 | &mem->spi->controller->io_mutex |
drivers/mtd/nand/qpic_common.c qcom_submit_descs() -> qcom_prepare_bam_async_desc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nandc | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->bam_txn | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->bam_txn->rx_sgl_pos | 1-u32max |
| PARAM_VALUE | 0 | nandc->bam_txn->rx_sgl_start | 0-4294967294 |
| PARAM_VALUE | 0 | nandc->chan->router->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | nandc->cmd_chan->router->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | nandc->props | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->props->supports_bam | 1 |
| 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->regs->busy_wait_cnt | 0,16 |
| PARAM_VALUE | 0 | nandc->regs->chip_sel | 0,4 |
| PARAM_VALUE | 0 | nandc->regs->clrflashstatus | 0,32 |
| PARAM_VALUE | 0 | nandc->regs->clrreadstatus | 0,192 |
| PARAM_VALUE | 0 | nandc->regs->erased_cw_detect_cfg_clr | 0,3 |
| PARAM_VALUE | 0 | nandc->regs->erased_cw_detect_cfg_set | 0,2 |
| PARAM_VALUE | 0 | nandc->regs->exec | 0-1 |
| PARAM_VALUE | 0 | nandc->regs->num_addr_cycle | 0,894171 |
| 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 | 0 | nandc->regs->vld | 0,2-4294967294 |
| PARAM_VALUE | 0 | nandc->rx_chan->router->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | nandc->tx_chan->router->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | chan->router->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | flags | 0 |
| BUF_SIZE | 0 | nandc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | nandc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | nandc->aon_clk | (-1),1-s32max |
| BUF_SIZE | 0 | nandc->core_clk | (-1),1-s32max |
| BUF_SIZE | 0 | nandc->dev | (-1),1616 |
| BUF_SIZE | 0 | nandc->qspi | (-1),144 |
| BUF_SIZE | 0 | nandc->qspi->ctlr | (-1),2864-5728 |
| BUF_SIZE | 0 | nandc->qspi->ecc | (-1),68 |
| BUF_SIZE | 0 | nandc->qspi->iomacro_clk | (-1),1-s32max |
| DATA_SOURCE | 0 | nandc | $0 |
| FUZZY_MAX | 0 | nandc->regs->chip_sel | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
drivers/mtd/nand/qpic_common.c qcom_submit_descs() -> qcom_prepare_bam_async_desc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nandc | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->bam_txn | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->bam_txn->tx_sgl_pos | 1-u32max |
| PARAM_VALUE | 0 | nandc->bam_txn->tx_sgl_start | 0-4294967294 |
| PARAM_VALUE | 0 | nandc->chan->router->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | nandc->cmd_chan->router->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | nandc->props | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->props->supports_bam | 1 |
| 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->regs->busy_wait_cnt | 0,16 |
| PARAM_VALUE | 0 | nandc->regs->chip_sel | 0,4 |
| PARAM_VALUE | 0 | nandc->regs->clrflashstatus | 0,32 |
| PARAM_VALUE | 0 | nandc->regs->clrreadstatus | 0,192 |
| PARAM_VALUE | 0 | nandc->regs->erased_cw_detect_cfg_clr | 0,3 |
| PARAM_VALUE | 0 | nandc->regs->erased_cw_detect_cfg_set | 0,2 |
| PARAM_VALUE | 0 | nandc->regs->exec | 0-1 |
| PARAM_VALUE | 0 | nandc->regs->num_addr_cycle | 0,894171 |
| 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 | 0 | nandc->regs->vld | 0,2-4294967294 |
| PARAM_VALUE | 0 | nandc->rx_chan->router->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | nandc->tx_chan->router->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | chan->router->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | flags | 1 |
| BUF_SIZE | 0 | nandc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | nandc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | nandc->aon_clk | (-1),1-s32max |
| BUF_SIZE | 0 | nandc->core_clk | (-1),1-s32max |
| BUF_SIZE | 0 | nandc->dev | (-1),1616 |
| BUF_SIZE | 0 | nandc->qspi | (-1),144 |
| BUF_SIZE | 0 | nandc->qspi->ctlr | (-1),2864-5728 |
| BUF_SIZE | 0 | nandc->qspi->ecc | (-1),68 |
| BUF_SIZE | 0 | nandc->qspi->iomacro_clk | (-1),1-s32max |
| DATA_SOURCE | 0 | nandc | $0 |
| FUZZY_MAX | 0 | nandc->regs->chip_sel | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
drivers/mtd/nand/qpic_common.c qcom_submit_descs() -> qcom_prepare_bam_async_desc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nandc | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->bam_txn | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->bam_txn->cmd_sgl_pos | 1-u32max |
| PARAM_VALUE | 0 | nandc->bam_txn->cmd_sgl_start | 0-4294967294 |
| PARAM_VALUE | 0 | nandc->chan->router->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | nandc->cmd_chan->router->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | nandc->props | 4096-ptr_max |
| PARAM_VALUE | 0 | nandc->props->supports_bam | 1 |
| 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->regs->busy_wait_cnt | 0,16 |
| PARAM_VALUE | 0 | nandc->regs->chip_sel | 0,4 |
| PARAM_VALUE | 0 | nandc->regs->clrflashstatus | 0,32 |
| PARAM_VALUE | 0 | nandc->regs->clrreadstatus | 0,192 |
| PARAM_VALUE | 0 | nandc->regs->erased_cw_detect_cfg_clr | 0,3 |
| PARAM_VALUE | 0 | nandc->regs->erased_cw_detect_cfg_set | 0,2 |
| PARAM_VALUE | 0 | nandc->regs->exec | 0-1 |
| PARAM_VALUE | 0 | nandc->regs->num_addr_cycle | 0,894171 |
| 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 | 0 | nandc->regs->vld | 0,2-4294967294 |
| PARAM_VALUE | 0 | nandc->rx_chan->router->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | nandc->tx_chan->router->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | chan->router->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | flags | 128 |
| BUF_SIZE | 0 | nandc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | nandc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | nandc->aon_clk | (-1),1-s32max |
| BUF_SIZE | 0 | nandc->core_clk | (-1),1-s32max |
| BUF_SIZE | 0 | nandc->dev | (-1),1616 |
| BUF_SIZE | 0 | nandc->qspi | (-1),144 |
| BUF_SIZE | 0 | nandc->qspi->ctlr | (-1),2864-5728 |
| BUF_SIZE | 0 | nandc->qspi->ecc | (-1),68 |
| BUF_SIZE | 0 | nandc->qspi->iomacro_clk | (-1),1-s32max |
| DATA_SOURCE | 0 | nandc | $0 |
| FUZZY_MAX | 0 | nandc->regs->chip_sel | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |