Defined in 1 files as a prototype:
Defined in 1 files as a function:
No references found in the database
Smatch caller information:
drivers/mtd/nand/spi/core.c spinand_program_op() -> spinand_fill_prog_exec_op()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spinand | 4096-ptr_max |
| PARAM_VALUE | 0 | spinand->op_templates | 4096-ptr_max |
| CAPPED_DATA | 0 | spinand->cur_target | 1 |
| DATA_SOURCE | 0 | spinand | $0 |
| DATA_SOURCE | 1 | addr | r nanddev_pos_to_row |
| NOSPEC | 0 | spinand->cur_target | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | spinand->cur_target | 0-s32max[c] |
| HOST_DATA | 0 | spinand->op_templates->get_feature->data.buf.in | 0-255 |
| HOST_DATA | 0 | *spinand->scratchbuf | 0-255[c] |
| HOST_DATA | 1 | addr | 0-u32max[c] |
| USER_DATA | 0 | spinand->cur_target | 0-s32max[c] |
| USER_DATA | 0 | *spinand->scratchbuf | 0-255[c] |
| USER_DATA | 1 | addr | 0-u32max[c] |
| HALF_LOCKED2 | &spinand->lock | ||
| HALF_LOCKED2 | 0 | &spinand->lock | |
| TYPE_LOCK | (struct spinand_device)->lock |
drivers/mtd/nand/spi/micron.c mt29f2g01abagd_otp_lock() -> spinand_fill_prog_exec_op()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spinand | 4096-ptr_max |
| PARAM_VALUE | 0 | spinand->op_templates | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0 |
| DATA_SOURCE | 0 | spinand | $0 |
| LOCK2 | &master->master.chrdev_lock | ||
| LOCK2 | 0 | &spinand->lock | |
| TYPE_LOCK | (struct mtd_master)->chrdev_lock | ||
| TYPE_LOCK | (struct spinand_device)->lock |
drivers/mtd/nand/spi/esmt.c f50l1g41lb_otp_lock() -> spinand_fill_prog_exec_op()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spinand | 4096-ptr_max |
| PARAM_VALUE | 0 | spinand->op_templates | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0 |
| DATA_SOURCE | 0 | spinand | $0 |
| LOCK2 | &master->master.chrdev_lock | ||
| LOCK2 | 0 | &spinand->lock | |
| TYPE_LOCK | (struct mtd_master)->chrdev_lock | ||
| TYPE_LOCK | (struct spinand_device)->lock |