Linux Kernel
3.7.1
|
#include <linux/syscore_ops.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/spinlock.h>
#include <linux/pm.h>
#include <linux/pci.h>
#include <linux/mutex.h>
#include <linux/slab.h>
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
Go to the source code of this file.
Data Structures | |
struct | acpi_pci_link_irq |
struct | acpi_pci_link |
Macros | |
#define | PREFIX "ACPI: " |
#define | _COMPONENT ACPI_PCI_COMPONENT |
#define | ACPI_PCI_LINK_CLASS "pci_irq_routing" |
#define | ACPI_PCI_LINK_DEVICE_NAME "PCI Interrupt Link" |
#define | ACPI_PCI_LINK_FILE_INFO "info" |
#define | ACPI_PCI_LINK_FILE_STATUS "state" |
#define | ACPI_PCI_LINK_MAX_POSSIBLE 16 |
#define | ACPI_MAX_IRQS 256 |
#define | ACPI_MAX_ISA_IRQ 16 |
#define | PIRQ_PENALTY_PCI_AVAILABLE (0) |
#define | PIRQ_PENALTY_PCI_POSSIBLE (16*16) |
#define | PIRQ_PENALTY_PCI_USING (16*16*16) |
#define | PIRQ_PENALTY_ISA_TYPICAL (16*16*16*16) |
#define | PIRQ_PENALTY_ISA_USED (16*16*16*16*16) |
#define | PIRQ_PENALTY_ISA_ALWAYS (16*16*16*16*16*16) |
Functions | |
ACPI_MODULE_NAME ("pci_link") | |
MODULE_DEVICE_TABLE (acpi, link_device_ids) | |
int __init | acpi_irq_penalty_init (void) |
int | acpi_pci_link_allocate_irq (acpi_handle handle, int index, int *triggering, int *polarity, char **name) |
int | acpi_pci_link_free_irq (acpi_handle handle) |
void | acpi_penalize_isa_irq (int irq, int active) |
__setup ("acpi_irq_isa=", acpi_irq_isa) | |
__setup ("acpi_irq_nobalance", acpi_irq_nobalance_set) | |
__setup ("acpi_irq_balance", acpi_irq_balance_set) | |
device_initcall (irqrouter_init_ops) | |
subsys_initcall (acpi_pci_link_init) | |
#define _COMPONENT ACPI_PCI_COMPONENT |
Definition at line 48 of file pci_link.c.
#define ACPI_MAX_IRQS 256 |
Definition at line 449 of file pci_link.c.
#define ACPI_MAX_ISA_IRQ 16 |
Definition at line 450 of file pci_link.c.
#define ACPI_PCI_LINK_CLASS "pci_irq_routing" |
Definition at line 50 of file pci_link.c.
#define ACPI_PCI_LINK_DEVICE_NAME "PCI Interrupt Link" |
Definition at line 51 of file pci_link.c.
#define ACPI_PCI_LINK_FILE_INFO "info" |
Definition at line 52 of file pci_link.c.
#define ACPI_PCI_LINK_FILE_STATUS "state" |
Definition at line 53 of file pci_link.c.
#define ACPI_PCI_LINK_MAX_POSSIBLE 16 |
Definition at line 54 of file pci_link.c.
#define PIRQ_PENALTY_ISA_ALWAYS (16*16*16*16*16*16) |
Definition at line 457 of file pci_link.c.
#define PIRQ_PENALTY_ISA_TYPICAL (16*16*16*16) |
Definition at line 455 of file pci_link.c.
#define PIRQ_PENALTY_ISA_USED (16*16*16*16*16) |
Definition at line 456 of file pci_link.c.
#define PIRQ_PENALTY_PCI_AVAILABLE (0) |
Definition at line 452 of file pci_link.c.
#define PIRQ_PENALTY_PCI_POSSIBLE (16*16) |
Definition at line 453 of file pci_link.c.
#define PIRQ_PENALTY_PCI_USING (16*16*16) |
Definition at line 454 of file pci_link.c.
#define PREFIX "ACPI: " |
Definition at line 46 of file pci_link.c.
__setup | ( | ) |
__setup | ( | "acpi_irq_nobalance" | , |
acpi_irq_nobalance_set | |||
) |
__setup | ( | "acpi_irq_balance" | , |
acpi_irq_balance_set | |||
) |
Definition at line 479 of file pci_link.c.
ACPI_MODULE_NAME | ( | "pci_link" | ) |
int acpi_pci_link_allocate_irq | ( | acpi_handle | handle, |
int | index, | ||
int * | triggering, | ||
int * | polarity, | ||
char ** | name | ||
) |
Definition at line 589 of file pci_link.c.
int acpi_pci_link_free_irq | ( | acpi_handle | handle | ) |
Definition at line 644 of file pci_link.c.
Definition at line 823 of file pci_link.c.
device_initcall | ( | irqrouter_init_ops | ) |
MODULE_DEVICE_TABLE | ( | acpi | , |
link_device_ids | |||
) |
subsys_initcall | ( | acpi_pci_link_init | ) |