Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
tpmi.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/io.h>
#include <asm/irq.h>
#include <asm/sizes.h>

Go to the source code of this file.

Macros

#define IOP13XX_TPMI_MMR(dev)   IOP13XX_REG_ADDR32_PHYS(0x48000 + (dev << 12))
 
#define IOP13XX_TPMI_MEM(dev)   IOP13XX_REG_ADDR32_PHYS(0x60000 + (dev << 13))
 
#define IOP13XX_TPMI_CTRL(dev)   IOP13XX_REG_ADDR32_PHYS(0x50000 + (dev << 10))
 
#define IOP13XX_TPMI_IOP_CTRL(dev)   (IOP13XX_TPMI_CTRL(dev) + 0x2000)
 
#define IOP13XX_TPMI_MMR_SIZE   (SZ_4K - 1)
 
#define IOP13XX_TPMI_MEM_SIZE   (255)
 
#define IOP13XX_TPMI_MEM_CTRL   (SZ_1K - 1)
 
#define IOP13XX_TPMI_RESOURCE_MMR   0
 
#define IOP13XX_TPMI_RESOURCE_MEM   1
 
#define IOP13XX_TPMI_RESOURCE_CTRL   2
 
#define IOP13XX_TPMI_RESOURCE_IOP_CTRL   3
 
#define IOP13XX_TPMI_RESOURCE_IRQ   4
 

Functions

__init void iop13xx_add_tpmi_devices (void)
 

Variables

u64 iop13xx_tpmi_mask = DMA_BIT_MASK(64)
 

Macro Definition Documentation

#define IOP13XX_TPMI_CTRL (   dev)    IOP13XX_REG_ADDR32_PHYS(0x50000 + (dev << 10))

Definition at line 31 of file tpmi.c.

#define IOP13XX_TPMI_IOP_CTRL (   dev)    (IOP13XX_TPMI_CTRL(dev) + 0x2000)

Definition at line 32 of file tpmi.c.

#define IOP13XX_TPMI_MEM (   dev)    IOP13XX_REG_ADDR32_PHYS(0x60000 + (dev << 13))

Definition at line 30 of file tpmi.c.

#define IOP13XX_TPMI_MEM_CTRL   (SZ_1K - 1)

Definition at line 35 of file tpmi.c.

#define IOP13XX_TPMI_MEM_SIZE   (255)

Definition at line 34 of file tpmi.c.

#define IOP13XX_TPMI_MMR (   dev)    IOP13XX_REG_ADDR32_PHYS(0x48000 + (dev << 12))

Definition at line 29 of file tpmi.c.

#define IOP13XX_TPMI_MMR_SIZE   (SZ_4K - 1)

Definition at line 33 of file tpmi.c.

#define IOP13XX_TPMI_RESOURCE_CTRL   2

Definition at line 38 of file tpmi.c.

#define IOP13XX_TPMI_RESOURCE_IOP_CTRL   3

Definition at line 39 of file tpmi.c.

#define IOP13XX_TPMI_RESOURCE_IRQ   4

Definition at line 40 of file tpmi.c.

#define IOP13XX_TPMI_RESOURCE_MEM   1

Definition at line 37 of file tpmi.c.

#define IOP13XX_TPMI_RESOURCE_MMR   0

Definition at line 36 of file tpmi.c.

Function Documentation

__init void iop13xx_add_tpmi_devices ( void  )

Definition at line 199 of file tpmi.c.

Variable Documentation

u64 iop13xx_tpmi_mask = DMA_BIT_MASK(64)

Definition at line 154 of file tpmi.c.