Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
pci-bcm1480ht.c File Reference
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/console.h>
#include <linux/tty.h>
#include <asm/sibyte/bcm1480_regs.h>
#include <asm/sibyte/bcm1480_scd.h>
#include <asm/sibyte/board.h>
#include <asm/io.h>

Go to the source code of this file.

Macros

#define CFGOFFSET(bus, devfn, where)   (((bus)<<16)+((devfn)<<8)+(where))
 
#define CFGADDR(bus, devfn, where)   CFGOFFSET((bus)->number, (devfn), where)
 
#define PCI_BUS_ENABLED   1
 
#define PCI_DEVICE_MODE   2
 
#define PCI_BRIDGE_DEVICE   0
 
#define HT_BRIDGE_DEVICE   1
 

Functions

 arch_initcall (bcm1480ht_pcibios_init)
 

Variables

unsigned long ht_eoi_space
 
struct pci_ops bcm1480ht_pci_ops
 
struct pci_controller bcm1480ht_controller
 

Macro Definition Documentation

#define CFGADDR (   bus,
  devfn,
  where 
)    CFGOFFSET((bus)->number, (devfn), where)

Definition at line 52 of file pci-bcm1480ht.c.

#define CFGOFFSET (   bus,
  devfn,
  where 
)    (((bus)<<16)+((devfn)<<8)+(where))

Definition at line 51 of file pci-bcm1480ht.c.

#define HT_BRIDGE_DEVICE   1

Definition at line 62 of file pci-bcm1480ht.c.

#define PCI_BRIDGE_DEVICE   0

Definition at line 61 of file pci-bcm1480ht.c.

#define PCI_BUS_ENABLED   1

Definition at line 56 of file pci-bcm1480ht.c.

#define PCI_DEVICE_MODE   2

Definition at line 57 of file pci-bcm1480ht.c.

Function Documentation

arch_initcall ( bcm1480ht_pcibios_init  )

Variable Documentation

struct pci_controller bcm1480ht_controller
Initial value:
= {
.pci_ops = &bcm1480ht_pci_ops,
.mem_resource = &bcm1480ht_mem_resource,
.io_resource = &bcm1480ht_io_resource,
.index = 1,
.get_busno = bcm1480ht_pcibios_get_busno,
}

Definition at line 188 of file pci-bcm1480ht.c.

struct pci_ops bcm1480ht_pci_ops
Initial value:
= {
.read = bcm1480ht_pcibios_read,
.write = bcm1480ht_pcibios_write,
}

Definition at line 169 of file pci-bcm1480ht.c.

unsigned long ht_eoi_space

Definition at line 68 of file pci-bcm1480ht.c.