Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
leds.h File Reference
#include <linux/device.h>
#include <linux/rwsem.h>
#include <linux/leds.h>

Go to the source code of this file.

Macros

#define led_trigger_set_default(x)   do {} while (0)
 
#define led_trigger_set(x, y)   do {} while (0)
 
#define led_trigger_remove(x)   do {} while (0)
 
#define led_get_trigger_data(x)   (NULL)
 

Functions

void led_stop_software_blink (struct led_classdev *led_cdev)
 
ssize_t led_trigger_store (struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
 
ssize_t led_trigger_show (struct device *dev, struct device_attribute *attr, char *buf)
 

Variables

struct rw_semaphore leds_list_lock
 
struct list_head leds_list
 

Macro Definition Documentation

#define led_get_trigger_data (   x)    (NULL)

Definition at line 55 of file leds.h.

#define led_trigger_remove (   x)    do {} while (0)

Definition at line 54 of file leds.h.

#define led_trigger_set (   x,
  y 
)    do {} while (0)

Definition at line 53 of file leds.h.

#define led_trigger_set_default (   x)    do {} while (0)

Definition at line 52 of file leds.h.

Function Documentation

void led_stop_software_blink ( struct led_classdev led_cdev)

Definition at line 106 of file led-core.c.

ssize_t led_trigger_show ( struct device dev,
struct device_attribute attr,
char buf 
)

Definition at line 71 of file led-triggers.c.

ssize_t led_trigger_store ( struct device dev,
struct device_attribute attr,
const char buf,
size_t  count 
)

Definition at line 34 of file led-triggers.c.

Variable Documentation

struct list_head leds_list
struct rw_semaphore leds_list_lock