Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <linux/init.h>
#include <linux/io.h>
#include <mach/hardware.h>
#include <mach/platform.h>
#include <mach/irqs.h>
#include <asm/signal.h>
#include <asm/mach/pci.h>
#include <asm/irq_regs.h>
#include <asm/hardware/pci_v3.h>
Go to the source code of this file.
Macros | |
#define | v3_writeb(o, v) __raw_writeb(v, PCI_V3_VADDR + (unsigned int)(o)) |
#define | v3_readb(o) (__raw_readb(PCI_V3_VADDR + (unsigned int)(o))) |
#define | v3_writew(o, v) __raw_writew(v, PCI_V3_VADDR + (unsigned int)(o)) |
#define | v3_readw(o) (__raw_readw(PCI_V3_VADDR + (unsigned int)(o))) |
#define | v3_writel(o, v) __raw_writel(v, PCI_V3_VADDR + (unsigned int)(o)) |
#define | v3_readl(o) (__raw_readl(PCI_V3_VADDR + (unsigned int)(o))) |
#define | PCI_BUS_NONMEM_START 0x00000000 |
#define | PCI_BUS_NONMEM_SIZE SZ_256M |
#define | PCI_BUS_PREMEM_START PCI_BUS_NONMEM_START + PCI_BUS_NONMEM_SIZE |
#define | PCI_BUS_PREMEM_SIZE SZ_256M |
#define | V3_LB_BASE_PREFETCH 0 |
#define | SC_PCI __io_address(INTEGRATOR_SC_PCIENABLE) |
#define | SC_LBFADDR __io_address(INTEGRATOR_SC_BASE + 0x20) |
#define | SC_LBFCODE __io_address(INTEGRATOR_SC_BASE + 0x24) |
Functions | |
int __init | pci_v3_setup (int nr, struct pci_sys_data *sys) |
void __init | pci_v3_preinit (void) |
void __init | pci_v3_postinit (void) |
Variables | |
struct pci_ops | pci_v3_ops |
#define PCI_BUS_PREMEM_START PCI_BUS_NONMEM_START + PCI_BUS_NONMEM_SIZE |
#define SC_LBFADDR __io_address(INTEGRATOR_SC_BASE + 0x20) |
#define SC_LBFCODE __io_address(INTEGRATOR_SC_BASE + 0x24) |
#define SC_PCI __io_address(INTEGRATOR_SC_PCIENABLE) |
#define v3_readb | ( | o | ) | (__raw_readb(PCI_V3_VADDR + (unsigned int)(o))) |
#define v3_readl | ( | o | ) | (__raw_readl(PCI_V3_VADDR + (unsigned int)(o))) |
#define v3_readw | ( | o | ) | (__raw_readw(PCI_V3_VADDR + (unsigned int)(o))) |
#define v3_writeb | ( | o, | |
v | |||
) | __raw_writeb(v, PCI_V3_VADDR + (unsigned int)(o)) |
#define v3_writel | ( | o, | |
v | |||
) | __raw_writel(v, PCI_V3_VADDR + (unsigned int)(o)) |
#define v3_writew | ( | o, | |
v | |||
) | __raw_writew(v, PCI_V3_VADDR + (unsigned int)(o)) |
int __init pci_v3_setup | ( | int | nr, |
struct pci_sys_data * | sys | ||
) |