Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pci_fire.c File Reference
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/msi.h>
#include <linux/export.h>
#include <linux/irq.h>
#include <linux/of_device.h>
#include <asm/prom.h>
#include <asm/irq.h>
#include <asm/upa.h>
#include "pci_impl.h"

Go to the source code of this file.

Macros

#define DRIVER_NAME   "fire"
 
#define PFX   DRIVER_NAME ": "
 
#define FIRE_IOMMU_CONTROL   0x40000UL
 
#define FIRE_IOMMU_TSBBASE   0x40008UL
 
#define FIRE_IOMMU_FLUSH   0x40100UL
 
#define FIRE_IOMMU_FLUSHINV   0x40108UL
 
#define FIRE_PARITY_CONTROL   0x470010UL
 
#define FIRE_PARITY_ENAB   0x8000000000000000UL
 
#define FIRE_FATAL_RESET_CTL   0x471028UL
 
#define FIRE_FATAL_RESET_SPARE   0x0000000004000000UL
 
#define FIRE_FATAL_RESET_MB   0x0000000002000000UL
 
#define FIRE_FATAL_RESET_CPE   0x0000000000008000UL
 
#define FIRE_FATAL_RESET_APE   0x0000000000004000UL
 
#define FIRE_FATAL_RESET_PIO   0x0000000000000040UL
 
#define FIRE_FATAL_RESET_JW   0x0000000000000004UL
 
#define FIRE_FATAL_RESET_JI   0x0000000000000002UL
 
#define FIRE_FATAL_RESET_JR   0x0000000000000001UL
 
#define FIRE_CORE_INTR_ENABLE   0x471800UL
 
#define FIRE_TLU_CTRL   0x80000UL
 
#define FIRE_TLU_CTRL_TIM   0x00000000da000000UL
 
#define FIRE_TLU_CTRL_QDET   0x0000000000000100UL
 
#define FIRE_TLU_CTRL_CFG   0x0000000000000001UL
 
#define FIRE_TLU_DEV_CTRL   0x90008UL
 
#define FIRE_TLU_LINK_CTRL   0x90020UL
 
#define FIRE_TLU_LINK_CTRL_CLK   0x0000000000000040UL
 
#define FIRE_LPU_RESET   0xe2008UL
 
#define FIRE_LPU_LLCFG   0xe2200UL
 
#define FIRE_LPU_LLCFG_VC0   0x0000000000000100UL
 
#define FIRE_LPU_FCTRL_UCTRL   0xe2240UL
 
#define FIRE_LPU_FCTRL_UCTRL_N   0x0000000000000002UL
 
#define FIRE_LPU_FCTRL_UCTRL_P   0x0000000000000001UL
 
#define FIRE_LPU_TXL_FIFOP   0xe2430UL
 
#define FIRE_LPU_LTSSM_CFG2   0xe2788UL
 
#define FIRE_LPU_LTSSM_CFG3   0xe2790UL
 
#define FIRE_LPU_LTSSM_CFG4   0xe2798UL
 
#define FIRE_LPU_LTSSM_CFG5   0xe27a0UL
 
#define FIRE_DMC_IENAB   0x31800UL
 
#define FIRE_DMC_DBG_SEL_A   0x53000UL
 
#define FIRE_DMC_DBG_SEL_B   0x53008UL
 
#define FIRE_PEC_IENAB   0x51800UL
 

Functions

 subsys_initcall (fire_init)
 

Macro Definition Documentation

#define DRIVER_NAME   "fire"

Definition at line 20 of file pci_fire.c.

#define FIRE_CORE_INTR_ENABLE   0x471800UL

Definition at line 338 of file pci_fire.c.

#define FIRE_DMC_DBG_SEL_A   0x53000UL

Definition at line 360 of file pci_fire.c.

#define FIRE_DMC_DBG_SEL_B   0x53008UL

Definition at line 361 of file pci_fire.c.

#define FIRE_DMC_IENAB   0x31800UL

Definition at line 359 of file pci_fire.c.

#define FIRE_FATAL_RESET_APE   0x0000000000004000UL

Definition at line 333 of file pci_fire.c.

