#include <linux/kernel.h>
#include <linux/mmzone.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/string.h>
#include <linux/init.h>
#include <linux/capability.h>
#include <linux/sched.h>
#include <linux/errno.h>
#include <linux/irq.h>
#include <linux/msi.h>
#include <linux/io.h>
#include <linux/uaccess.h>
#include <linux/ctype.h>
#include <asm/processor.h>
#include <asm/sections.h>
#include <asm/byteorder.h>
#include <gxio/iorpc_globals.h>
#include <gxio/kiorpc.h>
#include <gxio/trio.h>
#include <gxio/iorpc_trio.h>
#include <hv/drv_trio_intf.h>
#include <arch/sim.h>
Go to the source code of this file.
|
resource_size_t | pcibios_align_resource (void *data, const struct resource *res, resource_size_t size, resource_size_t align) |
|
| EXPORT_SYMBOL (pcibios_align_resource) |
|
int __init | tile_pci_init (void) |
|
| early_param ("pcie_rc_delay", setup_pcie_rc_delay) |
|
int __init | pcibios_init (void) |
|
| subsys_initcall (pcibios_init) |
|
void __devinit | pcibios_fixup_bus (struct pci_bus *bus) |
|
char __devinit * | pcibios_setup (char *str) |
|
int | pcibios_enable_device (struct pci_dev *dev, int mask) |
|
| DECLARE_PCI_FIXUP_FINAL (PCI_ANY_ID, PCI_ANY_ID, pcibios_fixup_final) |
|
void __iomem * | ioremap (resource_size_t phys_addr, unsigned long size) |
|
| EXPORT_SYMBOL (ioremap) |
|
void | pci_iounmap (struct pci_dev *dev, void __iomem *addr) |
|
| EXPORT_SYMBOL (pci_iounmap) |
|
int | arch_setup_msi_irq (struct pci_dev *pdev, struct msi_desc *desc) |
|
void | arch_teardown_msi_irq (unsigned int irq) |
|
#define DEFAULT_RC_DELAY 10 |
#define TRACE_CFG_RD |
( |
|
... | ) |
|
#define TRACE_CFG_WR |
( |
|
... | ) |
|
Called when a driver request MSI interrupts instead of the legacy INT A-D. This routine will allocate multiple interrupts for MSI devices that support them. A device can override this by programming the MSI control bits [6:4] before calling pci_enable_msi().
: Device requesting MSI interrupts : MSI descriptor
Returns 0 on success.
Definition at line 1432 of file pci_gx.c.
void arch_teardown_msi_irq |
( |
unsigned int |
irq | ) |
|
Called when a device no longer needs its MSI interrupts. All MSI interrupts for the device are freed.
: The devices first irq number. There may be multple in sequence.
Definition at line 1532 of file pci_gx.c.
early_param |
( |
"pcie_rc_delay" |
, |
|
|
setup_pcie_rc_delay |
|
|
) |
| |