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

Go to the source code of this file.

Data Structures

struct  txx9_irc_reg
 

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 TXx9_IRCSR_ILV_MASK   0x00000700
 
#define TXx9_IRCSR_IVL_MASK   0x0000001f
 
#define irc_dlevel   0
 
#define irc_elevel   1
 

Functions

void __init txx9_irq_init (unsigned long baseaddr)
 
int __init txx9_irq_set_pri (int irc_irq, int new_pri)
 
int txx9_irq (void)
 

Macro Definition Documentation

#define irc_dlevel   0

Definition at line 56 of file irq_txx9.c.

#define irc_elevel   1

Definition at line 57 of file irq_txx9.c.

#define TXx9_IRCER_ICE   0x00000001

Definition at line 38 of file irq_txx9.c.

#define TXx9_IRCR_DOWN   0x00000002

Definition at line 43 of file irq_txx9.c.

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

Definition at line 45 of file irq_txx9.c.

#define TXx9_IRCR_HIGH   0x00000001

Definition at line 42 of file irq_txx9.c.

#define TXx9_IRCR_LOW   0x00000000

Definition at line 41 of file irq_txx9.c.

#define TXx9_IRCR_UP   0x00000003

Definition at line 44 of file irq_txx9.c.

#define TXx9_IRCSR_IF   0x00010000

Definition at line 52 of file irq_txx9.c.

#define TXx9_IRCSR_ILV_MASK   0x00000700

Definition at line 53 of file irq_txx9.c.

#define TXx9_IRCSR_IVL_MASK   0x0000001f

Definition at line 54 of file irq_txx9.c.

#define TXx9_IRSCR_EIClr_MASK   0x0000000f

Definition at line 49 of file irq_txx9.c.

#define TXx9_IRSCR_EIClrE   0x00000100

Definition at line 48 of file irq_txx9.c.

Function Documentation

int txx9_irq ( void  )

Definition at line 184 of file irq_txx9.c.

void __init txx9_irq_init ( unsigned long  baseaddr)

Definition at line 149 of file irq_txx9.c.

int __init txx9_irq_set_pri ( int  irc_irq,
int  new_pri 
)

Definition at line 173 of file irq_txx9.c.

Variable Documentation

Definition at line 62 of file irq_txx9.c.

unsigned char mode

Definition at line 63 of file irq_txx9.c.