Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/platform/x86/lg-laptop.c charge_control_end_threshold_show() -> lg_wmbb()

Type Parameter Key Value
PARAM_VALUE 0 dev 16,4096-ptr_max
PARAM_VALUE 1 method_id 268
PARAM_VALUE 2 arg1 1
PARAM_VALUE 3 arg2 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/x86/lg-laptop.c charge_control_end_threshold_store() -> lg_wmbb()

Type Parameter Key Value
PARAM_VALUE 0 dev 16,4096-ptr_max
PARAM_VALUE 1 method_id 268
PARAM_VALUE 2 arg1 2
PARAM_VALUE 3 arg2 80,100
BIT_INFO 3 arg2 0x40,0x74
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 3 arg2
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/x86/lg-laptop.c usb_charge_show() -> lg_wmbb()

Type Parameter Key Value
PARAM_VALUE 1 method_id 267
PARAM_VALUE 2 arg1 1
PARAM_VALUE 3 arg2 0
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/x86/lg-laptop.c usb_charge_store() -> lg_wmbb()

Type Parameter Key Value
PARAM_VALUE 1 method_id 267
PARAM_VALUE 2 arg1 2
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex