Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
setup-bus.c File Reference
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/cache.h>
#include <linux/slab.h>
#include <asm-generic/pci-bridge.h>
#include "pci.h"

Go to the source code of this file.

Data Structures

struct  pci_dev_resource


#define PCI_P2P_DEFAULT_MEM_ALIGN   0x100000 /* 1MiB */
#define PCI_P2P_DEFAULT_IO_ALIGN   0x1000 /* 4KiB */
#define PCI_P2P_DEFAULT_IO_ALIGN_1K   0x400 /* 1KiB */


enum  release_type { leaf_only, whole_subtree }
enum  enable_type {
  undefined = -1, user_disabled, auto_disabled, user_enabled,


void pci_setup_cardbus (struct pci_bus *bus)
 EXPORT_SYMBOL (pci_setup_cardbus)
void pci_setup_bridge (struct pci_bus *bus)
resource_size_t __weak pcibios_window_alignment (struct pci_bus *bus, unsigned long type)
unsigned long pci_cardbus_resource_alignment (struct resource *res)
void __ref __pci_bus_size_bridges (struct pci_bus *bus, struct list_head *realloc_head)
void __ref pci_bus_size_bridges (struct pci_bus *bus)
 EXPORT_SYMBOL (pci_bus_size_bridges)
void __ref pci_bus_assign_resources (const struct pci_bus *bus)
 EXPORT_SYMBOL (pci_bus_assign_resources)
void __init pci_realloc_get_opt (char *str)
void __init pci_assign_unassigned_resources (void)
void pci_assign_unassigned_bridge_resources (struct pci_dev *bridge)
 EXPORT_SYMBOL_GPL (pci_assign_unassigned_bridge_resources)


unsigned int pci_flags

Macro Definition Documentation

#define PCI_P2P_DEFAULT_IO_ALIGN   0x1000 /* 4KiB */

Definition at line 707 of file setup-bus.c.

#define PCI_P2P_DEFAULT_IO_ALIGN_1K   0x400 /* 1KiB */

Definition at line 708 of file setup-bus.c.

#define PCI_P2P_DEFAULT_MEM_ALIGN   0x100000 /* 1MiB */

Definition at line 706 of file setup-bus.c.

Enumeration Type Documentation


Definition at line 1341 of file setup-bus.c.


Definition at line 1230 of file setup-bus.c.

Function Documentation

void __ref __pci_bus_size_bridges ( struct pci_bus bus,
struct list_head realloc_head 

Definition at line 1047 of file setup-bus.c.

EXPORT_SYMBOL ( pci_setup_cardbus  )
EXPORT_SYMBOL ( pci_bus_size_bridges  )
EXPORT_SYMBOL ( pci_bus_assign_resources  )
EXPORT_SYMBOL_GPL ( pci_assign_unassigned_bridge_resources  )
void pci_assign_unassigned_bridge_resources ( struct pci_dev bridge)

Definition at line 1491 of file setup-bus.c.

void __init pci_assign_unassigned_resources ( void  )

Definition at line 1393 of file setup-bus.c.

void __ref pci_bus_assign_resources ( const struct pci_bus bus)

Definition at line 1152 of file setup-bus.c.

void __ref pci_bus_size_bridges ( struct pci_bus bus)

Definition at line 1112 of file setup-bus.c.

unsigned long pci_cardbus_resource_alignment ( struct resource res)

Definition at line 945 of file setup-bus.c.

void __init pci_realloc_get_opt ( char str)

Definition at line 1350 of file setup-bus.c.

void pci_setup_bridge ( struct pci_bus bus)

Definition at line 578 of file setup-bus.c.

void pci_setup_cardbus ( struct pci_bus bus)

Definition at line 401 of file setup-bus.c.

resource_size_t __weak pcibios_window_alignment ( struct pci_bus bus,
unsigned long  type 

Definition at line 700 of file setup-bus.c.

Variable Documentation

unsigned int pci_flags

Definition at line 31 of file setup-bus.c.