Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/leds/flash/leds-aat1290.c, line 495
- drivers/leds/flash/leds-as3645a.c, line 616
- drivers/leds/led-class-flash.c
- include/linux/led-class-flash.h, line 126
Smatch caller information:
drivers/staging/greybus/light.c led_classdev_flash_register() -> led_classdev_flash_register_ext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fled_cdev | 4096-ptr_max |
| PARAM_VALUE | 1 | fled_cdev->ops | 165292973270577152 |
| PARAM_VALUE | 2 | init_data | 0 |
| BUF_SIZE | 1 | fled_cdev | 864 |
| BUF_SIZE | 1 | fled_cdev->ops | 56 |
| DATA_SOURCE | 0 | parent | $0 |
| DATA_SOURCE | 1 | fled_cdev | $1 |
| BIT_INFO | 1 | fled_cdev->led_cdev.flags | 0x40000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &glights->lights_lock | ||
| TYPE_LOCK | (struct gb_lights)->lights_lock |
drivers/leds/flash/leds-as3645a.c as3645a_led_class_setup() -> 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_set_blocking | 3302328205503688704 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.flags | 327680 |
| PARAM_VALUE | 1 | fled_cdev->ops | 4394591332970688512 |
| PARAM_VALUE | 1 | fled_cdev->timeout.min | 100000 |
| PARAM_VALUE | 1 | fled_cdev->timeout.step | 50000 |
| PARAM_VALUE | 2 | init_data | 8069008734269988864 |
| PARAM_VALUE | 2 | init_data->default_label | 5921168975863365632 |
| PARAM_VALUE | 2 | init_data->devicename | 8756469229023965184 |
| PARAM_VALUE | 2 | init_data->devname_mandatory | 0 |
| PARAM_VALUE | 2 | init_data->fwnode | 4096-ptr_max |
| TERMINATED | 2 | init_data->default_label | 1 |
| TERMINATED | 2 | init_data->devicename | 1 |
| MEM_ZERO | 1 | fled_cdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/leds/led-class-flash.c devm_led_classdev_flash_register_ext() -> 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_set_blocking | 4096-ptr_max |
| PARAM_VALUE | 2 | init_data | 4096-ptr_max |
| PARAM_VALUE | 2 | init_data->default_label | 0,5648337311861669888,8644846513066639360 |
| PARAM_VALUE | 2 | init_data->devname_mandatory | 0 |
| PARAM_VALUE | 2 | init_data->fwnode | 4096-ptr_max |
| BUF_SIZE | 0 | parent | (-1),1616 |
| BUF_SIZE | 0 | parent | (-1),1616 |
| BUF_SIZE | 1 | fled_cdev | (-1),864 |
| BUF_SIZE | 1 | fled_cdev | (-1),864 |
| BUF_SIZE | 1 | fled_cdev->ops | (-1),56 |
| DATA_SOURCE | 0 | parent | $0 |
| DATA_SOURCE | 1 | fled_cdev | $1 |
| DATA_SOURCE | 2 | init_data | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &chip->mutex |
drivers/leds/flash/leds-aat1290.c aat1290_led_probe() -> 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 | 3327417531795521536 |
| 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 | 1601880170011254784 |
| PARAM_VALUE | 2 | init_data | 8149460618593869824 |
| PARAM_VALUE | 2 | init_data->default_label | 0 |
| PARAM_VALUE | 2 | init_data->devicename | 7452583552201482240 |
| 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 |
| TERMINATED | 2 | init_data->devicename | 1 |
| MEM_ZERO | 1 | fled_cdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/leds/flash/leds-ktd2692.c led_classdev_flash_register() -> led_classdev_flash_register_ext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 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 | 3252757959341387776 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.flags | 327680 |
| PARAM_VALUE | 1 | fled_cdev->led_cdev.max_brightness | 0-15 |
| PARAM_VALUE | 1 | fled_cdev->ops | 5833658460680732672 |
| PARAM_VALUE | 1 | fled_cdev->timeout.min | 0 |
| PARAM_VALUE | 2 | init_data | 0 |
| BUF_SIZE | 1 | fled_cdev | 864 |
| BUF_SIZE | 1 | fled_cdev->ops | 56 |
| DATA_SOURCE | 0 | parent | $0 |
| DATA_SOURCE | 1 | fled_cdev | $1 |
| MEM_ZERO | 1 | fled_cdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/leds/flash/leds-max77693.c led_classdev_flash_register() -> led_classdev_flash_register_ext()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 1 | fled_cdev | 4096-ptr_max |
| PARAM_VALUE | 2 | init_data | 0 |
| BUF_SIZE | 0 | parent | 1616 |
| BUF_SIZE | 1 | fled_cdev | 864 |
| DATA_SOURCE | 0 | parent | $0 |
| DATA_SOURCE | 1 | fled_cdev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |