Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/leds/flash/leds-tps6131x.c tps6131x_brightness_set() -> tps6131x_set_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tps6131x | 4096-ptr_max |
| PARAM_VALUE | 0 | tps6131x->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | tps6131x->regmap->async | 0 |
| PARAM_VALUE | 0 | tps6131x->torch_refresh_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 1 | mode | 0-1 |
| PARAM_VALUE | 2 | force | 1 |
| CAPPED_DATA | 0 | tps6131x->regmap->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | tps6131x->regmap->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | tps6131x->regmap->volatile_table->n_yes_ranges | 1 |
| DATA_SOURCE | 0 | tps6131x | r fled_cdev_to_tps6131x |
| FUZZY_MAX | 1 | mode | 1 |
| HARD_MAX | 1 | mode | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/leds/flash/leds-tps6131x.c tps6131x_flash_external_strobe_set() -> tps6131x_set_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tps6131x | 4096-ptr_max |
| PARAM_VALUE | 1 | mode | 0,2 |
| PARAM_VALUE | 2 | force | 0 |
| DATA_SOURCE | 0 | tps6131x | r fled_cdev_to_tps6131x |
| FUZZY_MAX | 1 | mode | 2 |
| BIT_INFO | 1 | mode | 0x0,0x2 |
| HARD_MAX | 1 | mode | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/leds/flash/leds-tps6131x.c tps6131x_strobe_set() -> tps6131x_set_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tps6131x | 4096-ptr_max |
| PARAM_VALUE | 1 | mode | 0,2 |
| PARAM_VALUE | 2 | force | 1 |
| DATA_SOURCE | 0 | tps6131x | r fled_cdev_to_tps6131x |
| FUZZY_MAX | 1 | mode | 2 |
| BIT_INFO | 1 | mode | 0x0,0x2 |
| HARD_MAX | 1 | mode | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &led_cdev->led_access | ||
| HALF_LOCKED2 | &of->mutex |
drivers/leds/flash/leds-tps6131x.c tps6131x_torch_refresh_handler() -> tps6131x_set_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tps6131x | 4096-ptr_max |
| PARAM_VALUE | 1 | mode | 1 |
| PARAM_VALUE | 2 | force | 1 |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |