Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/leds/flash/leds-rt8515.c rt8515_probe() -> rt8515_determine_max_intensity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rt | 4096-ptr_max |
| PARAM_VALUE | 0 | rt->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | rt->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | rt->enable_flash | 4096-ptr_max |
| PARAM_VALUE | 0 | rt->enable_torch | 4096-ptr_max |
| PARAM_VALUE | 1 | led | 248,4096-ptr_max |
| PARAM_VALUE | 2 | resistance | 7537032880927129600 |
| PARAM_VALUE | 3 | max_ua_prop | 1046749524396986368 |
| PARAM_VALUE | 4 | hw_max | 16 |
| PARAM_VALUE | 5 | max_intensity_setting | 4096-ptr_max |
| BUF_SIZE | 0 | rt | 1160 |
| BUF_SIZE | 0 | rt->dev | 1616 |
| BUF_SIZE | 0 | rt->enable_flash | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rt->enable_torch | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | led | (-1)-0,64 |
| BUF_SIZE | 1 | led | (-1)-0,64 |
| BUF_SIZE | 2 | resistance | 17 |
| BUF_SIZE | 3 | max_ua_prop | 19 |
| CAPPED_DATA | 0 | rt->enable_flash | 1 |
| CAPPED_DATA | 0 | rt->enable_torch | 1 |
| DATA_SOURCE | 0 | rt | r devm_kzalloc |
| DATA_SOURCE | 1 | led | r device_get_next_child_node |
| STR_LEN | 0 | rt | 16 |
| STR_LEN | 1 | led | 18 |
| TERMINATED | 2 | resistance | 1 |
| TERMINATED | 3 | max_ua_prop | 1 |
| MEM_ZERO | 0 | rt | |
| MEM_ZERO | 5 | max_intensity_setting | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/leds/flash/leds-rt8515.c rt8515_probe() -> rt8515_determine_max_intensity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rt | 4096-ptr_max |
| PARAM_VALUE | 0 | rt->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | rt->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rt->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rt->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | rt->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rt->dev->fwnode | 0,4096-u64max |
| PARAM_VALUE | 0 | rt->enable_flash | 4096-ptr_max |
| PARAM_VALUE | 0 | rt->enable_torch | 4096-ptr_max |
| PARAM_VALUE | 1 | led | 4096-ptr_max |
| PARAM_VALUE | 2 | resistance | 7943327179747934208 |
| PARAM_VALUE | 3 | max_ua_prop | 4106401450983870464 |
| PARAM_VALUE | 4 | hw_max | 100 |
| PARAM_VALUE | 5 | max_intensity_setting | 4096-ptr_max |
| BUF_SIZE | 0 | rt | 1160 |
| BUF_SIZE | 0 | rt->dev | 1616 |
| BUF_SIZE | 0 | rt->enable_flash | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rt->enable_torch | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | led | (-1)-0,64 |
| BUF_SIZE | 1 | led | (-1)-0,64 |
| BUF_SIZE | 2 | resistance | 17 |
| BUF_SIZE | 3 | max_ua_prop | 17 |
| CAPPED_DATA | 0 | rt->enable_flash | 1 |
| CAPPED_DATA | 0 | rt->enable_torch | 1 |
| DATA_SOURCE | 0 | rt | r devm_kzalloc |
| DATA_SOURCE | 1 | led | r device_get_next_child_node |
| STR_LEN | 0 | rt | 16 |
| STR_LEN | 1 | led | 16 |
| TERMINATED | 2 | resistance | 1 |
| TERMINATED | 3 | max_ua_prop | 1 |
| MEM_ZERO | 0 | rt | |
| MEM_ZERO | 5 | max_intensity_setting | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |