Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/mtd/nand/raw/ams-delta.c, line 180
- drivers/mtd/nand/raw/atmel/nand-controller.c, line 522
- drivers/mtd/nand/raw/fsl_upm.c, line 120
- drivers/mtd/nand/raw/fsmc_nand.c, line 682
- drivers/mtd/nand/raw/gpio.c, line 125
- drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c, line 299
- drivers/mtd/nand/raw/nand_base.c, line 707
- drivers/mtd/nand/raw/omap2.c, line 2171
- drivers/mtd/nand/raw/sunxi_nand.c, line 2359
Smatch caller information:
drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c ingenic_nand_exec_instr() -> nand_soft_waitrdy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->base.ops->erase | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->base.ops->isbad | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->base.ops->markbad | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller->ops->detach_chip | 0,1583562752288423936,3324054136611635200,3528536973807566848,4326869451060441088,7679234560064159744 |
| PARAM_VALUE | 0 | chip->manufacturer.desc->id | 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239 |
| BUF_SIZE | 0 | chip->badblock_pattern | (-1),72 |
| BUF_SIZE | 0 | chip->bbt_md | (-1)-0,72 |
| BUF_SIZE | 0 | chip->bbt_md->pattern | (-1),9 |
| BUF_SIZE | 0 | chip->bbt_td | (-1)-0,72 |
| BUF_SIZE | 0 | chip->bbt_td->pattern | (-1),9 |
| BUF_SIZE | 0 | chip->controller | (-1),168 |
| BUF_SIZE | 0 | chip->current_interface_config | (-1),1152 |
| BUF_SIZE | 0 | chip->data_buf | (-1)-s32max |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | chip->bbt_td->pattern | (-1),8 |
| NOSPEC | 0 | chip->cur_cs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | chip->cont_read.first_page | 1-s32max[c] |
| HOST_DATA | 0 | chip->cont_read.pause_page | 2-4147480570[c] |
| HOST_DATA | 0 | chip->cur_cs | 1-s32max[c] |
| HOST_DATA | 0 | chip->pagecache.page | s32min-s32max[c] |
| HOST_DATA | 0 | *chip->data_buf | 0-255 |
| HOST_DATA | 0 | *chip->oob_poi | 0-255 |
| USER_DATA | 0 | chip->cont_read.first_page | 1-s32max[c] |
| USER_DATA | 0 | chip->cur_cs | 1-s32max[c] |
| USER_DATA | 0 | chip->pagecache.page | s32min-s32max |
| USER_DATA | 0 | *chip->oob_poi | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | chip->ecc.postpad | |
| NO_OVERFLOW_SIMPLE | 0 | chip->ecc.prepad | |
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_secure_regions | |
| USER_PTR | 0 | chip->data_buf | |
| HALF_LOCKED2 | 0 | &chip->controller->lock | |
| HALF_LOCKED2 | 0 | &chip->lock |
drivers/mtd/nand/raw/fsmc_nand.c fsmc_exec_op() -> nand_soft_waitrdy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->base.ops->erase | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->base.ops->isbad | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->base.ops->markbad | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller->ops->detach_chip | 0,1583562752288423936,3324054136611635200,3528536973807566848,4326869451060441088,7679234560064159744 |
| PARAM_VALUE | 0 | chip->manufacturer.desc->id | 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239 |
| BUF_SIZE | 0 | chip | (-1),4088 |
| BUF_SIZE | 0 | chip | (-1),4088 |
| BUF_SIZE | 0 | chip->badblock_pattern | (-1),72 |
| BUF_SIZE | 0 | chip->bbt_md | (-1)-0,72 |
| BUF_SIZE | 0 | chip->bbt_md->pattern | (-1),9 |
| BUF_SIZE | 0 | chip->bbt_td | (-1)-0,72 |
| BUF_SIZE | 0 | chip->bbt_td->pattern | (-1),9 |
| BUF_SIZE | 0 | chip->controller | (-1),168 |
| BUF_SIZE | 0 | chip->current_interface_config | (-1),1152 |
| BUF_SIZE | 0 | chip->data_buf | (-1)-s32max |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | chip->bbt_td->pattern | (-1),8 |
| NOSPEC | 0 | chip->cur_cs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | chip->cont_read.first_page | 1-s32max[c] |
| HOST_DATA | 0 | chip->cont_read.pause_page | 2-4147480570[c] |
| HOST_DATA | 0 | chip->controller->controller_wp | 0 |
| HOST_DATA | 0 | chip->controller->lock.osq.tail.counter | 0 |
| HOST_DATA | 0 | chip->controller->lock.owner.counter | 0 |
| HOST_DATA | 0 | chip->controller->supported_op.cont_read | 0 |
| HOST_DATA | 0 | chip->controller->supported_op.data_only_read | 0 |
| HOST_DATA | 0 | chip->cur_cs | 1-s32max[c] |
| HOST_DATA | 0 | chip->pagecache.page | s32min-s32max[c] |
| HOST_DATA | 0 | chip->priv->curr_column | s32min-s32max[c] |
| HOST_DATA | 0 | chip->priv->curr_page_addr | 1-s32max[c] |
| HOST_DATA | 0 | chip->priv->offset | 0-s32max[c] |
| HOST_DATA | 0 | *chip->data_buf | 0-255 |
| HOST_DATA | 0 | *chip->oob_poi | 0-255 |
| USER_DATA | 0 | chip->cont_read.first_page | 1-s32max[c] |
| USER_DATA | 0 | chip->cur_cs | 1-s32max[c] |
| USER_DATA | 0 | chip->pagecache.page | s32min-s32max |
| USER_DATA | 0 | chip->priv->curr_column | s32min-s32max[c] |
| USER_DATA | 0 | chip->priv->curr_page_addr | 1-s32max[c] |
| USER_DATA | 0 | chip->priv->offset | 0-s32max[c] |
| USER_DATA | 0 | *chip->oob_poi | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | chip->ecc.postpad | |
| NO_OVERFLOW_SIMPLE | 0 | chip->ecc.prepad | |
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_secure_regions | |
| UNITS | 1 | timeout_ms | unit_jiffy |
| USER_PTR | 0 | chip->data_buf | |
| HALF_LOCKED2 | 0 | &chip->controller->lock | |
| HALF_LOCKED2 | 0 | &chip->lock |
drivers/mtd/nand/raw/omap2.c omap_nand_exec_instr() -> nand_soft_waitrdy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->base.ops->erase | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->base.ops->isbad | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->base.ops->markbad | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller->ops->detach_chip | 0,1583562752288423936,3324054136611635200,3528536973807566848,4326869451060441088,7679234560064159744 |
| PARAM_VALUE | 0 | chip->manufacturer.desc->id | 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239 |
| BUF_SIZE | 0 | chip->badblock_pattern | (-1),72 |
| BUF_SIZE | 0 | chip->bbt_md | (-1)-0,72 |
| BUF_SIZE | 0 | chip->bbt_md->pattern | (-1),9 |
| BUF_SIZE | 0 | chip->bbt_td | (-1)-0,72 |
| BUF_SIZE | 0 | chip->bbt_td->pattern | (-1),9 |
| BUF_SIZE | 0 | chip->controller | (-1),168 |
| BUF_SIZE | 0 | chip->current_interface_config | (-1),1152 |
| BUF_SIZE | 0 | chip->data_buf | (-1)-s32max |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | chip->bbt_td->pattern | (-1),8 |
| NOSPEC | 0 | chip->cur_cs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | chip->cont_read.first_page | 1-s32max[c] |
| HOST_DATA | 0 | chip->cont_read.pause_page | 2-4147480570[c] |
| HOST_DATA | 0 | chip->cur_cs | 1-s32max[c] |
| HOST_DATA | 0 | chip->pagecache.page | s32min-s32max[c] |
| HOST_DATA | 0 | *chip->data_buf | 0-255 |
| HOST_DATA | 0 | *chip->oob_poi | 0-255 |
| USER_DATA | 0 | chip->cont_read.first_page | 1-s32max[c] |
| USER_DATA | 0 | chip->cur_cs | 1-s32max[c] |
| USER_DATA | 0 | chip->pagecache.page | s32min-s32max |
| USER_DATA | 0 | *chip->oob_poi | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | chip->ecc.postpad | |
| NO_OVERFLOW_SIMPLE | 0 | chip->ecc.prepad | |
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_secure_regions | |
| USER_PTR | 0 | chip->data_buf | |
| HALF_LOCKED2 | 0 | &chip->controller->lock | |
| HALF_LOCKED2 | 0 | &chip->lock |
drivers/mtd/nand/raw/ams-delta.c gpio_nand_exec_op() -> nand_soft_waitrdy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->base.ops->erase | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->base.ops->isbad | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->base.ops->markbad | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller->ops->detach_chip | 0,1583562752288423936,3324054136611635200,3528536973807566848,4326869451060441088,7679234560064159744 |
| PARAM_VALUE | 0 | chip->manufacturer.desc->id | 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239 |
| BUF_SIZE | 0 | chip | (-1),4088 |
| BUF_SIZE | 0 | chip | (-1),4088 |
| BUF_SIZE | 0 | chip->badblock_pattern | (-1),72 |
| BUF_SIZE | 0 | chip->bbt_md | (-1)-0,72 |
| BUF_SIZE | 0 | chip->bbt_md->pattern | (-1),9 |
| BUF_SIZE | 0 | chip->bbt_td | (-1)-0,72 |
| BUF_SIZE | 0 | chip->bbt_td->pattern | (-1),9 |
| BUF_SIZE | 0 | chip->controller | (-1),168 |
| BUF_SIZE | 0 | chip->current_interface_config | (-1),1152 |
| BUF_SIZE | 0 | chip->data_buf | (-1)-s32max |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | chip->bbt_td->pattern | (-1),8 |
| NOSPEC | 0 | chip->cur_cs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | chip->cont_read.first_page | 1-s32max[c] |
| HOST_DATA | 0 | chip->cont_read.pause_page | 2-4147480570[c] |
| HOST_DATA | 0 | chip->controller->controller_wp | 0 |
| HOST_DATA | 0 | chip->controller->lock.osq.tail.counter | 0 |
| HOST_DATA | 0 | chip->controller->lock.owner.counter | 0 |
| HOST_DATA | 0 | chip->controller->supported_op.cont_read | 0 |
| HOST_DATA | 0 | chip->controller->supported_op.data_only_read | 0 |
| HOST_DATA | 0 | chip->cur_cs | 1-s32max[c] |
| HOST_DATA | 0 | chip->pagecache.page | s32min-s32max[c] |
| HOST_DATA | 0 | chip->priv->curr_column | s32min-s32max[c] |
| HOST_DATA | 0 | chip->priv->curr_page_addr | 1-s32max[c] |
| HOST_DATA | 0 | chip->priv->offset | 0-s32max[c] |
| HOST_DATA | 0 | *chip->data_buf | 0-255 |
| HOST_DATA | 0 | *chip->oob_poi | 0-255 |
| USER_DATA | 0 | chip->cont_read.first_page | 1-s32max[c] |
| USER_DATA | 0 | chip->cur_cs | 1-s32max[c] |
| USER_DATA | 0 | chip->pagecache.page | s32min-s32max |
| USER_DATA | 0 | chip->priv->curr_column | s32min-s32max[c] |
| USER_DATA | 0 | chip->priv->curr_page_addr | 1-s32max[c] |
| USER_DATA | 0 | chip->priv->offset | 0-s32max[c] |
| USER_DATA | 0 | *chip->oob_poi | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | chip->ecc.postpad | |
| NO_OVERFLOW_SIMPLE | 0 | chip->ecc.prepad | |
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_secure_regions | |
| UNITS | 1 | timeout_ms | unit_jiffy |
| USER_PTR | 0 | chip->data_buf | |
| HALF_LOCKED2 | 0 | &chip->controller->lock | |
| HALF_LOCKED2 | 0 | &chip->lock |
drivers/mtd/nand/raw/sunxi_nand.c sunxi_nfc_soft_waitrdy() -> nand_soft_waitrdy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | timeout_ms | 0-u32max |
| DATA_SOURCE | 0 | chip | $0 |
drivers/mtd/nand/raw/gpio.c gpio_nand_exec_instr() -> nand_soft_waitrdy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->base.ops->erase | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->base.ops->isbad | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->base.ops->markbad | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller->ops->detach_chip | 0,1583562752288423936,3324054136611635200,3528536973807566848,4326869451060441088,7679234560064159744 |
| PARAM_VALUE | 0 | chip->manufacturer.desc->id | 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239 |
| BUF_SIZE | 0 | chip->badblock_pattern | (-1),72 |
| BUF_SIZE | 0 | chip->bbt_md | (-1)-0,72 |
| BUF_SIZE | 0 | chip->bbt_md->pattern | (-1),9 |
| BUF_SIZE | 0 | chip->bbt_td | (-1)-0,72 |
| BUF_SIZE | 0 | chip->bbt_td->pattern | (-1),9 |
| BUF_SIZE | 0 | chip->controller | (-1),168 |
| BUF_SIZE | 0 | chip->current_interface_config | (-1),1152 |
| BUF_SIZE | 0 | chip->data_buf | (-1)-s32max |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | chip->bbt_td->pattern | (-1),8 |
| NOSPEC | 0 | chip->cur_cs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | chip->cont_read.first_page | 1-s32max[c] |
| HOST_DATA | 0 | chip->cont_read.pause_page | 2-4147480570[c] |
| HOST_DATA | 0 | chip->cur_cs | 1-s32max[c] |
| HOST_DATA | 0 | chip->pagecache.page | s32min-s32max[c] |
| HOST_DATA | 0 | *chip->data_buf | 0-255 |
| HOST_DATA | 0 | *chip->oob_poi | 0-255 |
| USER_DATA | 0 | chip->cont_read.first_page | 1-s32max[c] |
| USER_DATA | 0 | chip->cur_cs | 1-s32max[c] |
| USER_DATA | 0 | chip->pagecache.page | s32min-s32max |
| USER_DATA | 0 | *chip->oob_poi | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | chip->ecc.postpad | |
| NO_OVERFLOW_SIMPLE | 0 | chip->ecc.prepad | |
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_secure_regions | |
| USER_PTR | 0 | chip->data_buf | |
| HALF_LOCKED2 | 0 | &chip->controller->lock | |
| HALF_LOCKED2 | 0 | &chip->lock |
drivers/mtd/nand/raw/atmel/nand-controller.c atmel_nand_waitrdy() -> nand_soft_waitrdy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| DATA_SOURCE | 1 | timeout_ms | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |