Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/leds/led-class-multicolor.c multi_intensity_store() -> led_mc_get_max_intensity()

Type Parameter Key Value
PARAM_VALUE 0 mcled_cdev 4096-ptr_max
PARAM_VALUE 0 mcled_cdev->subled_info 4096-ptr_max
PARAM_VALUE 1 index 0-2147483646
CAPPED_DATA 0 mcled_cdev->num_colors 1
CAPPED_DATA 1 index 1
DATA_SOURCE 0 mcled_cdev r lcdev_to_mccdev
PARAM_COMPARE 1 index < $0->num_colors
RX_PATH
TASK_NOT_RUNNING
UNITS 1 index unit_array_size
LOCK2 &led_cdev->led_access
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct led_classdev)->led_access

drivers/leds/led-class-multicolor.c multi_max_intensity_show() -> led_mc_get_max_intensity()

Type Parameter Key Value
PARAM_VALUE 0 mcled_cdev 4096-ptr_max
PARAM_VALUE 1 index 0-s32max
CAPPED_DATA 1 index 1
DATA_SOURCE 0 mcled_cdev r lcdev_to_mccdev
PARAM_COMPARE 1 index < $0->num_colors
RX_PATH
TASK_NOT_RUNNING
UNITS 1 index unit_array_size
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex