Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
i8259.c File Reference
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <asm/io.h>
#include <asm/i8259.h>
#include <asm/prom.h>

Go to the source code of this file.

Macros

#define cached_A1   (cached_8259[0])
 
#define cached_21   (cached_8259[1])
 

Functions

unsigned int i8259_irq (void)
 
struct irq_domaini8259_get_host (void)
 
void i8259_init (struct device_node *node, unsigned long intack_addr)
 

Macro Definition Documentation

#define cached_21   (cached_8259[1])

Definition at line 24 of file i8259.c.

#define cached_A1   (cached_8259[0])

Definition at line 23 of file i8259.c.

Function Documentation

struct irq_domain* i8259_get_host ( void  )
read

Definition at line 214 of file i8259.c.

void i8259_init ( struct device_node node,
unsigned long  intack_addr 
)

i8259_init - Initialize the legacy controller : device node of the legacy PIC (can be NULL, but then, it will match all interrupts, so beware) : PCI interrupt acknowledge (real) address which will return the active irq from the 8259

Definition at line 226 of file i8259.c.

unsigned int i8259_irq ( void  )

Definition at line 36 of file i8259.c.