Searched refs:cdev_torch (Results 1 – 3 of 3) sorted by relevance
/drivers/leds/ |
D | leds-lm3642.c | 68 struct led_classdev cdev_torch; member 207 container_of(cdev, struct lm3642_chip_data, cdev_torch); in lm3642_torch_brightness_set() 360 chip->cdev_torch.name = "torch"; in lm3642_probe() 361 chip->cdev_torch.max_brightness = 8; in lm3642_probe() 362 chip->cdev_torch.brightness_set_blocking = lm3642_torch_brightness_set; in lm3642_probe() 363 chip->cdev_torch.default_trigger = "torch"; in lm3642_probe() 364 chip->cdev_torch.groups = lm3642_torch_groups, in lm3642_probe() 366 &client->dev, &chip->cdev_torch); in lm3642_probe() 388 led_classdev_unregister(&chip->cdev_torch); in lm3642_probe() 400 led_classdev_unregister(&chip->cdev_torch); in lm3642_remove()
|
D | leds-lm355x.c | 55 struct led_classdev cdev_torch; member 312 container_of(cdev, struct lm355x_chip_data, cdev_torch); in lm355x_torch_brightness_set() 461 chip->cdev_torch.name = "torch"; in lm355x_probe() 462 chip->cdev_torch.max_brightness = 8; in lm355x_probe() 463 chip->cdev_torch.brightness_set_blocking = lm355x_torch_brightness_set; in lm355x_probe() 464 chip->cdev_torch.default_trigger = "torch"; in lm355x_probe() 466 &client->dev, &chip->cdev_torch); in lm355x_probe() 490 led_classdev_unregister(&chip->cdev_torch); in lm355x_probe() 504 led_classdev_unregister(&chip->cdev_torch); in lm355x_remove()
|
/drivers/video/backlight/ |
D | lm3639_bl.c | 38 struct led_classdev cdev_torch; member 226 pchip = container_of(cdev, struct lm3639_chip_data, cdev_torch); in lm3639_torch_brightness_set() 373 pchip->cdev_torch.name = "lm3639_torch"; in lm3639_probe() 374 pchip->cdev_torch.max_brightness = 8; in lm3639_probe() 375 pchip->cdev_torch.brightness_set = lm3639_torch_brightness_set; in lm3639_probe() 377 &client->dev, &pchip->cdev_torch); in lm3639_probe() 399 led_classdev_unregister(&pchip->cdev_torch); in lm3639_remove()
|