Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/leds/
A Dleds-lm3642.c68 struct led_classdev cdev_torch; member
202 container_of(cdev, struct lm3642_chip_data, cdev_torch); in lm3642_torch_brightness_set()
349 chip->cdev_torch.name = "torch"; in lm3642_probe()
350 chip->cdev_torch.max_brightness = 8; in lm3642_probe()
351 chip->cdev_torch.brightness_set_blocking = lm3642_torch_brightness_set; in lm3642_probe()
352 chip->cdev_torch.default_trigger = "torch"; in lm3642_probe()
353 chip->cdev_torch.groups = lm3642_torch_groups; in lm3642_probe()
354 err = led_classdev_register(&client->dev, &chip->cdev_torch); in lm3642_probe()
375 led_classdev_unregister(&chip->cdev_torch); in lm3642_probe()
387 led_classdev_unregister(&chip->cdev_torch); in lm3642_remove()
A Dleds-lm355x.c54 struct led_classdev cdev_torch; member
312 container_of(cdev, struct lm355x_chip_data, cdev_torch); in lm355x_torch_brightness_set()
460 chip->cdev_torch.name = "torch"; in lm355x_probe()
461 chip->cdev_torch.max_brightness = 8; in lm355x_probe()
462 chip->cdev_torch.brightness_set_blocking = lm355x_torch_brightness_set; in lm355x_probe()
463 chip->cdev_torch.default_trigger = "torch"; in lm355x_probe()
464 err = led_classdev_register(&client->dev, &chip->cdev_torch); in lm355x_probe()
487 led_classdev_unregister(&chip->cdev_torch); in lm355x_probe()
501 led_classdev_unregister(&chip->cdev_torch); in lm355x_remove()
/linux-6.3-rc2/drivers/video/backlight/
A Dlm3639_bl.c38 struct led_classdev cdev_torch; member
226 pchip = container_of(cdev, struct lm3639_chip_data, cdev_torch); in lm3639_torch_brightness_set()
372 pchip->cdev_torch.name = "lm3639_torch"; in lm3639_probe()
373 pchip->cdev_torch.max_brightness = 8; in lm3639_probe()
374 pchip->cdev_torch.brightness_set = lm3639_torch_brightness_set; in lm3639_probe()
376 &client->dev, &pchip->cdev_torch); in lm3639_probe()
398 led_classdev_unregister(&pchip->cdev_torch); in lm3639_remove()

Completed in 6 milliseconds