Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/nand/raw/mtk_nand.c mtk_nfc_read_page_hwecc() -> mtk_nfc_read_subpage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 1 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | chip->base.ops->erase | 0,4096-ptr_max |
| PARAM_VALUE | 1 | chip->base.ops->isbad | 0,4096-ptr_max |
| PARAM_VALUE | 1 | chip->base.ops->markbad | 0,4096-ptr_max |
| PARAM_VALUE | 1 | chip->manufacturer.desc->id | 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239 |
| PARAM_VALUE | 1 | *chip->bbt_md->pages | s32min-s32max |
| PARAM_VALUE | 1 | *chip->bbt_md->version | 0-255 |
| PARAM_VALUE | 1 | *chip->bbt_td->pages | s32min-s32max |
| PARAM_VALUE | 1 | *chip->bbt_td->version | 0-255 |
| PARAM_VALUE | 2 | data_offs | 0 |
| PARAM_VALUE | 6 | raw | 0 |
| BUF_SIZE | 0 | mtd | 2448 |
| BUF_SIZE | 1 | chip->badblock_pattern | (-1),72 |
| BUF_SIZE | 1 | chip->bbt_md | (-1)-0,72 |
| BUF_SIZE | 1 | chip->bbt_md->pattern | (-1),9 |
| BUF_SIZE | 1 | chip->bbt_td | (-1)-0,72 |
| BUF_SIZE | 1 | chip->bbt_td->pattern | (-1),9 |
| BUF_SIZE | 1 | chip->controller | (-1),168 |
| BUF_SIZE | 1 | chip->data_buf | (-1)-s32max |
| BUF_SIZE | 4 | bufpoi | (-1)-s32max |
| BUF_SIZE | 4 | bufpoi | (-1)-s32max |
| CAPPED_DATA | 1 | chip | 1 |
| DATA_SOURCE | 0 | mtd | r nand_to_mtd |
| DATA_SOURCE | 1 | chip | $0 |
| DATA_SOURCE | 4 | bufpoi | $1 |
| DATA_SOURCE | 5 | page | $3 |
| STR_LEN | 1 | chip->bbt_md->pattern | (-1),8 |
| STR_LEN | 1 | chip->bbt_td->pattern | (-1),8 |
| NOSPEC | 1 | chip->cur_cs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | chip->cont_read.first_page | 1-s32max[c] |
| HOST_DATA | 1 | chip->cont_read.pause_page | 2-4147480570[c] |
| HOST_DATA | 1 | chip->cur_cs | 1-s32max[c] |
| HOST_DATA | 1 | *chip->data_buf | 0-255 |
| HOST_DATA | 1 | *chip->oob_poi | 0-255 |
| HOST_DATA | 5 | page | 0-s32max[c] |
| USER_DATA | 1 | chip->cont_read.first_page | 1-s32max[c] |
| USER_DATA | 1 | chip->cur_cs | 1-s32max[c] |
| USER_DATA | 1 | *chip->oob_poi | 0-255 |
| USER_DATA | 5 | page | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 1 | chip->ecc.postpad | |
| NO_OVERFLOW_SIMPLE | 1 | chip->ecc.prepad | |
| NO_OVERFLOW_SIMPLE | 1 | chip->nr_secure_regions | |
| UNITS | 3 | readlen | unit_byte |
| HALF_LOCKED2 | 1 | &chip->controller->lock | |
| HALF_LOCKED2 | 1 | &chip->lock |
drivers/mtd/nand/raw/mtk_nand.c mtk_nfc_read_page_raw() -> mtk_nfc_read_subpage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 1 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | chip->base.ops->erase | 0,4096-ptr_max |
| PARAM_VALUE | 1 | chip->base.ops->isbad | 0,4096-ptr_max |
| PARAM_VALUE | 1 | chip->base.ops->markbad | 0,4096-ptr_max |
| PARAM_VALUE | 1 | chip->manufacturer.desc->id | 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239 |
| PARAM_VALUE | 1 | *chip->bbt_md->pages | s32min-s32max |
| PARAM_VALUE | 1 | *chip->bbt_md->version | 0-255 |
| PARAM_VALUE | 1 | *chip->bbt_td->pages | s32min-s32max |
| PARAM_VALUE | 1 | *chip->bbt_td->version | 0-255 |
| PARAM_VALUE | 2 | data_offs | 0 |
| PARAM_VALUE | 6 | raw | 1 |
| BUF_SIZE | 0 | mtd | 2448 |
| BUF_SIZE | 1 | chip->badblock_pattern | (-1),72 |
| BUF_SIZE | 1 | chip->bbt_md | (-1)-0,72 |
| BUF_SIZE | 1 | chip->bbt_md->pattern | (-1),9 |
| BUF_SIZE | 1 | chip->bbt_td | (-1)-0,72 |
| BUF_SIZE | 1 | chip->bbt_td->pattern | (-1),9 |
| BUF_SIZE | 1 | chip->controller | (-1),168 |
| BUF_SIZE | 1 | chip->data_buf | (-1)-s32max |
| BUF_SIZE | 4 | bufpoi | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | chip | 1 |
| DATA_SOURCE | 0 | mtd | r nand_to_mtd |
| DATA_SOURCE | 1 | chip | $0 |
| DATA_SOURCE | 5 | page | $3 |
| STR_LEN | 1 | chip->bbt_md->pattern | (-1),8 |
| STR_LEN | 1 | chip->bbt_td->pattern | (-1),8 |
| NOSPEC | 1 | chip->cur_cs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | chip->cont_read.first_page | 1-s32max[c] |
| HOST_DATA | 1 | chip->cont_read.pause_page | 2-4147480570[c] |
| HOST_DATA | 1 | chip->cur_cs | 1-s32max[c] |
| HOST_DATA | 1 | chip->pagecache.page | s32min-s32max[c] |
| HOST_DATA | 1 | *chip->data_buf | 0-255 |
| HOST_DATA | 1 | *chip->oob_poi | 0-255 |
| HOST_DATA | 5 | page | 0-s32max[c] |
| USER_DATA | 1 | chip->cont_read.first_page | 1-s32max[c] |
| USER_DATA | 1 | chip->cur_cs | 1-s32max[c] |
| USER_DATA | 1 | chip->pagecache.page | s32min-s32max |
| USER_DATA | 1 | *chip->oob_poi | 0-255 |
| USER_DATA | 5 | page | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 1 | chip->ecc.postpad | |
| NO_OVERFLOW_SIMPLE | 1 | chip->ecc.prepad | |
| NO_OVERFLOW_SIMPLE | 1 | chip->nr_secure_regions | |
| UNITS | 3 | readlen | unit_byte |
| HALF_LOCKED2 | 1 | &chip->controller->lock | |
| HALF_LOCKED2 | 1 | &chip->lock |
drivers/mtd/nand/raw/mtk_nand.c mtk_nfc_read_subpage_hwecc() -> mtk_nfc_read_subpage()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 1 | chip | 4096-ptr_max |
| PARAM_VALUE | 1 | chip->controller->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | chip->controller->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | chip->controller->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | chip->controller->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | chip->controller->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | chip->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | chip->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | chip->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | chip->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | chip->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | chip->suspended | 0 |
| PARAM_VALUE | 6 | raw | 0 |
| BUF_SIZE | 4 | bufpoi | 1-s32max |
| BUF_SIZE | 4 | bufpoi | 1-s32max |
| CAPPED_DATA | 1 | chip->nr_secure_regions | 1 |
| CAPPED_DATA | 2 | data_offs | 1 |
| CAPPED_DATA | 3 | readlen | 1 |
| CAPPED_DATA | 5 | page | 1 |
| DATA_SOURCE | 1 | chip | $0 |
| DATA_SOURCE | 2 | data_offs | $1 |
| DATA_SOURCE | 3 | readlen | $2 |
| DATA_SOURCE | 4 | bufpoi | $3 |
| DATA_SOURCE | 5 | page | $4 |
| BIT_INFO | 1 | chip->options | 0x1000,0xffffffffffffffff |
| LOCK2 | 1 | &chip->controller->lock | |
| LOCK2 | 1 | &chip->lock | |
| TYPE_LOCK | (struct nand_chip)->lock | ||
| TYPE_LOCK | (struct nand_controller)->lock |