Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/platform/chrome/cros_ec_lightbar.c brightness_store() -> alloc_lightbar_cmd_msg()

Type Parameter Key Value
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/chrome/cros_ec_lightbar.c get_lightbar_version() -> alloc_lightbar_cmd_msg()

Type Parameter Key Value
BUF_SIZE 0 ec s32min-(-1),1-s32max
BUF_SIZE 0 ec s32min-(-1),1-s32max
DATA_SOURCE 0 ec $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec unit_byte
HALF_LOCKED2 &of->mutex

drivers/platform/chrome/cros_ec_lightbar.c lb_manual_suspend_ctrl() -> alloc_lightbar_cmd_msg()

Type Parameter Key Value
BUF_SIZE 0 ec s32min-(-2),1-s32max
BUF_SIZE 0 ec s32min-(-2),1-s32max
DATA_SOURCE 0 ec $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ec unit_byte
HALF_LOCKED2 &_dev->mutex

drivers/platform/chrome/cros_ec_lightbar.c lb_send_empty_cmd() -> alloc_lightbar_cmd_msg()

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

drivers/platform/chrome/cros_ec_lightbar.c led_rgb_store() -> alloc_lightbar_cmd_msg()

Type Parameter Key Value
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/chrome/cros_ec_lightbar.c num_segments_show() -> alloc_lightbar_cmd_msg()

Type Parameter Key Value
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/chrome/cros_ec_lightbar.c program_store() -> alloc_lightbar_cmd_msg()

Type Parameter Key Value
PARAM_VALUE 0 ec 4096-ptr_max
PARAM_VALUE 0 ec->ec_dev 4096-ptr_max
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/chrome/cros_ec_lightbar.c sequence_show() -> alloc_lightbar_cmd_msg()

Type Parameter Key Value
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/chrome/cros_ec_lightbar.c sequence_store() -> alloc_lightbar_cmd_msg()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex