Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/leds/rgb/leds-qcom-lpg.c lpg_pattern_mc_set() -> lpg_pattern_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | led | 4096-ptr_max |
| PARAM_VALUE | 0 | led->lpg | 4096-ptr_max |
| PARAM_VALUE | 0 | led->num_channels | 0-s32max |
| PARAM_VALUE | 2 | len | 1-u32max |
| BUF_SIZE | 1 | led_pattern | 8192 |
| BUF_SIZE | 1 | led_pattern | 8192 |
| CAPPED_DATA | 0 | led->num_channels | 1 |
| DATA_SOURCE | 1 | led_pattern | $1 |
| DATA_SOURCE | 2 | len | $2 |
| DATA_SOURCE | 3 | repeat | $3 |
| FUZZY_MAX | 0 | led->num_channels | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &data->lock | ||
| HALF_LOCKED2 | &cdev->led_access | ||
| HALF_LOCKED2 | &cdev->trigger_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct pattern_trig_data)->lock |
drivers/leds/rgb/leds-qcom-lpg.c lpg_pattern_single_set() -> lpg_pattern_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | led | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 1-u32max |
| BUF_SIZE | 1 | led_pattern | 8192 |
| BUF_SIZE | 1 | led_pattern | 8192 |
| DATA_SOURCE | 1 | led_pattern | $1 |
| DATA_SOURCE | 2 | len | $2 |
| DATA_SOURCE | 3 | repeat | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &data->lock | ||
| HALF_LOCKED2 | &cdev->led_access | ||
| HALF_LOCKED2 | &cdev->trigger_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct pattern_trig_data)->lock |