Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
iosapic.h File Reference

Go to the source code of this file.

Macros

#define IOSAPIC_REG_SELECT   0x0
 
#define IOSAPIC_WINDOW   0x10
 
#define IOSAPIC_EOI   0x40
 
#define IOSAPIC_VERSION   0x1
 
#define IOSAPIC_RTE_LOW(i)   (0x10+i*2)
 
#define IOSAPIC_RTE_HIGH(i)   (0x11+i*2)
 
#define IOSAPIC_DEST_SHIFT   16
 
#define IOSAPIC_DELIVERY_SHIFT   8
 
#define IOSAPIC_FIXED   0x0
 
#define IOSAPIC_LOWEST_PRIORITY   0x1
 
#define IOSAPIC_PMI   0x2
 
#define IOSAPIC_NMI   0x4
 
#define IOSAPIC_INIT   0x5
 
#define IOSAPIC_EXTINT   0x7
 
#define IOSAPIC_POLARITY_SHIFT   13
 
#define IOSAPIC_POL_HIGH   0
 
#define IOSAPIC_POL_LOW   1
 
#define IOSAPIC_TRIGGER_SHIFT   15
 
#define IOSAPIC_EDGE   0
 
#define IOSAPIC_LEVEL   1
 
#define IOSAPIC_MASK_SHIFT   16
 
#define IOSAPIC_MASK   (1<<IOSAPIC_MASK_SHIFT)
 
#define IOSAPIC_VECTOR_MASK   0xffffff00
 
#define iosapic_system_init(pcat_compat)   do { } while (0)
 
#define iosapic_init(address, gsi_base)   (-EINVAL)
 
#define iosapic_remove(gsi_base)   (-ENODEV)
 
#define iosapic_register_intr(gsi, polarity, trigger)   (gsi)
 
#define iosapic_unregister_intr(irq)   do { } while (0)
 
#define iosapic_override_isa_irq(isa_irq, gsi, polarity, trigger)   do { } while (0)
 
#define iosapic_register_platform_intr(type, gsi, pmi, eid, id, polarity, trigger)   (gsi)
 

Macro Definition Documentation

#define IOSAPIC_DELIVERY_SHIFT   8

Definition at line 21 of file iosapic.h.

#define IOSAPIC_DEST_SHIFT   16

Definition at line 16 of file iosapic.h.

#define IOSAPIC_EDGE   0

Definition at line 40 of file iosapic.h.

#define IOSAPIC_EOI   0x40

Definition at line 6 of file iosapic.h.

#define IOSAPIC_EXTINT   0x7

Definition at line 27 of file iosapic.h.

#define IOSAPIC_FIXED   0x0

Definition at line 22 of file iosapic.h.

#define IOSAPIC_INIT   0x5

Definition at line 26 of file iosapic.h.

#define iosapic_init (   address,
  gsi_base 
)    (-EINVAL)

Definition at line 116 of file iosapic.h.

#define IOSAPIC_LEVEL   1

Definition at line 41 of file iosapic.h.

#define IOSAPIC_LOWEST_PRIORITY   0x1

Definition at line 23 of file iosapic.h.

#define IOSAPIC_MASK   (1<<IOSAPIC_MASK_SHIFT)

Definition at line 48 of file iosapic.h.

#define IOSAPIC_MASK_SHIFT   16

Definition at line 47 of file iosapic.h.

#define IOSAPIC_NMI   0x4

Definition at line 25 of file iosapic.h.

#define iosapic_override_isa_irq (   isa_irq,
  gsi,
  polarity,
  trigger 
)    do { } while (0)

Definition at line 120 of file iosapic.h.

#define IOSAPIC_PMI   0x2

Definition at line 24 of file iosapic.h.

#define IOSAPIC_POL_HIGH   0

Definition at line 33 of file iosapic.h.

#define IOSAPIC_POL_LOW   1

Definition at line 34 of file iosapic.h.

#define IOSAPIC_POLARITY_SHIFT   13

Definition at line 32 of file iosapic.h.

#define IOSAPIC_REG_SELECT   0x0

Definition at line 4 of file iosapic.h.

#define iosapic_register_intr (   gsi,
  polarity,
  trigger 
)    (gsi)

Definition at line 118 of file iosapic.h.

#define iosapic_register_platform_intr (   type,
  gsi,
  pmi,
  eid,
  id,
  polarity,
  trigger 
)    (gsi)

Definition at line 121 of file iosapic.h.

#define iosapic_remove (   gsi_base)    (-ENODEV)

Definition at line 117 of file iosapic.h.

#define IOSAPIC_RTE_HIGH (   i)    (0x11+i*2)

Definition at line 14 of file iosapic.h.

#define IOSAPIC_RTE_LOW (   i)    (0x10+i*2)

Definition at line 13 of file iosapic.h.

#define iosapic_system_init (   pcat_compat)    do { } while (0)

Definition at line 115 of file iosapic.h.

#define IOSAPIC_TRIGGER_SHIFT   15

Definition at line 39 of file iosapic.h.

#define iosapic_unregister_intr (   irq)    do { } while (0)

Definition at line 119 of file iosapic.h.

#define IOSAPIC_VECTOR_MASK   0xffffff00

Definition at line 50 of file iosapic.h.

#define IOSAPIC_VERSION   0x1

Definition at line 8 of file iosapic.h.

#define IOSAPIC_WINDOW   0x10

Definition at line 5 of file iosapic.h.