Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/mtd/nand/raw/nand_base.c nand_set_ecc_soft_ops() -> rawnand_sw_bch_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip->ecc.calculate | 8932693914747097088 |
| PARAM_VALUE | 0 | chip->ecc.correct | 4495316831376146432 |
| PARAM_VALUE | 0 | chip->ecc.engine_type | 2 |
| PARAM_VALUE | 0 | chip->ecc.read_oob | 6689776159674740736 |
| PARAM_VALUE | 0 | chip->ecc.read_page | 8362949542595608576 |
| PARAM_VALUE | 0 | chip->ecc.read_page_raw | 1-u64max |
| PARAM_VALUE | 0 | chip->ecc.read_subpage | 393044653288218624 |
| PARAM_VALUE | 0 | chip->ecc.write_oob | 6945803504181755904 |
| PARAM_VALUE | 0 | chip->ecc.write_page | 8498374731327328256 |
| PARAM_VALUE | 0 | chip->ecc.write_page_raw | 1-u64max |
| DATA_SOURCE | 0 | chip | $0 |
drivers/mtd/nand/raw/omap2.c omap_nand_attach_chip() -> rawnand_sw_bch_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->controller->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | chip->controller->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | chip->controller->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | chip->controller->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller->ops->attach_chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->cur_cs | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | chip->ecc.bytes | 7 |
| PARAM_VALUE | 0 | chip->ecc.calculate | 270798460510879744 |
| PARAM_VALUE | 0 | chip->ecc.correct | 4495316831376146432 |
| PARAM_VALUE | 0 | chip->ecc.engine_type | 3 |
| PARAM_VALUE | 0 | chip->ecc.hwctl | 4721180969253019648 |
| PARAM_VALUE | 0 | chip->ecc.size | 512 |
| PARAM_VALUE | 0 | chip->ecc.strength | 4 |
| PARAM_VALUE | 0 | chip->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->resume_wq.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->resume_wq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->resume_wq.head.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | chip | (-1),4088 |
| BUF_SIZE | 0 | chip | (-1),4088 |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | chip->controller->controller_wp | 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] |
| NO_OVERFLOW_SIMPLE | 0 | chip->cur_cs | |
| HALF_LOCKED2 | &pool->lock |
drivers/mtd/nand/raw/omap2.c omap_nand_attach_chip() -> rawnand_sw_bch_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->controller->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | chip->controller->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | chip->controller->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | chip->controller->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->controller->ops->attach_chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->cur_cs | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | chip->ecc.bytes | 13 |
| PARAM_VALUE | 0 | chip->ecc.calculate | 270798460510879744 |
| PARAM_VALUE | 0 | chip->ecc.correct | 4495316831376146432 |
| PARAM_VALUE | 0 | chip->ecc.engine_type | 3 |
| PARAM_VALUE | 0 | chip->ecc.hwctl | 4721180969253019648 |
| PARAM_VALUE | 0 | chip->ecc.size | 512 |
| PARAM_VALUE | 0 | chip->ecc.strength | 8 |
| PARAM_VALUE | 0 | chip->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->resume_wq.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->resume_wq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->resume_wq.head.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | chip | (-1),4088 |
| BUF_SIZE | 0 | chip | (-1),4088 |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | chip->controller->controller_wp | 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] |
| NO_OVERFLOW_SIMPLE | 0 | chip->cur_cs | |
| HALF_LOCKED2 | &pool->lock |