Documented in 1 files:

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_setup_interface() -> nand_get_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->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]
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_nand_block_protection_support() -> nand_get_features()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->base.ops->erase 4096-ptr_max
PARAM_VALUE 0 chip->base.ops->isbad 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 0,4096-ptr_max
PARAM_VALUE 0 chip->controller->supported_op.data_only_read 1
PARAM_VALUE 0 chip->current_interface_config->timings.mode 0-5
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tADL_min 0,400000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tALH_min 0,5000,10000,20000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tALS_min 0,10000,12000,15000,25000,50000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tAR_min 0,10000,25000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tBERS_max 0-65535000000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tCCS_min 0-65535000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tCEA_max 0,25000,30000,45000,100000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tCEH_min 0,20000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tCHZ_max 0,20000,30000,50000,100000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tCH_min 0,5000,10000,20000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tCLH_min 0,5000,10000,20000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tCLR_min 0,10000,20000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tCLS_min 0,10000,12000,15000,25000,50000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tCOH_min 0,15000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tCS_min 0,15000,20000,25000,35000,70000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tDH_min 0,5000,10000,20000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tDS_min 0,7000,10000,12000,15000,20000,40000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tFEAT_max 0,1000000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tIR_min 0,10000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tITC_max 0,1000000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tPROG_max 0-65535000000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tRC_min 0,20000,25000,30000,35000,50000,100000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tREA_max 0,16000,20000,25000,30000,40000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tREH_min 0,7000,10000,15000,30000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tRHOH_min 0,15000,25000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tRHW_min 0,30000,100000,200000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tRHZ_max 0,60000,100000,200000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tRLOH_min 0,5000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tRP_min 0,10000,12000,15000,17000,25000,50000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tRR_min 0,20000,40000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tRST_max 0,500000000,250000000000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tR_max 0-65535000000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tWB_max 0,100000,200000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tWC_min 0,20000,25000,30000,35000,45000,100000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tWHR_min 0,60000,80000,120000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tWH_min 0,7000,10000,15000,30000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tWP_min 0,10000,12000,15000,17000,25000,50000
PARAM_VALUE 0 chip->current_interface_config->timings.sdr.tWW_min 0,100000
PARAM_VALUE 0 chip->current_interface_config->type 0-1
PARAM_VALUE 0 chip->id.data 4096-ptr_max
PARAM_VALUE 0 chip->lock.dep_map->name 0-255
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 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->fast_tCAD 0
PARAM_VALUE 0 chip->parameters.onfi->sdr_timing_modes 0
PARAM_VALUE 0 chip->parameters.onfi->tBERS 0
PARAM_VALUE 0 chip->parameters.onfi->tCCS 0
PARAM_VALUE 0 chip->parameters.onfi->tPROG 0
PARAM_VALUE 0 chip->parameters.onfi->tR 0
PARAM_VALUE 0 chip->parameters.onfi->vendor_revision 0
PARAM_VALUE 0 chip->parameters.onfi->version 0
PARAM_VALUE 0 chip->priv->comp_controller->wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 chip->priv->comp_controller.done 0-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_controller.wait.lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 chip->priv->comp_nand->wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 chip->priv->comp_nand.done 0-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->comp_nand.wait.lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 chip->priv->dma_error 0
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
PARAM_VALUE 0 *chip->id.data 0-255
PARAM_VALUE 0 *chip->priv->comp_controller.wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *chip->priv->comp_nand.wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 addr 160
PARAM_VALUE 2 subfeature_param 4096-ptr_max
BUF_SIZE 0 chip (-1),4088
BUF_SIZE 0 chip (-1),4088
BUF_SIZE 2 subfeature_param 4
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
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
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 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_get_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