Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/leds/flash/leds-s2m-flash.c s2mu005_fled_init_channel() -> s2m_fled_flash_timeout_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fled | 4096-ptr_max |
| PARAM_VALUE | 0 | fled->brightness.max | 375000 |
| PARAM_VALUE | 0 | fled->brightness.min | 25000 |
| PARAM_VALUE | 0 | fled->brightness.step | 25000 |
| PARAM_VALUE | 0 | fled->brightness.val | 375000 |
| PARAM_VALUE | 0 | fled->led_cdev.brightness_set_blocking | 1717667038943465472 |
| PARAM_VALUE | 0 | fled->led_cdev.max_brightness | 16 |
| PARAM_VALUE | 0 | fled->timeout.max | 992000 |
| PARAM_VALUE | 0 | fled->timeout.min | 62000 |
| PARAM_VALUE | 0 | fled->timeout.step | 62000 |
| PARAM_VALUE | 0 | fled->timeout.val | 992000 |
| PARAM_VALUE | 1 | timeout | 992000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/leds/led-class-flash.c led_flash_resume() -> (struct led_flash_ops)->timeout_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fled | 4096-ptr_max |
| PARAM_VALUE | 0 | fled->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | fled->ops->timeout_set | 1-u64max |
| DATA_SOURCE | 0 | fled | r lcdev_to_flcdev |
| CONTAINER | 0 | -32-768+0 | $(-1) |
| CONTAINER | 1 | *(-32-768+12+792) | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/leds/led-class-flash.c led_set_flash_timeout() -> (struct led_flash_ops)->timeout_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fled | 4096-ptr_max |
| PARAM_VALUE | 0 | fled->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | fled->ops->timeout_set | 1-u64max |
| DATA_SOURCE | 0 | fled | $0 |
| CONTAINER | 0 | -32-768+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | timeout | |
| HALF_LOCKED2 | &led_cdev->led_access | ||
| HALF_LOCKED2 | &of->mutex |