Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
ops-rc32434.c File Reference
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/pci.h>
#include <linux/types.h>
#include <asm/cpu.h>
#include <asm/mach-rc32434/rc32434.h>
#include <asm/mach-rc32434/pci.h>

Go to the source code of this file.

Macros

#define PCI_ACCESS_READ   0
 
#define PCI_ACCESS_WRITE   1
 
#define PCI_CFG_SET(bus, slot, func, off)
 

Variables

struct pci_ops rc32434_pci_ops
 

Macro Definition Documentation

#define PCI_ACCESS_READ   0

Definition at line 38 of file ops-rc32434.c.

#define PCI_ACCESS_WRITE   1

Definition at line 39 of file ops-rc32434.c.

#define PCI_CFG_SET (   bus,
  slot,
  func,
  off 
)
Value:
(rc32434_pci->pcicfga = (0x80000000 | \
((bus) << 16) | ((slot)<<11) | \
((func)<<8) | (off)))

Definition at line 42 of file ops-rc32434.c.

Variable Documentation

struct pci_ops rc32434_pci_ops
Initial value:
= {
.read = pci_config_read,
.write = pci_config_write,
}

Definition at line 204 of file ops-rc32434.c.