Home
last modified time | relevance | path

Searched refs:led_devs (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/hid/
H A Dhid-gt683r.c46 struct led_classdev led_devs[GT683R_LED_COUNT]; member
68 if (led_cdev == &led->led_devs[i]) in gt683r_brightness_set()
267 led->led_devs[i].name = name; in gt683r_led_probe()
268 led->led_devs[i].max_brightness = 1; in gt683r_led_probe()
269 led->led_devs[i].brightness_set = gt683r_brightness_set; in gt683r_led_probe()
270 led->led_devs[i].groups = gt683r_led_groups; in gt683r_led_probe()
272 ret = led_classdev_register(&hdev->dev, &led->led_devs[i]); in gt683r_led_probe()
283 led_classdev_unregister(&led->led_devs[i]); in gt683r_led_probe()
294 led_classdev_unregister(&led->led_devs[i]); in gt683r_led_remove()
/openbmc/linux/drivers/mfd/
H A D88pm860x-core.c187 static struct mfd_cell led_devs[] = { variable
775 if (pdata->num_leds > ARRAY_SIZE(led_devs)) in device_led_init()
776 pdata->num_leds = ARRAY_SIZE(led_devs); in device_led_init()
778 led_devs[i].platform_data = &pdata->led[i]; in device_led_init()
779 led_devs[i].pdata_size = in device_led_init()
783 ret = mfd_add_devices(chip->dev, 0, led_devs, in device_led_init()
784 ARRAY_SIZE(led_devs), NULL, 0, NULL); in device_led_init()