Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mtd/nand/raw/mtk_nand.c mtk_nfc_write_oob_std() -> mtk_nfc_write_page_raw()

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,4545526569871687680,7841708234825457664
PARAM_VALUE 0 chip->controller 4096-ptr_max
PARAM_VALUE 0 chip->controller->ops 0,4096-ptr_max
PARAM_VALUE 0 chip->current_interface_config 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->priv->cmd_complete.done 0-4294967293,4294967295
PARAM_VALUE 0 chip->priv->command 0,4-5,16,22-23,25,54,80,96,112,128,133,144,185,208,236,238-239,255,4294967295
PARAM_VALUE 0 chip->priv->comp_controller->wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 chip->priv->comp_controller.done 0-4294967293,4294967295
PARAM_VALUE 0 chip->priv->comp_controller.wait.lock.owner (-1)
PARAM_VALUE 0 chip->priv->comp_controller.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 chip->priv->comp_nand->wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 chip->priv->comp_nand.done 0-4294967293,4294967295
PARAM_VALUE 0 chip->priv->comp_nand.wait.lock.owner (-1)
PARAM_VALUE 0 chip->priv->comp_nand.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 chip->priv->ctl2 0-4294967295
PARAM_VALUE 0 chip->priv->curr_column s32min-s32max
PARAM_VALUE 0 chip->priv->curr_command 0,4-5,16,22-23,25,54,80,96,112,128,133,144,185,208,236,238-239,255,4294967295
PARAM_VALUE 0 chip->priv->curr_page_addr s32min-(-2),0-s32max
PARAM_VALUE 0 chip->priv->data_pos 0
PARAM_VALUE 0 chip->priv->datalen s32min-s32max
PARAM_VALUE 0 chip->priv->dma_error 0
PARAM_VALUE 0 chip->priv->offset 0-4294967295
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
PARAM_VALUE 0 *chip->priv->cmd_complete.wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *chip->priv->id_data 0-255
PARAM_VALUE 1 buf 0
PARAM_VALUE 2 oob_on 1
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 0 chip 1
CAPPED_DATA 0 chip->nr_secure_regions 1
CAPPED_DATA 3 pg 1
DATA_SOURCE 0 chip $0
DATA_SOURCE 3 pg $1
STR_LEN 0 chip->bbt_md->pattern (-1),8
STR_LEN 0 chip->bbt_td->pattern (-1),8
BIT_INFO 3 pg 0x0,0x7fffffff
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]
NO_OVERFLOW_SIMPLE 0 chip->nr_secure_regions
HALF_LOCKED2 0 &chip->controller->lock
HALF_LOCKED2 0 &chip->lock

drivers/mtd/nand/raw/nand_base.c nand_write_page() -> (struct nand_ecc_ctrl)->write_page_raw()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 2 oob_on 0-1
BUF_SIZE 1 buf (-1),1-s32max
BUF_SIZE 1 buf (-1),1-s32max
CAPPED_DATA 0 chip 1
CAPPED_DATA 0 chip->nr_secure_regions 1
CAPPED_DATA 3 pg 1
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 buf $3
DATA_SOURCE 2 oob_on $4
DATA_SOURCE 3 pg $5
FUZZY_MAX 2 oob_on 1
CONTAINER 0 -96-3528+0 $(-1)
BIT_INFO 0 chip->options 0x0,0xffffffff
HARD_MAX 2 oob_on 1
HALF_LOCKED2 0 &chip->controller->lock
HALF_LOCKED2 0 &chip->lock

drivers/mtd/nand/raw/nand_base.c nand_write_page_swecc() -> (struct nand_ecc_ctrl)->write_page_raw()

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,4545526569871687680,7841708234825457664
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
PARAM_VALUE 2 oob_on 1
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
BUF_SIZE 1 buf (-1)-s32max
BUF_SIZE 1 buf (-1)-s32max
CAPPED_DATA 0 chip 1
CAPPED_DATA 0 chip->nr_secure_regions 1
CAPPED_DATA 3 pg 1
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 buf $1
DATA_SOURCE 3 pg $3
STR_LEN 0 chip->bbt_md->pattern (-1),8
STR_LEN 0 chip->bbt_td->pattern (-1),8
CONTAINER 0 -96-3528+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 chip->cur_cs 1-s32max[c]
NO_OVERFLOW_SIMPLE 0 chip->nr_secure_regions
HALF_LOCKED2 0 &chip->controller->lock
HALF_LOCKED2 0 &chip->lock

drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c mx23_write_transcription_stamp() -> (struct nand_ecc_ctrl)->write_page_raw()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->badblock_pattern 1-u64max
PARAM_VALUE 0 chip->badblockbits 8
PARAM_VALUE 0 chip->badblockpos 0,5
PARAM_VALUE 0 chip->base.bbt.cache 1-u64max
PARAM_VALUE 0 chip->base.ecc.ctx.conf.algo 1-2
PARAM_VALUE 0 chip->base.ecc.ctx.conf.engine_type 2
PARAM_VALUE 0 chip->base.ecc.user_conf.algo 1-2
PARAM_VALUE 0 chip->base.ecc.user_conf.engine_type 2
PARAM_VALUE 0 chip->base.ecc.user_conf.step_size 0-s32max
PARAM_VALUE 0 chip->base.ops 4096-ptr_max
PARAM_VALUE 0 chip->base.rowconv.eraseblock_addr_shift 0-32
PARAM_VALUE 0 chip->base.rowconv.lun_addr_shift 0-64
PARAM_VALUE 0 chip->bbt 16,4096-ptr_max
PARAM_VALUE 0 chip->bbt_md 0,4096-ptr_max
PARAM_VALUE 0 chip->bbt_options 0,131072-u32max
PARAM_VALUE 0 chip->buf_align 1-u64max
PARAM_VALUE 0 chip->controller 0,4096-ptr_max
PARAM_VALUE 0 chip->controller->ops->exec_op 0,4096-ptr_max
PARAM_VALUE 0 chip->cur_cs (-1)-0
PARAM_VALUE 0 chip->data_buf 16,4096-ptr_max
PARAM_VALUE 0 chip->ecc.algo 0-3
PARAM_VALUE 0 chip->ecc.calc_buf 0,16,4096-ptr_max
PARAM_VALUE 0 chip->ecc.code_buf 0,16,4096-ptr_max
PARAM_VALUE 0 chip->ecc.correct 4096-ptr_max
PARAM_VALUE 0 chip->ecc.engine_type 1-u32max
PARAM_VALUE 0 chip->ecc.placement 0-2
PARAM_VALUE 0 chip->ecc.read_oob 1-u64max
PARAM_VALUE 0 chip->ecc.read_oob_raw 1-u64max
PARAM_VALUE 0 chip->ecc.read_page 1-u64max
PARAM_VALUE 0 chip->ecc.read_page_raw 1-u64max
PARAM_VALUE 0 chip->ecc.read_subpage 1-u64max
PARAM_VALUE 0 chip->ecc.write_oob 1-u64max
PARAM_VALUE 0 chip->ecc.write_oob_raw 1-u64max
PARAM_VALUE 0 chip->ecc.write_page 1-u64max
PARAM_VALUE 0 chip->ecc.write_page_raw 1-u64max
PARAM_VALUE 0 chip->id.len 0-8
PARAM_VALUE 0 chip->legacy.chip_delay s32min-(-1),1-s32max
PARAM_VALUE 0 chip->legacy.cmdfunc 1-u64max
PARAM_VALUE 0 chip->legacy.read_buf 1-u64max
PARAM_VALUE 0 chip->legacy.read_byte 1-u64max
PARAM_VALUE 0 chip->legacy.select_chip 1-u64max
PARAM_VALUE 0 chip->legacy.waitfunc 1-u64max
PARAM_VALUE 0 chip->legacy.write_buf 1-u64max
PARAM_VALUE 0 chip->legacy.write_byte 1-u64max
PARAM_VALUE 0 chip->lock.first_waiter 0
PARAM_VALUE 0 chip->lock.magic 4096-ptr_max
PARAM_VALUE 0 chip->lock.osq.tail.counter 0
PARAM_VALUE 0 chip->lock.owner.counter 0
PARAM_VALUE 0 chip->oob_poi 4096-ptr_max
PARAM_VALUE 0 chip->ops.resume 4096-ptr_max
PARAM_VALUE 0 chip->ops.suspend 4096-ptr_max
PARAM_VALUE 0 chip->pagecache.page (-1)
PARAM_VALUE 0 chip->parameters.supports_set_get_features 1
PARAM_VALUE 0 chip->read_retries 0-255
PARAM_VALUE 0 chip->secure_regions 16,4096-ptr_max
PARAM_VALUE 1 buf 16,4096-ptr_max
PARAM_VALUE 2 oob_on 0
PARAM_VALUE 3 pg 0-192
BUF_SIZE 0 chip 3704
CONTAINER 0 -96-3528+0 $(-1)
CONTAINER 1 *(-96-3528+3200) $(-1)
PARAM_COMPARE 1 buf == $0->data_buf
PARAM_COMPARE 1 buf == $0->data_buf
RX_PATH
TASK_NOT_RUNNING

