Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
dbell.h File Reference
#include <linux/smp.h>
#include <linux/threads.h>
#include <asm/ppc-opcode.h>

Go to the source code of this file.

Macros

#define PPC_DBELL_MSG_BRDCAST   (0x04000000)
 
#define PPC_DBELL_TYPE(x)   (((x) & 0xf) << (63-36))
 
#define PPC_DBELL_TYPE_MASK   PPC_DBELL_TYPE(0xf)
 
#define PPC_DBELL_LPID(x)   ((x) << (63 - 49))
 
#define PPC_DBELL_PIR_MASK   0x3fff
 

Enumerations

enum  ppc_dbell {
  PPC_DBELL = 0, PPC_DBELL_CRIT = 1, PPC_G_DBELL = 2, PPC_G_DBELL_CRIT = 3,
  PPC_G_DBELL_MC = 4
}
 

Functions

void doorbell_cause_ipi (int cpu, unsigned long data)
 
void doorbell_exception (struct pt_regs *regs)
 
void doorbell_setup_this_cpu (void)
 

Macro Definition Documentation

#define PPC_DBELL_LPID (   x)    ((x) << (63 - 49))

Definition at line 23 of file dbell.h.

#define PPC_DBELL_MSG_BRDCAST   (0x04000000)

Definition at line 20 of file dbell.h.

#define PPC_DBELL_PIR_MASK   0x3fff

Definition at line 24 of file dbell.h.

#define PPC_DBELL_TYPE (   x)    (((x) & 0xf) << (63-36))

Definition at line 21 of file dbell.h.

#define PPC_DBELL_TYPE_MASK   PPC_DBELL_TYPE(0xf)

Definition at line 22 of file dbell.h.

Enumeration Type Documentation

enum ppc_dbell
Enumerator:
PPC_DBELL 
PPC_DBELL_CRIT 
PPC_G_DBELL 
PPC_G_DBELL_CRIT 
PPC_G_DBELL_MC 

Definition at line 25 of file dbell.h.

Function Documentation

void doorbell_cause_ipi ( int  cpu,
unsigned long  data 
)
void doorbell_exception ( struct pt_regs regs)

Definition at line 50 of file dbell.c.

void doorbell_setup_this_cpu ( void  )