Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 12 files:
- drivers/leds/flash/leds-lm3601x.c, line 353
- drivers/leds/flash/leds-mt6360.c, line 589
- drivers/leds/flash/leds-mt6370-flash.c, line 410
- drivers/leds/flash/leds-qcom-flash.c, line 829
- drivers/leds/flash/leds-rt4505.c, line 376
- drivers/leds/flash/leds-rt8515.c, line 343
- drivers/leds/flash/leds-s2m-flash.c, line 255
- drivers/leds/flash/leds-sgm3140.c, line 256
- drivers/leds/flash/leds-sy7802.c, line 325
- drivers/leds/flash/leds-tps6131x.c, line 687
- drivers/leds/led-class-flash.c, line 355
- include/linux/led-class-flash.h, line 132
Smatch caller information:
drivers/leds/flash/leds-mt6360.c mt6360_led_register() -> devm_led_classdev_flash_register_ext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->parent | 4096-ptr_max |
| PARAM_VALUE | 1 | fled_cdev | 4096-s32max |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.brightness | 0-31 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.brightness_set_blocking | 9162977186894286848 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.max_brightness | 1-31 |
| PARAM_VALUE | 2 | init_data | 3148366730448551936 |
| PARAM_VALUE | 2 | init_data->default_label | 0 |
| PARAM_VALUE | 2 | init_data->devicename | 0 |
| PARAM_VALUE | 2 | init_data->devname_mandatory | 0 |
| PARAM_VALUE | 2 | init_data->fwnode | 4096-ptr_max |
| DATA_SOURCE | 0 | parent | $0 |
| DATA_SOURCE | 2 | init_data | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/leds/flash/leds-tps6131x.c tps6131x_led_class_setup() -> devm_led_classdev_flash_register_ext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 0 |
| PARAM_VALUE | 1 | fled_cdev | 4096-ptr_max |
| PARAM_VALUE | 1 | fled_cdev->brightness.max | 1-u32max |
| PARAM_VALUE | 1 | fled_cdev->brightness.min | 25-50 |
| PARAM_VALUE | 1 | fled_cdev->brightness.step | 25-50 |
| PARAM_VALUE | 1 | fled_cdev->brightness.val | 25-50 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.brightness_set_blocking | 969006103003656192 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.flags | 262144 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.max_brightness | 1-u32max |
| PARAM_VALUE | 1 | fled_cdev->ops | 493548593444700160 |
| PARAM_VALUE | 2 | init_data | 6112266202083782656 |
| PARAM_VALUE | 2 | init_data->default_label | 0 |
| PARAM_VALUE | 2 | init_data->devicename | 0 |
| PARAM_VALUE | 2 | init_data->devname_mandatory | 0 |
| PARAM_VALUE | 2 | init_data->fwnode | 4096-ptr_max |
| BUF_SIZE | 0 | parent | 1616 |
| MEM_ZERO | 0 | parent | |
| MEM_ZERO | 1 | fled_cdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/leds/flash/leds-sgm3140.c sgm3140_probe() -> devm_led_classdev_flash_register_ext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | fled_cdev | 4096-ptr_max |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.brightness_set_blocking | 8197886217449684992 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.flags | 262144 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.max_brightness | 1 |
| PARAM_VALUE | 1 | fled_cdev->ops | 7753638961986424832 |
| PARAM_VALUE | 2 | init_data | 1660241333347516416 |
| PARAM_VALUE | 2 | init_data->default_label | 0 |
| PARAM_VALUE | 2 | init_data->devicename | 0 |
| PARAM_VALUE | 2 | init_data->devname_mandatory | 0 |
| PARAM_VALUE | 2 | init_data->fwnode | 4096-ptr_max |
| BUF_SIZE | 1 | fled_cdev | 864 |
| BUF_SIZE | 1 | fled_cdev->ops | 56 |
| MEM_ZERO | 1 | fled_cdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/leds/flash/leds-qcom-flash.c qcom_flash_register_led_device() -> devm_led_classdev_flash_register_ext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->fwnode | 0,4096-u64max |
| PARAM_VALUE | 0 | parent->parent | 4096-ptr_max |
| PARAM_VALUE | 1 | fled_cdev | 4096-ptr_max |
| PARAM_VALUE | 1 | fled_cdev->brightness.max | 0-2000000 |
| PARAM_VALUE | 1 | fled_cdev->brightness.min | 0,12500-50000 |
| PARAM_VALUE | 1 | fled_cdev->brightness.step | 0,12500-50000 |
| PARAM_VALUE | 1 | fled_cdev->brightness.val | 0-1000000 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.blink_timer.flags | 0 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.brightness_hw_changed | 0 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.brightness_hw_changed_kn | 0 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.brightness_set_blocking | 678992349896876032 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.dev | 0 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.flags | 0,262144 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.flash_resume | 0 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.groups | 0 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.led_access.first_waiter | 0 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.led_access.magic | 0 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.led_access.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.trigger_lock.magic | 0 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.work_flags | 0 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.wq | 0 |
| PARAM_VALUE | 1 | fled_cdev->ops | 0,2033946776346669056 |
| PARAM_VALUE | 1 | fled_cdev->timeout.max | 0-1280000 |
| PARAM_VALUE | 1 | fled_cdev->timeout.min | 0,10000 |
| PARAM_VALUE | 1 | fled_cdev->timeout.step | 0,10000 |
| PARAM_VALUE | 1 | fled_cdev->timeout.val | 0-1280000 |
| PARAM_VALUE | 2 | init_data | 3311394954303971328 |
| PARAM_VALUE | 2 | init_data->default_label | 0 |
| PARAM_VALUE | 2 | init_data->devicename | 0 |
| PARAM_VALUE | 2 | init_data->devname_mandatory | 0 |
| PARAM_VALUE | 2 | init_data->fwnode | 4096-ptr_max |
| BUF_SIZE | 0 | parent | 1616 |
| BUF_SIZE | 1 | fled_cdev | 864 |
| BUF_SIZE | 1 | fled_cdev->ops | (-1),56 |
| CAPPED_DATA | 1 | fled_cdev->brightness.step | 1 |
| DATA_SOURCE | 0 | parent | $0 |
| FUZZY_MAX | 1 | fled_cdev->brightness.min | 0 |
| FUZZY_MAX | 1 | fled_cdev->brightness.step | 0 |
| FUZZY_MAX | 1 | fled_cdev->timeout.min | 0 |
| FUZZY_MAX | 1 | fled_cdev->timeout.step | 10000 |
| BIT_INFO | 1 | fled_cdev->led_cdev.flags | 0x0,0x40000 |
| BIT_INFO | 1 | fled_cdev->ops | 0x0,0x1c3a07d11831b000 |
| HARD_MAX | 1 | fled_cdev->timeout.step | 10000 |
| MEM_ZERO | 1 | fled_cdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/leds/flash/leds-s2m-flash.c s2mu005_fled_init_channel() -> devm_led_classdev_flash_register_ext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->parent | 4096-ptr_max |
| PARAM_VALUE | 1 | fled_cdev | 4096-ptr_max |
| PARAM_VALUE | 1 | fled_cdev->brightness.max | 375000 |
| PARAM_VALUE | 1 | fled_cdev->brightness.min | 25000 |
| PARAM_VALUE | 1 | fled_cdev->brightness.step | 25000 |
| PARAM_VALUE | 1 | fled_cdev->brightness.val | 375000 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.brightness_set_blocking | 1717667038943465472 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.max_brightness | 16 |
| PARAM_VALUE | 1 | fled_cdev->ops | 2573594151464611840 |
| PARAM_VALUE | 1 | fled_cdev->timeout.max | 992000 |
| PARAM_VALUE | 1 | fled_cdev->timeout.min | 62000 |
| PARAM_VALUE | 1 | fled_cdev->timeout.step | 62000 |
| PARAM_VALUE | 1 | fled_cdev->timeout.val | 992000 |
| PARAM_VALUE | 2 | init_data | 6806856838753640448 |
| PARAM_VALUE | 2 | init_data->default_label | 0 |
| PARAM_VALUE | 2 | init_data->devicename | 0 |
| PARAM_VALUE | 2 | init_data->devname_mandatory | 0 |
| PARAM_VALUE | 2 | init_data->fwnode | 4096-ptr_max |
| BUF_SIZE | 0 | parent | 1616 |
| DATA_SOURCE | 0 | parent | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/leds/flash/leds-rt8515.c rt8515_probe() -> devm_led_classdev_flash_register_ext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | parent->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | parent->fwnode | 0,4096-u64max |
| PARAM_VALUE | 1 | fled_cdev | 4096-ptr_max |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.brightness_set_blocking | 117503426072064000 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.flags | 327680 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.max_brightness | 0 |
| PARAM_VALUE | 1 | fled_cdev->ops | 3230962671175675904 |
| PARAM_VALUE | 2 | init_data | 6737030043282358272 |
| PARAM_VALUE | 2 | init_data->default_label | 0 |
| PARAM_VALUE | 2 | init_data->devicename | 0 |
| PARAM_VALUE | 2 | init_data->devname_mandatory | 0 |
| PARAM_VALUE | 2 | init_data->fwnode | 4096-ptr_max |
| BUF_SIZE | 0 | parent | 1616 |
| BUF_SIZE | 1 | fled_cdev | 864 |
| BUF_SIZE | 1 | fled_cdev->ops | 56 |
| MEM_ZERO | 1 | fled_cdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/leds/flash/leds-lm3601x.c lm3601x_register_leds() -> devm_led_classdev_flash_register_ext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | fled_cdev | 4096-ptr_max |
| PARAM_VALUE | 1 | fled_cdev->brightness.min | 11000 |
| PARAM_VALUE | 1 | fled_cdev->brightness.step | 2965 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.brightness_set_blocking | 1788818534444187648 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.flags | 262144 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.max_brightness | 0,127 |
| PARAM_VALUE | 1 | fled_cdev->ops | 2417103460797231104 |
| PARAM_VALUE | 2 | init_data | 5710390513308729344 |
| PARAM_VALUE | 2 | init_data->default_label | 5648337311861669888 |
| PARAM_VALUE | 2 | init_data->devname_mandatory | 0 |
| PARAM_VALUE | 2 | init_data->fwnode | 4096-ptr_max |
| TERMINATED | 2 | init_data->default_label | 1 |
| MEM_ZERO | 1 | fled_cdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/leds/flash/leds-mt6370-flash.c mt6370_led_register() -> devm_led_classdev_flash_register_ext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | fled_cdev | 4096-s32max |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.brightness_set_blocking | 7216878766716399616 |
| PARAM_VALUE | 1 | fled_cdev->ops | 3889799512864722944 |
| PARAM_VALUE | 1 | fled_cdev->timeout.min | 64000 |
| PARAM_VALUE | 1 | fled_cdev->timeout.step | 32000 |
| PARAM_VALUE | 2 | init_data | 7800234502742495232 |
| PARAM_VALUE | 2 | init_data->default_label | 0 |
| PARAM_VALUE | 2 | init_data->devicename | 0 |
| PARAM_VALUE | 2 | init_data->devname_mandatory | 0 |
| PARAM_VALUE | 2 | init_data->fwnode | 4096-ptr_max |
| BUF_SIZE | 0 | parent | 1616 |
| DATA_SOURCE | 0 | parent | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/leds/flash/leds-sy7802.c sy7802_led_register() -> devm_led_classdev_flash_register_ext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | fled_cdev | 4096-s32max |
| PARAM_VALUE | 1 | fled_cdev->brightness.max | 15 |
| PARAM_VALUE | 1 | fled_cdev->brightness.step | 1 |
| PARAM_VALUE | 1 | fled_cdev->brightness.val | 14 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.brightness_set_blocking | 5245595782374289408 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.max_brightness | 8 |
| PARAM_VALUE | 1 | fled_cdev->ops | 1924931468913532928 |
| PARAM_VALUE | 1 | fled_cdev->timeout.max | 1024000 |
| PARAM_VALUE | 1 | fled_cdev->timeout.min | 32000 |
| PARAM_VALUE | 1 | fled_cdev->timeout.step | 32000 |
| PARAM_VALUE | 1 | fled_cdev->timeout.val | 512000 |
| PARAM_VALUE | 2 | init_data | 3754847367300009984 |
| PARAM_VALUE | 2 | init_data->default_label | 0 |
| PARAM_VALUE | 2 | init_data->devicename | 0 |
| PARAM_VALUE | 2 | init_data->devname_mandatory | 0 |
| PARAM_VALUE | 2 | init_data->fwnode | 4096-ptr_max |
| BUF_SIZE | 0 | parent | 1616 |
| DATA_SOURCE | 0 | parent | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &chip->mutex | ||
| TYPE_LOCK | (struct sy7802)->mutex |
drivers/leds/flash/leds-rt4505.c rt4505_probe() -> devm_led_classdev_flash_register_ext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | fled_cdev | 4096-ptr_max |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.brightness_get | 2818961764928036864 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.brightness_set_blocking | 1294671553154416640 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.flags | 262144 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.max_brightness | 1-8 |
| PARAM_VALUE | 1 | fled_cdev->ops | 15862591479169024 |
| PARAM_VALUE | 1 | fled_cdev->timeout.max | 100000-800000 |
| PARAM_VALUE | 1 | fled_cdev->timeout.min | 100000 |
| PARAM_VALUE | 1 | fled_cdev->timeout.step | 100000 |
| PARAM_VALUE | 1 | fled_cdev->timeout.val | 100000-800000 |
| PARAM_VALUE | 2 | init_data | 7458599765577265152 |
| PARAM_VALUE | 2 | init_data->default_label | 0 |
| PARAM_VALUE | 2 | init_data->devicename | 0 |
| PARAM_VALUE | 2 | init_data->devname_mandatory | 0 |
| PARAM_VALUE | 2 | init_data->fwnode | 4096-ptr_max |
| BUF_SIZE | 0 | parent | 1616 |
| MEM_ZERO | 1 | fled_cdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING |