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

Go to the source code of this file.

Macros

#define IAGR   __SYSREG(0xd4000100, u16)
 
#define IAGR_GN   0x003fc
 
#define __GET_XIRQ_TRIGGER(X, Z)   (((Z) >> ((X) * 2)) & 3)
 
#define __SET_XIRQ_TRIGGER(X, Y, Z)
 
#define EXTMD0   __SYSREG(0xd4000200, u32)
 
#define GET_XIRQ_TRIGGER(X)   __GET_XIRQ_TRIGGER(X, EXTMD0)
 
#define SET_XIRQ_TRIGGER(X, Y)   __SET_XIRQ_TRIGGER(X, Y, EXTMD0)
 

Macro Definition Documentation

#define __GET_XIRQ_TRIGGER (   X,
  Z 
)    (((Z) >> ((X) * 2)) & 3)

Definition at line 14 of file intctl-regs.h.

#define __SET_XIRQ_TRIGGER (   X,
  Y,
  Z 
)
Value:
({ \
typeof(Z) x = (Z); \
x &= ~(3 << ((X) * 2)); \
x |= ((Y) & 3) << ((X) * 2); \
(Z) = x; \
})

Definition at line 16 of file intctl-regs.h.

#define EXTMD0   __SYSREG(0xd4000200, u32)

Definition at line 25 of file intctl-regs.h.

#define GET_XIRQ_TRIGGER (   X)    __GET_XIRQ_TRIGGER(X, EXTMD0)

Definition at line 26 of file intctl-regs.h.

#define IAGR   __SYSREG(0xd4000100, u16)

Definition at line 9 of file intctl-regs.h.

#define IAGR_GN   0x003fc

Definition at line 12 of file intctl-regs.h.

#define SET_XIRQ_TRIGGER (   X,
 
)    __SET_XIRQ_TRIGGER(X, Y, EXTMD0)

Definition at line 27 of file intctl-regs.h.