Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
irq.c File Reference
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <asm/ptrace.h>
#include <asm/traps.h>
#include <asm/irq.h>
#include <asm/io.h>
#include <asm/gpio-internal.h>
#include <asm/regs267x.h>

Go to the source code of this file.

Data Structures

struct  irq_pins
 

Macros

#define IRQ_GPIO_MAP(irqbit, irq, port, bit)
 

Functions

struct irq_pins __attribute__ ((aligned(1), packed))
 
int h8300_enable_irq_pin (unsigned int irq)
 
void h8300_disable_irq_pin (unsigned int irq)
 

Variables

const int __initconst h8300_saved_vectors []
 
const H8300_VECTOR __initconst h8300_trap_table []
 
unsigned char port_no
 
unsigned char bit_no
 

Macro Definition Documentation

#define IRQ_GPIO_MAP (   irqbit,
  irq,
  port,
  bit 
)
Value:
do { \
if (*(volatile unsigned short *)ITSR & irqbit) { \
port = irq_assign_table1[irq - EXT_IRQ0].port_no; \
bit = irq_assign_table1[irq - EXT_IRQ0].bit_no; \
} else { \
port = irq_assign_table0[irq - EXT_IRQ0].port_no; \
bit = irq_assign_table0[irq - EXT_IRQ0].bit_no; \
} \
} while(0)

Definition at line 67 of file irq.c.

Function Documentation

struct irq_pins __attribute__ ( (aligned(1), packed)  )
void h8300_disable_irq_pin ( unsigned int  irq)

Definition at line 93 of file irq.c.

int h8300_enable_irq_pin ( unsigned int  irq)

Definition at line 78 of file irq.c.

Variable Documentation

unsigned char bit_no

Definition at line 44 of file irq.c.

const int __initconst h8300_saved_vectors[]
Initial value:
= {
-1
}

Definition at line 21 of file irq.c.

const H8300_VECTOR __initconst h8300_trap_table[]
Initial value:
= {
0,0,0,0,0,
0,0,
0,0,0,0,0,0,0
}

Definition at line 30 of file irq.c.

unsigned char port_no

Definition at line 43 of file irq.c.