pxreg.h File Reference

Back to the index.

Classes | Macros
pxreg.h File Reference

Go to the source code of this file.

Classes

struct  stic_regs
 

Macros

#define STAMP_CMD_POINTS   (0x0000)
 
#define STAMP_CMD_LINES   (0x0001)
 
#define STAMP_CMD_TRIANGLES   (0x0002)
 
#define STAMP_CMD_COPYSPANS   (0x0005)
 
#define STAMP_CMD_READSPANS   (0x0006)
 
#define STAMP_CMD_WRITESPANS   (0x0007)
 
#define STAMP_CMD_VIDEO   (0x0008)
 
#define STAMP_RGB_NONE   (0x0000)
 
#define STAMP_RGB_CONST   (0x0010)
 
#define STAMP_RGB_FLAT   (0x0020)
 
#define STAMP_RGB_SMOOTH   (0x0030)
 
#define STAMP_Z_NONE   (0x0000)
 
#define STAMP_Z_CONST   (0x0040)
 
#define STAMP_Z_FLAT   (0x0080)
 
#define STAMP_Z_SMOOTH   (0x00c0)
 
#define STAMP_XY_NONE   (0x0000)
 
#define STAMP_XY_PERPACKET   (0x0100)
 
#define STAMP_XY_PERPRIMATIVE   (0x0200)
 
#define STAMP_LW_NONE   (0x0000)
 
#define STAMP_LW_PERPACKET   (0x0400)
 
#define STAMP_LW_PERPRIMATIVE   (0x0800)
 
#define STAMP_CLIPRECT   (0x00080000)
 
#define STAMP_MESH   (0x00200000)
 
#define STAMP_AALINE   (0x00800000)
 
#define STAMP_HS_EQUALS   (0x80000000)
 
#define STAMP_PLANE_8X3   (0 << 5)
 
#define STAMP_PLANE_24   (1 << 5)
 
#define STAMP_WE_SIGN   (0x04 << 8)
 
#define STAMP_WE_XYMASK   (0x02 << 8)
 
#define STAMP_WE_CLIPRECT   (0x01 << 8)
 
#define STAMP_WE_NONE   (0x00 << 8)
 
#define STAMP_METHOD_CLEAR   (0x60 << 12)
 
#define STAMP_METHOD_AND   (0x14 << 12)
 
#define STAMP_METHOD_ANDREV   (0x15 << 12)
 
#define STAMP_METHOD_COPY   (0x20 << 12)
 
#define STAMP_METHOD_ANDINV   (0x16 << 12)
 
#define STAMP_METHOD_NOOP   (0x40 << 12)
 
#define STAMP_METHOD_XOR   (0x11 << 12)
 
#define STAMP_METHOD_OR   (0x0f << 12)
 
#define STAMP_METHOD_NOR   (0x17 << 12)
 
#define STAMP_METHOD_EQUIV   (0x10 << 12)
 
#define STAMP_METHOD_INV   (0x4e << 12)
 
#define STAMP_METHOD_ORREV   (0x0e << 12)
 
#define STAMP_METHOD_COPYINV   (0x2d << 12)
 
#define STAMP_METHOD_ORINV   (0x0d << 12)
 
#define STAMP_METHOD_NAND   (0x0c << 12)
 
#define STAMP_METHOD_SET   (0x6c << 12)
 
#define STAMP_METHOD_SUM   (0x00 << 12)
 
#define STAMP_METHOD_DIFF   (0x02 << 12)
 
#define STAMP_METHOD_REVDIFF   (0x01 << 12)
 
#define STAMP_DB_NONE   (0x00 << 28)
 
#define STAMP_DB_01   (0x01 << 28)
 
#define STAMP_DB_12   (0x02 << 28)
 
#define STAMP_DB_02   (0x04 << 28)
 
#define STAMP_UPDATE_ENABLE   (1)
 
#define STAMP_SAVE_SIGN   (1<<6)
 
#define STAMP_SAVE_ALPHA   (1<<7)
 
#define STAMP_SUPERSAMPLE   (1<<11)
 
