Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
tce_64.c File Reference
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/spinlock.h>
#include <linux/string.h>
#include <linux/pci.h>
#include <linux/dma-mapping.h>
#include <linux/bootmem.h>
#include <asm/tce.h>
#include <asm/calgary.h>
#include <asm/proto.h>
#include <asm/cacheflush.h>

Go to the source code of this file.

Functions

void tce_build (struct iommu_table *tbl, unsigned long index, unsigned int npages, unsigned long uaddr, int direction)
 
void tce_free (struct iommu_table *tbl, long index, unsigned int npages)
 
int __init build_tce_table (struct pci_dev *dev, void __iomem *bbar)
 
void *__init alloc_tce_table (void)
 
void __init free_tce_table (void *tbl)
 

Function Documentation

void* __init alloc_tce_table ( void  )

Definition at line 169 of file tce_64.c.

int __init build_tce_table ( struct pci_dev dev,
void __iomem bbar 
)

Definition at line 135 of file tce_64.c.

void __init free_tce_table ( void tbl)

Definition at line 179 of file tce_64.c.

void tce_build ( struct iommu_table tbl,
unsigned long  index,
unsigned int  npages,
unsigned long  uaddr,
int  direction 
)

Definition at line 49 of file tce_64.c.

void tce_free ( struct iommu_table tbl,
long  index,
unsigned int  npages 
)

Definition at line 75 of file tce_64.c.