Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/leds/led-class-flash.c led_set_flash_brightness() -> led_clamp_align()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
BUF_SIZE 0 s 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 s->val 0-u32max
NO_OVERFLOW_SIMPLE 0 s->val
HALF_LOCKED2 &led_cdev->led_access
HALF_LOCKED2 &of->mutex

drivers/leds/led-class-flash.c led_set_flash_duration() -> led_clamp_align()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
BUF_SIZE 0 s 16
NOCHECK_CALL

drivers/leds/led-class-flash.c led_set_flash_timeout() -> led_clamp_align()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
BUF_SIZE 0 s 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 s->val 0-u32max
NO_OVERFLOW_SIMPLE 0 s->val
HALF_LOCKED2 &led_cdev->led_access
HALF_LOCKED2 &of->mutex