Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
pci-rc32434.c File Reference
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/kernel.h>
#include <linux/init.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_MEM1_START   PCI_ADDR_START
 
#define PCI_MEM1_END   (PCI_ADDR_START + CPUTOPCI_MEM_WIN - 1)
 
#define PCI_MEM2_START   (PCI_ADDR_START + CPUTOPCI_MEM_WIN)
 
#define PCI_MEM2_END   (PCI_ADDR_START + (2 * CPUTOPCI_MEM_WIN) - 1)
 
#define PCI_IO1_START   (PCI_ADDR_START + (2 * CPUTOPCI_MEM_WIN))
 
#define PCI_IO1_END   (PCI_ADDR_START + (2 * CPUTOPCI_MEM_WIN) + CPUTOPCI_IO_WIN - 1)
 
#define PCI_IO2_START   (PCI_ADDR_START + (2 * CPUTOPCI_MEM_WIN) + CPUTOPCI_IO_WIN)
 
#define PCI_IO2_END   (PCI_ADDR_START + (2 * CPUTOPCI_MEM_WIN) + (2 * CPUTOPCI_IO_WIN) - 1)
 
#define PCI_ENDIAN_FLAG   0
 

Functions

 arch_initcall (rc32434_pci_init)
 

Variables

struct pci_ops rc32434_pci_ops
 
struct pci_controller rc32434_controller2
 
struct pci_controller rc32434_controller
 

Macro Definition Documentation

#define PCI_ACCESS_READ   0

Definition at line 36 of file pci-rc32434.c.

#define PCI_ACCESS_WRITE   1

Definition at line 37 of file pci-rc32434.c.

#define PCI_ENDIAN_FLAG   0

Definition at line 106 of file pci-rc32434.c.

#define PCI_IO1_END   (PCI_ADDR_START + (2 * CPUTOPCI_MEM_WIN) + CPUTOPCI_IO_WIN - 1)

Definition at line 85 of file pci-rc32434.c.

#define PCI_IO1_START   (PCI_ADDR_START + (2 * CPUTOPCI_MEM_WIN))

Definition at line 84 of file pci-rc32434.c.

#define PCI_IO2_END   (PCI_ADDR_START + (2 * CPUTOPCI_MEM_WIN) + (2 * CPUTOPCI_IO_WIN) - 1)

Definition at line 89 of file pci-rc32434.c.

#define PCI_IO2_START   (PCI_ADDR_START + (2 * CPUTOPCI_MEM_WIN) + CPUTOPCI_IO_WIN)

Definition at line 87 of file pci-rc32434.c.

#define PCI_MEM1_END   (PCI_ADDR_START + CPUTOPCI_MEM_WIN - 1)

Definition at line 81 of file pci-rc32434.c.

#define PCI_MEM1_START   PCI_ADDR_START

Definition at line 80 of file pci-rc32434.c.

#define PCI_MEM2_END   (PCI_ADDR_START + (2 * CPUTOPCI_MEM_WIN) - 1)

Definition at line 83 of file pci-rc32434.c.

#define PCI_MEM2_START   (PCI_ADDR_START + CPUTOPCI_MEM_WIN)

Definition at line 82 of file pci-rc32434.c.

Function Documentation

arch_initcall ( rc32434_pci_init  )

Variable Documentation

struct pci_controller rc32434_controller
Initial value:
= {
.pci_ops = &rc32434_pci_ops,
.mem_resource = &rc32434_res_pci_mem1,
.io_resource = &rc32434_res_pci_io1,
.mem_offset = 0,
.io_offset = 0,
}

Definition at line 94 of file pci-rc32434.c.

struct pci_controller rc32434_controller2

Definition at line 92 of file pci-rc32434.c.

struct pci_ops rc32434_pci_ops

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