Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
ip27.h File Reference
#include <asm/mipsregs.h>
#include <asm/sn/addrs.h>

Go to the source code of this file.

Macros

#define TLBLO_HWBITSHIFT   0 /* Shift value, for masking */
 
#define CAUSE_BERRINTR   IE_IRQ5
 
#define ECCF_CACHE_ERR   0
 
#define ECCF_TAGLO   1
 
#define ECCF_ECC   2
 
#define ECCF_ERROREPC   3
 
#define ECCF_PADDR   4
 
#define ECCF_SIZE   (5 * sizeof(long))
 
#define SRB_SWTIMO   IE_SW0 /* 0x0100 */
 
#define SRB_NET   IE_SW1 /* 0x0200 */
 
#define SRB_DEV0   IE_IRQ0 /* 0x0400 */
 
#define SRB_DEV1   IE_IRQ1 /* 0x0800 */
 
#define SRB_TIMOCLK   IE_IRQ2 /* 0x1000 */
 
#define SRB_PROFCLK   IE_IRQ3 /* 0x2000 */
 
#define SRB_ERR   IE_IRQ4 /* 0x4000 */
 
#define SRB_SCHEDCLK   IE_IRQ5 /* 0x8000 */
 
#define SR_IBIT_HI   SRB_DEV0
 
#define SR_IBIT_PROF   SRB_PROFCLK
 
#define SRB_SWTIMO_IDX   0
 
#define SRB_NET_IDX   1
 
#define SRB_DEV0_IDX   2
 
#define SRB_DEV1_IDX   3
 
#define SRB_TIMOCLK_IDX   4
 
#define SRB_PROFCLK_IDX   5
 
#define SRB_ERR_IDX   6
 
#define SRB_SCHEDCLK_IDX   7
 
#define NUM_CAUSE_INTRS   8
 
#define SCACHE_LINESIZE   128
 
#define SCACHE_LINEMASK   (SCACHE_LINESIZE - 1)
 
#define LED_CYCLE_MASK   0x0f
 
#define LED_CYCLE_SHFT   4
 
#define SEND_NMI(_nasid, _slice)   REMOTE_HUB_S((_nasid), (PI_NMI_A + ((_slice) * PI_NMI_OFFSET)), 1)
 

Macro Definition Documentation

#define CAUSE_BERRINTR   IE_IRQ5

Definition at line 24 of file ip27.h.

#define ECCF_CACHE_ERR   0

Definition at line 26 of file ip27.h.

#define ECCF_ECC   2

Definition at line 28 of file ip27.h.

#define ECCF_ERROREPC   3

Definition at line 29 of file ip27.h.

#define ECCF_PADDR   4

Definition at line 30 of file ip27.h.

#define ECCF_SIZE   (5 * sizeof(long))

Definition at line 31 of file ip27.h.

#define ECCF_TAGLO   1

Definition at line 27 of file ip27.h.

#define LED_CYCLE_MASK   0x0f

Definition at line 79 of file ip27.h.

#define LED_CYCLE_SHFT   4

Definition at line 80 of file ip27.h.

#define NUM_CAUSE_INTRS   8

Definition at line 72 of file ip27.h.

#define SCACHE_LINEMASK   (SCACHE_LINESIZE - 1)

Definition at line 75 of file ip27.h.

#define SCACHE_LINESIZE   128

Definition at line 74 of file ip27.h.

#define SEND_NMI (   _nasid,
  _slice 
)    REMOTE_HUB_S((_nasid), (PI_NMI_A + ((_slice) * PI_NMI_OFFSET)), 1)

Definition at line 82 of file ip27.h.

#define SR_IBIT_HI   SRB_DEV0

Definition at line 60 of file ip27.h.

#define SR_IBIT_PROF   SRB_PROFCLK

Definition at line 61 of file ip27.h.

#define SRB_DEV0   IE_IRQ0 /* 0x0400 */

Definition at line 53 of file ip27.h.

#define SRB_DEV0_IDX   2

Definition at line 65 of file ip27.h.

#define SRB_DEV1   IE_IRQ1 /* 0x0800 */

Definition at line 54 of file ip27.h.

#define SRB_DEV1_IDX   3

Definition at line 66 of file ip27.h.

#define SRB_ERR   IE_IRQ4 /* 0x4000 */

Definition at line 57 of file ip27.h.

#define SRB_ERR_IDX   6

Definition at line 69 of file ip27.h.

#define SRB_NET   IE_SW1 /* 0x0200 */

Definition at line 52 of file ip27.h.

#define SRB_NET_IDX   1

Definition at line 64 of file ip27.h.

#define SRB_PROFCLK   IE_IRQ3 /* 0x2000 */

Definition at line 56 of file ip27.h.

#define SRB_PROFCLK_IDX   5

Definition at line 68 of file ip27.h.

#define SRB_SCHEDCLK   IE_IRQ5 /* 0x8000 */

Definition at line 58 of file ip27.h.

#define SRB_SCHEDCLK_IDX   7

Definition at line 70 of file ip27.h.

#define SRB_SWTIMO   IE_SW0 /* 0x0100 */

Definition at line 51 of file ip27.h.

#define SRB_SWTIMO_IDX   0

Definition at line 63 of file ip27.h.

#define SRB_TIMOCLK   IE_IRQ2 /* 0x1000 */

Definition at line 55 of file ip27.h.

#define SRB_TIMOCLK_IDX   4

Definition at line 67 of file ip27.h.

#define TLBLO_HWBITSHIFT   0 /* Shift value, for masking */

Definition at line 20 of file ip27.h.