Home
last modified time | relevance | path

Searched refs:cdev_flash (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/leds/
H A Dleds-lm3642.c67 struct led_classdev cdev_flash; member
249 container_of(cdev, struct lm3642_chip_data, cdev_flash); in lm3642_strobe_brightness_set()
337 chip->cdev_flash.name = "flash"; in lm3642_probe()
338 chip->cdev_flash.max_brightness = 16; in lm3642_probe()
339 chip->cdev_flash.brightness_set_blocking = lm3642_strobe_brightness_set; in lm3642_probe()
340 chip->cdev_flash.default_trigger = "flash"; in lm3642_probe()
341 chip->cdev_flash.groups = lm3642_flash_groups; in lm3642_probe()
342 err = led_classdev_register(&client->dev, &chip->cdev_flash); in lm3642_probe()
377 led_classdev_unregister(&chip->cdev_flash); in lm3642_probe()
388 led_classdev_unregister(&chip->cdev_flash); in lm3642_remove()
H A Dleds-lm355x.c53 struct led_classdev cdev_flash; member
327 container_of(cdev, struct lm355x_chip_data, cdev_flash); in lm355x_strobe_brightness_set()
452 chip->cdev_flash.name = "flash"; in lm355x_probe()
453 chip->cdev_flash.max_brightness = 16; in lm355x_probe()
454 chip->cdev_flash.brightness_set_blocking = lm355x_strobe_brightness_set; in lm355x_probe()
455 chip->cdev_flash.default_trigger = "flash"; in lm355x_probe()
456 err = led_classdev_register(&client->dev, &chip->cdev_flash); in lm355x_probe()
489 led_classdev_unregister(&chip->cdev_flash); in lm355x_probe()
502 led_classdev_unregister(&chip->cdev_flash); in lm355x_remove()
/openbmc/linux/drivers/video/backlight/
H A Dlm3639_bl.c37 struct led_classdev cdev_flash; member
263 pchip = container_of(cdev, struct lm3639_chip_data, cdev_flash); in lm3639_flash_brightness_set()
362 pchip->cdev_flash.name = "lm3639_flash"; in lm3639_probe()
363 pchip->cdev_flash.max_brightness = 16; in lm3639_probe()
364 pchip->cdev_flash.brightness_set = lm3639_flash_brightness_set; in lm3639_probe()
366 &client->dev, &pchip->cdev_flash); in lm3639_probe()
386 led_classdev_unregister(&pchip->cdev_flash); in lm3639_probe()
400 led_classdev_unregister(&pchip->cdev_flash); in lm3639_remove()