#include <linux/module.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/ioport.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/string.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <linux/mutex.h>
#include <asm/etraxgpio.h>
#include <hwregs/reg_map.h>
#include <hwregs/reg_rdwr.h>
#include <hwregs/gio_defs.h>
#include <hwregs/intr_vect_defs.h>
#include <asm/io.h>
#include <asm/irq.h>
Go to the source code of this file.
#define GIO_REG_RD_ADDR |
( |
|
reg | ) |
(volatile unsigned long *)(regi_gio + REG_RD_ADDR_gio_##reg) |
#define GIO_REG_WR_ADDR |
( |
|
reg | ) |
(volatile unsigned long *)(regi_gio + REG_RD_ADDR_gio_##reg) |
#define NUM_PORTS (GPIO_MINOR_LAST+1) |
int etrax_gpio_wake_up_check |
( |
void |
| ) |
|