Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/nand/raw/qcom_nandc.c qcom_nandc_read_cw_raw() -> nandc_set_read_loc()
| 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->manufacturer.desc->id | 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239 |
| PARAM_VALUE | 1 | cw | 0-s32max |
| PARAM_VALUE | 2 | reg | 0 |
| PARAM_VALUE | 3 | cw_offset | 0 |
| PARAM_VALUE | 5 | is_last_read_loc | 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 | 1 | cw | 1 |
| DATA_SOURCE | 0 | chip | $1 |
| DATA_SOURCE | 1 | cw | $5 |
| 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->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 | |
| UNITS | 4 | read_size | unit_byte |
| HALF_LOCKED2 | 0 | &chip->controller->lock | |
| HALF_LOCKED2 | 0 | &chip->lock |
drivers/mtd/nand/raw/qcom_nandc.c qcom_nandc_read_cw_raw() -> nandc_set_read_loc()
| 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->manufacturer.desc->id | 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239 |
| PARAM_VALUE | 1 | cw | 0-s32max |
| PARAM_VALUE | 2 | reg | 1 |
| PARAM_VALUE | 4 | read_size | 0-2 |
| PARAM_VALUE | 5 | is_last_read_loc | 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 | 1 | cw | 1 |
| DATA_SOURCE | 0 | chip | $1 |
| DATA_SOURCE | 1 | cw | $5 |
| 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->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/qcom_nandc.c qcom_nandc_read_cw_raw() -> nandc_set_read_loc()
| 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->manufacturer.desc->id | 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239 |
| PARAM_VALUE | 1 | cw | 0-s32max |
| PARAM_VALUE | 2 | reg | 2 |
| PARAM_VALUE | 5 | is_last_read_loc | 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 | 1 | cw | 1 |
| DATA_SOURCE | 0 | chip | $1 |
| DATA_SOURCE | 1 | cw | $5 |
| 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->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 | |
| UNITS | 4 | read_size | unit_byte |
| HALF_LOCKED2 | 0 | &chip->controller->lock | |
| HALF_LOCKED2 | 0 | &chip->lock |
drivers/mtd/nand/raw/qcom_nandc.c qcom_nandc_read_cw_raw() -> nandc_set_read_loc()
| 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->manufacturer.desc->id | 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239 |
| PARAM_VALUE | 1 | cw | 0-s32max |
| PARAM_VALUE | 2 | reg | 3 |
| PARAM_VALUE | 5 | is_last_read_loc | 1 |
| 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 | 1 | cw | 1 |
| DATA_SOURCE | 0 | chip | $1 |
| DATA_SOURCE | 1 | cw | $5 |
| 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->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 | |
| UNITS | 4 | read_size | unit_byte |
| HALF_LOCKED2 | 0 | &chip->controller->lock | |
| HALF_LOCKED2 | 0 | &chip->lock |
drivers/mtd/nand/raw/qcom_nandc.c read_page_ecc() -> nandc_set_read_loc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ecc.steps | 1-s32max |
| PARAM_VALUE | 1 | cw | 0-s32max |
| PARAM_VALUE | 2 | reg | 0 |
| PARAM_VALUE | 3 | cw_offset | 0 |
| PARAM_VALUE | 5 | is_last_read_loc | 0 |
| BUF_SIZE | 0 | chip | 3704 |
| CAPPED_DATA | 1 | cw | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 4 | read_size | unit_byte |
| HALF_LOCKED2 | &chip->controller->lock | ||
| HALF_LOCKED2 | &chip->lock |
drivers/mtd/nand/raw/qcom_nandc.c read_page_ecc() -> nandc_set_read_loc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ecc.steps | 1-s32max |
| PARAM_VALUE | 1 | cw | 0-s32max |
| PARAM_VALUE | 2 | reg | 1 |
| PARAM_VALUE | 5 | is_last_read_loc | 1 |
| BUF_SIZE | 0 | chip | 3704 |
| CAPPED_DATA | 1 | cw | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | cw_offset | unit_byte |
| UNITS | 4 | read_size | unit_byte |
| HALF_LOCKED2 | &chip->controller->lock | ||
| HALF_LOCKED2 | &chip->lock |
drivers/mtd/nand/raw/qcom_nandc.c read_page_ecc() -> nandc_set_read_loc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ecc.steps | 1-s32max |
| PARAM_VALUE | 1 | cw | 0-s32max |
| PARAM_VALUE | 2 | reg | 0 |
| PARAM_VALUE | 3 | cw_offset | 0 |
| PARAM_VALUE | 5 | is_last_read_loc | 1 |
| BUF_SIZE | 0 | chip | 3704 |
| CAPPED_DATA | 1 | cw | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 4 | read_size | unit_byte |
| HALF_LOCKED2 | &chip->controller->lock | ||
| HALF_LOCKED2 | &chip->lock |
drivers/mtd/nand/raw/qcom_nandc.c read_page_ecc() -> nandc_set_read_loc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ecc.steps | 1-s32max |
| PARAM_VALUE | 1 | cw | 0-s32max |
| PARAM_VALUE | 2 | reg | 0 |
| PARAM_VALUE | 5 | is_last_read_loc | 1 |
| BUF_SIZE | 0 | chip | 3704 |
| CAPPED_DATA | 1 | cw | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | cw_offset | unit_byte |
| UNITS | 4 | read_size | unit_byte |
| HALF_LOCKED2 | &chip->controller->lock | ||
| HALF_LOCKED2 | &chip->lock |
drivers/mtd/nand/raw/qcom_nandc.c update_rw_regs() -> nandc_set_read_loc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 2 | reg | 0 |
| PARAM_VALUE | 3 | cw_offset | 0 |
| PARAM_VALUE | 4 | read_size | 0,512,516,524-536 |
| PARAM_VALUE | 5 | is_last_read_loc | 1 |
| BUF_SIZE | 0 | chip | 3704 |
| DATA_SOURCE | 1 | cw | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 4 | read_size | unit_byte |