#define FIRE_FATAL_RESET_CPE   0x0000000000008000UL

Definition at line 332 of file pci_fire.c.

#define FIRE_FATAL_RESET_CTL   0x471028UL

Definition at line 329 of file pci_fire.c.

#define FIRE_FATAL_RESET_JI   0x0000000000000002UL

Definition at line 336 of file pci_fire.c.

#define FIRE_FATAL_RESET_JR   0x0000000000000001UL

Definition at line 337 of file pci_fire.c.

#define FIRE_FATAL_RESET_JW   0x0000000000000004UL

Definition at line 335 of file pci_fire.c.

#define FIRE_FATAL_RESET_MB   0x0000000002000000UL

Definition at line 331 of file pci_fire.c.

#define FIRE_FATAL_RESET_PIO   0x0000000000000040UL

Definition at line 334 of file pci_fire.c.

#define FIRE_FATAL_RESET_SPARE   0x0000000004000000UL

Definition at line 330 of file pci_fire.c.

#define FIRE_IOMMU_CONTROL   0x40000UL

Definition at line 23 of file pci_fire.c.

#define FIRE_IOMMU_FLUSH   0x40100UL

Definition at line 25 of file pci_fire.c.

#define FIRE_IOMMU_FLUSHINV   0x40108UL

Definition at line 26 of file pci_fire.c.

#define FIRE_IOMMU_TSBBASE   0x40008UL

Definition at line 24 of file pci_fire.c.

#define FIRE_LPU_FCTRL_UCTRL   0xe2240UL

Definition at line 351 of file pci_fire.c.

#define FIRE_LPU_FCTRL_UCTRL_N   0x0000000000000002UL

Definition at line 352 of file pci_fire.c.

#define FIRE_LPU_FCTRL_UCTRL_P   0x0000000000000001UL

Definition at line 353 of file pci_fire.c.

#define FIRE_LPU_LLCFG   0xe2200UL

Definition at line 349 of file pci_fire.c.

#define FIRE_LPU_LLCFG_VC0   0x0000000000000100UL

Definition at line 350 of file pci_fire.c.

#define FIRE_LPU_LTSSM_CFG2   0xe2788UL

Definition at line 355 of file pci_fire.c.

#define FIRE_LPU_LTSSM_CFG3   0xe2790UL

Definition at line 356 of file pci_fire.c.

#define FIRE_LPU_LTSSM_CFG4   0xe2798UL

Definition at line 357 of file pci_fire.c.

#define FIRE_LPU_LTSSM_CFG5   0xe27a0UL

Definition at line 358 of file pci_fire.c.

#define FIRE_LPU_RESET   0xe2008UL

Definition at line 348 of file pci_fire.c.

#define FIRE_LPU_TXL_FIFOP   0xe2430UL

Definition at line 354 of file pci_fire.c.

#define FIRE_PARITY_CONTROL   0x470010UL

Definition at line 327 of file pci_fire.c.

#define FIRE_PARITY_ENAB   0x8000000000000000UL

Definition at line 328 of file pci_fire.c.

#define FIRE_PEC_IENAB   0x51800UL

Definition at line 362 of file pci_fire.c.

#define FIRE_TLU_CTRL   0x80000UL

Definition at line 341 of file pci_fire.c.

#define FIRE_TLU_CTRL_CFG   0x0000000000000001UL

Definition at line 344 of file pci_fire.c.

#define FIRE_TLU_CTRL_QDET   0x0000000000000100UL

Definition at line 343 of file pci_fire.c.

#define FIRE_TLU_CTRL_TIM   0x00000000da000000UL

Definition at line 342 of file pci_fire.c.

#define FIRE_TLU_DEV_CTRL   0x90008UL

Definition at line 345 of file pci_fire.c.

#define FIRE_TLU_LINK_CTRL   0x90020UL

Definition at line 346 of file pci_fire.c.

#define FIRE_TLU_LINK_CTRL_CLK   0x0000000000000040UL

Definition at line 347 of file pci_fire.c.

#define PFX   DRIVER_NAME ": "

Definition at line 21 of file pci_fire.c.

Function Documentation

subsys_initcall ( fire_init  )