Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mtd/nand/raw/atmel/nand-controller.c atmel_hsmc_nand_pmecc_write_pg() -> atmel_nand_pmecc_generate_eccbytes()

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->manufacturer.desc->id 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239
PARAM_VALUE 0 *chip->bbt_md->pages s32min-s32max
PARAM_VALUE 0 *chip->bbt_md->version 0-255
PARAM_VALUE 0 *chip->bbt_td->pages s32min-s32max
PARAM_VALUE 0 *chip->bbt_td->version 0-255
BUF_SIZE 0 chip (-1),3704
BUF_SIZE 0 chip (-1),3704
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
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 raw $4
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
HOST_DATA 0 chip->cur_cs 1-s32max[c]
USER_DATA 0 chip->cur_cs 1-s32max[c]
HALF_LOCKED2 &nand->pmecc->pmecc->lock
HALF_LOCKED2 0 &chip->controller->lock
HALF_LOCKED2 0 &chip->lock

drivers/mtd/nand/raw/atmel/nand-controller.c atmel_nand_pmecc_write_pg() -> atmel_nand_pmecc_generate_eccbytes()

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->manufacturer.desc->id 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239
PARAM_VALUE 0 *chip->bbt_md->pages s32min-s32max
PARAM_VALUE 0 *chip->bbt_md->version 0-255
PARAM_VALUE 0 *chip->bbt_td->pages s32min-s32max
PARAM_VALUE 0 *chip->bbt_td->version 0-255
BUF_SIZE 0 chip (-1),3704
BUF_SIZE 0 chip (-1),3704
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
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 raw $4
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
HOST_DATA 0 chip->cur_cs 1-s32max[c]
HOST_DATA 0 chip->priv->curr_column s32min-s32max[c]
HOST_DATA 0 chip->priv->curr_page_addr 1-s32max[c]
HOST_DATA 0 chip->priv->offset 0-s32max[c]
USER_DATA 0 chip->cur_cs 1-s32max[c]
USER_DATA 0 chip->priv->curr_column s32min-s32max[c]
USER_DATA 0 chip->priv->curr_page_addr 0-s32max[c]
USER_DATA 0 chip->priv->offset 0-s32max[c]
HALF_LOCKED2 &nand->pmecc->pmecc->lock
HALF_LOCKED2 0 &chip->controller->lock
HALF_LOCKED2 0 &chip->lock