Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/mtd/nand/raw/nand_micron.c micron_nand_on_die_ecc_setup() -> nand_set_features()

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,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->manufacturer.desc->ops->init 212359982685974528,823161443146813440,1372821563079450624,1811550138150207488,4454650112844922880,5087819817528287232,7923024313958473728,8655295264377085952
PARAM_VALUE 0 chip->manufacturer.priv 4096-ptr_max
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 1 addr 144
PARAM_VALUE 2 subfeature_param 4096-ptr_max
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 2 subfeature_param 4
DATA_SOURCE 0 chip $0
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->cont_read.first_page 1-s32max[c]
HOST_DATA 0 chip->cont_read.pause_page 2-4147480570[c]
HOST_DATA 0 chip->cur_cs 1-s32max[c]
HOST_DATA 0 *chip->data_buf 0-255
HOST_DATA 0 *chip->oob_poi 0-255
USER_DATA 0 chip->cont_read.first_page 1-s32max[c]
USER_DATA 0 chip->cur_cs 1-s32max[c]
USER_DATA 0 *chip->oob_poi 0-255
NO_OVERFLOW_SIMPLE 0 chip->ecc.postpad
NO_OVERFLOW_SIMPLE 0 chip->ecc.prepad
NO_OVERFLOW_SIMPLE 0 chip->nr_secure_regions
HALF_LOCKED2 0 &chip->controller->lock
HALF_LOCKED2 0 &chip->lock

drivers/mtd/nand/raw/nand_micron.c micron_nand_setup_read_retry() -> nand_set_features()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->controller->lock.dep_map->name 0-255
PARAM_VALUE 0 chip->controller->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 chip->controller->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->controller->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 chip->controller->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 chip->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 chip->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->ops.setup_read_retry 1-u64max
PARAM_VALUE 0 chip->pagecache.page (-1)
PARAM_VALUE 0 chip->read_retries 2-s32max
PARAM_VALUE 0 chip->suspended 0
PARAM_VALUE 1 addr 137
PARAM_VALUE 2 subfeature_param 4096-ptr_max
BUF_SIZE 2 subfeature_param 4
CAPPED_DATA 0 chip->nr_secure_regions 1
CAPPED_DATA 0 chip->read_retries 1
DATA_SOURCE 0 chip $0
BIT_INFO 0 chip->options 0x0,0xffffffff
LOCK2 0 &chip->controller->lock
LOCK2 0 &chip->lock
TYPE_LOCK (struct nand_chip)->lock
TYPE_LOCK (struct nand_controller)->lock

drivers/mtd/nand/raw/nand_base.c nand_setup_interface() -> nand_set_features()

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->best_interface_config 4096-ptr_max
PARAM_VALUE 0 chip->controller 4096-ptr_max
PARAM_VALUE 0 chip->controller->ops 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->parameters.supports_set_get_features 1
PARAM_VALUE 1 addr 1
PARAM_VALUE 2 subfeature_param 4096-ptr_max
BUF_SIZE 0 chip (-1),3704,4088
BUF_SIZE 0 chip (-1),3704,4088
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,144
BUF_SIZE 0 chip->bbt_td->pattern (-1),9
BUF_SIZE 0 chip->controller (-1),168
BUF_SIZE 0 chip->current_interface_config (-1),1152
BUF_SIZE 0 chip->data_buf (-1)-s32max
BUF_SIZE 0 chip->legacy.dummy_controller.ops (-1),32
BUF_SIZE 0 chip->priv (-1),4008
BUF_SIZE 2 subfeature_param 4
DATA_SOURCE 0 chip $0
STR_LEN 0 chip->bbt_md->pattern (-1),8
STR_LEN 0 chip->bbt_td->pattern (-1),8
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 chip->controller->controller_wp 0
HOST_DATA 0 chip->controller->lock.osq.tail.counter 0
HOST_DATA 0 chip->controller->lock.owner.counter 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]
HOST_DATA 0 *chip->oob_poi 0-255
NO_OVERFLOW_SIMPLE 0 chip->cur_cs
NO_OVERFLOW_SIMPLE 0 chip->nr_secure_regions
HALF_LOCKED2 0 &chip->controller->lock
HALF_LOCKED2 0 &chip->lock

drivers/mtd/nand/raw/nand_macronix.c macronix_30lfxg18ac_otp_disable() -> nand_set_features()

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->priv->cmd_complete.wait.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 chip->priv->comp_controller.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 chip->priv->comp_nand.wait.lock.dep_map->name 0-255
PARAM_VALUE 1 addr 144
PARAM_VALUE 2 subfeature_param 4096-ptr_max
BUF_SIZE 2 subfeature_param 4
DATA_SOURCE 0 chip $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 chip->cur_cs 1-s32max[c]

drivers/mtd/nand/raw/nand_macronix.c macronix_30lfxg18ac_otp_enable() -> nand_set_features()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 addr 144
PARAM_VALUE 2 subfeature_param 4096-ptr_max
BUF_SIZE 2 subfeature_param 4
DATA_SOURCE 0 chip $0
RX_PATH
TASK_NOT_RUNNING