#define STAMP_SPAN   (1<<19)
 
#define STAMP_COPYSPAN_ALIGNED   (1<<20)
 
#define STAMP_MINMAX   (1<<21)
 
#define STAMP_MULT   (1<<22)
 
#define STAMP_MULTACC   (1<<23)
 
#define STAMP_HALF_BUFF   (1<27)
 
#define STAMP_INITIALIZE   (1<<31)
 
#define XMASKADDR(__sx, __a)   (((__a)-((__sx) % STAMP_WIDTH)) & 0xF)
 
#define YMASKADDR(__sy, __b)   (((__b)-((__sy) % STAMP_HEIGHT)) & 0xF)
 
#define XYMASKADDR(_x, _y, _a, _b)   (XMASKADDR(_x,_a) << 16 | YMASKADDR(_y,_b))
 
#define STAMP_OK   (0)
 
#define STAMP_BUSY   (1)
 
#define STAMP_RETRIES   (7000)
 
#define STAMP_DELAY   (20)
 
#define __PXS(n)   (n)
 
#define PX_STIC_POLL_OFFSET   __PXS(0x000000) /* STIC DMA poll space */
 
#define PX_STAMP_OFFSET   __PXS(0x0c0000) /* pixelstamp space on STIC */
 
#define PX_STIC_OFFSET   __PXS(0x180000) /* STIC registers */
 
#define PX_VDAC_OFFSET   __PXS(0x200000) /* VDAC registers (bt459) */
 
#define PX_VDAC_RESET_OFFSET   __PXS(0x300000) /* VDAC reset register */
 
#define PX_ROM_OFFSET   __PXS(0x300000) /* ROM code */
 
#define PXG_STIC_POLL_OFFSET   __PXS(0x000000) /* STIC DMA poll space */
 
#define PXG_STAMP_OFFSET   __PXS(0x0c0000) /* pixelstamp space on STIC */
 
#define PXG_STIC_OFFSET   __PXS(0x180000) /* STIC registers */
 
#define PXG_SRAM_OFFSET   __PXS(0x200000) /* N10 SRAM */
 
#define PXG_HOST_INTR_OFFSET   __PXS(0x280000) /* N10 host interrupt */
 
#define PXG_COPROC_INTR_OFFSET   __PXS(0x2c0000) /* N10 coprocessor interrupt */
 
#define PXG_VDAC_OFFSET   __PXS(0x300000) /* VDAC registers (bt459) */
 
#define PXG_VDAC_RESET_OFFSET   __PXS(0x340000) /* VDAC reset register */
 
#define PXG_ROM_OFFSET   __PXS(0x380000) /* ROM code */
 
#define PXG_N10_START_OFFSET   __PXS(0x380000) /* N10 start register */
 
#define PXG_N10_RESET_OFFSET   __PXS(0x3c0000) /* N10 reset (stop?) register */
 
#define STIC_CSR_TSTFNC   0x00000003
 
#define STIC_CSR_TSTFNC_NORMAL   0
 
#define STIC_CSR_TSTFNC_PARITY   1
 
#define STIC_CSR_TSTFNC_CNTPIX   2
 
#define STIC_CSR_TSTFNC_TSTDAC   3
 
#define STIC_CSR_CHECKPAR   0x00000004
 
#define STIC_CSR_STARTVT   0x00000010
 
#define STIC_CSR_START   0x00000020
 
#define STIC_CSR_RESET   0x00000040
 
#define STIC_CSR_STARTST   0x00000080
 
#define STIC_INT_E_EN   0x00000001
 
#define STIC_INT_E   0x00000002
 
#define STIC_INT_E_WE   0x00000004
 
#define STIC_INT_V_EN   0x00000100
 
#define STIC_INT_V   0x00000200
 
#define STIC_INT_V_WE   0x00000400
 
#define STIC_INT_P_EN   0x00010000
 
#define STIC_INT_P   0x00020000
 
#define STIC_INT_P_WE   0x00040000
 
#define STIC_INT_E_MASK   (STIC_INT_E_EN | STIC_INT_E | STIC_INT_E_WE)
 
#define STIC_INT_V_MASK   (STIC_INT_V_EN | STIC_INT_V | STIC_INT_V_WE)
 
#define STIC_INT_P_MASK   (STIC_INT_P_EN | STIC_INT_P | STIC_INT_P_WE)
 
#define STIC_INT_MASK   (STIC_INT_E_MASK | STIC_INT_P_MASK | STIC_INT_V_MASK)
 
#define STIC_INT_WE   (STIC_INT_E_WE | STIC_INT_V_WE | STIC_INT_P_WE)
 
#define STIC_INT_CLR   (STIC_INT_E_EN | STIC_INT_V_EN | STIC_INT_P_EN)
 

Macro Definition Documentation

◆ __PXS

#define __PXS (   n)    (n)

Definition at line 186 of file pxreg.h.

◆ PX_ROM_OFFSET

#define PX_ROM_OFFSET   __PXS(0x300000) /* ROM code */

Definition at line 197 of file pxreg.h.

◆ PX_STAMP_OFFSET

#define PX_STAMP_OFFSET   __PXS(0x0c0000) /* pixelstamp space on STIC */

Definition at line 193 of file pxreg.h.

◆ PX_STIC_OFFSET

#define PX_STIC_OFFSET   __PXS(0x180000) /* STIC registers */

Definition at line 194 of file pxreg.h.

◆ PX_STIC_POLL_OFFSET

#define PX_STIC_POLL_OFFSET   __PXS(0x000000) /* STIC DMA poll space */

Definition at line 192 of file pxreg.h.

◆ PX_VDAC_OFFSET

#define PX_VDAC_OFFSET   __PXS(0x200000) /* VDAC registers (bt459) */

Definition at line 195 of file pxreg.h.

◆ PX_VDAC_RESET_OFFSET

#define PX_VDAC_RESET_OFFSET   __PXS(0x300000) /* VDAC reset register */

Definition at line 196 of file pxreg.h.

◆ PXG_COPROC_INTR_OFFSET

#define PXG_COPROC_INTR_OFFSET   __PXS(0x2c0000) /* N10 coprocessor interrupt */

Definition at line 207 of file pxreg.h.

◆ PXG_HOST_INTR_OFFSET

#define PXG_HOST_INTR_OFFSET   __PXS(0x280000) /* N10 host interrupt */

Definition at line 206 of file pxreg.h.

◆ PXG_N10_RESET_OFFSET

#define PXG_N10_RESET_OFFSET   __PXS(0x3c0000) /* N10 reset (stop?) register */

Definition at line 212 of file pxreg.h.

◆ PXG_N10_START_OFFSET

#define PXG_N10_START_OFFSET   __PXS(0x380000) /* N10 start register */

Definition at line 211 of file pxreg.h.

◆ PXG_ROM_OFFSET

#define PXG_ROM_OFFSET   __PXS(0x380000) /* ROM code */

Definition at line 210 of file pxreg.h.

◆ PXG_SRAM_OFFSET

#define PXG_SRAM_OFFSET   __PXS(0x200000) /* N10 SRAM */

Definition at line 205 of file pxreg.h.

◆ PXG_STAMP_OFFSET

#define PXG_STAMP_OFFSET   __PXS(0x0c0000) /* pixelstamp space on STIC */

Definition at line 203 of file pxreg.h.

◆ PXG_STIC_OFFSET

#define PXG_STIC_OFFSET   __PXS(0x180000) /* STIC registers */

Definition at line 204 of file pxreg.h.

◆ PXG_STIC_POLL_OFFSET

#define PXG_STIC_POLL_OFFSET   __PXS(0x000000) /* STIC DMA poll space */

Definition at line 202 of file pxreg.h.

◆ PXG_VDAC_OFFSET

#define PXG_VDAC_OFFSET   __PXS(0x300000) /* VDAC registers (bt459) */

Definition at line 208 of file pxreg.h.

◆ PXG_VDAC_RESET_OFFSET

#define PXG_VDAC_RESET_OFFSET   __PXS(0x340000) /* VDAC reset register */

