Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
irq_tx4939.c File Reference
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/types.h>
#include <asm/irq_cpu.h>
#include <asm/txx9irq.h>
#include <asm/txx9/tx4939.h>

Go to the source code of this file.

Macros

#define TXx9_IRCER_ICE   0x00000001
 
#define TXx9_IRCR_LOW   0x00000000
 
#define TXx9_IRCR_HIGH   0x00000001
 
#define TXx9_IRCR_DOWN   0x00000002
 
#define TXx9_IRCR_UP   0x00000003
 
#define TXx9_IRCR_EDGE(cr)   ((cr) & 0x00000002)
 
#define TXx9_IRSCR_EIClrE   0x00000100
 
#define TXx9_IRSCR_EIClr_MASK   0x0000000f
 
#define TXx9_IRCSR_IF   0x00010000
 
#define irc_dlevel   0
 
#define irc_elevel   1
 

Functions

void __init tx4939_irq_init (void)
 
int tx4939_irq (void)
 

Macro Definition Documentation

#define irc_dlevel   0

Definition at line 45 of file irq_tx4939.c.

#define irc_elevel   1

Definition at line 46 of file irq_tx4939.c.

#define TXx9_IRCER_ICE   0x00000001

Definition at line 29 of file irq_tx4939.c.

#define TXx9_IRCR_DOWN   0x00000002

Definition at line 34 of file irq_tx4939.c.

#define TXx9_IRCR_EDGE (   cr)    ((cr) & 0x00000002)

Definition at line 36 of file irq_tx4939.c.

#define TXx9_IRCR_HIGH   0x00000001

Definition at line 33 of file irq_tx4939.c.

#define TXx9_IRCR_LOW   0x00000000

Definition at line 32 of file irq_tx4939.c.

#define TXx9_IRCR_UP   0x00000003

Definition at line 35 of file irq_tx4939.c.

#define TXx9_IRCSR_IF   0x00010000

Definition at line 43 of file irq_tx4939.c.

#define TXx9_IRSCR_EIClr_MASK   0x0000000f

Definition at line 40 of file irq_tx4939.c.

#define TXx9_IRSCR_EIClrE   0x00000100

Definition at line 39 of file irq_tx4939.c.

Function Documentation

int tx4939_irq ( void  )

Definition at line 209 of file irq_tx4939.c.

void __init tx4939_irq_init ( void  )

Definition at line 166 of file irq_tx4939.c.

Variable Documentation

unsigned char level

Definition at line 49 of file irq_tx4939.c.

unsigned char mode

Definition at line 50 of file irq_tx4939.c.