Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
iosapic.c File Reference
#include <linux/acpi.h>
#include <linux/init.h>
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/smp.h>
#include <linux/string.h>
#include <linux/bootmem.h>
#include <asm/delay.h>
#include <asm/hw_irq.h>
#include <asm/io.h>
#include <asm/iosapic.h>
#include <asm/machvec.h>
#include <asm/processor.h>
#include <asm/ptrace.h>

Go to the source code of this file.

Data Structures

struct  iosapic
 
struct  iosapic_rte_info
 
struct  iosapic_intr_info
 

Macros

#define DBG(fmt...)
 
#define NO_REF_RTE   0
 
#define iosapic_shutdown_level_irq   mask_irq
 
#define iosapic_enable_level_irq   unmask_irq
 
#define iosapic_disable_level_irq   mask_irq
 
#define iosapic_ack_level_irq   nop
 
#define iosapic_enable_edge_irq   unmask_irq
 
#define iosapic_disable_edge_irq   nop
 

Functions

int gsi_to_irq (unsigned int gsi)
 
struct irq_chipia64_native_iosapic_get_irq_chip (unsigned long trigger)
 
int iosapic_register_intr (unsigned int gsi, unsigned long polarity, unsigned long trigger)
 
void iosapic_unregister_intr (unsigned int gsi)
 
int __init iosapic_register_platform_intr (u32 int_type, unsigned int gsi, int iosapic_vector, u16 eid, u16 id, unsigned long polarity, unsigned long trigger)
 
void __devinit iosapic_override_isa_irq (unsigned int isa_irq, unsigned int gsi, unsigned long polarity, unsigned long trigger)
 
void __init ia64_native_iosapic_pcat_compat_init (void)
 
void __init iosapic_system_init (int system_pcat_compat)
 
int __devinit iosapic_init (unsigned long phys_addr, unsigned int gsi_base)
 

Variables

struct iosapic_rte_info ____cacheline_aligned
 

Macro Definition Documentation

#define DBG (   fmt...)

Definition at line 107 of file iosapic.c.

#define iosapic_ack_level_irq   nop

Definition at line 418 of file iosapic.c.

#define iosapic_disable_edge_irq   nop

Definition at line 456 of file iosapic.c.

#define iosapic_disable_level_irq   mask_irq

Definition at line 417 of file iosapic.c.

#define iosapic_enable_edge_irq   unmask_irq

Definition at line 455 of file iosapic.c.

#define iosapic_enable_level_irq   unmask_irq

Definition at line 416 of file iosapic.c.

#define iosapic_shutdown_level_irq   mask_irq

Definition at line 415 of file iosapic.c.

#define NO_REF_RTE   0

Definition at line 117 of file iosapic.c.

Function Documentation

int gsi_to_irq ( unsigned int  gsi)

Definition at line 195 of file iosapic.c.

struct irq_chip* ia64_native_iosapic_get_irq_chip ( unsigned long  trigger)
read

Definition at line 545 of file iosapic.c.

void __init ia64_native_iosapic_pcat_compat_init ( void  )

Definition at line 940 of file iosapic.c.

int __devinit iosapic_init ( unsigned long  phys_addr,
unsigned int  gsi_base 
)

Definition at line 1016 of file iosapic.c.

void __devinit iosapic_override_isa_irq ( unsigned int  isa_irq,
unsigned int  gsi,
unsigned long  polarity,
unsigned long  trigger 
)

Definition at line 918 of file iosapic.c.

int iosapic_register_intr ( unsigned int  gsi,
unsigned long  polarity,
unsigned long  trigger 
)

Definition at line 716 of file iosapic.c.

int __init iosapic_register_platform_intr ( u32  int_type,
unsigned int  gsi,
int  iosapic_vector,
u16  eid,
u16  id,
unsigned long  polarity,
unsigned long  trigger 
)

Definition at line 861 of file iosapic.c.

void __init iosapic_system_init ( int  system_pcat_compat)

Definition at line 956 of file iosapic.c.

void iosapic_unregister_intr ( unsigned int  gsi)

Definition at line 785 of file iosapic.c.

Variable Documentation