Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/mtd/nand/ecc-mxic.c, line 311
- drivers/mtd/nand/ecc-realtek.c, line 366
- drivers/mtd/nand/ecc-sw-bch.c, line 234
- drivers/mtd/nand/ecc-sw-hamming.c, line 503
- drivers/mtd/nand/ecc.c, line 513
Smatch caller information:
drivers/mtd/nand/ecc-sw-hamming.c nand_ecc_sw_hamming_init_ctx() -> nand_ecc_init_req_tweaking()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | nand | 4096-ptr_max |
| PARAM_VALUE | 1 | nand->ecc.ctx.conf.algo | 1 |
| PARAM_VALUE | 1 | nand->ecc.ctx.conf.engine_type | 2 |
| PARAM_VALUE | 1 | nand->ecc.ctx.conf.step_size | 256,512 |
| PARAM_VALUE | 1 | nand->ecc.ctx.conf.strength | 1 |
| PARAM_VALUE | 1 | nand->ecc.engine->ops->init_ctx | 1-u64max |
| PARAM_VALUE | 1 | nand->ops->erase | 0,2145616741012197376,5355711976263086080 |
| PARAM_VALUE | 1 | nand->ops->isbad | 0,4230751433069776896,8612460838360965120 |
| PARAM_VALUE | 1 | nand->ops->markbad | 0,4545526569871687680,7841708234825457664 |
| BUF_SIZE | 1 | nand | (-1),2640 |
| BUF_SIZE | 1 | nand | (-1),2640 |
| BUF_SIZE | 1 | nand->ecc.ondie_engine | (-1),48 |
| DATA_SOURCE | 1 | nand | $0 |
| FUZZY_MAX | 1 | nand->ecc.ctx.conf.step_size | 256 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mtd/nand/ecc-mxic.c mxic_ecc_init_ctx() -> nand_ecc_init_req_tweaking()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | nand | 4096-ptr_max |
| PARAM_VALUE | 1 | nand->ecc.ctx.conf.step_size | 1024 |
| PARAM_VALUE | 1 | nand->ecc.ctx.priv | 4096-ptr_max |
| PARAM_VALUE | 1 | nand->ecc.engine | 4096-ptr_max |
| PARAM_VALUE | 1 | nand->ecc.engine->ops->init_ctx | 1-u64max |
| PARAM_VALUE | 1 | nand->ops->erase | 2145616741012197376,5355711976263086080 |
| PARAM_VALUE | 1 | nand->ops->isbad | 4230751433069776896,8612460838360965120 |
| PARAM_VALUE | 1 | nand->ops->markbad | 4545526569871687680,7841708234825457664 |
| BUF_SIZE | 1 | nand->ecc.ctx.priv | 224 |
| BUF_SIZE | 1 | nand->ecc.ondie_engine | (-1),48 |
| DATA_SOURCE | 1 | nand | $0 |
| MEM_ZERO | 0 | ctx | |
| TASK_NOT_RUNNING |
drivers/mtd/nand/ecc-realtek.c rtl_ecc_init_ctx() -> nand_ecc_init_req_tweaking()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | nand | 4096-ptr_max |
| PARAM_VALUE | 1 | nand->ecc.ctx.conf.algo | 2 |
| PARAM_VALUE | 1 | nand->ecc.ctx.conf.engine_type | 3 |
| PARAM_VALUE | 1 | nand->ecc.ctx.conf.step_size | 512 |
| PARAM_VALUE | 1 | nand->ecc.ctx.conf.strength | 6 |
| PARAM_VALUE | 1 | nand->ecc.ctx.priv | 4096-ptr_max |
| PARAM_VALUE | 1 | nand->ecc.engine | 4096-ptr_max |
| PARAM_VALUE | 1 | nand->ecc.engine->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | nand->ecc.engine->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | nand->ecc.engine->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | nand->ecc.engine->ops->init_ctx | 1-u64max |
| PARAM_VALUE | 1 | nand->ecc.user_conf.algo | 2 |
| PARAM_VALUE | 1 | nand->ecc.user_conf.placement | 1 |
| PARAM_VALUE | 1 | nand->ecc.user_conf.step_size | 512 |
| PARAM_VALUE | 1 | nand->ecc.user_conf.strength | 6 |
| PARAM_VALUE | 1 | nand->ops->erase | 2145616741012197376,5355711976263086080 |
| PARAM_VALUE | 1 | nand->ops->isbad | 4230751433069776896,8612460838360965120 |
| PARAM_VALUE | 1 | nand->ops->markbad | 4545526569871687680,7841708234825457664 |
| BUF_SIZE | 1 | nand->ecc.ctx.priv | 128 |
| BUF_SIZE | 1 | nand->ecc.ondie_engine | (-1),48 |
| DATA_SOURCE | 1 | nand | $0 |
| MEM_ZERO | 0 | ctx | |
| TASK_NOT_RUNNING |
drivers/mtd/nand/ecc-sw-bch.c nand_ecc_sw_bch_init_ctx() -> nand_ecc_init_req_tweaking()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | nand | 4096-ptr_max |
| PARAM_VALUE | 1 | nand->ecc.ctx.conf.algo | 2 |
| PARAM_VALUE | 1 | nand->ecc.ctx.conf.engine_type | 2 |
| PARAM_VALUE | 1 | nand->ecc.ctx.conf.step_size | 1-u32max |
| PARAM_VALUE | 1 | nand->ecc.engine->ops->init_ctx | 1-u64max |
| PARAM_VALUE | 1 | nand->ops->erase | 0,2145616741012197376,5355711976263086080 |
| PARAM_VALUE | 1 | nand->ops->isbad | 0,4230751433069776896,8612460838360965120 |
| PARAM_VALUE | 1 | nand->ops->markbad | 0,4545526569871687680,7841708234825457664 |
| BUF_SIZE | 1 | nand | (-1),2640 |
| BUF_SIZE | 1 | nand | (-1),2640 |
| BUF_SIZE | 1 | nand->ecc.ondie_engine | (-1),48 |
| DATA_SOURCE | 1 | nand | $0 |
| FUZZY_MAX | 1 | nand->ecc.ctx.conf.step_size | 1024 |
| BIT_INFO | 1 | nand->ecc.user_conf.flags | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |