Defined in 2 files as a function:
- drivers/leds/flash/leds-mt6370-flash.c, line 403 (as a function)
- drivers/leds/rgb/leds-mt6370-rgb.c, line 852 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/leds/flash/leds-mt6370-flash.c mt6370_led_probe() -> mt6370_led_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | led | 4096-s32max |
| PARAM_VALUE | 1 | led->flash.led_cdev.brightness_set_blocking | 7216878766716399616 |
| PARAM_VALUE | 1 | led->flash.ops | 3889799512864722944 |
| PARAM_VALUE | 1 | led->flash.ops->duration_set | 0 |
| PARAM_VALUE | 1 | led->flash.ops->fault_get | 8316445363085475840 |
| PARAM_VALUE | 1 | led->flash.ops->flash_brightness_get | 0 |
| PARAM_VALUE | 1 | led->flash.ops->flash_brightness_set | 2410285893172404224 |
| PARAM_VALUE | 1 | led->flash.ops->strobe_get | 7929043391145529344 |
| PARAM_VALUE | 1 | led->flash.ops->strobe_set | 5833137776457949184 |
| PARAM_VALUE | 1 | led->flash.ops->timeout_set | 1521423429266751488 |
| PARAM_VALUE | 1 | led->flash.timeout.min | 64000 |
| PARAM_VALUE | 1 | led->flash.timeout.step | 32000 |
| PARAM_VALUE | 1 | led->priv | 4096-ptr_max |
| PARAM_VALUE | 1 | led->priv->leds_count | 1-2 |
| PARAM_VALUE | 1 | led->priv->lock.first_waiter | 0 |
| PARAM_VALUE | 1 | led->priv->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | led->priv->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | led->priv->lock.owner.counter | 0 |
| PARAM_VALUE | 1 | led->priv->regmap | 1-u64max |
| PARAM_VALUE | 2 | init_data | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | led->priv | 1064-1952 |
| BUF_SIZE | 2 | init_data | (-1)-0,64 |
| BUF_SIZE | 2 | init_data | (-1)-0,64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | led->priv->leds_count |
drivers/leds/rgb/leds-mt6370-rgb.c mt6370_leds_probe() -> mt6370_led_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->parent | 4096-ptr_max |
| PARAM_VALUE | 1 | led | 4096-u32max |
| PARAM_VALUE | 1 | led->default_state | 0-2 |
| PARAM_VALUE | 1 | led->index | 0-3,5 |
| PARAM_VALUE | 1 | led->isink.blink_set | 8747328187852832768 |
| PARAM_VALUE | 1 | led->isink.brightness_set_blocking | 2711359326119194624 |
| PARAM_VALUE | 1 | led->isink.pattern_clear | 7129733946168209408 |
| PARAM_VALUE | 1 | led->isink.pattern_set | 1831712065699020800 |
| PARAM_VALUE | 1 | led->mc.led_cdev.blink_set | 5658407482022334464 |
| PARAM_VALUE | 1 | led->mc.led_cdev.brightness_set_blocking | 8693235974588973056 |
| PARAM_VALUE | 1 | led->mc.led_cdev.pattern_clear | 6443566447303475200 |
| PARAM_VALUE | 1 | led->mc.led_cdev.pattern_set | 2879137836065677312 |
| PARAM_VALUE | 1 | led->mc.num_colors | 2-u32max |
| PARAM_VALUE | 1 | led->mc.subled_info | 4096-ptr_max |
| PARAM_VALUE | 1 | led->priv | 4096-ptr_max |
| PARAM_VALUE | 1 | led->priv->leds_count | 1-4 |
| PARAM_VALUE | 1 | led->priv->lock.first_waiter | 0 |
| PARAM_VALUE | 1 | led->priv->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | led->priv->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | led->priv->lock.owner.counter | 0 |
| PARAM_VALUE | 1 | led->priv->pdata | 6346266570024640512,7955952884405284864 |
| PARAM_VALUE | 1 | led->priv->ranges | 3886971702244122624,9132714087965933568 |
| PARAM_VALUE | 1 | led->priv->reg_fields | 2452282740150644736,3705297130432106496 |
| PARAM_VALUE | 1 | led->priv->regmap | 4096-ptr_max |
| PARAM_VALUE | 2 | init_data | 4530670043700084736 |
| 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 | dev | 1616 |
| BUF_SIZE | 1 | led->priv | 1136-3536 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | led->priv->leds_count |