Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
intr.h File Reference
#include <linux/rcupdate.h>
#include <asm/sn/types.h>

Go to the source code of this file.

Data Structures

struct  sn_irq_info
 

Macros

#define SGI_UART_VECTOR   0xe9
 
#define SGI_XPC_ACTIVATE   0x30
 
#define SGI_II_ERROR   0x31
 
#define SGI_XBOW_ERROR   0x32
 
#define SGI_PCIASIC_ERROR   0x33
 
#define SGI_ACPI_SCI_INT   0x34
 
#define SGI_TIOCA_ERROR   0x35
 
#define SGI_TIO_ERROR   0x36
 
#define SGI_TIOCX_ERROR   0x37
 
#define SGI_MMTIMER_VECTOR   0x38
 
#define SGI_XPC_NOTIFY   0xe7
 
#define IA64_SN2_FIRST_DEVICE_VECTOR   0x3c
 
#define IA64_SN2_LAST_DEVICE_VECTOR   0xe6
 
#define SN2_IRQ_RESERVED   0x1
 
#define SN2_IRQ_CONNECTED   0x2
 
#define SN2_IRQ_SHARED   0x4
 
#define CPU_VECTOR_TO_IRQ(cpuid, vector)   (vector)
 

Functions

void sn_send_IPI_phys (int, long, int, int)
 
u64 sn_intr_alloc (nasid_t, int, struct sn_irq_info *, int, nasid_t, int)
 
void sn_intr_free (nasid_t, int, struct sn_irq_info *)
 
struct sn_irq_infosn_retarget_vector (struct sn_irq_info *, nasid_t, int)
 
void sn_set_err_irq_affinity (unsigned int)
 

Variables

struct list_head ** sn_irq_lh
 

Macro Definition Documentation

#define CPU_VECTOR_TO_IRQ (   cpuid,
  vector 
)    (vector)

Definition at line 66 of file intr.h.

#define IA64_SN2_FIRST_DEVICE_VECTOR   0x3c

Definition at line 29 of file intr.h.

#define IA64_SN2_LAST_DEVICE_VECTOR   0xe6

Definition at line 30 of file intr.h.

#define SGI_ACPI_SCI_INT   0x34

Definition at line 22 of file intr.h.

#define SGI_II_ERROR   0x31

Definition at line 19 of file intr.h.

#define SGI_MMTIMER_VECTOR   0x38

Definition at line 26 of file intr.h.

#define SGI_PCIASIC_ERROR   0x33

Definition at line 21 of file intr.h.

#define SGI_TIO_ERROR   0x36

Definition at line 24 of file intr.h.

#define SGI_TIOCA_ERROR   0x35

Definition at line 23 of file intr.h.

#define SGI_TIOCX_ERROR   0x37

Definition at line 25 of file intr.h.

#define SGI_UART_VECTOR   0xe9

Definition at line 15 of file intr.h.

#define SGI_XBOW_ERROR   0x32

Definition at line 20 of file intr.h.

#define SGI_XPC_ACTIVATE   0x30

Definition at line 18 of file intr.h.

#define SGI_XPC_NOTIFY   0xe7

Definition at line 27 of file intr.h.

#define SN2_IRQ_CONNECTED   0x2

Definition at line 33 of file intr.h.

#define SN2_IRQ_RESERVED   0x1

Definition at line 32 of file intr.h.

#define SN2_IRQ_SHARED   0x4

Definition at line 34 of file intr.h.

Function Documentation

u64 sn_intr_alloc ( nasid_t  ,
int  ,
struct sn_irq_info ,
int  ,
nasid_t  ,
int   
)

Definition at line 33 of file irq.c.

void sn_intr_free ( nasid_t  ,
int  ,
struct sn_irq_info  
)

Definition at line 50 of file irq.c.

struct sn_irq_info* sn_retarget_vector ( struct sn_irq_info ,
nasid_t  ,
int   
)
read

Definition at line 115 of file irq.c.

void sn_send_IPI_phys ( int  nasid,
long  physid,
int  vector,
int  delivery_mode 
)

sn_send_IPI_phys - send an IPI to a Nasid and slice : nasid to receive the interrupt (may be outside partition) : physical cpuid to receive the interrupt. : command to send : delivery mechanism

Sends an IPI (interprocessor interrupt) to the processor specified by

can be one of the following

IA64_IPI_DM_INT - pend an interrupt IA64_IPI_DM_PMI - pend a PMI IA64_IPI_DM_NMI - pend an NMI IA64_IPI_DM_INIT - pend an INIT interrupt

Definition at line 374 of file sn2_smp.c.

void sn_set_err_irq_affinity ( unsigned  int)

Definition at line 233 of file irq.c.

Variable Documentation

struct list_head** sn_irq_lh

Definition at line 30 of file irq.c.