Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hwmon/pmbus/pmbus_core.c pmbus_add_boolean() -> pmbus_add_attribute()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->currpage (-1)
PARAM_VALUE 0 data->currphase (-1)
PARAM_VALUE 0 data->dev 4096-ptr_max
PARAM_VALUE 0 data->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 data->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 data->group.attrs 1-u64max
PARAM_VALUE 0 data->group.attrs_const 1-u64max
PARAM_VALUE 0 data->groups 1-u64max
PARAM_VALUE 0 data->info 4096-ptr_max
PARAM_VALUE 0 data->info->func 4096-ptr_max
PARAM_VALUE 0 data->info->groups 0,4096-ptr_max
PARAM_VALUE 0 data->read_status 2316503881730301952,2382050755872395264
PARAM_VALUE 0 data->sensors 4096-ptr_max
PARAM_VALUE 0 data->update_lock.dep_map->name 0-255
PARAM_VALUE 0 data->update_lock.first_waiter 0
PARAM_VALUE 0 data->update_lock.magic 4096-ptr_max
PARAM_VALUE 0 data->update_lock.osq.tail.counter 0
PARAM_VALUE 0 data->update_lock.owner.counter 0
PARAM_VALUE 0 *data->exponent s32min-s32max
PARAM_VALUE 0 *data->group.attrs 0
PARAM_VALUE 1 attr 4096-ptr_max
PARAM_VALUE 1 attr->mode 292
PARAM_VALUE 1 attr->name 0
BUF_SIZE 0 data->dev 1616
DATA_SOURCE 0 data $0
STR_LEN 0 data (-1),3,5
STR_LEN 0 data (-1),3,5
MEM_ZERO 1 attr
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 data->max_attributes

drivers/hwmon/pmbus/pmbus_core.c pmbus_add_label() -> pmbus_add_attribute()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->currpage (-1)
PARAM_VALUE 0 data->currphase (-1)
PARAM_VALUE 0 data->dev 4096-ptr_max
PARAM_VALUE 0 data->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 data->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 data->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 data->groups 1-u64max
PARAM_VALUE 0 data->has_status_word 1
PARAM_VALUE 0 data->info 4096-ptr_max
PARAM_VALUE 0 data->info->func 4096-ptr_max
PARAM_VALUE 0 data->info->groups 0,4096-ptr_max
PARAM_VALUE 0 data->read_status 2316503881730301952,2382050755872395264
PARAM_VALUE 0 data->update_lock.dep_map->name 0-255
PARAM_VALUE 0 data->update_lock.first_waiter 0
PARAM_VALUE 0 data->update_lock.magic 4096-ptr_max
PARAM_VALUE 0 data->update_lock.osq.tail.counter 0
PARAM_VALUE 0 data->update_lock.owner.counter 0
PARAM_VALUE 0 data->vout_high 4096-ptr_max
PARAM_VALUE 0 data->vout_low 4096-ptr_max
PARAM_VALUE 0 *data->exponent s32min-s32max
PARAM_VALUE 1 attr 4096-ptr_max
PARAM_VALUE 1 attr->mode 292
PARAM_VALUE 1 attr->name 0
BUF_SIZE 0 data->dev 1616
DATA_SOURCE 0 data $0
MEM_ZERO 1 attr
RX_PATH
TASK_NOT_RUNNING

drivers/hwmon/pmbus/pmbus_core.c pmbus_add_samples_attr() -> pmbus_add_attribute()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->currpage (-1)
PARAM_VALUE 0 data->currphase (-1)
PARAM_VALUE 0 data->dev 4096-ptr_max
PARAM_VALUE 0 data->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 data->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 data->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 data->dev->devres_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 data->groups 1-u64max
PARAM_VALUE 0 data->has_status_word 1
PARAM_VALUE 0 data->info 4096-ptr_max
PARAM_VALUE 0 data->info->func 4096-ptr_max
PARAM_VALUE 0 data->info->groups 0,4096-ptr_max
PARAM_VALUE 0 data->read_status 2316503881730301952,2382050755872395264
PARAM_VALUE 0 data->sensors 4096-ptr_max
PARAM_VALUE 0 data->sensors->attribute.show 1207268999148228608,6327081207716843520
PARAM_VALUE 0 data->sensors->attribute.show_const 1207268999148228608,6327081207716843520
PARAM_VALUE 0 data->sensors->attribute.store 3003613535047811072
PARAM_VALUE 0 data->sensors->attribute.store_const 3003613535047811072
PARAM_VALUE 0 data->sensors->data (-61)
PARAM_VALUE 0 data->sensors->next 0,4096-ptr_max
PARAM_VALUE 0 data->update_lock.dep_map->name 0-255
PARAM_VALUE 0 data->update_lock.first_waiter 0
PARAM_VALUE 0 data->update_lock.magic 4096-ptr_max
PARAM_VALUE 0 data->update_lock.osq.tail.counter 0
PARAM_VALUE 0 data->update_lock.owner.counter 0
PARAM_VALUE 0 *data->exponent s32min-s32max
PARAM_VALUE 1 attr 4096-ptr_max
PARAM_VALUE 1 attr->mode 292
PARAM_VALUE 1 attr->name 0
BUF_SIZE 0 data->dev 1616
CAPPED_DATA 0 data->info->pages 1
DATA_SOURCE 0 data $0
MEM_ZERO 0 data
MEM_ZERO 0 data->groups
MEM_ZERO 1 attr
RX_PATH
TASK_NOT_RUNNING

drivers/hwmon/pmbus/pmbus_core.c pmbus_add_sensor() -> pmbus_add_attribute()

Type Parameter Key Value
PARAM_VALUE 0 data 4096-ptr_max
PARAM_VALUE 0 data->currpage (-1)
PARAM_VALUE 0 data->currphase (-1)
PARAM_VALUE 0 data->dev 4096-ptr_max
PARAM_VALUE 0 data->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 data->groups 1-u64max
PARAM_VALUE 0 data->info 4096-ptr_max
PARAM_VALUE 0 data->info->func 4096-ptr_max
PARAM_VALUE 0 data->info->groups 0,4096-ptr_max
PARAM_VALUE 0 data->read_status 2316503881730301952,2382050755872395264
PARAM_VALUE 0 data->update_lock.dep_map->name 0-255
PARAM_VALUE 0 data->update_lock.first_waiter 0
PARAM_VALUE 0 data->update_lock.magic 4096-ptr_max
PARAM_VALUE 0 data->update_lock.osq.tail.counter 0
PARAM_VALUE 0 data->update_lock.owner.counter 0
PARAM_VALUE 0 *data->exponent s32min-s32max
PARAM_VALUE 1 attr 4096-ptr_max
PARAM_VALUE 1 attr->mode 292
PARAM_VALUE 1 attr->name 0
BUF_SIZE 0 data->dev 1616
DATA_SOURCE 0 data $0
STR_LEN 0 data (-1),3,5
STR_LEN 0 data (-1),3,5
BIT_INFO 0 data->flags 0x0,0xffffffff
MEM_ZERO 1 attr
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 data->max_attributes