Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c
- drivers/mtd/nand/raw/cafe_nand.c
- drivers/mtd/nand/raw/fsl_elbc_nand.c
- drivers/mtd/nand/raw/fsl_ifc_nand.c
- drivers/mtd/nand/raw/hisi504_nand.c
- drivers/mtd/nand/raw/mpc5121_nfc.c
- drivers/mtd/nand/raw/nand_legacy.c, line 525
- drivers/mtd/nand/raw/sh_flctl.c
Smatch caller information:
drivers/mtd/nand/raw/nand_base.c nand_set_features() -> (struct nand_legacy)->set_features()
| 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->legacy.set_features | 1-u64max |
| 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->manufacturer.desc->ops->detect | 0,5,4096-ptr_max |
| PARAM_VALUE | 0 | chip->manufacturer.desc->ops->init | 212359982685974528,823161443146813440,1372821563079450624,1811550138150207488,4454650112844922880,5087819817528287232,7923024313958473728,8655295264377085952 |
| PARAM_VALUE | 0 | chip->parameters.supports_set_get_features | 1 |
| PARAM_VALUE | 1 | addr | 1,137,144,160,176 |
| PARAM_VALUE | 2 | subfeature_param | 4096-ptr_max |
| 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,144 |
| 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 |
| BUF_SIZE | 0 | chip->legacy.dummy_controller.ops | (-1),32 |
| BUF_SIZE | 0 | chip->priv | (-1),4008 |
| BUF_SIZE | 2 | subfeature_param | 4 |
| BUF_SIZE | 2 | subfeature_param | 4 |
| DATA_SOURCE | 0 | chip | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 2 | subfeature_param | $2 |
| STR_LEN | 0 | chip->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | chip->bbt_td->pattern | (-1),8 |
| CONTAINER | 0 | -104-2808+0 | $(-1) |
| NOSPEC | 0 | chip->cur_cs | |
| HARD_MAX | 1 | addr | 176 |
| 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-1 |
| HOST_DATA | 0 | chip->controller->supported_op.data_only_read | 0-1 |
| 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 | |
| HALF_LOCKED2 | 0 | &chip->controller->lock | |
| HALF_LOCKED2 | 0 | &chip->lock |
drivers/mtd/nand/raw/nand_base.c nand_get_features() -> (struct nand_legacy)->get_features()
| 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->legacy.get_features | 1-u64max |
| 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->manufacturer.desc->ops->init | 212359982685974528,823161443146813440,1372821563079450624,1811550138150207488,4454650112844922880,5087819817528287232,7923024313958473728,8655295264377085952 |
| PARAM_VALUE | 0 | chip->parameters.supports_set_get_features | 1 |
| PARAM_VALUE | 1 | addr | 1,160,176 |
| PARAM_VALUE | 2 | subfeature_param | 4096-ptr_max |
| 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,144 |
| BUF_SIZE | 0 | chip->bbt_td->pattern | (-1),9 |
| BUF_SIZE | 0 | chip->current_interface_config | (-1),1152 |
| BUF_SIZE | 0 | chip->data_buf | (-1)-s32max |
| BUF_SIZE | 0 | chip->legacy.dummy_controller.ops | (-1),32 |
| BUF_SIZE | 0 | chip->priv | (-1),4008 |
| BUF_SIZE | 2 | subfeature_param | 4 |
| BUF_SIZE | 2 | subfeature_param | 4 |
| DATA_SOURCE | 0 | chip | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 2 | subfeature_param | $2 |
| STR_LEN | 0 | chip->bbt_md->pattern | (-1),8 |
| STR_LEN | 0 | chip->bbt_td->pattern | (-1),8 |
| CONTAINER | 0 | -112-2808+0 | $(-1) |
| HARD_MAX | 1 | addr | 176 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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-1 |
| HOST_DATA | 0 | chip->controller->supported_op.data_only_read | 0-1 |
| HOST_DATA | 0 | chip->cur_cs | 1-s32max[c] |
| HOST_DATA | 0 | *chip->oob_poi | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | chip->cur_cs | |
| HALF_LOCKED2 | 0 | &chip->controller->lock | |
| HALF_LOCKED2 | 0 | &chip->lock |