Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c, line 232
- drivers/mtd/nand/raw/cafe_nand.c, line 313
- drivers/mtd/nand/raw/nand_base.c, line 2129
- drivers/mtd/nand/raw/nand_legacy.c
Smatch caller information:
drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c bcm47xxnflash_ops_bcm4706_cmdfunc() -> nand_wait_ready()
| 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 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller->ops | 0,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 |
| PARAM_VALUE | 0 | chip->manufacturer.desc->ops->init | 212359982685974528,823161443146813440,1372821563079450624,1811550138150207488,4454650112844922880,5087819817528287232,7923024313958473728,8655295264377085952 |
| BUF_SIZE | 0 | chip | (-1),4088 |
| BUF_SIZE | 0 | chip | (-1),4088 |
| 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->current_interface_config | (-1),1152 |
| 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 |
| NOSPEC | 0 | chip->cur_cs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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->oob_poi | 0-255 |
| USER_DATA | 0 | chip->cur_cs | 1-s32max[c] |
| 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 | 0 | chip->pagecache.bitflips | |
| HALF_LOCKED2 | 0 | &chip->controller->lock | |
| HALF_LOCKED2 | 0 | &chip->lock |
drivers/mtd/nand/raw/nand_base.c nand_wait_rdy_op() -> nand_wait_ready()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->controller->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->controller->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->controller->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chip->controller->ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->legacy.dev_ready | 1-u64max |
| PARAM_VALUE | 0 | chip->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| CAPPED_DATA | 0 | chip | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| BIT_INFO | 0 | chip->options | 0x100,0xffffffffffffffff |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | chip->cur_cs | 1-s32max[c] |
| HOST_DATA | 0 | *chip->oob_poi | 0-255 |
| LOCK2 | &chip->controller->lock | ||
| LOCK2 | &chip->lock | ||
| LOCK2 | 0 | &chip->controller->lock | |
| LOCK2 | 0 | &chip->lock | |
| TYPE_LOCK | (struct nand_chip)->lock | ||
| TYPE_LOCK | (struct nand_controller)->lock |
drivers/mtd/nand/raw/nand_legacy.c nand_command() -> nand_wait_ready()
| 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->ops->detach_chip | 0,1583562752288423936,3324054136611635200,3528536973807566848,4326869451060441088,7679234560064159744 |
| PARAM_VALUE | 0 | chip->legacy.dev_ready | 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->fixup_onfi_param_page | 0,2293197095040008192,8624138701080768512 |
| PARAM_VALUE | 0 | chip->manufacturer.desc->ops->init | 212359982685974528,823161443146813440,1372821563079450624,1811550138150207488,4454650112844922880,5087819817528287232,7923024313958473728,8655295264377085952 |
| BUF_SIZE | 0 | chip | (-1),3704,4088 |
| BUF_SIZE | 0 | chip | (-1),3704,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 |
| 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 |
| NOSPEC | 0 | chip->cur_cs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 | |
| NO_OVERFLOW_SIMPLE | 0 | chip->pagecache.bitflips | |
| USER_PTR | 0 | chip->data_buf | |
| HALF_LOCKED2 | 0 | &chip->controller->lock | |
| HALF_LOCKED2 | 0 | &chip->lock |
drivers/mtd/nand/raw/nand_legacy.c nand_command_lp() -> nand_wait_ready()
| 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->ops->detach_chip | 0,1583562752288423936,3324054136611635200,3528536973807566848,4326869451060441088,7679234560064159744 |
| PARAM_VALUE | 0 | chip->legacy.dev_ready | 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->fixup_onfi_param_page | 0,2293197095040008192,8624138701080768512 |
| PARAM_VALUE | 0 | chip->manufacturer.desc->ops->init | 212359982685974528,823161443146813440,1372821563079450624,1811550138150207488,4454650112844922880,5087819817528287232,7923024313958473728,8655295264377085952 |
| BUF_SIZE | 0 | chip | (-1),3704,4088 |
| BUF_SIZE | 0 | chip | (-1),3704,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 |
| 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 |
| NOSPEC | 0 | chip->cur_cs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 | |
| NO_OVERFLOW_SIMPLE | 0 | chip->pagecache.bitflips | |
| USER_PTR | 0 | chip->data_buf | |
| HALF_LOCKED2 | 0 | &chip->controller->lock | |
| HALF_LOCKED2 | 0 | &chip->lock |
drivers/mtd/nand/raw/cafe_nand.c cafe_nand_cmdfunc() -> nand_wait_ready()
| 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->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),3704,4088 |
| BUF_SIZE | 0 | chip | (-1),3704,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 |
| 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 |
| NOSPEC | 0 | chip->cur_cs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 | |
| NO_OVERFLOW_SIMPLE | 0 | chip->pagecache.bitflips | |
| USER_PTR | 0 | chip->data_buf | |
| HALF_LOCKED2 | 0 | &chip->controller->lock | |
| HALF_LOCKED2 | 0 | &chip->lock |