Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
dma-coherence.h File Reference
#include <asm/pci/bridge.h>

Go to the source code of this file.

Macros

#define pdev_to_baddr(pdev, addr)   (BRIDGE_CONTROLLER(pdev->bus)->baddr + (addr))
 
#define dev_to_baddr(dev, addr)   pdev_to_baddr(to_pci_dev(dev), (addr))
 

Macro Definition Documentation

#define dev_to_baddr (   dev,
  addr 
)    pdev_to_baddr(to_pci_dev(dev), (addr))

Definition at line 16 of file dma-coherence.h.

#define pdev_to_baddr (   pdev,
  addr 
)    (BRIDGE_CONTROLLER(pdev->bus)->baddr + (addr))

Definition at line 14 of file dma-coherence.h.