Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
spider-pci.c File Reference
#include <linux/kernel.h>
#include <linux/of_platform.h>
#include <linux/slab.h>
#include <linux/io.h>
#include <asm/ppc-pci.h>
#include <asm/pci-bridge.h>
#include <asm/io-workarounds.h>

Go to the source code of this file.

Data Structures

struct  spiderpci_iowa_private
 

Macros

#define SPIDER_PCI_DISABLE_PREFETCH
 
#define SPIDER_PCI_MMIO_READ(name, ret)
 
#define SPIDER_PCI_MMIO_READ_STR(name)
 

Functions

int __init spiderpci_iowa_init (struct iowa_bus *bus, void *data)
 

Variables

struct ppc_pci_io spiderpci_ops
 

Macro Definition Documentation

#define SPIDER_PCI_DISABLE_PREFETCH

Definition at line 32 of file spider-pci.c.

#define SPIDER_PCI_MMIO_READ (   name,
  ret 
)
Value:
static ret spiderpci_##name(const PCI_IO_ADDR addr) \
{ \
ret val = __do_##name(addr); \
spiderpci_io_flush(iowa_mem_find_bus(addr)); \
return val; \
}

Definition at line 48 of file spider-pci.c.

#define SPIDER_PCI_MMIO_READ_STR (   name)
Value:
static void spiderpci_##name(const PCI_IO_ADDR addr, void *buf, \
unsigned long count) \
{ \
__do_##name(addr, buf, count); \
spiderpci_io_flush(iowa_mem_find_bus(addr)); \
}

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

Function Documentation

int __init spiderpci_iowa_init ( struct iowa_bus bus,
void data 
)

Definition at line 125 of file spider-pci.c.

Variable Documentation

struct ppc_pci_io spiderpci_ops
Initial value:
= {
.readb = spiderpci_readb,
.readw = spiderpci_readw,
.readl = spiderpci_readl,
.readq = spiderpci_readq,
.readw_be = spiderpci_readw_be,
.readl_be = spiderpci_readl_be,
.readq_be = spiderpci_readq_be,
.readsb = spiderpci_readsb,
.readsw = spiderpci_readsw,
.readsl = spiderpci_readsl,
.memcpy_fromio = spiderpci_memcpy_fromio,
}

Definition at line 171 of file spider-pci.c.