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/kernel.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/string.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/errno.h>
#include <linux/bootmem.h>
#include <asm/pci-bridge.h>
#include <asm/platform.h>

Go to the source code of this file.

Macros

#define DBG(x...)
 

Functions

resource_size_t pcibios_align_resource (void *data, const struct resource *res, resource_size_t size, resource_size_t align)
 
int pcibios_enable_resources (struct pci_dev *dev, int mask)
 
struct pci_controller *__init pcibios_alloc_controller (void)
 
 subsys_initcall (pcibios_init)
 
void __init pcibios_fixup_bus (struct pci_bus *bus)
 
void pcibios_set_master (struct pci_dev *dev)
 
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_controllerpci_ctrl_head
 
struct pci_controller ** pci_ctrl_tail = &pci_ctrl_head
 

Macro Definition Documentation

#define DBG (   x...)

Definition at line 37 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 354 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 72 of file pci.c.

struct pci_controller* __init pcibios_alloc_controller ( void  )
read

Definition at line 123 of file pci.c.

int pcibios_enable_device ( struct pci_dev dev,
int  mask 
)

Definition at line 213 of file pci.c.

int pcibios_enable_resources ( struct pci_dev dev,
int  mask 
)

Definition at line 93 of file pci.c.

void __init pcibios_fixup_bus ( struct pci_bus bus)

Definition at line 200 of file pci.c.

void pcibios_set_master ( struct pci_dev dev)

Definition at line 208 of file pci.c.

subsys_initcall ( pcibios_init  )

Variable Documentation

struct pci_controller* pci_ctrl_head

Definition at line 53 of file pci.c.

struct pci_controller** pci_ctrl_tail = &pci_ctrl_head

Definition at line 54 of file pci.c.