Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/power/supply/max17042_battery.c max17042_init_model() -> max17042_read_model_data()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->chip_type 0-3,5-u32max
PARAM_VALUE 0 chip->config_data 4096-ptr_max
PARAM_VALUE 0 chip->enable_por_init 1
PARAM_VALUE 0 chip->regmap 4096-ptr_max
PARAM_VALUE 0 chip->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 chip->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 chip->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 chip->regmap->cache_dirty 1
PARAM_VALUE 0 *chip->regmap->cache->data 0-4294967295
PARAM_VALUE 1 addr 128
PARAM_VALUE 2 data 16,4096-ptr_max
PARAM_VALUE 3 size 48
BUF_SIZE 2 data 2
DATA_SOURCE 0 chip $0
DATA_SOURCE 2 data r _kmalloc_array_noprof
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 3 size
UNITS 3 size unit_array_size
HALF_LOCKED2 &pool->lock

drivers/power/supply/max17042_battery.c max17042_verify_model_lock() -> max17042_read_model_data()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->chip_type 0-3,5-u32max
PARAM_VALUE 0 chip->config_data 4096-ptr_max
PARAM_VALUE 0 chip->enable_por_init 1
PARAM_VALUE 0 chip->regmap 4096-ptr_max
PARAM_VALUE 0 chip->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 chip->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 chip->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 chip->regmap->cache_dirty 0-1
PARAM_VALUE 1 addr 128
PARAM_VALUE 2 data 16,4096-ptr_max
PARAM_VALUE 3 size 48
BUF_SIZE 2 data 2
DATA_SOURCE 0 chip $0
DATA_SOURCE 2 data r _kmalloc_array_noprof
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 3 size
UNITS 3 size unit_array_size
HALF_LOCKED2 &pool->lock