Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/string.h>
#include <linux/init.h>
#include <linux/bootmem.h>
#include <linux/mm.h>
#include <linux/list.h>
#include <linux/syscalls.h>
#include <linux/irq.h>
#include <linux/vmalloc.h>
#include <linux/slab.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_pci.h>
#include <linux/export.h>
#include <asm/processor.h>
#include <asm/io.h>
#include <asm/pci-bridge.h>
#include <asm/byteorder.h>
Go to the source code of this file.
Macros | |
#define | NULL_PCI_OP(rw, size, type) |
#define | EARLY_PCI_OP(rw, size, type) |
Variables | |
resource_size_t | isa_mem_base |
unsigned long | isa_io_base |
unsigned long | pci_dram_offset |
Definition at line 1577 of file pci-common.c.
DECLARE_PCI_FIXUP_HEADER | ( | PCI_ANY_ID | , |
PCI_ANY_ID | , | ||
pcibios_fixup_resources | |||
) |
Definition at line 1636 of file pci-common.c.
EXPORT_SYMBOL | ( | get_pci_dma_ops | ) |
EXPORT_SYMBOL | ( | pci_domain_nr | ) |
EXPORT_SYMBOL | ( | pci_read_irq_line | ) |
EXPORT_SYMBOL | ( | pcibios_fixup_bus | ) |
EXPORT_SYMBOL | ( | pcibios_align_resource | ) |
EXPORT_SYMBOL_GPL | ( | pci_address_to_pio | ) |
|
read |
Definition at line 61 of file pci-common.c.
LIST_HEAD | ( | hose_list | ) |
unsigned long pci_address_to_pio | ( | phys_addr_t | address | ) |
Definition at line 117 of file pci-common.c.
Definition at line 143 of file pci-common.c.
|
read |
Definition at line 158 of file pci-common.c.
Definition at line 444 of file pci-common.c.
Definition at line 484 of file pci-common.c.
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 529 of file pci-common.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 420 of file pci-common.c.
pgprot_t pci_phys_mem_access_prot | ( | struct file * | file, |
unsigned long | pfn, | ||
unsigned long | size, | ||
pgprot_t | prot | ||
) |
Definition at line 366 of file pci-common.c.
Definition at line 823 of file pci-common.c.
void __devinit pci_process_bridge_OF_ranges | ( | struct pci_controller * | hose, |
struct device_node * | dev, | ||
int | primary | ||
) |
pci_process_bridge_OF_ranges - Parse PCI bridge resources from device tree : newly allocated pci_controller to be setup : device node of the host bridge : set if primary bus (32 bits only, soon to be deprecated)
This function will parse the "ranges" property of a PCI host bridge device node and setup the resource mapping of a pci controller based on its content.
Life would be boring if it wasn't for a few issues that we have to deal with here:
Definition at line 658 of file pci-common.c.
Definition at line 200 of file pci-common.c.
void pci_resource_to_user | ( | const struct pci_dev * | dev, |
int | bar, | ||
const struct resource * | rsrc, | ||
resource_size_t * | start, | ||
resource_size_t * | end | ||
) |
Definition at line 586 of file pci-common.c.
Definition at line 185 of file pci-common.c.
resource_size_t pcibios_align_resource | ( | void * | data, |
const struct resource * | res, | ||
resource_size_t | size, | ||
resource_size_t | align | ||
) |
Definition at line 1040 of file pci-common.c.
|
read |
Definition at line 67 of file pci-common.c.
Definition at line 1127 of file pci-common.c.
Definition at line 1412 of file pci-common.c.
Definition at line 1005 of file pci-common.c.
void pcibios_free_controller | ( | struct pci_controller * | phb | ) |
Definition at line 83 of file pci-common.c.
|
read |
Definition at line 1477 of file pci-common.c.
Definition at line 1324 of file pci-common.c.
Definition at line 190 of file pci-common.c.
Definition at line 980 of file pci-common.c.
Definition at line 973 of file pci-common.c.
Definition at line 98 of file pci-common.c.
void set_pci_dma_ops | ( | struct dma_map_ops * | dma_ops | ) |
Definition at line 56 of file pci-common.c.
subsys_initcall | ( | pcibios_init | ) |
Definition at line 1548 of file pci-common.c.
unsigned long isa_io_base |
Definition at line 51 of file pci-common.c.
resource_size_t isa_mem_base |
Definition at line 47 of file pci-common.c.
unsigned long pci_dram_offset |
Definition at line 52 of file pci-common.c.