Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
pci.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/io.h>

Go to the source code of this file.

Macros

#define CONFIG_CMD(bus, devfn, where)   (0x80000000 | (bus->number << 16) | (devfn << 8) | (where & ~3))
 

Functions

void pci_puv3_preinit (void)
 
void __init puv3_pci_adjust_zones (unsigned long *zone_size, unsigned long *zhole_size)
 
void __devinit pcibios_fixup_bus (struct pci_bus *bus)
 
 subsys_initcall (pci_common_init)
 
char *__init pcibios_setup (char *str)
 
void pcibios_set_master (struct pci_dev *dev)
 
resource_size_t pcibios_align_resource (void *data, const struct resource *res, resource_size_t size, resource_size_t align)
 
int pcibios_enable_device (struct pci_dev *dev, int mask)
 
int pci_mmap_page_range (struct pci_dev *dev, struct vm_area_struct *vma, enum pci_mmap_state mmap_state, int write_combine)
 

Variables

struct pci_ops pci_puv3_ops
 

Macro Definition Documentation

#define CONFIG_CMD (   bus,
  devfn,
  where 
)    (0x80000000 | (bus->number << 16) | (devfn << 8) | (where & ~3))

Definition at line 25 of file pci.c.

Function Documentation

int pci_mmap_page_range ( struct pci_dev dev,
struct vm_area_struct vma,
enum pci_mmap_state  mmap_state,
int  write_combine 
)

Definition at line 379 of file pci.c.

void pci_puv3_preinit ( void  )

Definition at line 73 of file pci.c.

resource_size_t pcibios_align_resource ( void data,
const struct resource res,
resource_size_t  size,
resource_size_t  align 
)

Definition at line 323 of file pci.c.

int pcibios_enable_device ( struct pci_dev dev,
int  mask 
)

pcibios_enable_device - Enable I/O and memory. : PCI device to be enabled

Definition at line 340 of file pci.c.

void __devinit pcibios_fixup_bus ( struct pci_bus bus)

Definition at line 170 of file pci.c.

void pcibios_set_master ( struct pci_dev dev)

Definition at line 303 of file pci.c.

char* __init pcibios_setup ( char str)

Definition at line 291 of file pci.c.

void __init puv3_pci_adjust_zones ( unsigned long zone_size,
unsigned long zhole_size 
)

Definition at line 140 of file pci.c.

subsys_initcall ( pci_common_init  )

Variable Documentation

struct pci_ops pci_puv3_ops
Initial value:
= {
.read = puv3_read_config,
.write = puv3_write_config,
}

Definition at line 68 of file pci.c.