Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
irq.c File Reference
#include <linux/irq.h>
#include <linux/spinlock.h>
#include <linux/init.h>
#include <linux/rculist.h>
#include <linux/slab.h>
#include <asm/sn/addrs.h>
#include <asm/sn/arch.h>
#include <asm/sn/intr.h>
#include <asm/sn/pcibr_provider.h>
#include <asm/sn/pcibus_provider_defs.h>
#include <asm/sn/pcidev.h>
#include <asm/sn/shub_mmr.h>
#include <asm/sn/sn_sal.h>
#include <asm/sn/sn_feature_sets.h>

Go to the source code of this file.

Functions

u64 sn_intr_alloc (nasid_t local_nasid, int local_widget, struct sn_irq_info *sn_irq_info, int req_irq, nasid_t req_nasid, int req_slice)
 
void sn_intr_free (nasid_t local_nasid, int local_widget, struct sn_irq_info *sn_irq_info)
 
u64 sn_intr_redirect (nasid_t local_nasid, int local_widget, struct sn_irq_info *sn_irq_info, nasid_t req_nasid, int req_slice)
 
void ia64_mca_register_cpev (int)
 
struct sn_irq_infosn_retarget_vector (struct sn_irq_info *sn_irq_info, nasid_t nasid, int slice)
 
void sn_set_err_irq_affinity (unsigned int irq)
 
ia64_vector sn_irq_to_vector (int irq)
 
unsigned int sn_local_vector_to_irq (u8 vector)
 
void sn_irq_init (void)
 
void sn_irq_fixup (struct pci_dev *pci_dev, struct sn_irq_info *sn_irq_info)
 
void sn_irq_unfixup (struct pci_dev *pci_dev)
 
void sn_lb_int_war_check (void)
 
void __init sn_irq_lh_init (void)
 

Variables

int sn_ioif_inited
 
struct list_head ** sn_irq_lh
 
struct irq_chip irq_type_sn
 

Function Documentation

void ia64_mca_register_cpev ( int  )
u64 sn_intr_alloc ( nasid_t  local_nasid,
int  local_widget,
struct sn_irq_info sn_irq_info,
int  req_irq,
nasid_t  req_nasid,
int  req_slice 
)

Definition at line 33 of file irq.c.

void sn_intr_free ( nasid_t  local_nasid,
int  local_widget,
struct sn_irq_info sn_irq_info 
)

Definition at line 50 of file irq.c.

u64 sn_intr_redirect ( nasid_t  local_nasid,
int  local_widget,
struct sn_irq_info sn_irq_info,
nasid_t  req_nasid,
int  req_slice 
)

Definition at line 63 of file irq.c.

void sn_irq_fixup ( struct pci_dev pci_dev,
struct sn_irq_info sn_irq_info 
)

Definition at line 338 of file irq.c.

void sn_irq_init ( void  )

Definition at line 270 of file irq.c.

void __init sn_irq_lh_init ( void  )

Definition at line 473 of file irq.c.

ia64_vector sn_irq_to_vector ( int  irq)

Definition at line 258 of file irq.c.

void sn_irq_unfixup ( struct pci_dev pci_dev)

Definition at line 371 of file irq.c.

void sn_lb_int_war_check ( void  )

Definition at line 456 of file irq.c.

unsigned int sn_local_vector_to_irq ( u8  vector)

Definition at line 265 of file irq.c.

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

Definition at line 115 of file irq.c.

void sn_set_err_irq_affinity ( unsigned int  irq)

Definition at line 233 of file irq.c.

Variable Documentation

struct irq_chip irq_type_sn
Initial value:
= {
.name = "SN hub",
.irq_startup = sn_startup_irq,
.irq_shutdown = sn_shutdown_irq,
.irq_enable = sn_enable_irq,
.irq_disable = sn_disable_irq,
.irq_ack = sn_ack_irq,
.irq_mask = sn_mask_irq,
.irq_unmask = sn_unmask_irq,
.irq_set_affinity = sn_set_affinity_irq
}

Definition at line 246 of file irq.c.

int sn_ioif_inited

Definition at line 46 of file io_common.c.

struct list_head** sn_irq_lh

Definition at line 30 of file irq.c.