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_boolean()
| 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 | 2100032793865752576 |
| PARAM_VALUE | 3 | seq | 1-s32max |
| PARAM_VALUE | 4 | s1 | 0 |
| PARAM_VALUE | 5 | s2 | 0 |
| PARAM_VALUE | 7 | reg | 129-130 |
| PARAM_VALUE | 8 | mask | 16-32 |
| BUF_SIZE | 0 | data | 888 |
| BUF_SIZE | 0 | data->dev | 1616 |
| BUF_SIZE | 1 | name | 4 |
| BUF_SIZE | 2 | type | 6 |
| CAPPED_DATA | 6 | page | 1 |
| DATA_SOURCE | 0 | data | $1 |
| FUZZY_MAX | 3 | seq | 1 |
| STR_LEN | 0 | data | 3 |
| STR_LEN | 1 | name | 5 |
| BIT_INFO | 7 | reg | 0x80,0x83 |
| TERMINATED | 1 | name | 1 |
| TERMINATED | 2 | type | 1 |
| MEM_ZERO | 0 | data | |
| MEM_ZERO | 0 | data->groups | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 6 | page | unit_array_size |
drivers/hwmon/pmbus/pmbus_core.c pmbus_add_fan_attributes() -> pmbus_add_boolean()
| 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->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 | 4358410928949899264 |
| PARAM_VALUE | 3 | seq | 1-s32max |
| PARAM_VALUE | 4 | s1 | 0 |
| PARAM_VALUE | 5 | s2 | 0 |
| PARAM_VALUE | 7 | reg | 129-130 |
| PARAM_VALUE | 8 | mask | 64-128 |
| BUF_SIZE | 0 | data | 888 |
| BUF_SIZE | 0 | data->dev | 1616 |
| BUF_SIZE | 1 | name | 4 |
| BUF_SIZE | 2 | type | 6 |
| CAPPED_DATA | 6 | page | 1 |
| DATA_SOURCE | 0 | data | $1 |
| FUZZY_MAX | 3 | seq | 1 |
| STR_LEN | 0 | data | 3 |
| STR_LEN | 1 | name | 5 |
| BIT_INFO | 7 | reg | 0x80,0x83 |
| TERMINATED | 1 | name | 1 |
| TERMINATED | 2 | type | 1 |
| MEM_ZERO | 0 | data | |
| MEM_ZERO | 0 | data->groups | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 6 | page | unit_array_size |
drivers/hwmon/pmbus/pmbus_core.c pmbus_add_limit_attrs() -> pmbus_add_boolean()
| 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.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->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 | s1 | 0,4096-ptr_max |
| PARAM_VALUE | 4 | s1->attribute.dev_attr.store | 0,3003613535047811072,7961661069928210432 |
| PARAM_VALUE | 4 | s1->attribute.dev_attr.store_const | 0,3003613535047811072,7961661069928210432 |
| PARAM_VALUE | 4 | s1->convert | 1 |
| PARAM_VALUE | 4 | s1->data | (-61),0 |
| PARAM_VALUE | 4 | s1->update | 1 |
| PARAM_VALUE | 5 | s2 | 0,4096-ptr_max |
| PARAM_VALUE | 5 | s2->attribute.dev_attr.show | 0,1207268999148228608,2286443248768966656,2353870865686720512,6327081207716843520,8133459081519448064 |
| PARAM_VALUE | 5 | s2->attribute.dev_attr.show_const | 0,1207268999148228608,2286443248768966656,2353870865686720512,6327081207716843520,8133459081519448064 |
| PARAM_VALUE | 5 | s2->attribute.dev_attr.store | 0,3003613535047811072,7961661069928210432 |
| PARAM_VALUE | 5 | s2->attribute.dev_attr.store_const | 0,3003613535047811072,7961661069928210432 |
| PARAM_VALUE | 5 | s2->attribute.index | (-1)-0 |
| PARAM_VALUE | 5 | s2->data | (-61),0 |
| PARAM_VALUE | 8 | mask | 1-2,4,16,24,32,64,128 |
| BUF_SIZE | 0 | data->dev | 1616 |
| BUF_SIZE | 1 | name | 3,5-6 |
| BUF_SIZE | 1 | name | 3,5-6 |
| BUF_SIZE | 4 | s1 | 0,112 |
| BUF_SIZE | 5 | s2 | 0,112 |
| CAPPED_DATA | 6 | page | 1 |
| DATA_SOURCE | 0 | data | $1 |
| DATA_SOURCE | 1 | name | $3 |
| DATA_SOURCE | 3 | seq | $4 |
| DATA_SOURCE | 6 | page | $5 |
| FUZZY_MAX | 3 | seq | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 6 | page | unit_array_size |
drivers/hwmon/pmbus/pmbus_core.c pmbus_add_sensor_attrs_one() -> pmbus_add_boolean()
| 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->dev->devres_lock.rlock.dep_map->name | 0-255 |
| 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->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 | name | 705614506351214592,4184987160019345408,5563882615435505664,7358211294139260928 |
| PARAM_VALUE | 2 | type | 2100032793865752576 |
| PARAM_VALUE | 3 | seq | 1-s32max |
| PARAM_VALUE | 4 | s1 | 0 |
| PARAM_VALUE | 5 | s2 | 0 |
| PARAM_VALUE | 7 | reg | 121 |
| PARAM_VALUE | 8 | mask | 1-u16max |
| 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 | 6 | page | 1 |
| DATA_SOURCE | 0 | data | $1 |
| DATA_SOURCE | 1 | name | $3 |
| DATA_SOURCE | 3 | seq | $4 |
| DATA_SOURCE | 6 | page | $5 |
| 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 |