Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hwmon/pmbus/pmbus_core.c pmbus_add_fan_attributes() -> pmbus_add_sensor()
| 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_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->info->pages | 1-s32max |
| 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->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 | name | 6638493015197794304 |
| PARAM_VALUE | 2 | type | 5986219173179838464 |
| PARAM_VALUE | 3 | seq | 1-s32max |
| PARAM_VALUE | 4 | page | 0-s32max |
| PARAM_VALUE | 5 | phase | 255 |
| PARAM_VALUE | 6 | reg | 144-147 |
| PARAM_VALUE | 7 | class | 6 |
| PARAM_VALUE | 8 | update | 1 |
| PARAM_VALUE | 9 | readonly | 1 |
| PARAM_VALUE | 10 | writeonly | 0 |
| PARAM_VALUE | 11 | convert | 1 |
| BUF_SIZE | 0 | data | 888 |
| BUF_SIZE | 0 | data->dev | 1616 |
| BUF_SIZE | 1 | name | 4 |
| BUF_SIZE | 2 | type | 6 |
| CAPPED_DATA | 4 | page | 1 |
| DATA_SOURCE | 0 | data | $1 |
| FUZZY_MAX | 3 | seq | 1 |
| STR_LEN | 0 | data | 3 |
| STR_LEN | 1 | name | 5 |
| TERMINATED | 1 | name | 1 |
| TERMINATED | 2 | type | 1 |
| MEM_ZERO | 0 | data | |
| MEM_ZERO | 0 | data->groups | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | page | unit_array_size |
drivers/hwmon/pmbus/pmbus_core.c pmbus_add_fan_ctrl() -> pmbus_add_sensor()
| 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->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->info->pages | 1-s32max |
| PARAM_VALUE | 0 | data->read_status | 2316503881730301952,2382050755872395264 |
| PARAM_VALUE | 0 | data->sensors | 4096-ptr_max |
| PARAM_VALUE | 0 | data->sensors->attribute.dev_attr.store | 0 |
| 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->class | 0 |
| PARAM_VALUE | 0 | data->sensors->convert | 0 |
| PARAM_VALUE | 0 | data->sensors->data | (-61) |
| PARAM_VALUE | 0 | data->sensors->next | 0 |
| PARAM_VALUE | 0 | data->sensors->page | 0 |
| PARAM_VALUE | 0 | data->sensors->phase | 0 |
| PARAM_VALUE | 0 | data->sensors->reg | 0 |
| PARAM_VALUE | 0 | data->sensors->update | 0 |
| 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 | name | 6638493015197794304 |
| PARAM_VALUE | 2 | type | 3079799115295019008 |
| PARAM_VALUE | 3 | seq | 1-s32max |
| PARAM_VALUE | 4 | page | 0-255 |
| PARAM_VALUE | 5 | phase | 255 |
| PARAM_VALUE | 6 | reg | 295-298 |
| PARAM_VALUE | 7 | class | 6 |
| PARAM_VALUE | 8 | update | 0 |
| PARAM_VALUE | 9 | readonly | 0 |
| PARAM_VALUE | 10 | writeonly | 0 |
| PARAM_VALUE | 11 | convert | 1 |
| BUF_SIZE | 0 | data->dev | 1616 |
| BUF_SIZE | 1 | name | 4 |
| BUF_SIZE | 2 | type | 7 |
| CAPPED_DATA | 4 | page | 1 |
| DATA_SOURCE | 0 | data | $1 |
| DATA_SOURCE | 3 | seq | $2 |
| DATA_SOURCE | 4 | page | $3 |
| FUZZY_MAX | 3 | seq | 1 |
| STR_LEN | 0 | data | 3 |
| STR_LEN | 1 | name | 6 |
| TERMINATED | 1 | name | 1 |
| TERMINATED | 2 | type | 1 |
| MEM_ZERO | 0 | data | |
| MEM_ZERO | 0 | data->groups | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hwmon/pmbus/pmbus_core.c pmbus_add_fan_ctrl() -> pmbus_add_sensor()
| 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->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->info->pages | 1-s32max |
| PARAM_VALUE | 0 | data->read_status | 2316503881730301952,2382050755872395264 |
| PARAM_VALUE | 0 | data->sensors | 4096-ptr_max |
| PARAM_VALUE | 0 | data->sensors->attribute.dev_attr.show | 1207268999148228608,2286443248768966656,2353870865686720512,6327081207716843520,8133459081519448064 |
| PARAM_VALUE | 0 | data->sensors->attribute.dev_attr.show_const | 1207268999148228608,2286443248768966656,2353870865686720512,6327081207716843520,8133459081519448064 |
| PARAM_VALUE | 0 | data->sensors->attribute.dev_attr.store | 0,3003613535047811072,7961661069928210432 |
| PARAM_VALUE | 0 | data->sensors->attribute.dev_attr.store_const | 0,3003613535047811072,7961661069928210432 |
| PARAM_VALUE | 0 | data->sensors->attribute.index | (-1) |
| 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->class | 0 |
| PARAM_VALUE | 0 | data->sensors->convert | 0 |
| PARAM_VALUE | 0 | data->sensors->data | (-61) |
| PARAM_VALUE | 0 | data->sensors->next | 0 |
| PARAM_VALUE | 0 | data->sensors->page | 0 |
| PARAM_VALUE | 0 | data->sensors->phase | 0 |
| PARAM_VALUE | 0 | data->sensors->reg | 0 |
| PARAM_VALUE | 0 | data->sensors->update | 0 |
| 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 | name | 396498497318141952 |
| PARAM_VALUE | 2 | type | 0 |
| PARAM_VALUE | 3 | seq | 1-s32max |
| PARAM_VALUE | 4 | page | 0-255 |
| PARAM_VALUE | 5 | phase | 255 |
| PARAM_VALUE | 6 | reg | 299-302 |
| PARAM_VALUE | 7 | class | 7 |
| PARAM_VALUE | 8 | update | 0 |
| PARAM_VALUE | 9 | readonly | 0 |
| PARAM_VALUE | 10 | writeonly | 0 |
| PARAM_VALUE | 11 | convert | 1 |
| BUF_SIZE | 0 | data->dev | 1616 |
| BUF_SIZE | 1 | name | 4 |
| CAPPED_DATA | 4 | page | 1 |
| DATA_SOURCE | 0 | data | $1 |
| DATA_SOURCE | 3 | seq | $2 |
| DATA_SOURCE | 4 | page | $3 |
| FUZZY_MAX | 3 | seq | 1 |
| STR_LEN | 0 | data | 3 |
| TERMINATED | 1 | name | 1 |
| MEM_ZERO | 0 | data | |
| MEM_ZERO | 0 | data->groups | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hwmon/pmbus/pmbus_core.c pmbus_add_fan_ctrl() -> pmbus_add_sensor()
| 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->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->info->pages | 1-s32max |
| PARAM_VALUE | 0 | data->read_status | 2316503881730301952,2382050755872395264 |
| PARAM_VALUE | 0 | data->sensors | 4096-ptr_max |
| PARAM_VALUE | 0 | data->sensors->attribute.dev_attr.show | 1207268999148228608,2286443248768966656,2353870865686720512,6327081207716843520,8133459081519448064 |
| PARAM_VALUE | 0 | data->sensors->attribute.dev_attr.show_const | 1207268999148228608,2286443248768966656,2353870865686720512,6327081207716843520,8133459081519448064 |
| PARAM_VALUE | 0 | data->sensors->attribute.dev_attr.store | 0,3003613535047811072,7961661069928210432 |
| PARAM_VALUE | 0 | data->sensors->attribute.dev_attr.store_const | 0,3003613535047811072,7961661069928210432 |
| PARAM_VALUE | 0 | data->sensors->attribute.index | (-1) |
| 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->class | 0 |
| PARAM_VALUE | 0 | data->sensors->convert | 0 |
| PARAM_VALUE | 0 | data->sensors->data | (-61) |
| PARAM_VALUE | 0 | data->sensors->next | 0 |
| PARAM_VALUE | 0 | data->sensors->page | 0 |
| PARAM_VALUE | 0 | data->sensors->phase | 0 |
| PARAM_VALUE | 0 | data->sensors->reg | 0 |
| PARAM_VALUE | 0 | data->sensors->update | 0 |
| 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 | name | 396498497318141952 |
| PARAM_VALUE | 2 | type | 6521256557487935488 |
| PARAM_VALUE | 3 | seq | 1-s32max |
| PARAM_VALUE | 4 | page | 0-255 |
| PARAM_VALUE | 5 | phase | 255 |
| PARAM_VALUE | 6 | reg | 303-306 |
| PARAM_VALUE | 7 | class | 7 |
| PARAM_VALUE | 8 | update | 1 |
| PARAM_VALUE | 9 | readonly | 0 |
| PARAM_VALUE | 10 | writeonly | 0 |
| PARAM_VALUE | 11 | convert | 0 |
| BUF_SIZE | 0 | data->dev | 1616 |
| BUF_SIZE | 1 | name | 4 |
| BUF_SIZE | 2 | type | 7 |
| CAPPED_DATA | 4 | page | 1 |
| DATA_SOURCE | 0 | data | $1 |
| DATA_SOURCE | 3 | seq | $2 |
| DATA_SOURCE | 4 | page | $3 |
| FUZZY_MAX | 3 | seq | 1 |
| STR_LEN | 0 | data | 3 |
| STR_LEN | 1 | name | 6 |
| TERMINATED | 1 | name | 1 |
| TERMINATED | 2 | type | 1 |
| MEM_ZERO | 0 | data | |
| MEM_ZERO | 0 | data->groups | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hwmon/pmbus/pmbus_core.c pmbus_add_limit_attrs() -> pmbus_add_sensor()
| 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->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.dev_attr.store | 0,3003613535047811072,7961661069928210432 |
| PARAM_VALUE | 0 | data->sensors->data | (-61) |
| 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 | name | 705614506351214592,4184987160019345408,5563882615435505664,7358211294139260928 |
| PARAM_VALUE | 3 | seq | 1-s32max |
| PARAM_VALUE | 4 | page | 0-s32max |
| PARAM_VALUE | 5 | phase | 255 |
| PARAM_VALUE | 11 | convert | 1 |
| BUF_SIZE | 0 | data->dev | 1616 |
| BUF_SIZE | 1 | name | 3,5-6 |
| BUF_SIZE | 1 | name | 3,5-6 |
| CAPPED_DATA | 4 | page | 1 |
| DATA_SOURCE | 0 | data | $1 |
| DATA_SOURCE | 1 | name | $3 |
| DATA_SOURCE | 3 | seq | $4 |
| DATA_SOURCE | 4 | page | $5 |
| FUZZY_MAX | 3 | seq | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | page | unit_array_size |
drivers/hwmon/pmbus/pmbus_core.c pmbus_add_sensor_attrs_one() -> pmbus_add_sensor()
| 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->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->exponent | s32min-s32max |
| PARAM_VALUE | 1 | name | 705614506351214592,4184987160019345408,5563882615435505664,7358211294139260928 |
| PARAM_VALUE | 2 | type | 5986219173179838464 |
| PARAM_VALUE | 3 | seq | 1-s32max |
| PARAM_VALUE | 4 | page | 0-s32max |
| PARAM_VALUE | 5 | phase | 0-255 |
| PARAM_VALUE | 8 | update | 1 |
| PARAM_VALUE | 9 | readonly | 1 |
| PARAM_VALUE | 10 | writeonly | 0 |
| PARAM_VALUE | 11 | convert | 1 |
| BUF_SIZE | 0 | data->dev | 1616 |
| BUF_SIZE | 1 | name | 3,5-6 |
| BUF_SIZE | 1 | name | 3,5-6 |
| BUF_SIZE | 2 | type | 6 |
| CAPPED_DATA | 4 | page | 1 |
| CAPPED_DATA | 5 | phase | 1 |
| DATA_SOURCE | 0 | data | $1 |
| DATA_SOURCE | 1 | name | $3 |
| DATA_SOURCE | 3 | seq | $4 |
| DATA_SOURCE | 4 | page | $5 |
| DATA_SOURCE | 5 | phase | $6 |
| FUZZY_MAX | 3 | seq | 1 |
| STR_LEN | 0 | data | 5 |
| TERMINATED | 1 | name | 1 |
| TERMINATED | 2 | type | 1 |
| MEM_ZERO | 0 | data | |
| MEM_ZERO | 0 | data->groups | |
| RX_PATH | |||
| TASK_NOT_RUNNING |