Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/export.h>
#include <asm/sizes.h>
#include <asm/mach/pci.h>
#include <mach/iomap.h>
#include <mach/clk.h>
#include <mach/powergate.h>
#include "board.h"
Go to the source code of this file.
Data Structures | |
struct | tegra_pcie_port |
struct | tegra_pcie_info |
Functions | |
DECLARE_PCI_FIXUP_FINAL (PCI_ANY_ID, PCI_ANY_ID, tegra_pcie_fixup_bridge) | |
DECLARE_PCI_FIXUP_EARLY (PCI_VENDOR_ID_NVIDIA, 0x0bf0, tegra_pcie_fixup_class) | |
DECLARE_PCI_FIXUP_EARLY (PCI_VENDOR_ID_NVIDIA, 0x0bf1, tegra_pcie_fixup_class) | |
DECLARE_PCI_FIXUP_FINAL (PCI_ANY_ID, PCI_ANY_ID, tegra_pcie_relax_enable) | |
int __init | tegra_pcie_init (bool init_port0, bool init_port1) |
#define AFI_PCIE_CONFIG_SM2TMS0_XBAR_CONFIG_SINGLE (0x0 << 20) |
#define MEM_BASE_0 (TEGRA_PCIE_BASE + SZ_256M) |
#define MEM_BASE_1 (MEM_BASE_0 + MEM_SIZE_0) |
#define PCIE_CFG_OFF PCIE_REGS_SZ |
#define PCIE_EXT_CFG_OFF (PCIE_CFG_SZ + PCIE_CFG_OFF) |
#define PCIE_IOMAP_SZ (PCIE_REGS_SZ + PCIE_CFG_SZ + PCIE_EXT_CFG_SZ) |
#define pmc_readl | ( | reg | ) | __raw_readl(reg_pmc_base + (reg)) |
#define pmc_writel | ( | value, | |
reg | |||
) | __raw_writel(value, reg_pmc_base + (reg)) |
#define PREFETCH_MEM_BASE_0 (MEM_BASE_1 + MEM_SIZE_1) |
#define PREFETCH_MEM_BASE_1 (PREFETCH_MEM_BASE_0 + PREFETCH_MEM_SIZE_0) |
DECLARE_PCI_FIXUP_EARLY | ( | PCI_VENDOR_ID_NVIDIA | , |
0x0bf0 | , | ||
tegra_pcie_fixup_class | |||
) |
DECLARE_PCI_FIXUP_EARLY | ( | PCI_VENDOR_ID_NVIDIA | , |
0x0bf1 | , | ||
tegra_pcie_fixup_class | |||
) |
DECLARE_PCI_FIXUP_FINAL | ( | PCI_ANY_ID | , |
PCI_ANY_ID | , | ||
tegra_pcie_fixup_bridge | |||
) |
DECLARE_PCI_FIXUP_FINAL | ( | PCI_ANY_ID | , |
PCI_ANY_ID | , | ||
tegra_pcie_relax_enable | |||
) |