Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
pci.h File Reference
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/string.h>
#include <linux/types.h>
#include <asm/io.h>
#include <asm/scatterlist.h>
#include <asm/hw_irq.h>
#include <asm-generic/pci-dma-compat.h>

Go to the source code of this file.

Data Structures

struct  pci_vector_struct
 
struct  pci_window
 
struct  pci_controller
 

Macros

#define pcibios_assign_all_busses()   0
 
#define PCIBIOS_MIN_IO   0x1000
 
#define PCIBIOS_MIN_MEM   0x10000000
 
#define PCI_DMA_BUS_IS_PHYS   (ia64_max_iommu_merge_mask == ~0UL)
 
#define HAVE_PCI_MMAP
 
#define HAVE_PCI_LEGACY
 
#define pci_get_legacy_mem   platform_pci_get_legacy_mem
 
#define pci_legacy_read   platform_pci_legacy_read
 
#define pci_legacy_write   platform_pci_legacy_write
 
#define PCI_CONTROLLER(busdev)   ((struct pci_controller *) busdev->sysdata)
 
#define pci_domain_nr(busdev)   (PCI_CONTROLLER(busdev)->segment)
 
#define HAVE_ARCH_PCI_GET_LEGACY_IDE_IRQ
 

Functions

void pcibios_config_init (void)
 
int pci_mmap_page_range (struct pci_dev *dev, struct vm_area_struct *vma, enum pci_mmap_state mmap_state, int write_combine)
 
int pci_mmap_legacy_page_range (struct pci_bus *bus, struct vm_area_struct *vma, enum pci_mmap_state mmap_state)
 

Variables

unsigned long ia64_max_iommu_merge_mask
 
struct pci_ops pci_root_ops
 

Macro Definition Documentation

#define HAVE_ARCH_PCI_GET_LEGACY_IDE_IRQ

Definition at line 132 of file pci.h.

#define HAVE_PCI_LEGACY

Definition at line 83 of file pci.h.

#define HAVE_PCI_MMAP

Definition at line 80 of file pci.h.

#define PCI_CONTROLLER (   busdev)    ((struct pci_controller *) busdev->sysdata)

Definition at line 109 of file pci.h.

#define PCI_DMA_BUS_IS_PHYS   (ia64_max_iommu_merge_mask == ~0UL)

Definition at line 51 of file pci.h.

#define pci_domain_nr (   busdev)    (PCI_CONTROLLER(busdev)->segment)

Definition at line 110 of file pci.h.

#define pci_get_legacy_mem   platform_pci_get_legacy_mem

Definition at line 88 of file pci.h.

#define pci_legacy_read   platform_pci_legacy_read

Definition at line 89 of file pci.h.

#define pci_legacy_write   platform_pci_legacy_write

Definition at line 90 of file pci.h.

#define pcibios_assign_all_busses (   void)    0

Definition at line 27 of file pci.h.

#define PCIBIOS_MIN_IO   0x1000

Definition at line 29 of file pci.h.

#define PCIBIOS_MIN_MEM   0x10000000

Definition at line 30 of file pci.h.

Function Documentation

int pci_mmap_legacy_page_range ( struct pci_bus bus,
struct vm_area_struct vma,
enum pci_mmap_state  mmap_state 
)

pci_mmap_legacy_page_range - map legacy memory space to userland : bus whose legacy space we're mapping : vma passed in by mmap

Map legacy memory space for this device back to userspace using a machine vector to get the base address.

Definition at line 283 of file pci-sysfs.c.

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 629 of file bios32.c.

void pcibios_config_init ( void  )

Variable Documentation

unsigned long ia64_max_iommu_merge_mask

Definition at line 129 of file setup.c.

struct pci_ops pci_root_ops

Definition at line 30 of file pci-vdk.c.