Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/power/supply/ds2780_battery.c ds2780_battery_get_property() -> ds2780_get_current()

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

drivers/power/supply/ds2780_battery.c ds2780_battery_get_property() -> ds2780_get_current()

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

drivers/power/supply/ds2780_battery.c ds2780_get_status() -> ds2780_get_current()

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