1#ifndef __VSF_LINUX_LEDS_H__
2#define __VSF_LINUX_LEDS_H__
5#include <linux/device.h>
24#define LED_SUSPENDED BIT(0)
25#define LED_UNREGISTERING BIT(1)
int devm_led_classdev_register(struct device *parent, struct led_classdev *led_cdev)
Definition vsf_linux_core_led.c:34
led_brightness
Definition leds.h:11
@ LED_FULL
Definition leds.h:15
@ LED_HALF
Definition leds.h:14
@ LED_ON
Definition leds.h:13
@ LED_OFF
Definition leds.h:12
int flags
Definition leds.h:23
void(* brightness_set)(struct led_classdev *led_cdev, enum led_brightness brightness)
Definition leds.h:27
unsigned int brightness
Definition leds.h:20
const char * name
Definition leds.h:19
const struct attribute_group ** groups
Definition leds.h:30
enum led_brightness(* brightness_get)(struct led_classdev *led_cdev)
Definition leds.h:28
unsigned int max_brightness
Definition leds.h:21