Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
led_classdev Struct Reference

#include <leds.h>

Data Fields

const charname
 
int brightness
 
int max_brightness
 
int flags
 
void(* brightness_set )(struct led_classdev *led_cdev, enum led_brightness brightness)
 
enum led_brightness(* brightness_get )(struct led_classdev *led_cdev)
 
int(* blink_set )(struct led_classdev *led_cdev, unsigned long *delay_on, unsigned long *delay_off)
 
struct devicedev
 
struct list_head node
 
const chardefault_trigger
 
unsigned long blink_delay_on
 
unsigned long blink_delay_off
 
struct timer_list blink_timer
 
int blink_brightness
 
struct work_struct set_brightness_work
 
int delayed_set_value
 

Detailed Description

Definition at line 32 of file leds.h.

Field Documentation

int blink_brightness

Definition at line 71 of file leds.h.

unsigned long blink_delay_off

Definition at line 69 of file leds.h.

unsigned long blink_delay_on

Definition at line 69 of file leds.h.

int(* blink_set)(struct led_classdev *led_cdev, unsigned long *delay_on, unsigned long *delay_off)

Definition at line 61 of file leds.h.

struct timer_list blink_timer

Definition at line 70 of file leds.h.

int brightness

Definition at line 34 of file leds.h.

enum led_brightness(* brightness_get)(struct led_classdev *led_cdev)

Definition at line 51 of file leds.h.

void(* brightness_set)(struct led_classdev *led_cdev, enum led_brightness brightness)

Definition at line 48 of file leds.h.

const char* default_trigger

Definition at line 67 of file leds.h.

int delayed_set_value

Definition at line 74 of file leds.h.

struct device* dev

Definition at line 65 of file leds.h.

int flags

Definition at line 36 of file leds.h.

int max_brightness

Definition at line 35 of file leds.h.

const char* name

Definition at line 33 of file leds.h.

Definition at line 66 of file leds.h.

struct work_struct set_brightness_work

Definition at line 73 of file leds.h.


The documentation for this struct was generated from the following file: