Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
omap_dmm_priv.h File Reference

Go to the source code of this file.

Data Structures

struct  pat_ctrl
 
struct  pat
 
struct  dmm_txn
 
struct  refill_engine
 
struct  dmm
 

Macros

#define DMM_REVISION   0x000
 
#define DMM_HWINFO   0x004
 
#define DMM_LISA_HWINFO   0x008
 
#define DMM_DMM_SYSCONFIG   0x010
 
#define DMM_LISA_LOCK   0x01C
 
#define DMM_LISA_MAP__0   0x040
 
#define DMM_LISA_MAP__1   0x044
 
#define DMM_TILER_HWINFO   0x208
 
#define DMM_TILER_OR__0   0x220
 
#define DMM_TILER_OR__1   0x224
 
#define DMM_PAT_HWINFO   0x408
 
#define DMM_PAT_GEOMETRY   0x40C
 
#define DMM_PAT_CONFIG   0x410
 
#define DMM_PAT_VIEW__0   0x420
 
#define DMM_PAT_VIEW__1   0x424
 
#define DMM_PAT_VIEW_MAP__0   0x440
 
#define DMM_PAT_VIEW_MAP_BASE   0x460
 
#define DMM_PAT_IRQ_EOI   0x478
 
#define DMM_PAT_IRQSTATUS_RAW   0x480
 
#define DMM_PAT_IRQSTATUS   0x490
 
#define DMM_PAT_IRQENABLE_SET   0x4A0
 
#define DMM_PAT_IRQENABLE_CLR   0x4B0
 
#define DMM_PAT_STATUS__0   0x4C0
 
#define DMM_PAT_STATUS__1   0x4C4
 
#define DMM_PAT_STATUS__2   0x4C8
 
#define DMM_PAT_STATUS__3   0x4CC
 
#define DMM_PAT_DESCR__0   0x500
 
#define DMM_PAT_DESCR__1   0x510
 
#define DMM_PAT_DESCR__2   0x520
 
#define DMM_PAT_DESCR__3   0x530
 
#define DMM_PEG_HWINFO   0x608
 
#define DMM_PEG_PRIO   0x620
 
#define DMM_PEG_PRIO_PAT   0x640
 
#define DMM_IRQSTAT_DST   (1<<0)
 
#define DMM_IRQSTAT_LST   (1<<1)
 
#define DMM_IRQSTAT_ERR_INV_DSC   (1<<2)
 
#define DMM_IRQSTAT_ERR_INV_DATA   (1<<3)
 
#define DMM_IRQSTAT_ERR_UPD_AREA   (1<<4)
 
#define DMM_IRQSTAT_ERR_UPD_CTRL   (1<<5)
 
#define DMM_IRQSTAT_ERR_UPD_DATA   (1<<6)
 
#define DMM_IRQSTAT_ERR_LUT_MISS   (1<<7)
 
#define DMM_IRQSTAT_ERR_MASK
 
#define DMM_PATSTATUS_READY   (1<<0)
 
#define DMM_PATSTATUS_VALID   (1<<1)
 
#define DMM_PATSTATUS_RUN   (1<<2)
 
#define DMM_PATSTATUS_DONE   (1<<3)
 
#define DMM_PATSTATUS_LINKED   (1<<4)
 
#define DMM_PATSTATUS_BYPASSED   (1<<7)
 
#define DMM_PATSTATUS_ERR_INV_DESCR   (1<<10)
 
#define DMM_PATSTATUS_ERR_INV_DATA   (1<<11)
 
#define DMM_PATSTATUS_ERR_UPD_AREA   (1<<12)
 
#define DMM_PATSTATUS_ERR_UPD_CTRL   (1<<13)
 
#define DMM_PATSTATUS_ERR_UPD_DATA   (1<<14)
 
#define DMM_PATSTATUS_ERR_ACCESS   (1<<15)
 
#define DMM_PATSTATUS_ERR
 
#define DMM_FIXED_RETRY_COUNT   1000
 
#define DESCR_SIZE   128
 
