Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/power/supply/lp8788-charger.c lp8788_get_battery_capacity() -> lp8788_get_vbatt_adc()

Type Parameter Key Value
PARAM_VALUE 0 pchg 4096-ptr_max
PARAM_VALUE 0 pchg->lp 4096-ptr_max
PARAM_VALUE 0 pchg->lp->regmap 4096-ptr_max
PARAM_VALUE 0 pchg->pdata 4096-ptr_max
PARAM_VALUE 1 result 1381548736611344384
BUF_SIZE 0 pchg s32min-(-2),1-s32max
BUF_SIZE 0 pchg s32min-(-2),1-s32max
DATA_SOURCE 0 pchg $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pchg unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/power/supply/lp8788-charger.c lp8788_get_battery_voltage() -> lp8788_get_vbatt_adc()

Type Parameter Key Value
BUF_SIZE 0 pchg s32min-(-2),1-s32max
BUF_SIZE 0 pchg s32min-(-2),1-s32max
DATA_SOURCE 0 pchg $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pchg unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock