#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/module.h>
#include <linux/of_platform.h>
#include <linux/of_irq.h>
#include <lantiq_soc.h>
#include "../clk.h"
Go to the source code of this file.
#define CLC_DISABLE BIT(0) |
#define CLC_SUSPEND BIT(4) |
#define CON_CLK_INT BIT(10) |
#define CON_EDGE_ANY (BIT(7) | BIT(6)) |
#define GPTU_BASE |
( |
|
x | ) |
(((x >> 1) * 0x20) + 0x10) |
#define gptu_r32 |
( |
|
x | ) |
ltq_r32(gptu_membase + (x)) |
#define GPTU_SHIFT |
( |
|
x | ) |
(x % 2 ? 4 : 0) |
#define gptu_w32 |
( |
|
x, |
|
|
|
y |
|
) |
| ltq_w32((x), gptu_membase + (y)) |
- Enumerator:
TIMER1A |
|
TIMER1B |
|
TIMER2A |
|
TIMER2B |
|
TIMER3A |
|
TIMER3B |
|
Definition at line 63 of file gptu.c.
MODULE_DEVICE_TABLE |
( |
of |
, |
|
|
dma_match |
|
|
) |
| |