drivers/mtd/nand/raw/nand_macronix.c macronix_nand_randomizer_check_enable() -> nand_set_features()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->legacy.get_features 0
PARAM_VALUE 0 chip->manufacturer.desc 4096-ptr_max
PARAM_VALUE 0 chip->manufacturer.desc->ops 4096-ptr_max
PARAM_VALUE 0 chip->manufacturer.desc->ops->init 212359982685974528,823161443146813440,1372821563079450624,1811550138150207488,4454650112844922880,5087819817528287232,7923024313958473728,8655295264377085952
PARAM_VALUE 0 chip->parameters.onfi 4096-ptr_max
PARAM_VALUE 0 chip->parameters.supports_set_get_features 1
PARAM_VALUE 0 chip->priv->cmd_complete.done 0-4294967293,4294967295
PARAM_VALUE 0 chip->priv->cmd_complete.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 chip->priv->cmd_complete.wait.lock.magic 3735899821
PARAM_VALUE 0 chip->priv->cmd_complete.wait.lock.owner (-1)
PARAM_VALUE 0 chip->priv->cmd_complete.wait.lock.owner_cpu 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->ctl1 0-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->offset 0-4294967295
PARAM_VALUE 0 *chip->priv->id_data 0-255
PARAM_VALUE 0 *chip->priv->mmio (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 addr 176
PARAM_VALUE 2 subfeature_param 3055241100410552320
BUF_SIZE 2 subfeature_param 4
DATA_SOURCE 0 chip $0
BIT_INFO 0 chip->options 0x200,0xffffffff

drivers/mtd/nand/raw/nand_macronix.c macronix_nand_randomizer_check_enable() -> nand_set_features()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->controller 0,4096-ptr_max
PARAM_VALUE 0 chip->controller->ops 0,4096-ptr_max
PARAM_VALUE 0 chip->legacy.get_features 0
PARAM_VALUE 0 chip->legacy.set_features 0
PARAM_VALUE 0 chip->manufacturer.desc 4096-ptr_max
PARAM_VALUE 0 chip->manufacturer.desc->ops 4096-ptr_max
PARAM_VALUE 0 chip->manufacturer.desc->ops->init 212359982685974528,823161443146813440,1372821563079450624,1811550138150207488,4454650112844922880,5087819817528287232,7923024313958473728,8655295264377085952
PARAM_VALUE 0 chip->parameters.onfi 4096-ptr_max
PARAM_VALUE 0 chip->parameters.supports_set_get_features 1
PARAM_VALUE 0 chip->priv->cmd_complete.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 chip->priv->cmd_complete.wait.lock.magic 3735899821
PARAM_VALUE 0 chip->priv->cmd_complete.wait.lock.owner (-1)
PARAM_VALUE 0 chip->priv->cmd_complete.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 chip->priv->comp_controller.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 chip->priv->comp_controller.wait.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 chip->priv->comp_nand.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 chip->priv->comp_nand.wait.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 1 addr 176
PARAM_VALUE 2 subfeature_param 3055241100410552320
BUF_SIZE 2 subfeature_param 4
DATA_SOURCE 0 chip $0
BIT_INFO 0 chip->options 0x200,0xffffffff

drivers/mtd/nand/raw/nand_macronix.c macronix_nand_setup_read_retry() -> nand_set_features()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->controller->lock.dep_map->name 0-255
PARAM_VALUE 0 chip->controller->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 chip->controller->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->controller->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 chip->controller->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 chip->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 chip->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->ops.setup_read_retry 1-u64max
PARAM_VALUE 0 chip->pagecache.page (-1)
PARAM_VALUE 0 chip->parameters.set_feature_list 4096-ptr_max
PARAM_VALUE 0 chip->parameters.supports_set_get_features 1
PARAM_VALUE 0 chip->read_retries 2-s32max
PARAM_VALUE 0 chip->suspended 0
PARAM_VALUE 1 addr 137
PARAM_VALUE 2 subfeature_param 4096-ptr_max
BUF_SIZE 2 subfeature_param 4
CAPPED_DATA 0 chip->nr_secure_regions 1
CAPPED_DATA 0 chip->read_retries 1
DATA_SOURCE 0 chip $0
BIT_INFO 0 chip->options 0x0,0xffffffff
LOCK2 0 &chip->controller->lock
LOCK2 0 &chip->lock
TYPE_LOCK (struct nand_chip)->lock
TYPE_LOCK (struct nand_controller)->lock

drivers/mtd/nand/raw/nand_macronix.c mxic_nand_lock() -> nand_set_features()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->controller->lock.dep_map->name 0-255
PARAM_VALUE 0 chip->controller->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 chip->controller->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->controller->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 chip->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->ops.lock_area 1-u64max
PARAM_VALUE 0 chip->suspended 0
PARAM_VALUE 1 addr 160
PARAM_VALUE 2 subfeature_param 4096-ptr_max
BUF_SIZE 2 subfeature_param 4
DATA_SOURCE 0 chip $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &chip->controller->lock
LOCK2 0 &chip->lock
HALF_LOCKED2 &master->master.chrdev_lock
TYPE_LOCK (struct nand_chip)->lock
TYPE_LOCK (struct nand_controller)->lock

drivers/mtd/nand/raw/nand_macronix.c mxic_nand_unlock() -> nand_set_features()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->controller->lock.dep_map->name 0-255
PARAM_VALUE 0 chip->controller->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 chip->controller->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->controller->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 chip->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 chip->ops.unlock_area 1-u64max
PARAM_VALUE 0 chip->suspended 0
PARAM_VALUE 1 addr 160
PARAM_VALUE 2 subfeature_param 4096-ptr_max
BUF_SIZE 2 subfeature_param 4
DATA_SOURCE 0 chip $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &chip->controller->lock
LOCK2 0 &chip->lock
HALF_LOCKED2 &master->master.chrdev_lock
HALF_LOCKED2 global &mtd_table_mutex
TYPE_LOCK (struct nand_chip)->lock
TYPE_LOCK (struct nand_controller)->lock