Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/leds/rgb/leds-qcom-lpg.c lpg_blink_set() -> triled_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lpg->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | lpg->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | lpg->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | lpg->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | mask | 0-255 |
| PARAM_VALUE | 2 | enable | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &led->lpg->lock | ||
| TYPE_LOCK | (struct lpg)->lock |
drivers/leds/rgb/leds-qcom-lpg.c lpg_brightness_set() -> triled_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mask | 1-255 |
| PARAM_VALUE | 2 | enable | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &data->lock | ||
| HALF_LOCKED2 | &led->lpg->lock |
drivers/leds/rgb/leds-qcom-lpg.c lpg_pattern_mc_set() -> triled_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mask | 0-255 |
| PARAM_VALUE | 2 | enable | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &data->lock | ||
| HALF_LOCKED2 | &cdev->led_access | ||
| HALF_LOCKED2 | &cdev->trigger_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct pattern_trig_data)->lock |