|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/init.h>#include <linux/platform_device.h>#include <linux/spinlock.h>#include <linux/printk.h>#include <linux/ioport.h>#include <linux/io.h>#include <linux/clk.h>#include <linux/leds.h>#include <linux/platform_data/leds-renesas-tpu.h>#include <linux/gpio.h>#include <linux/err.h>#include <linux/slab.h>#include <linux/pm_runtime.h>#include <linux/workqueue.h>Go to the source code of this file.
Data Structures | |
| struct | r_tpu_priv |
Macros | |
| #define | TSTR -1 /* Timer start register (shared register) */ |
| #define | TCR 0 /* Timer control register (+0x00) */ |
| #define | TMDR 1 /* Timer mode register (+0x04) */ |
| #define | TIOR 2 /* Timer I/O control register (+0x08) */ |
| #define | TIER 3 /* Timer interrupt enable register (+0x0c) */ |
| #define | TSR 4 /* Timer status register (+0x10) */ |
| #define | TCNT 5 /* Timer counter (+0x14) */ |
| #define | TGRA 6 /* Timer general register A (+0x18) */ |
| #define | TGRB 7 /* Timer general register B (+0x1c) */ |
| #define | TGRC 8 /* Timer general register C (+0x20) */ |
| #define | TGRD 9 /* Timer general register D (+0x24) */ |
Enumerations | |
| enum | r_tpu_pin { R_TPU_PIN_UNUSED, R_TPU_PIN_GPIO, R_TPU_PIN_GPIO_FN } |
| enum | r_tpu_timer { R_TPU_TIMER_UNUSED, R_TPU_TIMER_ON } |
Functions | |
| module_platform_driver (r_tpu_device_driver) | |
| MODULE_AUTHOR ("Magnus Damm") | |
| MODULE_DESCRIPTION ("Renesas TPU LED Driver") | |
| MODULE_LICENSE ("GPL v2") | |
Definition at line 60 of file leds-renesas-tpu.c.
Definition at line 55 of file leds-renesas-tpu.c.
Definition at line 61 of file leds-renesas-tpu.c.
Definition at line 62 of file leds-renesas-tpu.c.
Definition at line 63 of file leds-renesas-tpu.c.
Definition at line 64 of file leds-renesas-tpu.c.
Definition at line 58 of file leds-renesas-tpu.c.
Definition at line 57 of file leds-renesas-tpu.c.
Definition at line 56 of file leds-renesas-tpu.c.
Definition at line 59 of file leds-renesas-tpu.c.
Definition at line 54 of file leds-renesas-tpu.c.
| enum r_tpu_pin |
Definition at line 36 of file leds-renesas-tpu.c.
| enum r_tpu_timer |
Definition at line 37 of file leds-renesas-tpu.c.
| MODULE_AUTHOR | ( | "Magnus Damm" | ) |
| MODULE_LICENSE | ( | "GPL v2" | ) |
| module_platform_driver | ( | r_tpu_device_driver | ) |
1.8.2