Home
last modified time | relevance | path

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

/openbmc/linux/drivers/leds/
H A Dleds-lm3642.c69 struct led_classdev cdev_indicator; member
175 container_of(led_cdev, struct lm3642_chip_data, cdev_indicator); in torch_pin_store()
222 container_of(led_cdev, struct lm3642_chip_data, cdev_indicator); in strobe_pin_store()
264 container_of(cdev, struct lm3642_chip_data, cdev_indicator); in lm3642_indicator_brightness_set()
361 chip->cdev_indicator.name = "indicator"; in lm3642_probe()
362 chip->cdev_indicator.max_brightness = 8; in lm3642_probe()
363 chip->cdev_indicator.brightness_set_blocking = in lm3642_probe()
365 err = led_classdev_register(&client->dev, &chip->cdev_indicator); in lm3642_probe()
386 led_classdev_unregister(&chip->cdev_indicator); in lm3642_remove()
H A Dleds-lm355x.c55 struct led_classdev cdev_indicator; member
342 container_of(cdev, struct lm355x_chip_data, cdev_indicator); in lm355x_indicator_brightness_set()
359 container_of(led_cdev, struct lm355x_chip_data, cdev_indicator); in pattern_store()
468 chip->cdev_indicator.name = "indicator"; in lm355x_probe()
470 chip->cdev_indicator.max_brightness = 4; in lm355x_probe()
472 chip->cdev_indicator.max_brightness = 8; in lm355x_probe()
473 chip->cdev_indicator.brightness_set_blocking = in lm355x_probe()
477 chip->cdev_indicator.groups = lm355x_indicator_groups; in lm355x_probe()
478 err = led_classdev_register(&client->dev, &chip->cdev_indicator); in lm355x_probe()
500 led_classdev_unregister(&chip->cdev_indicator); in lm355x_remove()