Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
irq-mb93091.c File Reference
#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 *)(ADDR))
 
#define __get_IMR()   ({ __reg16(0xffc00004); })
 
#define __set_IMR(M)   do { __reg16(0xffc00004) = (M); wmb(); } while(0)
 
#define __get_IFR()   ({ __reg16(0xffc0000c); })
 
#define __clr_IFR(M)   do { __reg16(0xffc0000c) = ~(M); wmb(); } while(0)
 

Functions

void __init fpga_init (void)
 

Macro Definition Documentation

#define __clr_IFR (   M)    do { __reg16(0xffc0000c) = ~(M); wmb(); } while(0)

Definition at line 32 of file irq-mb93091.c.

#define __get_IFR ( )    ({ __reg16(0xffc0000c); })

Definition at line 31 of file irq-mb93091.c.

#define __get_IMR ( )    ({ __reg16(0xffc00004); })

Definition at line 29 of file irq-mb93091.c.

#define __reg16 (   ADDR)    (*(volatile unsigned short *)(ADDR))

Definition at line 27 of file irq-mb93091.c.

#define __set_IMR (   M)    do { __reg16(0xffc00004) = (M); wmb(); } while(0)

Definition at line 30 of file irq-mb93091.c.

Function Documentation

void __init fpga_init ( void  )

Definition at line 137 of file irq-mb93091.c.