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

Go to the source code of this file.

Macros

#define MSI_DATA_VECTOR_SHIFT   0
 
#define MSI_DATA_VECTOR_MASK   0x000000ff
 
#define MSI_DATA_VECTOR(v)
 
#define MSI_DATA_DELIVERY_MODE_SHIFT   8
 
#define MSI_DATA_DELIVERY_FIXED   (0 << MSI_DATA_DELIVERY_MODE_SHIFT)
 
#define MSI_DATA_DELIVERY_LOWPRI   (1 << MSI_DATA_DELIVERY_MODE_SHIFT)
 
#define MSI_DATA_LEVEL_SHIFT   14
 
#define MSI_DATA_LEVEL_DEASSERT   (0 << MSI_DATA_LEVEL_SHIFT)
 
#define MSI_DATA_LEVEL_ASSERT   (1 << MSI_DATA_LEVEL_SHIFT)
 
#define MSI_DATA_TRIGGER_SHIFT   15
 
#define MSI_DATA_TRIGGER_EDGE   (0 << MSI_DATA_TRIGGER_SHIFT)
 
#define MSI_DATA_TRIGGER_LEVEL   (1 << MSI_DATA_TRIGGER_SHIFT)
 
#define MSI_ADDR_BASE_HI   0
 
#define MSI_ADDR_BASE_LO   0xfee00000
 
#define MSI_ADDR_DEST_MODE_SHIFT   2
 
#define MSI_ADDR_DEST_MODE_PHYSICAL   (0 << MSI_ADDR_DEST_MODE_SHIFT)
 
#define MSI_ADDR_DEST_MODE_LOGICAL   (1 << MSI_ADDR_DEST_MODE_SHIFT)
 
#define MSI_ADDR_REDIRECTION_SHIFT   3
 
#define MSI_ADDR_REDIRECTION_CPU   (0 << MSI_ADDR_REDIRECTION_SHIFT)
 
#define MSI_ADDR_REDIRECTION_LOWPRI   (1 << MSI_ADDR_REDIRECTION_SHIFT)
 
#define MSI_ADDR_DEST_ID_SHIFT   12
 
#define MSI_ADDR_DEST_ID_MASK   0x00ffff0
 
#define MSI_ADDR_DEST_ID(dest)
 
#define MSI_ADDR_EXT_DEST_ID(dest)   ((dest) & 0xffffff00)
 
#define MSI_ADDR_IR_EXT_INT   (1 << 4)
 
#define MSI_ADDR_IR_SHV   (1 << 3)
 
#define MSI_ADDR_IR_INDEX1(index)   ((index & 0x8000) >> 13)
 
#define MSI_ADDR_IR_INDEX2(index)   ((index & 0x7fff) << 5)
 

Macro Definition Documentation

#define MSI_ADDR_BASE_HI   0

Definition at line 33 of file msidef.h.

#define MSI_ADDR_BASE_LO   0xfee00000

Definition at line 34 of file msidef.h.

#define MSI_ADDR_DEST_ID (   dest)
Value:
MSI_ADDR_DEST_ID_MASK)

Definition at line 48 of file msidef.h.

#define MSI_ADDR_DEST_ID_MASK   0x00ffff0

Definition at line 47 of file msidef.h.

#define MSI_ADDR_DEST_ID_SHIFT   12

Definition at line 46 of file msidef.h.

#define MSI_ADDR_DEST_MODE_LOGICAL   (1 << MSI_ADDR_DEST_MODE_SHIFT)

Definition at line 38 of file msidef.h.

#define MSI_ADDR_DEST_MODE_PHYSICAL   (0 << MSI_ADDR_DEST_MODE_SHIFT)

Definition at line 37 of file msidef.h.

#define MSI_ADDR_DEST_MODE_SHIFT   2

Definition at line 36 of file msidef.h.

#define MSI_ADDR_EXT_DEST_ID (   dest)    ((dest) & 0xffffff00)

Definition at line 50 of file msidef.h.

#define MSI_ADDR_IR_EXT_INT   (1 << 4)

Definition at line 52 of file msidef.h.

#define MSI_ADDR_IR_INDEX1 (   index)    ((index & 0x8000) >> 13)

Definition at line 54 of file msidef.h.

#define MSI_ADDR_IR_INDEX2 (   index)    ((index & 0x7fff) << 5)

Definition at line 55 of file msidef.h.

#define MSI_ADDR_IR_SHV   (1 << 3)

Definition at line 53 of file msidef.h.

#define MSI_ADDR_REDIRECTION_CPU   (0 << MSI_ADDR_REDIRECTION_SHIFT)

Definition at line 41 of file msidef.h.

#define MSI_ADDR_REDIRECTION_LOWPRI   (1 << MSI_ADDR_REDIRECTION_SHIFT)

Definition at line 43 of file msidef.h.

#define MSI_ADDR_REDIRECTION_SHIFT   3

Definition at line 40 of file msidef.h.

#define MSI_DATA_DELIVERY_FIXED   (0 << MSI_DATA_DELIVERY_MODE_SHIFT)

Definition at line 18 of file msidef.h.

#define MSI_DATA_DELIVERY_LOWPRI   (1 << MSI_DATA_DELIVERY_MODE_SHIFT)

Definition at line 19 of file msidef.h.

#define MSI_DATA_DELIVERY_MODE_SHIFT   8

Definition at line 17 of file msidef.h.

#define MSI_DATA_LEVEL_ASSERT   (1 << MSI_DATA_LEVEL_SHIFT)

Definition at line 23 of file msidef.h.

#define MSI_DATA_LEVEL_DEASSERT   (0 << MSI_DATA_LEVEL_SHIFT)

Definition at line 22 of file msidef.h.

#define MSI_DATA_LEVEL_SHIFT   14

Definition at line 21 of file msidef.h.

#define MSI_DATA_TRIGGER_EDGE   (0 << MSI_DATA_TRIGGER_SHIFT)

Definition at line 26 of file msidef.h.

#define MSI_DATA_TRIGGER_LEVEL   (1 << MSI_DATA_TRIGGER_SHIFT)

Definition at line 27 of file msidef.h.

#define MSI_DATA_TRIGGER_SHIFT   15

Definition at line 25 of file msidef.h.

#define MSI_DATA_VECTOR (   v)
Value:
MSI_DATA_VECTOR_MASK)

Definition at line 14 of file msidef.h.

#define MSI_DATA_VECTOR_MASK   0x000000ff

Definition at line 13 of file msidef.h.

#define MSI_DATA_VECTOR_SHIFT   0

Definition at line 12 of file msidef.h.