Defined in 1 files as a function:
Referenced in 9 files:
- drivers/hid/hid-lenovo-go-s.c, line 1396
- drivers/hid/hid-lenovo-go.c, line 2376
- drivers/hid/hid-oxp.c, line 1465
- drivers/hid/hid-playstation.c, line 901
- drivers/hid/hid-steelseries.c, line 549
- drivers/leds/leds-cros_ec.c, line 224
- drivers/leds/leds-lp55xx-common.c, line 522
- drivers/leds/rgb/leds-lp5812.c, line 370
- drivers/platform/x86/silicom-platform.c, line 745
Smatch caller information:
drivers/hid/hid-oxp.c oxp_cfg_probe() -> devm_led_classdev_multicolor_register()
| 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 | 2766612187158044672 |
| PARAM_VALUE | 1 | mcled_cdev | 7748525441049583616 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->driver_input_lock | ||
| TYPE_LOCK | (struct hid_device)->driver_input_lock |
drivers/leds/rgb/leds-lp5812.c lp5812_init_led() -> devm_led_classdev_multicolor_register()
| 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 | mcled_cdev | 4096-ptr_max |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.brightness_set_blocking | 1062326855227322368 |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.name | 1-u64max |
| PARAM_VALUE | 1 | mcled_cdev->num_colors | 0-s32max |
| PARAM_VALUE | 1 | mcled_cdev->subled_info | 1-u64max |
| BUF_SIZE | 0 | parent | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/leds/leds-cros_ec.c cros_ec_led_probe_one() -> devm_led_classdev_multicolor_register()
| 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 | mcled_cdev | 4096-ptr_max |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.brightness_set_blocking | 8618064413163888640 |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.default_trigger | 516070000179601408 |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.hw_control_trigger | 516070000179601408 |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.max_brightness | 0-255 |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.name | 1-u64max |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.trigger_type | 2357403393517117440 |
| PARAM_VALUE | 1 | mcled_cdev->num_colors | 1-s32max |
| PARAM_VALUE | 1 | mcled_cdev->subled_info | 1-u64max |
| BUF_SIZE | 0 | parent | 1616 |
| DATA_SOURCE | 0 | parent | $0 |
| MEM_ZERO | 1 | mcled_cdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | mcled_cdev->num_colors |
drivers/hid/hid-lenovo-go-s.c hid_gos_cfg_probe() -> devm_led_classdev_multicolor_register()
| 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 | 5575623909845811200 |
| PARAM_VALUE | 1 | mcled_cdev | 6744236567203074048 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->driver_input_lock | ||
| TYPE_LOCK | (struct hid_device)->driver_input_lock |
drivers/leds/leds-lp55xx-common.c lp55xx_init_led() -> devm_led_classdev_multicolor_register()
| 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 | 1 | mcled_cdev | 4096-ptr_max |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.brightness_set_blocking | 4097295356385939456 |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.name | 1-u64max |
| PARAM_VALUE | 1 | mcled_cdev->num_colors | 2-s32max |
| PARAM_VALUE | 1 | mcled_cdev->subled_info | 4096-ptr_max |
| BUF_SIZE | 0 | parent | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/x86/silicom-platform.c silicom_mc_leds_register() -> devm_led_classdev_multicolor_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | mcled_cdev | 4096-ptr_max |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.dev->dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.dev->dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.dev->dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.dev->dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.dev->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.name | 1-u64max |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.trigger_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.trigger_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | mcled_cdev->subled_info | 16 |
| BUF_SIZE | 1 | mcled_cdev | 784 |
| DATA_SOURCE | 0 | parent | $0 |
| DATA_SOURCE | 1 | mcled_cdev | r devm_kzalloc |
| MEM_ZERO | 1 | mcled_cdev | |
| MEM_ZERO | 1 | mcled_cdev->subled_info | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hid/hid-lenovo-go.c hid_go_cfg_probe() -> devm_led_classdev_multicolor_register()
| 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 | 4772682649381044224 |
| PARAM_VALUE | 1 | mcled_cdev | 5771624313247715328 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->driver_input_lock | ||
| TYPE_LOCK | (struct hid_device)->driver_input_lock |
drivers/hid/hid-steelseries.c steelseries_msi_rgb_register() -> devm_led_classdev_multicolor_register()
| 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 | mcled_cdev | 4096-ptr_max |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.brightness_set_blocking | 3467836068589932544 |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.max_brightness | 255 |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.name | 5510456734649962496,8478818462522191872 |
| PARAM_VALUE | 1 | mcled_cdev->num_colors | 3 |
| MEM_ZERO | 1 | mcled_cdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->driver_input_lock | ||
| TYPE_LOCK | (struct hid_device)->driver_input_lock |
drivers/hid/hid-playstation.c ps_lightbar_register() -> devm_led_classdev_multicolor_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 6472 |
| PARAM_VALUE | 0 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | mcled_cdev | 4096-ptr_max |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.brightness | 255 |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.brightness_set_blocking | 3538211407258079232 |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.max_brightness | 255 |
| PARAM_VALUE | 1 | mcled_cdev->led_cdev.name | 1-u64max |
| PARAM_VALUE | 1 | mcled_cdev->num_colors | 3 |
| PARAM_VALUE | 1 | mcled_cdev->subled_info | 4096-ptr_max |
| BUF_SIZE | 1 | mcled_cdev->subled_info | 60 |
| DATA_SOURCE | 1 | mcled_cdev | $1 |
| MEM_ZERO | 1 | mcled_cdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->driver_input_lock | ||
| TYPE_LOCK | (struct hid_device)->driver_input_lock |