Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
pci-xlp.c File Reference
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/msi.h>
#include <linux/mm.h>
#include <linux/irq.h>
#include <linux/irqdesc.h>
#include <linux/console.h>
#include <asm/io.h>
#include <asm/netlogic/interrupt.h>
#include <asm/netlogic/haldefs.h>
#include <asm/netlogic/xlp-hal/iomap.h>
#include <asm/netlogic/xlp-hal/pic.h>
#include <asm/netlogic/xlp-hal/xlp.h>
#include <asm/netlogic/xlp-hal/pcibus.h>
#include <asm/netlogic/xlp-hal/bridge.h>

Go to the source code of this file.

Macros

#define pci_cfg_addr(bus, devfn, off)   (((bus) << 20) | ((devfn) << 12) | (off))
 

Functions

int __init pcibios_map_irq (const struct pci_dev *dev, u8 slot, u8 pin)
 
int pcibios_plat_dev_init (struct pci_dev *dev)
 
 arch_initcall (pcibios_init)
 

Variables

struct pci_ops nlm_pci_ops
 
struct pci_controller nlm_pci_controller
 

Macro Definition Documentation

#define pci_cfg_addr (   bus,
  devfn,
  off 
)    (((bus) << 20) | ((devfn) << 12) | (off))

Definition at line 58 of file pci-xlp.c.

Function Documentation

arch_initcall ( pcibios_init  )
int __init pcibios_map_irq ( const struct pci_dev dev,
u8  slot,
u8  pin 
)

Definition at line 183 of file pci-xlp.c.

int pcibios_plat_dev_init ( struct pci_dev dev)

Definition at line 189 of file pci-xlp.c.

Variable Documentation

struct pci_controller nlm_pci_controller
Initial value:
= {
.index = 0,
.pci_ops = &nlm_pci_ops,
.mem_resource = &nlm_pci_mem_resource,
.mem_offset = 0x00000000UL,
.io_resource = &nlm_pci_io_resource,
.io_offset = 0x00000000UL,
}

Definition at line 151 of file pci-xlp.c.

struct pci_ops nlm_pci_ops
Initial value:
= {
.read = nlm_pcibios_read,
.write = nlm_pcibios_write
}

Definition at line 132 of file pci-xlp.c.