Linux Kernel
3.7.1
|
#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 |
#define PCI_CONTROLLER | ( | busdev | ) | ((struct pci_controller *) busdev->sysdata) |
#define PCI_DMA_BUS_IS_PHYS (ia64_max_iommu_merge_mask == ~0UL) |
#define pci_domain_nr | ( | busdev | ) | (PCI_CONTROLLER(busdev)->segment) |
#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 |
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 | ||
) |