#define REFILL_BUFFER_SIZE   ((4 * 128 * 256) + (3 * DESCR_SIZE))
 

Enumerations

enum  { PAT_STATUS, PAT_DESCR }
 

Macro Definition Documentation

#define DESCR_SIZE   128

Definition at line 118 of file omap_dmm_priv.h.

#define DMM_DMM_SYSCONFIG   0x010

Definition at line 22 of file omap_dmm_priv.h.

#define DMM_FIXED_RETRY_COUNT   1000

Definition at line 111 of file omap_dmm_priv.h.

#define DMM_HWINFO   0x004

Definition at line 20 of file omap_dmm_priv.h.

#define DMM_IRQSTAT_DST   (1<<0)

Definition at line 53 of file omap_dmm_priv.h.

#define DMM_IRQSTAT_ERR_INV_DATA   (1<<3)

Definition at line 56 of file omap_dmm_priv.h.

#define DMM_IRQSTAT_ERR_INV_DSC   (1<<2)

Definition at line 55 of file omap_dmm_priv.h.

#define DMM_IRQSTAT_ERR_LUT_MISS   (1<<7)

Definition at line 60 of file omap_dmm_priv.h.

#define DMM_IRQSTAT_ERR_MASK
Value:
(DMM_IRQ_STAT_ERR_INV_DSC | \
DMM_IRQ_STAT_ERR_INV_DATA | \
DMM_IRQ_STAT_ERR_UPD_AREA | \
DMM_IRQ_STAT_ERR_UPD_CTRL | \
DMM_IRQ_STAT_ERR_UPD_DATA | \
DMM_IRQ_STAT_ERR_LUT_MISS)

Definition at line 62 of file omap_dmm_priv.h.

#define DMM_IRQSTAT_ERR_UPD_AREA   (1<<4)

Definition at line 57 of file omap_dmm_priv.h.

#define DMM_IRQSTAT_ERR_UPD_CTRL   (1<<5)

Definition at line 58 of file omap_dmm_priv.h.

#define DMM_IRQSTAT_ERR_UPD_DATA   (1<<6)

Definition at line 59 of file omap_dmm_priv.h.

#define DMM_IRQSTAT_LST   (1<<1)

Definition at line 54 of file omap_dmm_priv.h.

#define DMM_LISA_HWINFO   0x008

Definition at line 21 of file omap_dmm_priv.h.

#define DMM_LISA_LOCK   0x01C

Definition at line 23 of file omap_dmm_priv.h.

#define DMM_LISA_MAP__0   0x040

Definition at line 24 of file omap_dmm_priv.h.

#define DMM_LISA_MAP__1   0x044

Definition at line 25 of file omap_dmm_priv.h.

#define DMM_PAT_CONFIG   0x410

Definition at line 31 of file omap_dmm_priv.h.

#define DMM_PAT_DESCR__0   0x500

Definition at line 45 of file omap_dmm_priv.h.

#define DMM_PAT_DESCR__1   0x510

Definition at line 46 of file omap_dmm_priv.h.

#define DMM_PAT_DESCR__2   0x520

Definition at line 47 of file omap_dmm_priv.h.

#define DMM_PAT_DESCR__3   0x530

Definition at line 48 of file omap_dmm_priv.h.

#define DMM_PAT_GEOMETRY   0x40C

Definition at line 30 of file omap_dmm_priv.h.

#define DMM_PAT_HWINFO   0x408

Definition at line 29 of file omap_dmm_priv.h.

#define DMM_PAT_IRQ_EOI   0x478

Definition at line 36 of file omap_dmm_priv.h.

#define DMM_PAT_IRQENABLE_CLR   0x4B0

Definition at line 40 of file omap_dmm_priv.h.

#define DMM_PAT_IRQENABLE_SET   0x4A0

Definition at line 39 of file omap_dmm_priv.h.

#define DMM_PAT_IRQSTATUS   0x490

Definition at line 38 of file omap_dmm_priv.h.

#define DMM_PAT_IRQSTATUS_RAW   0x480

Definition at line 37 of file omap_dmm_priv.h.

#define DMM_PAT_STATUS__0   0x4C0

Definition at line 41 of file omap_dmm_priv.h.

#define DMM_PAT_STATUS__1   0x4C4

Definition at line 42 of file omap_dmm_priv.h.

#define DMM_PAT_STATUS__2   0x4C8

Definition at line 43 of file omap_dmm_priv.h.

#define DMM_PAT_STATUS__3   0x4CC

Definition at line 44 of file omap_dmm_priv.h.

#define DMM_PAT_VIEW__0   0x420

Definition at line 32 of file omap_dmm_priv.h.

#define DMM_PAT_VIEW__1   0x424

Definition at line 33 of file omap_dmm_priv.h.

#define DMM_PAT_VIEW_MAP__0   0x440

Definition at line 34 of file omap_dmm_priv.h.

#define DMM_PAT_VIEW_MAP_BASE   0x460

Definition at line 35 of file omap_dmm_priv.h.

#define DMM_PATSTATUS_BYPASSED   (1<<7)

Definition at line 74 of file omap_dmm_priv.h.

#define DMM_PATSTATUS_DONE   (1<<3)

Definition at line 72 of file omap_dmm_priv.h.

#define DMM_PATSTATUS_ERR
Value:
DMM_PATSTATUS_ERR_INV_DATA | \
DMM_PATSTATUS_ERR_UPD_AREA | \
DMM_PATSTATUS_ERR_UPD_CTRL | \
DMM_PATSTATUS_ERR_UPD_DATA)

Definition at line 83 of file omap_dmm_priv.h.

#define DMM_PATSTATUS_ERR_ACCESS   (1<<15)

Definition at line 80 of file omap_dmm_priv.h.

#define DMM_PATSTATUS_ERR_INV_DATA   (1<<11)

Definition at line 76 of file omap_dmm_priv.h.

#define DMM_PATSTATUS_ERR_INV_DESCR   (1<<10)

Definition at line 75 of file omap_dmm_priv.h.

#define DMM_PATSTATUS_ERR_UPD_AREA   (1<<12)

Definition at line 77 of file omap_dmm_priv.h.

#define DMM_PATSTATUS_ERR_UPD_CTRL   (1<<13)

Definition at line 78 of file omap_dmm_priv.h.

#define DMM_PATSTATUS_ERR_UPD_DATA   (1<<14)

Definition at line 79 of file omap_dmm_priv.h.

#define DMM_PATSTATUS_LINKED   (1<<4)

Definition at line 73 of file omap_dmm_priv.h.

#define DMM_PATSTATUS_READY   (1<<0)

Definition at line 69 of file omap_dmm_priv.h.

#define DMM_PATSTATUS_RUN   (1<<2)

Definition at line 71 of file omap_dmm_priv.h.

#define DMM_PATSTATUS_VALID   (1<<1)

Definition at line 70 of file omap_dmm_priv.h.

#define DMM_PEG_HWINFO   0x608

Definition at line 49 of file omap_dmm_priv.h.

#define DMM_PEG_PRIO   0x620

Definition at line 50 of file omap_dmm_priv.h.

#define DMM_PEG_PRIO_PAT   0x640

Definition at line 51 of file omap_dmm_priv.h.

#define DMM_REVISION   0x000

Definition at line 19 of file omap_dmm_priv.h.

#define DMM_TILER_HWINFO   0x208

Definition at line 26 of file omap_dmm_priv.h.

#define DMM_TILER_OR__0   0x220

Definition at line 27 of file omap_dmm_priv.h.

#define DMM_TILER_OR__1   0x224

Definition at line 28 of file omap_dmm_priv.h.

#define REFILL_BUFFER_SIZE   ((4 * 128 * 256) + (3 * DESCR_SIZE))

Definition at line 119 of file omap_dmm_priv.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
PAT_STATUS 
PAT_DESCR 

Definition at line 91 of file omap_dmm_priv.h.