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

Go to the source code of this file.

Macros

#define pcibios_assign_all_busses()   0
 
#define pci_controller_num(PDEV)   (0)
 
#define PCIBIOS_MIN_IO   0x100
 
#define PCIBIOS_MIN_MEM   0x00010000
 

Functions

void pcibios_set_master (struct pci_dev *dev)
 
void pcibios_penalize_isa_irq (int irq)
 
voidpci_alloc_consistent (struct pci_dev *hwdev, size_t size, dma_addr_t *dma_handle)
 
void pci_free_consistent (struct pci_dev *hwdev, size_t size, void *vaddr, dma_addr_t dma_handle)
 

Macro Definition Documentation

#define pci_controller_num (   PDEV)    (0)

Definition at line 44 of file pci.h.

#define pcibios_assign_all_busses (   void)    0

Definition at line 23 of file pci.h.

#define PCIBIOS_MIN_IO   0x100

Definition at line 60 of file pci.h.

#define PCIBIOS_MIN_MEM   0x00010000

Definition at line 61 of file pci.h.

Function Documentation

void* pci_alloc_consistent ( struct pci_dev hwdev,
size_t  size,
dma_addr_t dma_handle 
)
void pci_free_consistent ( struct pci_dev hwdev,
size_t  size,
void vaddr,
dma_addr_t  dma_handle 
)
void pcibios_penalize_isa_irq ( int  irq)

Definition at line 58 of file pci-irq.c.

void pcibios_set_master ( struct pci_dev dev)

pcibios_set_master - enable PCI bus-mastering for device dev : the PCI device to enable

Enables PCI bus-mastering for the device. This is the default implementation. Architecture specific implementations can override this if necessary.

Definition at line 271 of file pci.c.