Linux Kernel
3.7.1
|
#include <linux/ptrace.h>
#include <linux/errno.h>
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/irq.h>
#include <linux/bitops.h>
#include <asm/io.h>
#include <asm/delay.h>
#include <asm/irq.h>
#include <asm/irc-regs.h>
Go to the source code of this file.
Macros | |
#define | __reg16(ADDR) (*(volatile unsigned short *)(__region_CS2 + (ADDR))) |
#define | __get_IMR() ({ __reg16(0x0a); }) |
#define | __set_IMR(M) do { __reg16(0x0a) = (M); wmb(); } while(0) |
#define | __get_IFR() ({ __reg16(0x02); }) |
#define | __clr_IFR(M) do { __reg16(0x02) = ~(M); wmb(); } while(0) |
Functions | |
void __init | fpga_init (void) |
Definition at line 32 of file irq-mb93093.c.
#define __get_IFR | ( | ) | ({ __reg16(0x02); }) |
Definition at line 31 of file irq-mb93093.c.
#define __get_IMR | ( | ) | ({ __reg16(0x0a); }) |
Definition at line 29 of file irq-mb93093.c.
#define __reg16 | ( | ADDR | ) | (*(volatile unsigned short *)(__region_CS2 + (ADDR))) |
Definition at line 27 of file irq-mb93093.c.
Definition at line 30 of file irq-mb93093.c.
Definition at line 117 of file irq-mb93093.c.