drivers/mtd/nand/raw/marvell_nand.c marvell_nfc_hw_ecc_bch_write_oob_raw() -> (struct nand_ecc_ctrl)->write_page_raw()

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,4545526569871687680,7841708234825457664
PARAM_VALUE 0 chip->controller 4096-ptr_max
PARAM_VALUE 0 chip->controller->ops 0,4096-ptr_max
PARAM_VALUE 0 chip->current_interface_config 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->pagecache.page (-1)
PARAM_VALUE 0 chip->priv->cmd_complete.done 0-4294967293,4294967295
PARAM_VALUE 0 chip->priv->command 0,4-5,16,22-23,25,54,80,96,112,128,133,144,185,208,236,238-239,255,4294967295
PARAM_VALUE 0 chip->priv->comp_controller->wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 chip->priv->comp_controller.done 0-4294967293,4294967295
PARAM_VALUE 0 chip->priv->comp_controller.wait.lock.owner (-1)
PARAM_VALUE 0 chip->priv->comp_controller.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 chip->priv->comp_nand->wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 chip->priv->comp_nand.done 0-4294967293,4294967295
PARAM_VALUE 0 chip->priv->comp_nand.wait.lock.owner (-1)
PARAM_VALUE 0 chip->priv->comp_nand.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 chip->priv->ctl2 0-4294967295
PARAM_VALUE 0 chip->priv->curr_column s32min-s32max
PARAM_VALUE 0 chip->priv->curr_command 0,4-5,16,22-23,25,54,80,96,112,128,133,144,185,208,236,238-239,255,4294967295
PARAM_VALUE 0 chip->priv->curr_page_addr s32min-(-2),0-s32max
PARAM_VALUE 0 chip->priv->data_pos 0
PARAM_VALUE 0 chip->priv->datalen s32min-s32max
PARAM_VALUE 0 chip->priv->dma_error 0
PARAM_VALUE 0 chip->priv->offset 0-4294967295
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
PARAM_VALUE 0 *chip->priv->cmd_complete.wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *chip->priv->id_data 0-255
PARAM_VALUE 2 oob_on 1
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
BUF_SIZE 1 buf (-1)-s32max
BUF_SIZE 1 buf (-1)-s32max
CAPPED_DATA 0 chip 1
CAPPED_DATA 0 chip->nr_secure_regions 1
CAPPED_DATA 3 pg 1
DATA_SOURCE 0 chip $0
DATA_SOURCE 3 pg $1
STR_LEN 0 chip->bbt_md->pattern (-1),8
STR_LEN 0 chip->bbt_td->pattern (-1),8
CONTAINER 0 -96-3528+0 $(-1)
CONTAINER 1 *(-96-3528+3200) $(-1)
PARAM_COMPARE 1 buf == $0->data_buf
PARAM_COMPARE 1 buf == $0->data_buf
BIT_INFO 3 pg 0x0,0x7fffffff
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]
NO_OVERFLOW_SIMPLE 0 chip->nr_secure_regions
HALF_LOCKED2 0 &chip->controller->lock
HALF_LOCKED2 0 &chip->lock