Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/mtd/nand/raw/denali.c, line 235
- drivers/mtd/nand/raw/marvell_nand.c, line 1540
- drivers/mtd/nand/raw/nand_base.c
- drivers/mtd/nand/raw/renesas-nand-controller.c, line 633
- drivers/mtd/nand/raw/stm32_fmc2_nand.c, line 1001
- drivers/mtd/nand/raw/sunxi_nand.c
Smatch caller information:
drivers/mtd/nand/raw/stm32_fmc2_nand.c stm32_fmc2_nfc_seq_write() -> nand_change_write_column_op()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->base.ops->erase | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->base.ops->isbad | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->manufacturer.desc->id | 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239 |
| PARAM_VALUE | 0 | *chip->bbt_md->pages | s32min-s32max |
| PARAM_VALUE | 0 | *chip->bbt_md->version | 0-255 |
| PARAM_VALUE | 0 | *chip->bbt_td->pages | s32min-s32max |
| PARAM_VALUE | 0 | *chip->bbt_td->version | 0-255 |
| PARAM_VALUE | 4 | force_8bit | 0 |
| BUF_SIZE | 0 | chip | (-1),3704 |
| BUF_SIZE | 0 | chip | (-1),3704 |
| 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 |
| CAPPED_DATA | 0 | chip->ecc.steps | 1 |
| 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->cur_cs | 1-s32max[c] |
| USER_DATA | 0 | chip->cur_cs | 1-s32max[c] |
| UNITS | 1 | offset_in_page | unit_byte |
| UNITS | 2 | buf | unit_byte |
| UNITS | 3 | len | unit_byte |
| HALF_LOCKED2 | 0 | &chip->controller->lock | |
| HALF_LOCKED2 | 0 | &chip->lock |
drivers/mtd/nand/raw/denali.c denali_change_column() -> nand_change_write_column_op()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->base.ops->erase | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->base.ops->isbad | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->base.ops->markbad | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->manufacturer.desc->id | 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239 |
| PARAM_VALUE | 0 | *chip->bbt_md->pages | s32min-s32max |
| PARAM_VALUE | 0 | *chip->bbt_md->version | 0-255 |
| PARAM_VALUE | 0 | *chip->bbt_td->pages | s32min-s32max |
| PARAM_VALUE | 0 | *chip->bbt_td->version | 0-255 |
| PARAM_VALUE | 2 | buf | 1-u64max |
| PARAM_VALUE | 4 | force_8bit | 0 |
| 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->data_buf | (-1)-s32max |
| BUF_SIZE | 2 | buf | s32min,(-1)-s32max |
| BUF_SIZE | 2 | buf | s32min,(-1)-s32max |
| DATA_SOURCE | 0 | chip | $0 |
| DATA_SOURCE | 1 | offset_in_page | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| DATA_SOURCE | 3 | len | $3 |
| 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 |
| HOST_DATA | 2 | *buf | 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 | |
| NO_OVERFLOW_SIMPLE | 1 | offset_in_page | |
| UNITS | 1 | offset_in_page | unit_byte |
| UNITS | 2 | buf | unit_byte |
| UNITS | 3 | len | unit_byte |
| USER_PTR | 2 | buf | |
| HALF_LOCKED2 | 0 | &chip->controller->lock | |
| HALF_LOCKED2 | 0 | &chip->lock |
drivers/mtd/nand/raw/renesas-nand-controller.c rnandc_write_page_hw_ecc() -> nand_change_write_column_op()
| 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,4545526569871687680,7841708234825457664 |
| PARAM_VALUE | 0 | chip->manufacturer.desc->id | 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239 |
| PARAM_VALUE | 0 | *chip->bbt_md->pages | s32min-s32max |
| PARAM_VALUE | 0 | *chip->bbt_md->version | 0-255 |
| PARAM_VALUE | 0 | *chip->bbt_td->pages | s32min-s32max |
| PARAM_VALUE | 0 | *chip->bbt_td->version | 0-255 |
| PARAM_VALUE | 4 | force_8bit | 0 |
| 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->data_buf | (-1)-s32max |
| CAPPED_DATA | 0 | chip | 1 |
| CAPPED_DATA | 0 | chip->nr_secure_regions | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | chip->bbt_td->pattern | (-1),8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | chip->cur_cs | 1-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_secure_regions | |
| UNITS | 1 | offset_in_page | unit_byte |
| UNITS | 2 | buf | unit_byte |
| UNITS | 3 | len | unit_byte |
| HALF_LOCKED2 | 0 | &chip->controller->lock | |
| HALF_LOCKED2 | 0 | &chip->lock |
drivers/mtd/nand/raw/nand_base.c nand_write_oob_syndrome() -> nand_change_write_column_op()
| 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,4545526569871687680,7841708234825457664 |
| PARAM_VALUE | 0 | chip->controller | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller->ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->current_interface_config | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->manufacturer.desc->id | 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239 |
| PARAM_VALUE | 0 | chip->oob_poi | 1-u64max |
| PARAM_VALUE | 0 | chip->priv->command | 0,4-5,16,22-23,25,54,80,96,112,128,133,144,185,208,236,238-239,255,4294967295 |
| PARAM_VALUE | 0 | chip->priv->comp_controller->wait.lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | chip->priv->comp_controller.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 0 | chip->priv->comp_controller.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | chip->priv->comp_controller.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | chip->priv->comp_nand->wait.lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | chip->priv->comp_nand.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 0 | chip->priv->comp_nand.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | chip->priv->comp_nand.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | chip->priv->curr_command | 0,4-5,16,22-23,25,54,80,96,112,128,133,144,185,208,236,238-239,255,4294967295 |
| PARAM_VALUE | 0 | chip->priv->dma_error | 0 |
| PARAM_VALUE | 0 | *chip->bbt_md->pages | s32min-s32max |
| PARAM_VALUE | 0 | *chip->bbt_md->version | 0-255 |
| PARAM_VALUE | 0 | *chip->bbt_td->pages | s32min-s32max |
| PARAM_VALUE | 0 | *chip->bbt_td->version | 0-255 |
| PARAM_VALUE | 0 | *chip->priv->cmd_complete.wait.lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 2 | buf | 0 |
| PARAM_VALUE | 3 | len | 0 |
| PARAM_VALUE | 4 | force_8bit | 0 |
| 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->data_buf | (-1)-s32max |
| CAPPED_DATA | 0 | chip | 1 |
| CAPPED_DATA | 0 | chip->nr_secure_regions | 1 |
| 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->cur_cs | 1-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] |
| USER_DATA | 0 | chip->cur_cs | 1-s32max[c] |
| USER_DATA | 0 | chip->priv->curr_column | s32min-s32max[c] |
| USER_DATA | 0 | chip->priv->curr_page_addr | 0-s32max[c] |
| USER_DATA | 0 | chip->priv->offset | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_secure_regions | |
| NO_OVERFLOW_SIMPLE | 1 | offset_in_page | |
| UNITS | 1 | offset_in_page | unit_byte |
| HALF_LOCKED2 | 0 | &chip->controller->lock | |
| HALF_LOCKED2 | 0 | &chip->lock |
drivers/mtd/nand/raw/sunxi_nand.c sunxi_nfc_hw_ecc_write_chunk() -> nand_change_write_column_op()
| 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->manufacturer.desc->id | 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239 |
| PARAM_VALUE | 0 | *chip->bbt_md->pages | s32min-s32max |
| PARAM_VALUE | 0 | *chip->bbt_md->version | 0-255 |
| PARAM_VALUE | 0 | *chip->bbt_td->pages | s32min-s32max |
| PARAM_VALUE | 0 | *chip->bbt_td->version | 0-255 |
| PARAM_VALUE | 2 | buf | 0 |
| PARAM_VALUE | 3 | len | 0 |
| PARAM_VALUE | 4 | force_8bit | 0 |
| 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 |
| DATA_SOURCE | 0 | chip | $0 |
| DATA_SOURCE | 1 | offset_in_page | $2 |
| 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 | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | chip->cur_cs | 1-s32max[c] |
| USER_DATA | 0 | chip->cur_cs | 1-s32max[c] |
| HALF_LOCKED2 | 0 | &chip->controller->lock | |
| HALF_LOCKED2 | 0 | &chip->lock |
drivers/mtd/nand/raw/sunxi_nand.c sunxi_nfc_hw_ecc_write_chunk() -> nand_change_write_column_op()
| 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->manufacturer.desc->id | 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239 |
| PARAM_VALUE | 0 | *chip->bbt_md->pages | s32min-s32max |
| PARAM_VALUE | 0 | *chip->bbt_md->version | 0-255 |
| PARAM_VALUE | 0 | *chip->bbt_td->pages | s32min-s32max |
| PARAM_VALUE | 0 | *chip->bbt_td->version | 0-255 |
| PARAM_VALUE | 2 | buf | 0 |
| PARAM_VALUE | 3 | len | 0 |
| PARAM_VALUE | 4 | force_8bit | 0 |
| 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 |
| DATA_SOURCE | 0 | chip | $0 |
| DATA_SOURCE | 1 | offset_in_page | $4 |
| 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 | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | chip->cur_cs | 1-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] |
| USER_DATA | 0 | chip->cur_cs | 1-s32max[c] |
| USER_DATA | 0 | chip->priv->curr_column | s32min-s32max[c] |
| USER_DATA | 0 | chip->priv->curr_page_addr | 0-s32max[c] |
| USER_DATA | 0 | chip->priv->offset | 0-s32max[c] |
| UNITS | 1 | offset_in_page | unit_byte |
| HALF_LOCKED2 | 0 | &chip->controller->lock | |
| HALF_LOCKED2 | 0 | &chip->lock |
drivers/mtd/nand/raw/sunxi_nand.c sunxi_nfc_hw_ecc_write_extra_oob() -> nand_change_write_column_op()
| 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->manufacturer.desc->id | 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239 |
| PARAM_VALUE | 0 | *chip->bbt_md->pages | s32min-s32max |
| PARAM_VALUE | 0 | *chip->bbt_md->version | 0-255 |
| PARAM_VALUE | 0 | *chip->bbt_td->pages | s32min-s32max |
| PARAM_VALUE | 0 | *chip->bbt_td->version | 0-255 |
| PARAM_VALUE | 2 | buf | 0 |
| PARAM_VALUE | 3 | len | 0 |
| PARAM_VALUE | 4 | force_8bit | 0 |
| 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 |
| 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 | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | chip->cur_cs | 1-s32max[c] |
| USER_DATA | 0 | chip->cur_cs | 1-s32max[c] |
| UNITS | 1 | offset_in_page | unit_byte |
| HALF_LOCKED2 | 0 | &chip->controller->lock | |
| HALF_LOCKED2 | 0 | &chip->lock |
drivers/mtd/nand/raw/marvell_nand.c marvell_nfc_hw_ecc_bch_write_page_raw() -> nand_change_write_column_op()
| 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,4545526569871687680,7841708234825457664 |
| PARAM_VALUE | 0 | chip->manufacturer.desc->id | 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239 |
| PARAM_VALUE | 0 | *chip->bbt_md->pages | s32min-s32max |
| PARAM_VALUE | 0 | *chip->bbt_md->version | 0-255 |
| PARAM_VALUE | 0 | *chip->bbt_td->pages | s32min-s32max |
| PARAM_VALUE | 0 | *chip->bbt_td->version | 0-255 |
| PARAM_VALUE | 2 | buf | 0 |
| PARAM_VALUE | 3 | len | 0 |
| PARAM_VALUE | 4 | force_8bit | 0 |
| BUF_SIZE | 0 | chip | (-1),3704 |
| BUF_SIZE | 0 | chip | (-1),3704 |
| 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->data_buf | (-1)-s32max |
| CAPPED_DATA | 0 | chip | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | chip->bbt_td->pattern | (-1),8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | chip->cur_cs | 1-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] |
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_secure_regions | |
| HALF_LOCKED2 | 0 | &chip->controller->lock | |
| HALF_LOCKED2 | 0 | &chip->lock |