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(v)   (((u8)v) << MSI_DATA_VECTOR_SHIFT)
 
#define MSI_DATA_VECTOR_MASK   0xffffff00
 
#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_DEST_ID_SHIFT   4
 
#define MSI_ADDR_HEADER   0xfee00000
 
#define MSI_ADDR_DEST_ID_MASK   0xfff0000f
 
#define MSI_ADDR_DEST_ID_CPU(cpu)   ((cpu) << MSI_ADDR_DEST_ID_SHIFT)
 
#define MSI_ADDR_DEST_MODE_SHIFT   2
 
#define MSI_ADDR_DEST_MODE_PHYS   (0 << MSI_ADDR_DEST_MODE_SHIFT)
 
#define MSI_ADDR_DEST_MODE_LOGIC   (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)
 

Macro Definition Documentation

#define MSI_ADDR_DEST_ID_CPU (   cpu)    ((cpu) << MSI_ADDR_DEST_ID_SHIFT)

Definition at line 32 of file msidef.h.

#define MSI_ADDR_DEST_ID_MASK   0xfff0000f

Definition at line 31 of file msidef.h.

#define MSI_ADDR_DEST_ID_SHIFT   4

Definition at line 28 of file msidef.h.

#define MSI_ADDR_DEST_MODE_LOGIC   (1 << MSI_ADDR_DEST_MODE_SHIFT)

Definition at line 36 of file msidef.h.

#define MSI_ADDR_DEST_MODE_PHYS   (0 << MSI_ADDR_DEST_MODE_SHIFT)

Definition at line 35 of file msidef.h.

#define MSI_ADDR_DEST_MODE_SHIFT   2

Definition at line 34 of file msidef.h.

#define MSI_ADDR_HEADER   0xfee00000

Definition at line 29 of file msidef.h.

#define MSI_ADDR_REDIRECTION_CPU   (0 << MSI_ADDR_REDIRECTION_SHIFT)

Definition at line 39 of file msidef.h.

#define MSI_ADDR_REDIRECTION_LOWPRI   (1 << MSI_ADDR_REDIRECTION_SHIFT)

Definition at line 40 of file msidef.h.

#define MSI_ADDR_REDIRECTION_SHIFT   3

Definition at line 38 of file msidef.h.

#define MSI_DATA_DELIVERY_FIXED   (0 << MSI_DATA_DELIVERY_MODE_SHIFT)

Definition at line 13 of file msidef.h.

#define MSI_DATA_DELIVERY_LOWPRI   (1 << MSI_DATA_DELIVERY_MODE_SHIFT)

Definition at line 14 of file msidef.h.

#define MSI_DATA_DELIVERY_MODE_SHIFT   8

Definition at line 12 of file msidef.h.

#define MSI_DATA_LEVEL_ASSERT   (1 << MSI_DATA_LEVEL_SHIFT)

Definition at line 18 of file msidef.h.

#define MSI_DATA_LEVEL_DEASSERT   (0 << MSI_DATA_LEVEL_SHIFT)

Definition at line 17 of file msidef.h.

#define MSI_DATA_LEVEL_SHIFT   14

Definition at line 16 of file msidef.h.

#define MSI_DATA_TRIGGER_EDGE   (0 << MSI_DATA_TRIGGER_SHIFT)

Definition at line 21 of file msidef.h.

#define MSI_DATA_TRIGGER_LEVEL   (1 << MSI_DATA_TRIGGER_SHIFT)

Definition at line 22 of file msidef.h.

#define MSI_DATA_TRIGGER_SHIFT   15

Definition at line 20 of file msidef.h.

#define MSI_DATA_VECTOR (   v)    (((u8)v) << MSI_DATA_VECTOR_SHIFT)

Definition at line 9 of file msidef.h.

#define MSI_DATA_VECTOR_MASK   0xffffff00

Definition at line 10 of file msidef.h.

#define MSI_DATA_VECTOR_SHIFT   0

Definition at line 8 of file msidef.h.