Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
irq_remapping.c File Reference
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/cpumask.h>
#include <linux/errno.h>
#include <linux/msi.h>
#include <asm/hw_irq.h>
#include <asm/irq_remapping.h>
#include "irq_remapping.h"

Go to the source code of this file.

Functions

 early_param ("nointremap", setup_nointremap)
 
 early_param ("intremap", setup_irqremap)
 
void __init setup_irq_remapping_ops (void)
 
int irq_remapping_supported (void)
 
int __init irq_remapping_prepare (void)
 
int __init irq_remapping_enable (void)
 
void irq_remapping_disable (void)
 
int irq_remapping_reenable (int mode)
 
int __init irq_remap_enable_fault_handling (void)
 
int setup_ioapic_remapped_entry (int irq, struct IO_APIC_route_entry *entry, unsigned int destination, int vector, struct io_apic_irq_attr *attr)
 
int set_remapped_irq_affinity (struct irq_data *data, const struct cpumask *mask, bool force)
 
void free_remapped_irq (int irq)
 
void compose_remapped_msi_msg (struct pci_dev *pdev, unsigned int irq, unsigned int dest, struct msi_msg *msg, u8 hpet_id)
 
int msi_alloc_remapped_irq (struct pci_dev *pdev, int irq, int nvec)
 
int msi_setup_remapped_irq (struct pci_dev *pdev, unsigned int irq, int index, int sub_handle)
 
int setup_hpet_msi_remapped (unsigned int irq, unsigned int id)
 

Variables

int irq_remapping_enabled
 
int disable_irq_remap
 
int disable_sourceid_checking
 
int no_x2apic_optout
 

Function Documentation

void compose_remapped_msi_msg ( struct pci_dev pdev,
unsigned int  irq,
unsigned int  dest,
struct msi_msg msg,
u8  hpet_id 
)

Definition at line 142 of file irq_remapping.c.

early_param ( "nointremap"  ,
setup_nointremap   
)
early_param ( "intremap"  ,
setup_irqremap   
)
void free_remapped_irq ( int  irq)

Definition at line 134 of file irq_remapping.c.

int __init irq_remap_enable_fault_handling ( void  )

Definition at line 104 of file irq_remapping.c.

void irq_remapping_disable ( void  )

Definition at line 88 of file irq_remapping.c.

int __init irq_remapping_enable ( void  )

Definition at line 80 of file irq_remapping.c.

int __init irq_remapping_prepare ( void  )

Definition at line 72 of file irq_remapping.c.

int irq_remapping_reenable ( int  mode)

Definition at line 96 of file irq_remapping.c.

int irq_remapping_supported ( void  )

Definition at line 61 of file irq_remapping.c.

int msi_alloc_remapped_irq ( struct pci_dev pdev,
int  irq,
int  nvec 
)

Definition at line 152 of file irq_remapping.c.

int msi_setup_remapped_irq ( struct pci_dev pdev,
unsigned int  irq,
int  index,
int  sub_handle 
)

Definition at line 160 of file irq_remapping.c.

int set_remapped_irq_affinity ( struct irq_data data,
const struct cpumask mask,
bool  force 
)

Definition at line 124 of file irq_remapping.c.

int setup_hpet_msi_remapped ( unsigned int  irq,
unsigned int  id 
)

Definition at line 169 of file irq_remapping.c.

int setup_ioapic_remapped_entry ( int  irq,
struct IO_APIC_route_entry entry,
unsigned int  destination,
int  vector,
struct io_apic_irq_attr attr 
)

Definition at line 112 of file irq_remapping.c.

void __init setup_irq_remapping_ops ( void  )

Definition at line 51 of file irq_remapping.c.

Variable Documentation

int disable_irq_remap

Definition at line 14 of file irq_remapping.c.

int disable_sourceid_checking

Definition at line 15 of file irq_remapping.c.

int irq_remapping_enabled

Definition at line 12 of file irq_remapping.c.

int no_x2apic_optout

Definition at line 16 of file irq_remapping.c.