Definition at line 209 of file pxreg.h.

◆ STAMP_AALINE

#define STAMP_AALINE   (0x00800000)

Definition at line 104 of file pxreg.h.

Referenced by dev_px_dma().

◆ STAMP_BUSY

#define STAMP_BUSY   (1)

Definition at line 179 of file pxreg.h.

◆ STAMP_CLIPRECT

#define STAMP_CLIPRECT   (0x00080000)

Definition at line 102 of file pxreg.h.

Referenced by dev_px_dma().

◆ STAMP_CMD_COPYSPANS

#define STAMP_CMD_COPYSPANS   (0x0005)

Definition at line 74 of file pxreg.h.

Referenced by dev_px_dma().

◆ STAMP_CMD_LINES

#define STAMP_CMD_LINES   (0x0001)

Definition at line 72 of file pxreg.h.

Referenced by dev_px_dma().

◆ STAMP_CMD_POINTS

#define STAMP_CMD_POINTS   (0x0000)

Definition at line 71 of file pxreg.h.

Referenced by dev_px_dma().

◆ STAMP_CMD_READSPANS

#define STAMP_CMD_READSPANS   (0x0006)

Definition at line 75 of file pxreg.h.

Referenced by dev_px_dma().

◆ STAMP_CMD_TRIANGLES

#define STAMP_CMD_TRIANGLES   (0x0002)

Definition at line 73 of file pxreg.h.

Referenced by dev_px_dma().

◆ STAMP_CMD_VIDEO

#define STAMP_CMD_VIDEO   (0x0008)

Definition at line 77 of file pxreg.h.

Referenced by dev_px_dma().

◆ STAMP_CMD_WRITESPANS

#define STAMP_CMD_WRITESPANS   (0x0007)

Definition at line 76 of file pxreg.h.

Referenced by dev_px_dma().

◆ STAMP_COPYSPAN_ALIGNED

#define STAMP_COPYSPAN_ALIGNED   (1<<20)

Definition at line 155 of file pxreg.h.

◆ STAMP_DB_01

#define STAMP_DB_01   (0x01 << 28)

Definition at line 145 of file pxreg.h.

◆ STAMP_DB_02

#define STAMP_DB_02   (0x04 << 28)

Definition at line 147 of file pxreg.h.

◆ STAMP_DB_12

#define STAMP_DB_12   (0x02 << 28)

Definition at line 146 of file pxreg.h.

◆ STAMP_DB_NONE

#define STAMP_DB_NONE   (0x00 << 28)

Definition at line 144 of file pxreg.h.

◆ STAMP_DELAY

#define STAMP_DELAY   (20)

Definition at line 181 of file pxreg.h.

◆ STAMP_HALF_BUFF

#define STAMP_HALF_BUFF   (1<27)

Definition at line 159 of file pxreg.h.

◆ STAMP_HS_EQUALS

#define STAMP_HS_EQUALS   (0x80000000)

Definition at line 105 of file pxreg.h.

Referenced by dev_px_dma().

◆ STAMP_INITIALIZE

#define STAMP_INITIALIZE   (1<<31)

Definition at line 160 of file pxreg.h.

◆ STAMP_LW_NONE

#define STAMP_LW_NONE   (0x0000)

Definition at line 97 of file pxreg.h.

Referenced by dev_px_dma().

◆ STAMP_LW_PERPACKET

#define STAMP_LW_PERPACKET   (0x0400)

Definition at line 98 of file pxreg.h.

Referenced by dev_px_dma().

◆ STAMP_LW_PERPRIMATIVE

#define STAMP_LW_PERPRIMATIVE   (0x0800)

Definition at line 99 of file pxreg.h.

Referenced by dev_px_dma().

◆ STAMP_MESH

#define STAMP_MESH   (0x00200000)

Definition at line 103 of file pxreg.h.

Referenced by dev_px_dma().

◆ STAMP_METHOD_AND

#define STAMP_METHOD_AND   (0x14 << 12)

Definition at line 124 of file pxreg.h.

