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)
 

Macro Definition Documentation

#define MSI_ADDR_BASE_HI   0

Definition at line 68 of file msidef.h.

#define MSI_ADDR_BASE_LO   0xfee00000

Definition at line 69 of file msidef.h.

#define MSI_ADDR_DEST_ID (   dest)
Value:
MSI_ADDR_DEST_ID_MASK)

Definition at line 81 of file msidef.h.

#define MSI_ADDR_DEST_ID_MASK   0x00ffff0

Definition at line 80 of file msidef.h.

#define MSI_ADDR_DEST_ID_SHIFT   12

Definition at line 79 of file msidef.h.

#define MSI_ADDR_DEST_MODE_LOGICAL   (1 << MSI_ADDR_DEST_MODE_SHIFT)

Definition at line 73 of file msidef.h.

#define MSI_ADDR_DEST_MODE_PHYSICAL   (0 << MSI_ADDR_DEST_MODE_SHIFT)

Definition at line 72 of file msidef.h.

#define MSI_ADDR_DEST_MODE_SHIFT   2

Definition at line 71 of file msidef.h.

#define MSI_ADDR_REDIRECTION_CPU   (0 << MSI_ADDR_REDIRECTION_SHIFT)

Definition at line 76 of file msidef.h.

#define MSI_ADDR_REDIRECTION_LOWPRI   (1 << MSI_ADDR_REDIRECTION_SHIFT)

Definition at line 77 of file msidef.h.

#define MSI_ADDR_REDIRECTION_SHIFT   3

Definition at line 75 of file msidef.h.

#define MSI_DATA_DELIVERY_FIXED   (0 << MSI_DATA_DELIVERY_MODE_SHIFT)

Definition at line 53 of file msidef.h.

#define MSI_DATA_DELIVERY_LOWPRI   (1 << MSI_DATA_DELIVERY_MODE_SHIFT)

Definition at line 54 of file msidef.h.

#define MSI_DATA_DELIVERY_MODE_SHIFT   8

Definition at line 52 of file msidef.h.

#define MSI_DATA_LEVEL_ASSERT   (1 << MSI_DATA_LEVEL_SHIFT)

Definition at line 58 of file msidef.h.

#define MSI_DATA_LEVEL_DEASSERT   (0 << MSI_DATA_LEVEL_SHIFT)

Definition at line 57 of file msidef.h.

#define MSI_DATA_LEVEL_SHIFT   14

Definition at line 56 of file msidef.h.

#define MSI_DATA_TRIGGER_EDGE   (0 << MSI_DATA_TRIGGER_SHIFT)

Definition at line 61 of file msidef.h.

#define MSI_DATA_TRIGGER_LEVEL   (1 << MSI_DATA_TRIGGER_SHIFT)

Definition at line 62 of file msidef.h.

#define MSI_DATA_TRIGGER_SHIFT   15

Definition at line 60 of file msidef.h.

#define MSI_DATA_VECTOR (   v)
Value:
MSI_DATA_VECTOR_MASK)

Definition at line 49 of file msidef.h.

#define MSI_DATA_VECTOR_MASK   0x000000ff

Definition at line 48 of file msidef.h.

#define MSI_DATA_VECTOR_SHIFT   0

Definition at line 47 of file msidef.h.