Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
pci-xlr.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 <linux/pci_regs.h>
#include <asm/io.h>
#include <asm/netlogic/interrupt.h>
#include <asm/netlogic/haldefs.h>
#include <asm/netlogic/xlr/msidef.h>
#include <asm/netlogic/xlr/iomap.h>
#include <asm/netlogic/xlr/pic.h>
#include <asm/netlogic/xlr/xlr.h>

Go to the source code of this file.

Macros

#define pci_cfg_addr(bus, devfn, off)   (((bus) << 16) | ((devfn) << 8) | (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) << 16) | ((devfn) << 8) | (off))

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

Function Documentation

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

Definition at line 322 of file pci-xlr.c.

int pcibios_plat_dev_init ( struct pci_dev dev)

Definition at line 328 of file pci-xlr.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-xlr.c.

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

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