Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
i8259.h File Reference
#include <linux/delay.h>

Go to the source code of this file.

Data Structures

struct  legacy_pic
 

Macros

#define __byte(x, y)   (((unsigned char *)&(y))[x])
 
#define cached_master_mask   (__byte(0, cached_irq_mask))
 
#define cached_slave_mask   (__byte(1, cached_irq_mask))
 
#define PIC_MASTER_CMD   0x20
 
#define PIC_MASTER_IMR   0x21
 
#define PIC_MASTER_ISR   PIC_MASTER_CMD
 
#define PIC_MASTER_POLL   PIC_MASTER_ISR
 
#define PIC_MASTER_OCW3   PIC_MASTER_ISR
 
#define PIC_SLAVE_CMD   0xa0
 
#define PIC_SLAVE_IMR   0xa1
 
#define PIC_CASCADE_IR   2
 
#define MASTER_ICW4_DEFAULT   0x01
 
#define SLAVE_ICW4_DEFAULT   0x01
 
#define PIC_ICW4_AEOI   2
 

Variables

unsigned int cached_irq_mask
 
raw_spinlock_t i8259A_lock
 
struct irq_chip i8259A_chip
 
struct legacy_piclegacy_pic
 
struct legacy_pic null_legacy_pic
 

Macro Definition Documentation

#define __byte (   x,
  y 
)    (((unsigned char *)&(y))[x])

Definition at line 8 of file i8259.h.

#define cached_master_mask   (__byte(0, cached_irq_mask))

Definition at line 9 of file i8259.h.

#define cached_slave_mask   (__byte(1, cached_irq_mask))

Definition at line 10 of file i8259.h.

#define MASTER_ICW4_DEFAULT   0x01

Definition at line 23 of file i8259.h.

#define PIC_CASCADE_IR   2

Definition at line 22 of file i8259.h.

#define PIC_ICW4_AEOI   2

Definition at line 25 of file i8259.h.

#define PIC_MASTER_CMD   0x20

Definition at line 13 of file i8259.h.

#define PIC_MASTER_IMR   0x21

Definition at line 14 of file i8259.h.

#define PIC_MASTER_ISR   PIC_MASTER_CMD

Definition at line 15 of file i8259.h.

#define PIC_MASTER_OCW3   PIC_MASTER_ISR

Definition at line 17 of file i8259.h.

#define PIC_MASTER_POLL   PIC_MASTER_ISR

Definition at line 16 of file i8259.h.

#define PIC_SLAVE_CMD   0xa0

Definition at line 18 of file i8259.h.

#define PIC_SLAVE_IMR   0xa1

Definition at line 19 of file i8259.h.

#define SLAVE_ICW4_DEFAULT   0x01

Definition at line 24 of file i8259.h.

Variable Documentation

unsigned int cached_irq_mask

Definition at line 43 of file i8259.c.

struct irq_chip i8259A_chip

Definition at line 222 of file i8259.c.

raw_spinlock_t i8259A_lock

Definition at line 391 of file i8259.c.

struct legacy_pic null_legacy_pic

Definition at line 367 of file i8259.c.