◆ STAMP_METHOD_ANDINV

#define STAMP_METHOD_ANDINV   (0x16 << 12)

Definition at line 127 of file pxreg.h.

◆ STAMP_METHOD_ANDREV

#define STAMP_METHOD_ANDREV   (0x15 << 12)

Definition at line 125 of file pxreg.h.

◆ STAMP_METHOD_CLEAR

#define STAMP_METHOD_CLEAR   (0x60 << 12)

Definition at line 123 of file pxreg.h.

◆ STAMP_METHOD_COPY

#define STAMP_METHOD_COPY   (0x20 << 12)

Definition at line 126 of file pxreg.h.

◆ STAMP_METHOD_COPYINV

#define STAMP_METHOD_COPYINV   (0x2d << 12)

Definition at line 135 of file pxreg.h.

◆ STAMP_METHOD_DIFF

#define STAMP_METHOD_DIFF   (0x02 << 12)

Definition at line 140 of file pxreg.h.

◆ STAMP_METHOD_EQUIV

#define STAMP_METHOD_EQUIV   (0x10 << 12)

Definition at line 132 of file pxreg.h.

◆ STAMP_METHOD_INV

#define STAMP_METHOD_INV   (0x4e << 12)

Definition at line 133 of file pxreg.h.

◆ STAMP_METHOD_NAND

#define STAMP_METHOD_NAND   (0x0c << 12)

Definition at line 137 of file pxreg.h.

◆ STAMP_METHOD_NOOP

#define STAMP_METHOD_NOOP   (0x40 << 12)

Definition at line 128 of file pxreg.h.

◆ STAMP_METHOD_NOR

#define STAMP_METHOD_NOR   (0x17 << 12)

Definition at line 131 of file pxreg.h.

◆ STAMP_METHOD_OR

#define STAMP_METHOD_OR   (0x0f << 12)

Definition at line 130 of file pxreg.h.

◆ STAMP_METHOD_ORINV

#define STAMP_METHOD_ORINV   (0x0d << 12)

Definition at line 136 of file pxreg.h.

◆ STAMP_METHOD_ORREV

#define STAMP_METHOD_ORREV   (0x0e << 12)

Definition at line 134 of file pxreg.h.

◆ STAMP_METHOD_REVDIFF

#define STAMP_METHOD_REVDIFF   (0x01 << 12)

Definition at line 141 of file pxreg.h.

◆ STAMP_METHOD_SET

#define STAMP_METHOD_SET   (0x6c << 12)

Definition at line 138 of file pxreg.h.

◆ STAMP_METHOD_SUM

#define STAMP_METHOD_SUM   (0x00 << 12)

Definition at line 139 of file pxreg.h.

◆ STAMP_METHOD_XOR

#define STAMP_METHOD_XOR   (0x11 << 12)

Definition at line 129 of file pxreg.h.

◆ STAMP_MINMAX

#define STAMP_MINMAX   (1<<21)

Definition at line 156 of file pxreg.h.

◆ STAMP_MULT

#define STAMP_MULT   (1<<22)

Definition at line 157 of file pxreg.h.

◆ STAMP_MULTACC

#define STAMP_MULTACC   (1<<23)

Definition at line 158 of file pxreg.h.

◆ STAMP_OK

#define STAMP_OK   (0)

Definition at line 178 of file pxreg.h.

Referenced by DEVICE_ACCESS().

◆ STAMP_PLANE_24

#define STAMP_PLANE_24   (1 << 5)

Definition at line 114 of file pxreg.h.

◆ STAMP_PLANE_8X3

#define STAMP_PLANE_8X3   (0 << 5)

Definition at line 113 of file pxreg.h.

◆ STAMP_RETRIES

#define STAMP_RETRIES   (7000)

Definition at line 180 of file pxreg.h.

◆ STAMP_RGB_CONST

#define STAMP_RGB_CONST   (0x0010)

Definition at line 81 of file pxreg.h.

Referenced by dev_px_dma().

◆ STAMP_RGB_FLAT

#define STAMP_RGB_FLAT   (0x0020)

