Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/notifier.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/slab.h>
#include <linux/memblock.h>
#include <asm/prom.h>
#include <asm/iommu.h>
#include <asm/machdep.h>
#include <asm/pci-bridge.h>
#include <asm/udbg.h>
#include <asm/firmware.h>
#include <asm/cell-regs.h>
#include "interrupt.h"
Go to the source code of this file.
Data Structures | |
struct | iommu_window |
struct | cbe_iommu |
Macros | |
#define | CELL_IOMMU_REAL_UNMAP |
#define | CELL_IOMMU_STRICT_PROTECTION |
#define | NR_IOMMUS 2 |
#define | IOC_Reg_Size 0x2000 |
#define | IOC_IOPT_CacheInvd 0x908 |
#define | IOC_IOPT_CacheInvd_NE_Mask 0xffe0000000000000ul |
#define | IOC_IOPT_CacheInvd_IOPTE_Mask 0x000003fffffffff8ul |
#define | IOC_IOPT_CacheInvd_Busy 0x0000000000000001ul |
#define | IOC_IOST_Origin 0x918 |
#define | IOC_IOST_Origin_E 0x8000000000000000ul |
#define | IOC_IOST_Origin_HW 0x0000000000000800ul |
#define | IOC_IOST_Origin_HL 0x0000000000000400ul |
#define | IOC_IO_ExcpStat 0x920 |
#define | IOC_IO_ExcpStat_V 0x8000000000000000ul |
#define | IOC_IO_ExcpStat_SPF_Mask 0x6000000000000000ul |
#define | IOC_IO_ExcpStat_SPF_S 0x6000000000000000ul |
#define | IOC_IO_ExcpStat_SPF_P 0x2000000000000000ul |
#define | IOC_IO_ExcpStat_ADDR_Mask 0x00000007fffff000ul |
#define | IOC_IO_ExcpStat_RW_Mask 0x0000000000000800ul |
#define | IOC_IO_ExcpStat_IOID_Mask 0x00000000000007fful |
#define | IOC_IO_ExcpMask 0x928 |
#define | IOC_IO_ExcpMask_SFE 0x4000000000000000ul |
#define | IOC_IO_ExcpMask_PFE 0x2000000000000000ul |
#define | IOC_IOCmd_Offset 0x1000 |
#define | IOC_IOCmd_Cfg 0xc00 |
#define | IOC_IOCmd_Cfg_TE 0x0000800000000000ul |
#define | IOSTE_V 0x8000000000000000ul /* valid */ |
#define | IOSTE_H 0x4000000000000000ul /* cache hint */ |
#define | IOSTE_PT_Base_RPN_Mask 0x3ffffffffffff000ul /* base RPN of IOPT */ |
#define | IOSTE_NPPT_Mask 0x0000000000000fe0ul /* no. pages in IOPT */ |
#define | IOSTE_PS_Mask 0x0000000000000007ul /* page size */ |
#define | IOSTE_PS_4K 0x0000000000000001ul /* - 4kB */ |
#define | IOSTE_PS_64K 0x0000000000000003ul /* - 64kB */ |
#define | IOSTE_PS_1M 0x0000000000000005ul /* - 1MB */ |
#define | IOSTE_PS_16M 0x0000000000000007ul /* - 16MB */ |
#define | IO_SEGMENT_SHIFT 28 |
#define | IO_PAGENO_BITS(shift) (IO_SEGMENT_SHIFT - (shift)) |
#define | SPIDER_DMA_OFFSET 0x80000000ul |
#define | NAMESIZE 8 |
Functions | |
__setup ("iommu_fixed=", setup_iommu_fixed) | |
machine_arch_initcall (cell, cell_iommu_init) | |
machine_arch_initcall (celleb_native, cell_iommu_init) | |
Variables | |
struct dma_map_ops | dma_iommu_fixed_ops |
#define IO_PAGENO_BITS | ( | shift | ) | (IO_SEGMENT_SHIFT - (shift)) |
#define IOSTE_NPPT_Mask 0x0000000000000fe0ul /* no. pages in IOPT */ |
#define IOSTE_PT_Base_RPN_Mask 0x3ffffffffffff000ul /* base RPN of IOPT */ |
__setup | ( | ) |
machine_arch_initcall | ( | cell | , |
cell_iommu_init | |||
) |
machine_arch_initcall | ( | celleb_native | , |
cell_iommu_init | |||
) |
struct dma_map_ops dma_iommu_fixed_ops |