|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/kernel.h>#include <linux/init.h>#include <linux/slab.h>#include <linux/percpu.h>#include <linux/syscore_ops.h>#include <linux/rwsem.h>#include "leds.h"Go to the source code of this file.
Data Structures | |
| struct | led_trigger_cpu |
Macros | |
| #define | MAX_NAME_LEN 8 |
Functions | |
| void | ledtrig_cpu (enum cpu_led_event ledevt) |
| EXPORT_SYMBOL (ledtrig_cpu) | |
| module_init (ledtrig_cpu_init) | |
| module_exit (ledtrig_cpu_exit) | |
| MODULE_AUTHOR ("Linus Walleij <[email protected]>") | |
| MODULE_AUTHOR ("Bryan Wu <[email protected]>") | |
| MODULE_DESCRIPTION ("CPU LED trigger") | |
| MODULE_LICENSE ("GPL") | |
| #define MAX_NAME_LEN 8 |
Definition at line 31 of file ledtrig-cpu.c.
| EXPORT_SYMBOL | ( | ledtrig_cpu | ) |
| void ledtrig_cpu | ( | enum cpu_led_event | ledevt | ) |
ledtrig_cpu - emit a CPU event as a trigger : CPU event to be emitted
Emit a CPU event on a CPU core, which will trigger a binded LED to turn on or turn off.
Definition at line 47 of file ledtrig-cpu.c.
| MODULE_AUTHOR | ( | "Linus Walleij <[email protected]>" | ) |
| MODULE_AUTHOR | ( | "Bryan Wu <[email protected]>" | ) |
| module_exit | ( | ledtrig_cpu_exit | ) |
| module_init | ( | ledtrig_cpu_init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
1.8.2