Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
dma-swiotlb.c File Reference
#include <linux/dma-mapping.h>
#include <linux/memblock.h>
#include <linux/pfn.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/pci.h>
#include <asm/machdep.h>
#include <asm/swiotlb.h>
#include <asm/dma.h>

Go to the source code of this file.

Functions

void pci_dma_dev_setup_swiotlb (struct pci_dev *pdev)
 
int __init swiotlb_setup_bus_notifier (void)
 
void swiotlb_detect_4g (void)
 
 subsys_initcall (swiotlb_late_init)
 

Variables

unsigned int ppc_swiotlb_enable
 
struct dma_map_ops swiotlb_dma_ops
 

Function Documentation

void pci_dma_dev_setup_swiotlb ( struct pci_dev pdev)

Definition at line 66 of file dma-swiotlb.c.

subsys_initcall ( swiotlb_late_init  )
void swiotlb_detect_4g ( void  )

Definition at line 109 of file dma-swiotlb.c.

int __init swiotlb_setup_bus_notifier ( void  )

Definition at line 102 of file dma-swiotlb.c.

Variable Documentation

unsigned int ppc_swiotlb_enable

Definition at line 25 of file dma-swiotlb.c.

struct dma_map_ops swiotlb_dma_ops
Initial value:
= {
.dma_supported = swiotlb_dma_supported,
.map_page = swiotlb_map_page,
.unmap_page = swiotlb_unmap_page,
.sync_single_for_cpu = swiotlb_sync_single_for_cpu,
.sync_single_for_device = swiotlb_sync_single_for_device,
.sync_sg_for_cpu = swiotlb_sync_sg_for_cpu,
.sync_sg_for_device = swiotlb_sync_sg_for_device,
.mapping_error = swiotlb_dma_mapping_error,
.get_required_mask = swiotlb_powerpc_get_required,
}

Definition at line 49 of file dma-swiotlb.c.