Definition at line 82 of file pxreg.h.

Referenced by dev_px_dma().

◆ STAMP_RGB_NONE

#define STAMP_RGB_NONE   (0x0000)

Definition at line 80 of file pxreg.h.

Referenced by dev_px_dma().

◆ STAMP_RGB_SMOOTH

#define STAMP_RGB_SMOOTH   (0x0030)

Definition at line 83 of file pxreg.h.

Referenced by dev_px_dma().

◆ STAMP_SAVE_ALPHA

#define STAMP_SAVE_ALPHA   (1<<7)

Definition at line 152 of file pxreg.h.

◆ STAMP_SAVE_SIGN

#define STAMP_SAVE_SIGN   (1<<6)

Definition at line 151 of file pxreg.h.

◆ STAMP_SPAN

#define STAMP_SPAN   (1<<19)

Definition at line 154 of file pxreg.h.

◆ STAMP_SUPERSAMPLE

#define STAMP_SUPERSAMPLE   (1<<11)

Definition at line 153 of file pxreg.h.

◆ STAMP_UPDATE_ENABLE

#define STAMP_UPDATE_ENABLE   (1)

Definition at line 150 of file pxreg.h.

◆ STAMP_WE_CLIPRECT

#define STAMP_WE_CLIPRECT   (0x01 << 8)

Definition at line 119 of file pxreg.h.

◆ STAMP_WE_NONE

#define STAMP_WE_NONE   (0x00 << 8)

Definition at line 120 of file pxreg.h.

◆ STAMP_WE_SIGN

#define STAMP_WE_SIGN   (0x04 << 8)

Definition at line 117 of file pxreg.h.

◆ STAMP_WE_XYMASK

#define STAMP_WE_XYMASK   (0x02 << 8)

Definition at line 118 of file pxreg.h.

◆ STAMP_XY_NONE

#define STAMP_XY_NONE   (0x0000)

Definition at line 92 of file pxreg.h.

Referenced by dev_px_dma().

◆ STAMP_XY_PERPACKET

#define STAMP_XY_PERPACKET   (0x0100)

Definition at line 93 of file pxreg.h.

Referenced by dev_px_dma().

◆ STAMP_XY_PERPRIMATIVE

#define STAMP_XY_PERPRIMATIVE   (0x0200)

Definition at line 94 of file pxreg.h.

Referenced by dev_px_dma().

◆ STAMP_Z_CONST

#define STAMP_Z_CONST   (0x0040)

Definition at line 87 of file pxreg.h.

Referenced by dev_px_dma().

◆ STAMP_Z_FLAT

#define STAMP_Z_FLAT   (0x0080)

Definition at line 88 of file pxreg.h.

Referenced by dev_px_dma().

◆ STAMP_Z_NONE

#define STAMP_Z_NONE   (0x0000)

Definition at line 86 of file pxreg.h.

Referenced by dev_px_dma().

◆ STAMP_Z_SMOOTH

#define STAMP_Z_SMOOTH   (0x00c0)

Definition at line 89 of file pxreg.h.

Referenced by dev_px_dma().

◆ STIC_CSR_CHECKPAR

#define STIC_CSR_CHECKPAR   0x00000004

Definition at line 280 of file pxreg.h.

◆ STIC_CSR_RESET

#define STIC_CSR_RESET   0x00000040

Definition at line 283 of file pxreg.h.

◆ STIC_CSR_START

#define STIC_CSR_START   0x00000020

Definition at line 282 of file pxreg.h.

◆ STIC_CSR_STARTST

#define STIC_CSR_STARTST   0x00000080

Definition at line 284 of file pxreg.h.

◆ STIC_CSR_STARTVT

#define STIC_CSR_STARTVT   0x00000010

Definition at line 281 of file pxreg.h.

◆ STIC_CSR_TSTFNC

#define STIC_CSR_TSTFNC   0x00000003

Definition at line 275 of file pxreg.h.

◆ STIC_CSR_TSTFNC_CNTPIX

#define STIC_CSR_TSTFNC_CNTPIX   2

