Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/power/supply/ds2782_battery.c ds2782_get_capacity() -> ds278x_read_reg()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->ops 4096-ptr_max
PARAM_VALUE 1 reg 6
PARAM_VALUE 2 val 5444746345612877824
BUF_SIZE 0 info s32min-(-1),1-s32max
BUF_SIZE 0 info s32min-(-1),1-s32max
DATA_SOURCE 0 info $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/power/supply/ds2782_battery.c ds2782_get_current() -> ds278x_read_reg()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->ops 4096-ptr_max
PARAM_VALUE 1 reg 105
PARAM_VALUE 2 val 9062801987722383360
BUF_SIZE 0 info s32min-(-1),1-s32max
BUF_SIZE 0 info s32min-(-1),1-s32max
DATA_SOURCE 0 info $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/power/supply/ds2782_battery.c ds2786_get_capacity() -> ds278x_read_reg()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->ops 4096-ptr_max
PARAM_VALUE 1 reg 2
PARAM_VALUE 2 val 1986386197215805440
BUF_SIZE 0 info s32min-(-1),1-s32max
BUF_SIZE 0 info s32min-(-1),1-s32max
DATA_SOURCE 0 info $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock