Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
xpc_sn2.c File Reference
#include <linux/delay.h>
#include <linux/slab.h>
#include <asm/uncached.h>
#include <asm/sn/mspec.h>
#include <asm/sn/sn_sal.h>
#include "xpc.h"

Go to the source code of this file.

Macros

#define XPC_MAX_PHYSNODES_SN2   (MAX_NUMALINK_NODES / 2)
 
#define XP_NASID_MASK_BYTES_SN2   ((XPC_MAX_PHYSNODES_SN2 + 7) / 8)
 
#define XP_NASID_MASK_WORDS_SN2   ((XPC_MAX_PHYSNODES_SN2 + 63) / 64)
 
#define XPC_NOTIFY_IRQ_AMOS_SN2   0
 
#define XPC_ACTIVATE_IRQ_AMOS_SN2
 
#define XPC_ENGAGED_PARTITIONS_AMO_SN2
 
#define XPC_DEACTIVATE_REQUEST_AMO_SN2   (XPC_ENGAGED_PARTITIONS_AMO_SN2 + 1)
 
#define XPC_SEND_NOTIFY_IRQ_SN2(_ch, _ipi_f, _irq_f)   xpc_send_notify_IRQ_sn2(_ch, _ipi_f, #_ipi_f, _irq_f)
 
#define XPC_SEND_LOCAL_NOTIFY_IRQ_SN2(_ch, _ipi_f)   xpc_send_local_notify_IRQ_sn2(_ch, _ipi_f, #_ipi_f)
 

Functions

int xpc_identify_activate_IRQ_sender_sn2 (void)
 
int xpc_init_sn2 (void)
 
void xpc_exit_sn2 (void)
 

Macro Definition Documentation

#define XP_NASID_MASK_BYTES_SN2   ((XPC_MAX_PHYSNODES_SN2 + 7) / 8)

Definition at line 30 of file xpc_sn2.c.

#define XP_NASID_MASK_WORDS_SN2   ((XPC_MAX_PHYSNODES_SN2 + 63) / 64)

Definition at line 31 of file xpc_sn2.c.

#define XPC_ACTIVATE_IRQ_AMOS_SN2
Value:
XP_MAX_NPARTITIONS_SN2)

Definition at line 47 of file xpc_sn2.c.

#define XPC_DEACTIVATE_REQUEST_AMO_SN2   (XPC_ENGAGED_PARTITIONS_AMO_SN2 + 1)

Definition at line 51 of file xpc_sn2.c.

#define XPC_ENGAGED_PARTITIONS_AMO_SN2
Value:
XP_NASID_MASK_WORDS_SN2)

Definition at line 49 of file xpc_sn2.c.

#define XPC_MAX_PHYSNODES_SN2   (MAX_NUMALINK_NODES / 2)

Definition at line 29 of file xpc_sn2.c.

#define XPC_NOTIFY_IRQ_AMOS_SN2   0

Definition at line 46 of file xpc_sn2.c.

#define XPC_SEND_LOCAL_NOTIFY_IRQ_SN2 (   _ch,
  _ipi_f 
)    xpc_send_local_notify_IRQ_sn2(_ch, _ipi_f, #_ipi_f)

Definition at line 394 of file xpc_sn2.c.

#define XPC_SEND_NOTIFY_IRQ_SN2 (   _ch,
  _ipi_f,
  _irq_f 
)    xpc_send_notify_IRQ_sn2(_ch, _ipi_f, #_ipi_f, _irq_f)

Definition at line 372 of file xpc_sn2.c.

Function Documentation

void xpc_exit_sn2 ( void  )

Definition at line 2457 of file xpc_sn2.c.

int xpc_identify_activate_IRQ_sender_sn2 ( void  )

Definition at line 1094 of file xpc_sn2.c.

int xpc_init_sn2 ( void  )

Definition at line 2412 of file xpc_sn2.c.