Definition at line 278 of file pxreg.h.

◆ STIC_CSR_TSTFNC_NORMAL

#define STIC_CSR_TSTFNC_NORMAL   0

Definition at line 276 of file pxreg.h.

◆ STIC_CSR_TSTFNC_PARITY

#define STIC_CSR_TSTFNC_PARITY   1

Definition at line 277 of file pxreg.h.

◆ STIC_CSR_TSTFNC_TSTDAC

#define STIC_CSR_TSTFNC_TSTDAC   3

Definition at line 279 of file pxreg.h.

◆ STIC_INT_CLR

#define STIC_INT_CLR   (STIC_INT_E_EN | STIC_INT_V_EN | STIC_INT_P_EN)

Definition at line 311 of file pxreg.h.

◆ STIC_INT_E

#define STIC_INT_E   0x00000002

Definition at line 294 of file pxreg.h.

Referenced by DEVICE_ACCESS().

◆ STIC_INT_E_EN

#define STIC_INT_E_EN   0x00000001

Definition at line 293 of file pxreg.h.

◆ STIC_INT_E_MASK

#define STIC_INT_E_MASK   (STIC_INT_E_EN | STIC_INT_E | STIC_INT_E_WE)

Definition at line 305 of file pxreg.h.

◆ STIC_INT_E_WE

#define STIC_INT_E_WE   0x00000004

Definition at line 295 of file pxreg.h.

Referenced by DEVICE_ACCESS().

◆ STIC_INT_MASK

#define STIC_INT_MASK   (STIC_INT_E_MASK | STIC_INT_P_MASK | STIC_INT_V_MASK)

Definition at line 308 of file pxreg.h.

◆ STIC_INT_P

#define STIC_INT_P   0x00020000

Definition at line 302 of file pxreg.h.

Referenced by DEVICE_ACCESS().

◆ STIC_INT_P_EN

#define STIC_INT_P_EN   0x00010000

Definition at line 301 of file pxreg.h.

Referenced by DEVICE_TICK().

◆ STIC_INT_P_MASK

#define STIC_INT_P_MASK   (STIC_INT_P_EN | STIC_INT_P | STIC_INT_P_WE)

Definition at line 307 of file pxreg.h.

◆ STIC_INT_P_WE

#define STIC_INT_P_WE   0x00040000

Definition at line 303 of file pxreg.h.

Referenced by DEVICE_ACCESS().

◆ STIC_INT_V

#define STIC_INT_V   0x00000200

Definition at line 298 of file pxreg.h.

Referenced by DEVICE_ACCESS().

◆ STIC_INT_V_EN

#define STIC_INT_V_EN   0x00000100

Definition at line 297 of file pxreg.h.

◆ STIC_INT_V_MASK

#define STIC_INT_V_MASK   (STIC_INT_V_EN | STIC_INT_V | STIC_INT_V_WE)

Definition at line 306 of file pxreg.h.

◆ STIC_INT_V_WE

#define STIC_INT_V_WE   0x00000400

Definition at line 299 of file pxreg.h.

Referenced by DEVICE_ACCESS().

◆ STIC_INT_WE

#define STIC_INT_WE   (STIC_INT_E_WE | STIC_INT_V_WE | STIC_INT_P_WE)

Definition at line 310 of file pxreg.h.

◆ XMASKADDR

#define XMASKADDR (   __sx,
  __a 
)    (((__a)-((__sx) % STAMP_WIDTH)) & 0xF)

Definition at line 167 of file pxreg.h.

◆ XYMASKADDR

#define XYMASKADDR (   _x,
  _y,
  _a,
  _b 
)    (XMASKADDR(_x,_a) << 16 | YMASKADDR(_y,_b))

Definition at line 169 of file pxreg.h.

◆ YMASKADDR

#define YMASKADDR (   __sy,
  __b 
)    (((__b)-((__sy) % STAMP_HEIGHT)) & 0xF)

Definition at line 168 of file pxreg.h.


Generated on Fri Dec 7 2018 19:52:23 for GXemul by doxygen 1.8.13