Home
last modified time | relevance | path

Searched refs:iled_cdev (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/leds/flash/
Dleds-as3645a.c133 struct led_classdev iled_cdev; member
153 container_of(__iled_cdev, struct as3645a, iled_cdev)
311 static int as3645a_set_indicator_brightness(struct led_classdev *iled_cdev, in as3645a_set_indicator_brightness() argument
314 struct as3645a *flash = iled_cdev_to_as3645a(iled_cdev); in as3645a_set_indicator_brightness()
572 struct led_classdev *iled_cdev = &flash->iled_cdev; in as3645a_led_class_setup() local
577 iled_cdev->brightness_set_blocking = as3645a_set_indicator_brightness; in as3645a_led_class_setup()
578 iled_cdev->max_brightness = in as3645a_led_class_setup()
580 iled_cdev->flags = LED_CORE_SUSPENDRESUME; in as3645a_led_class_setup()
586 rval = led_classdev_register_ext(&flash->client->dev, iled_cdev, in as3645a_led_class_setup()
624 led_classdev_unregister(iled_cdev); in as3645a_led_class_setup()
[all …]
/linux-6.12.1/drivers/media/v4l2-core/
Dv4l2-flash-led-class.c113 if (WARN_ON_ONCE(!v4l2_flash->iled_cdev)) in v4l2_flash_set_led_brightness()
116 led_cdev = v4l2_flash->iled_cdev; in v4l2_flash_set_led_brightness()
144 if (WARN_ON_ONCE(!v4l2_flash->iled_cdev)) in v4l2_flash_update_led_brightness()
147 led_cdev = v4l2_flash->iled_cdev; in v4l2_flash_update_led_brightness()
330 if (v4l2_flash->iled_cdev) { in __fill_ctrl_init_data()
569 struct led_classdev *led_cdev_ind = v4l2_flash->iled_cdev; in v4l2_flash_open()
619 struct led_classdev *led_cdev_ind = v4l2_flash->iled_cdev; in v4l2_flash_close()
655 struct led_classdev_flash *fled_cdev, struct led_classdev *iled_cdev, in __v4l2_flash_init() argument
671 v4l2_flash->iled_cdev = iled_cdev; in __v4l2_flash_init()
719 struct led_classdev *iled_cdev, in v4l2_flash_indicator_init() argument
[all …]
/linux-6.12.1/include/media/
Dv4l2-flash-led-class.h83 struct led_classdev *iled_cdev; member
155 struct led_classdev *iled_cdev, struct v4l2_flash_config *config);
176 struct led_classdev *iled_cdev, struct v4l2_flash_config *config) in v4l2_flash_indicator_init() argument
/linux-6.12.1/Documentation/leds/
Dleds-class-flash.rst42 - iled_cdev: