Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/power/supply/ltc2941-battery-gauge.c ltc294x_get_charge() -> ltc294x_read_charge_register()

Type Parameter Key Value
PARAM_VALUE 1 reg 2,4,6
BUF_SIZE 0 info s32min-(-2),1-s32max
BUF_SIZE 0 info s32min-(-2),1-s32max
DATA_SOURCE 0 info $0
DATA_SOURCE 1 reg $1
HARD_MAX 1 reg 6
RX_PATH
TASK_NOT_RUNNING
UNITS 0 info unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/power/supply/ltc2941-battery-gauge.c ltc294x_get_charge_counter() -> ltc294x_read_charge_register()

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

drivers/power/supply/ltc2941-battery-gauge.c ltc294x_update() -> ltc294x_read_charge_register()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 1 reg 2
DATA_SOURCE 0 info $0
HALF_LOCKED2 &pool->lock