Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/power/supply/max17042_battery.c max17042_get_battery_health() -> max17042_get_temperature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->init_complete | 1 |
| PARAM_VALUE | 0 | chip->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->regmap->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->regmap->unlock | 4096-ptr_max |
| PARAM_VALUE | 0 | *chip->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | temp | 58142636476416000 |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | chip->vmin | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | chip->vmax | |
| UNITS | 0 | chip | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/power/supply/max17042_battery.c max17042_get_property() -> max17042_get_temperature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->init_complete | 1 |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | chip | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |