image/svg+xml
Brteve's API for EveApps
Version 0.0.1
The reference document for common folder of EveApps project.
 
Loading...
Searching...
No Matches
EVE_GpuDefs.h File Reference

Defines EVE hardware values. More...

Go to the source code of this file.

Macros

#define ESD_ENUM(name, ...)
 
#define ESD_END()
 
#define EVE_MULTI_GRAPHICS_TARGET
 
#define EVE_DL_SIZE   (8 * 1024UL)
 
#define EVE_DL_COUNT   (2 * 1024UL)
 
#define EVE_CMD_FIFO_SIZE   ((4) * 1024UL)
 
#define EVE_CMD_FIFO_COUNT   (1024UL)
 
#define EVE_CMD_FIFO_MASK   (EVE_CMD_FIFO_SIZE - 1)
 
#define EVE_CMD_FIFO_ALIGNMENT_MASK   (EVE_CMD_FIFO_SIZE - ((4) - 1))
 
#define EVE_CMD_FAULT(rp)   (rp & 0x3)
 
#define EVE_FLASH_WRITE_ALIGN   (256)
 
#define EVE_FLASH_UPDATE_ALIGN   (4096)
 
#define EVE_FLASH_READ_ALIGN   (64)
 
#define EVE_FLASH_FIRMWARE_SIZE   (4096)
 
#define ANIM_ONCE   0UL
 
#define ANIM_LOOP   1UL
 
#define ANIM_HOLD   2UL
 
#define COMPRESSED_RGBA_ASTC_4x4_KHR   37808UL
 
#define COMPRESSED_RGBA_ASTC_5x4_KHR   37809UL
 
#define COMPRESSED_RGBA_ASTC_5x5_KHR   37810UL
 
#define COMPRESSED_RGBA_ASTC_6x5_KHR   37811UL
 
#define COMPRESSED_RGBA_ASTC_6x6_KHR   37812UL
 
#define COMPRESSED_RGBA_ASTC_8x5_KHR   37813UL
 
#define COMPRESSED_RGBA_ASTC_8x6_KHR   37814UL
 
#define COMPRESSED_RGBA_ASTC_8x8_KHR   37815UL
 
#define COMPRESSED_RGBA_ASTC_10x5_KHR   37816UL
 
#define COMPRESSED_RGBA_ASTC_10x6_KHR   37817UL
 
#define COMPRESSED_RGBA_ASTC_10x8_KHR   37818UL
 
#define COMPRESSED_RGBA_ASTC_10x10_KHR   37819UL
 
#define COMPRESSED_RGBA_ASTC_12x10_KHR   37820UL
 
#define COMPRESSED_RGBA_ASTC_12x12_KHR   37821UL
 
#define FLASH_DEFAULT_SHA1KEY   0xf589cf07
 
#define KEEP   1UL
 
#define REPLACE   2UL
 
#define INCR   3UL
 
#define DECR   4UL
 
#define INVERT   5UL
 
#define ZERO   0UL
 
#define ONE   1UL
 
#define SRC_ALPHA   2UL
 
#define DST_ALPHA   3UL
 
#define ONE_MINUS_SRC_ALPHA   4UL
 
#define ONE_MINUS_DST_ALPHA   5UL
 
#define RED   2UL
 
#define GREEN   3UL
 
#define BLUE   4UL
 
#define ALPHA   5UL
 
#define NEVER   0UL
 
#define LESS   1UL
 
#define LEQUAL   2UL
 
#define GREATER   3UL
 
#define GEQUAL   4UL
 
#define EQUAL   5UL
 
#define NOTEQUAL   6UL
 
#define ALWAYS   7UL
 
#define ARGB1555   0UL
 
#define L1   1UL
 
#define L4   2UL
 
#define L8   3UL
 
#define RGB332   4UL
 
#define ARGB2   5UL
 
#define ARGB4   6UL
 
#define RGB565   7UL
 
#define PALETTED   8UL
 
#define TEXT8X8   9UL
 
#define TEXTVGA   10UL
 
#define BARGRAPH   11UL
 
#define PALETTED565   14UL
 
#define PALETTED4444   15UL
 
#define PALETTED8   16UL
 
#define L2   17UL
 
#define GLFORMAT   31UL
 
#define FLASH_STATUS_INIT   0UL
 
#define FLASH_STATUS_DETACHED   1UL
 
#define FLASH_STATUS_BASIC   2UL
 
#define FLASH_STATUS_FULL   3UL
 
#define NEAREST   0UL
 
#define BILINEAR   1UL
 
#define LINEAR_SAMPLES   0UL
 
#define ULAW_SAMPLES   1UL
 
#define ADPCM_SAMPLES   2UL
 
#define BITMAPS   1UL
 
#define POINTS   2UL
 
#define LINES   3UL
 
#define LINE_STRIP   4UL
 
#define EDGE_STRIP_R   5UL
 
#define EDGE_STRIP_L   6UL
 
#define EDGE_STRIP_A   7UL
 
#define EDGE_STRIP_B   8UL
 
#define RECTS   9UL
 
#define FTPOINTS   POINTS
 
#define TOUCHMODE_OFF   0UL
 
#define TOUCHMODE_ONESHOT   1UL
 
#define TOUCHMODE_FRAME   2UL
 
#define TOUCHMODE_CONTINUOUS   3UL
 
#define BORDER   0UL
 
#define REPEAT   1UL
 
#define ADC_SINGLE_ENDED   0UL
 
#define ADC_DIFFERENTIAL   1UL
 
#define CTOUCH_MODE_COMPATIBILITY   1UL
 
#define CTOUCH_MODE_EXTENDED   0UL
 
#define INT_SWAP   1UL
 
#define INT_TOUCH   2UL
 
#define INT_TAG   4UL
 
#define INT_SOUND   8UL
 
#define INT_L8C   12UL
 
#define INT_VGA   13UL
 
#define INT_G8   18UL
 
#define INT_PLAYBACK   16UL
 
#define INT_CMDEMPTY   32UL
 
#define INT_CMDFLAG   64UL
 
#define INT_CONVCOMPLETE   128UL
 
#define INT_UNDERRUN   256UL
 
Addresses
#define RAM_G   0UL
 
#define ROM_CHIPID   786432UL
 
#define RAM_ERR_REPORT   0x309800UL
 
#define EVE_HAL_REG_ID   (phost->GpuDefs->RegId)
 
#define EVE_HAL_REG_CPURESET   (phost->GpuDefs->RegCpuReset)
 
#define EVE_HAL_REG_J1_INT   (phost->GpuDefs->RegJ1Int)
 
#define EVE_HAL_REG_CMD_READ   (phost->GpuDefs->RegCmdRead)
 
#define EVE_HAL_REG_TOUCH_TRANSFORM_A   (phost->GpuDefs->RegTouchTransformA)
 
#define EVE_HAL_REG_CRC   (phost->GpuDefs->RegCrc)
 
#define EVE_HAL_REG_TRIM   (phost->GpuDefs->RegTrim)
 
#define EVE_HAL_REG_TOUCH_DIRECT_XY   (phost->GpuDefs->RegTouchDirectXY)
 
#define EVE_HAL_REG_DATESTAMP   (phost->GpuDefs->RegDatestamp)
 
#define EVE_HAL_REG_CMDB_SPACE   (phost->GpuDefs->RegCmdBSpace)
 
#define EVE_HAL_REG_TRACKER   (phost->GpuDefs->RegTracker)
 
#define RAM_DL   (phost->GpuDefs->RamDl)
 
#define ROMFONT_TABLEADDRESS   (phost->GpuDefs->RomFontTableAddress)
 
#define RAM_G_SIZE   (phost->GpuDefs->RamGSize)
 
#define LOW_FREQ_BOUND   (phost->GpuDefs->LowFreqBound)
 
#define BITMAP_ADDR_MASK   (phost->GpuDefs->BitmapAddrMask)
 
#define SCISSOR_XY_SHIFT   (phost->GpuDefs->ScissorSizeShift - 1)
 
#define SCISSOR_XY_MASK   (((1UL << phost->GpuDefs->ScissorSizeShift) - 1UL) >> 1)
 
#define SCISSOR_SIZE_SHIFT   (phost->GpuDefs->ScissorSizeShift)
 
#define SCISSOR_SIZE_MASK   ((1UL << phost->GpuDefs->ScissorSizeShift) - 1UL)
 
#define RAM_PAL   (RAM_DL + 8192UL)
 
#define RAM_TOP   (RAM_DL + 16384UL)
 
#define RAM_CMD   (RAM_DL + 32768UL)
 
#define RAM_J1RAM   (RAM_DL + 36864UL)
 
#define RAM_ROMSUB   (RAM_DL + 40960UL)
 
#define RAM_JTBOOT   (RAM_DL + 45056UL)
 
#define RAM_BIST   (RAM_DL + 524288UL)
 
#define RAM_COMPOSITE   (RAM_DL + 794624UL)
 
#define RAM_REG   (EVE_HAL_REG_ID + 0UL)
 
#define REG_ID   (EVE_HAL_REG_ID + 0UL)
 
#define REG_FRAMES   (REG_ID + 4UL)
 
#define REG_CLOCK   (REG_ID + 8UL)
 
#define REG_FREQUENCY   (REG_ID + 12UL)
 
#define REG_RENDERMODE   (REG_ID + 16UL)
 
#define REG_SNAPY   (REG_ID + 20UL)
 
#define REG_SNAPSHOT   (REG_ID + 24UL)
 
#define REG_SNAPFORMAT   (REG_ID + 28UL)
 
#define REG_CPURESET   (EVE_HAL_REG_CPURESET + 0UL)
 
#define REG_TAP_CRC   (REG_CPURESET + 4UL)
 
#define REG_TAP_MASK   (REG_CPURESET + 8UL)
 
#define REG_HCYCLE   (REG_CPURESET + 12UL)
 
#define REG_HOFFSET   (REG_CPURESET + 16UL)
 
#define REG_HSIZE   (REG_CPURESET + 20UL)
 
#define REG_HSYNC0   (REG_CPURESET + 24UL)
 
#define REG_HSYNC1   (REG_CPURESET + 28UL)
 
#define REG_VCYCLE   (REG_CPURESET + 32UL)
 
#define REG_VOFFSET   (REG_CPURESET + 36UL)
 
#define REG_VSIZE   (REG_CPURESET + 40UL)
 
#define REG_VSYNC0   (REG_CPURESET + 44UL)
 
#define REG_VSYNC1   (REG_CPURESET + 48UL)
 
#define REG_DLSWAP   (REG_CPURESET + 52UL)
 
#define REG_ROTATE   (REG_CPURESET + 56UL)
 
#define REG_OUTBITS   (REG_CPURESET + 60UL)
 
#define REG_DITHER   (REG_CPURESET + 64UL)
 
#define REG_SWIZZLE   (REG_CPURESET + 68UL)
 
#define REG_CSPREAD   (REG_CPURESET + 72UL)
 
#define REG_PCLK_POL   (REG_CPURESET + 76UL)
 
#define REG_PCLK   (REG_CPURESET + 80UL)
 
#define REG_TAG_X   (REG_CPURESET + 84UL)
 
#define REG_TAG_Y   (REG_CPURESET + 88UL)
 
#define REG_TAG   (REG_CPURESET + 92UL)
 
#define REG_VOL_PB   (REG_CPURESET + 96UL)
 
#define REG_VOL_SOUND   (REG_CPURESET + 100UL)
 
#define REG_SOUND   (REG_CPURESET + 104UL)
 
#define REG_PLAY   (REG_CPURESET + 108UL)
 
#define REG_GPIO_DIR   (REG_CPURESET + 112UL)
 
#define REG_GPIO   (REG_CPURESET + 116UL)
 
#define REG_GPIOX_DIR   (REG_CPURESET + 120UL)
 
#define REG_GPIOX   (REG_CPURESET + 124UL)
 
#define REG_J1_COLD   (REG_CPURESET + 128UL)
 
#define REG_J1_INT   (EVE_HAL_REG_J1_INT + 0UL)
 
#define REG_INT_FLAGS   (REG_J1_INT + 4UL)
 
#define REG_INT_EN   (REG_J1_INT + 8UL)
 
#define REG_INT_MASK   (REG_J1_INT + 12UL)
 
#define REG_PLAYBACK_START   (REG_J1_INT + 16UL)
 
#define REG_PLAYBACK_LENGTH   (REG_J1_INT + 20UL)
 
#define REG_PLAYBACK_READPTR   (REG_J1_INT + 24UL)
 
#define REG_PLAYBACK_FREQ   (REG_J1_INT + 28UL)
 
#define REG_PLAYBACK_FORMAT   (REG_J1_INT + 32UL)
 
#define REG_PLAYBACK_LOOP   (REG_J1_INT + 36UL)
 
#define REG_PLAYBACK_PLAY   (REG_J1_INT + 40UL)
 
#define REG_PWM_HZ   (REG_J1_INT + 44UL)
 
#define REG_PWM_DUTY   (REG_J1_INT + 48UL)
 
#define REG_MACRO_0   (REG_J1_INT + 52UL)
 
#define REG_MACRO_1   (REG_J1_INT + 56UL)
 
#define REG_CYA0   (REG_J1_INT + 60UL)
 
#define REG_CYA1   (REG_J1_INT + 64UL)
 
#define REG_BUSYBITS   (REG_J1_INT + 68UL)
 
#define REG_ROMSUB_SEL   (REG_J1_INT + 76UL)
 
#define REG_RAM_FOLD   (REG_J1_INT + 80UL)
 
#define REG_CMD_READ   (EVE_HAL_REG_CMD_READ + 0UL)
 
#define REG_CMD_WRITE   (REG_CMD_READ + 4UL)
 
#define REG_CMD_DL   (REG_CMD_READ + 8UL)
 
#define REG_TOUCH_MODE   (REG_CMD_READ + 12UL)
 
#define REG_CTOUCH_EXTENDED   (REG_CMD_READ + 16UL)
 
#define REG_TOUCH_ADC_MODE   (REG_CMD_READ + 16UL)
 
#define REG_EHOST_TOUCH_X   (REG_CMD_READ + 20UL)
 
#define REG_TOUCH_CHARGE   (REG_CMD_READ + 20UL)
 
#define REG_TOUCH_SETTLE   (REG_CMD_READ + 24UL)
 
#define REG_EHOST_TOUCH_ID   (REG_CMD_READ + 28UL)
 
#define REG_TOUCH_OVERSAMPLE   (REG_CMD_READ + 28UL)
 
#define REG_EHOST_TOUCH_Y   (REG_CMD_READ + 32UL)
 
#define REG_TOUCH_RZTHRESH   (REG_CMD_READ + 32UL)
 
#define REG_CTOUCH_TOUCH1_XY   (REG_CMD_READ + 36UL)
 
#define REG_TOUCH_RAW_XY   (REG_CMD_READ + 36UL)
 
#define REG_CTOUCH_IDS   (REG_CMD_READ + 40UL)
 
#define REG_CTOUCH_TOUCH4_Y   (REG_CMD_READ + 40UL)
 
#define REG_TOUCH_RZ   (REG_CMD_READ + 40UL)
 
#define REG_CTOUCH_TOUCH0_XY   (REG_CMD_READ + 44UL)
 
#define REG_TOUCH_SCREEN_XY   (REG_CMD_READ + 44UL)
 
#define REG_TOUCH_TAG_XY   (REG_CMD_READ + 48UL)
 
#define REG_TOUCH_TAG   (REG_CMD_READ + 52UL)
 
#define REG_TOUCH_TAG1_XY   (REG_CMD_READ + 56UL)
 
#define REG_TOUCH_TAG1   (REG_CMD_READ + 60UL)
 
#define REG_TOUCH_TAG2_XY   (REG_CMD_READ + 64UL)
 
#define REG_TOUCH_TAG2   (REG_CMD_READ + 68UL)
 
#define REG_TOUCH_TAG3_XY   (REG_CMD_READ + 72UL)
 
#define REG_TOUCH_TAG3   (REG_CMD_READ + 76UL)
 
#define REG_TOUCH_TAG4_XY   (REG_CMD_READ + 80UL)
 
#define REG_TOUCH_TAG4   (REG_CMD_READ + 84UL)
 
#define REG_TOUCH_TRANSFORM_A   (EVE_HAL_REG_TOUCH_TRANSFORM_A + 0UL)
 
#define REG_TOUCH_TRANSFORM_B   (REG_TOUCH_TRANSFORM_A + 4UL)
 
#define REG_TOUCH_TRANSFORM_C   (REG_TOUCH_TRANSFORM_A + 8UL)
 
#define REG_TOUCH_TRANSFORM_D   (REG_TOUCH_TRANSFORM_A + 12UL)
 
#define REG_TOUCH_TRANSFORM_E   (REG_TOUCH_TRANSFORM_A + 16UL)
 
#define REG_TOUCH_TRANSFORM_F   (REG_TOUCH_TRANSFORM_A + 20UL)
 
#define REG_TOUCH_CONFIG   (REG_TOUCH_TRANSFORM_A + 24UL)
 
#define REG_ANALOG   (REG_TOUCH_TRANSFORM_A + 28UL)
 
#define REG_CTOUCH_GESTURE   (REG_TOUCH_TRANSFORM_A + 28UL)
 
#define REG_CTOUCH_TOUCH4_X   (REG_TOUCH_TRANSFORM_A + 28UL)
 
#define REG_PATCHED_TOUCH_FAULT   (REG_TOUCH_TRANSFORM_A + 28UL)
 
#define REG_EHOST_TOUCH_ACK   (REG_TOUCH_TRANSFORM_A + 32UL)
 
#define REG_PATCHED_ANALOG   (REG_TOUCH_TRANSFORM_A + 32UL)
 
#define REG_TOUCH_FAULT   (REG_TOUCH_TRANSFORM_A + 32UL)
 
#define REG_BIST_EN   (REG_TOUCH_TRANSFORM_A + 36UL)
 
#define REG_CRC   (EVE_HAL_REG_CRC + 0UL)
 
#define REG_SPI_EARLY_TX   (REG_CRC + 4UL)
 
#define REG_TRIM   (EVE_HAL_REG_TRIM + 0UL)
 
#define REG_ANA_COMP   (REG_TRIM + 4UL)
 
#define REG_SPI_WIDTH   (REG_TRIM + 8UL)
 
#define REG_CTOUCH_TOUCH2_XY   (EVE_HAL_REG_TOUCH_DIRECT_XY + 0UL)
 
#define REG_TOUCH_DIRECT_XY   (REG_CTOUCH_TOUCH2_XY + 0UL)
 
#define REG_CTOUCH_TOUCH3_XY   (REG_CTOUCH_TOUCH2_XY + 4UL)
 
#define REG_TOUCH_DIRECT_Z1Z2   (REG_CTOUCH_TOUCH2_XY + 4UL)
 
#define REG_EJPG_READY   (REG_CTOUCH_TOUCH2_XY + 8UL)
 
#define REG_EJPG_BUSY   (REG_CTOUCH_TOUCH2_XY + 12UL)
 
#define REG_EJPG_DAT   (REG_CTOUCH_TOUCH2_XY + 16UL)
 
#define REG_EJPG_OPTIONS   (REG_CTOUCH_TOUCH2_XY + 20UL)
 
#define REG_EJPG_DST   (REG_CTOUCH_TOUCH2_XY + 24UL)
 
#define REG_EJPG_W   (REG_CTOUCH_TOUCH2_XY + 28UL)
 
#define REG_EJPG_H   (REG_CTOUCH_TOUCH2_XY + 32UL)
 
#define REG_EJPG_FORMAT   (REG_CTOUCH_TOUCH2_XY + 36UL)
 
#define REG_EJPG_RI   (REG_CTOUCH_TOUCH2_XY + 40UL)
 
#define REG_EJPG_TQ   (REG_CTOUCH_TOUCH2_XY + 44UL)
 
#define REG_EJPG_TDA   (REG_CTOUCH_TOUCH2_XY + 48UL)
 
#define REG_EJPG_Q   (REG_CTOUCH_TOUCH2_XY + 52UL)
 
#define REG_EJPG_HT   (REG_CTOUCH_TOUCH2_XY + 180UL)
 
#define REG_EJPG_DCC   (REG_CTOUCH_TOUCH2_XY + 436UL)
 
#define REG_EJPG_ACC   (REG_CTOUCH_TOUCH2_XY + 460UL)
 
#define REG_EJPG_SCALE   (REG_CTOUCH_TOUCH2_XY + 972UL)
 
#define REG_EJPG_DEBUG   (REG_CTOUCH_TOUCH2_XY + 976UL)
 
#define REG_RASTERY   (REG_CTOUCH_TOUCH2_XY + 980UL)
 
#define REG_DATESTAMP   (EVE_HAL_REG_DATESTAMP + 0UL)
 
#define REG_CMDB_SPACE   (EVE_HAL_REG_CMDB_SPACE + 0UL)
 
#define REG_CMDB_WRITE   (REG_CMDB_SPACE + 4UL)
 
#define REG_ADAPTIVE_FRAMERATE   (REG_CMDB_SPACE + 8UL)
 
#define REG_SPIM_DIR   (REG_CMDB_SPACE + 12UL)
 
#define REG_SPIM   (REG_CMDB_SPACE + 16UL)
 
#define REG_ESPIM_READSTART   (REG_CMDB_SPACE + 20UL)
 
#define REG_ESPIM_SEQ   (REG_CMDB_SPACE + 24UL)
 
#define REG_ESPIM_ADD   (REG_CMDB_SPACE + 40UL)
 
#define REG_ESPIM_COUNT   (REG_CMDB_SPACE + 44UL)
 
#define REG_ESPIM_WINDOW   (REG_CMDB_SPACE + 48UL)
 
#define REG_ESPIM_DUMMY   (REG_CMDB_SPACE + 112UL)
 
#define REG_ESPIM_TRIG   (REG_CMDB_SPACE + 116UL)
 
#define REG_PLAYBACK_PAUSE   (REG_CMDB_SPACE + 120UL)
 
#define REG_FLASH_STATUS   (REG_CMDB_SPACE + 124UL)
 
#define REG_FULLBUSYBITS   (REG_CMDB_SPACE + 128UL)
 
#define REG_SHA1KEY   (REG_CMDB_SPACE + 144UL)
 
#define REG_UNDERRUN   (REG_CMDB_SPACE + 152UL)
 
#define REG_AH_HCYCLE_MAX   (REG_CMDB_SPACE + 156UL)
 
#define REG_PCLK_FREQ   (REG_CMDB_SPACE + 160UL)
 
#define REG_PCLK_2X   (REG_CMDB_SPACE + 164UL)
 
#define REG_FLASH_DTR   (REG_CMDB_SPACE + 168UL)
 
#define REG_ESPIM_DTR   (REG_CMDB_SPACE + 172UL)
 
#define REG_HSF_HSIZE   (REG_CMDB_SPACE + 176UL)
 
#define REG_HSF_FT1   (REG_CMDB_SPACE + 180UL)
 
#define REG_HSF_FSCALE   (REG_CMDB_SPACE + 184UL)
 
#define REG_HSF_F00   (REG_CMDB_SPACE + 188UL)
 
#define REG_HSF_F02   (REG_CMDB_SPACE + 192UL)
 
#define REG_HSF_F03   (REG_CMDB_SPACE + 196UL)
 
#define REG_HSF_F10   (REG_CMDB_SPACE + 200UL)
 
#define REG_HSF_F11   (REG_CMDB_SPACE + 204UL)
 
#define REG_HSF_F12   (REG_CMDB_SPACE + 208UL)
 
#define REG_HSF_F13   (REG_CMDB_SPACE + 212UL)
 
#define REG_TRACKER   (EVE_HAL_REG_TRACKER + 0UL)
 
#define REG_TRACKER_1   (REG_TRACKER + 4UL)
 
#define REG_TRACKER_2   (REG_TRACKER + 8UL)
 
#define REG_TRACKER_3   (REG_TRACKER + 12UL)
 
#define REG_TRACKER_4   (REG_TRACKER + 16UL)
 
#define REG_MEDIAFIFO_READ   (REG_TRACKER + 20UL)
 
#define REG_MEDIAFIFO_WRITE   (REG_TRACKER + 24UL)
 
#define REG_MEDIAFIFO_BASE   (REG_TRACKER + 28UL)
 
#define REG_MEDIAFIFO_SIZE   (REG_TRACKER + 32UL)
 
#define REG_FLASH_SIZE   (REG_TRACKER + 36UL)
 
#define REG_ANIM_ACTIVE   (REG_TRACKER + 44UL)
 
#define REG_DF_TUNED   (REG_TRACKER + 48UL)
 
#define REG_PLAY_CONTROL   (REG_TRACKER + 334UL)
 
#define REG_CTOUCH_TOUCHA_XY   REG_CTOUCH_TOUCH1_XY
 
#define REG_CTOUCH_TOUCHB_XY   REG_CTOUCH_TOUCH2_XY
 
#define REG_CTOUCH_TOUCHC_XY   REG_CTOUCH_TOUCH3_XY
 
#define REG_CTOUCH_TOUCHD_X   REG_CTOUCH_TOUCH4_X
 
#define REG_CTOUCH_TOUCHD_Y   REG_CTOUCH_TOUCH4_Y
 
#define EVE_GPUDEFS_IMPLEMENT
 
Commands for FT800
#define CMD_DLSTART   4294967040UL
 
#define CMD_SWAP   4294967041UL
 
#define CMD_INTERRUPT   4294967042UL
 
#define CMD_BGCOLOR   4294967049UL
 
#define CMD_FGCOLOR   4294967050UL
 
#define CMD_GRADIENT   4294967051UL
 
#define CMD_TEXT   4294967052UL
 
#define CMD_BUTTON   4294967053UL
 
#define CMD_KEYS   4294967054UL
 
#define CMD_PROGRESS   4294967055UL
 
#define CMD_SLIDER   4294967056UL
 
#define CMD_SCROLLBAR   4294967057UL
 
#define CMD_TOGGLE   4294967058UL
 
#define CMD_GAUGE   4294967059UL
 
#define CMD_CLOCK   4294967060UL
 
#define CMD_CALIBRATE   4294967061UL
 
#define CMD_SPINNER   4294967062UL
 
#define CMD_STOP   4294967063UL
 
#define CMD_MEMCRC   4294967064UL
 
#define CMD_REGREAD   4294967065UL
 
#define CMD_MEMWRITE   4294967066UL
 
#define CMD_MEMSET   4294967067UL
 
#define CMD_MEMZERO   4294967068UL
 
#define CMD_MEMCPY   4294967069UL
 
#define CMD_APPEND   4294967070UL
 
#define CMD_SNAPSHOT   4294967071UL
 
#define CMD_BITMAP_TRANSFORM   4294967073UL
 
#define CMD_INFLATE   4294967074UL
 
#define CMD_GETPTR   4294967075UL
 
#define CMD_LOADIMAGE   4294967076UL
 
#define CMD_GETPROPS   4294967077UL
 
#define CMD_LOADIDENTITY   4294967078UL
 
#define CMD_TRANSLATE   4294967079UL
 
#define CMD_SCALE   4294967080UL
 
#define CMD_ROTATE   4294967081UL
 
#define CMD_SETMATRIX   4294967082UL
 
#define CMD_SETFONT   4294967083UL
 
#define CMD_TRACK   4294967084UL
 
#define CMD_DIAL   4294967085UL
 
#define CMD_NUMBER   4294967086UL
 
#define CMD_SCREENSAVER   4294967087UL
 
#define CMD_SKETCH   4294967088UL
 
#define CMD_LOGO   4294967089UL
 
#define CMD_COLDSTART   4294967090UL
 
#define CMD_GETMATRIX   4294967091UL
 
#define CMD_GRADCOLOR   4294967092UL
 
Commands for FT801
#define CMD_CSKETCH   4294967093UL
 
Commands for FT810
#define CMD_SETROTATE   4294967094UL
 
#define CMD_SNAPSHOT2   4294967095UL
 
#define CMD_SETBASE   4294967096UL
 
#define CMD_MEDIAFIFO   4294967097UL
 
#define CMD_PLAYVIDEO   4294967098UL
 
#define CMD_SETFONT2   4294967099UL
 
#define CMD_SETSCRATCH   4294967100UL
 
#define CMD_ROMFONT   4294967103UL
 
#define CMD_VIDEOSTART   4294967104UL
 
#define CMD_VIDEOFRAME   4294967105UL
 
#define CMD_SYNC   4294967106UL
 
#define CMD_SETBITMAP   4294967107UL
 
Commands for BT815
#define CMD_FLASHERASE   4294967108UL
 
#define CMD_FLASHWRITE   4294967109UL
 
#define CMD_FLASHREAD   4294967110UL
 
#define CMD_FLASHUPDATE   4294967111UL
 
#define CMD_FLASHDETACH   4294967112UL
 
#define CMD_FLASHATTACH   4294967113UL
 
#define CMD_FLASHFAST   4294967114UL
 
#define CMD_FLASHSPIDESEL   4294967115UL
 
#define CMD_FLASHSPITX   4294967116UL
 
#define CMD_FLASHSPIRX   4294967117UL
 
#define CMD_FLASHSOURCE   4294967118UL
 
#define CMD_CLEARCACHE   4294967119UL
 
#define CMD_INFLATE2   4294967120UL
 
#define CMD_ROTATEAROUND   4294967121UL
 
#define CMD_RESETFONTS   4294967122UL
 
#define CMD_ANIMSTART   4294967123UL
 
#define CMD_ANIMSTOP   4294967124UL
 
#define CMD_ANIMXY   4294967125UL
 
#define CMD_ANIMDRAW   4294967126UL
 
#define CMD_GRADIENTA   4294967127UL
 
#define CMD_FILLWIDTH   4294967128UL
 
#define CMD_APPENDF   4294967129UL
 
#define CMD_ANIMFRAME   4294967130UL
 
#define CMD_NOP   4294967131UL
 
#define CMD_VIDEOSTARTF   4294967135UL
 
Commands for BT817
#define CMD_CALIBRATESUB   4294967136UL
 
#define CMD_TESTCARD   4294967137UL
 
#define CMD_HSF   4294967138UL
 
#define CMD_APILEVEL   4294967139UL
 
#define CMD_GETIMAGE   4294967140UL
 
#define CMD_WAIT   4294967141UL
 
#define CMD_RETURN   4294967142UL
 
#define CMD_CALLLIST   4294967143UL
 
#define CMD_NEWLIST   4294967144UL
 
#define CMD_ENDLIST   4294967145UL
 
#define CMD_PCLKFREQ   4294967146UL
 
#define CMD_FONTCACHE   4294967147UL
 
#define CMD_FONTCACHEQUERY   4294967148UL
 
#define CMD_ANIMFRAMERAM   4294967149UL
 
#define CMD_ANIMSTARTRAM   4294967150UL
 
#define CMD_RUNANIM   4294967151UL
 
#define CMD_FLASHPROGRAM   4294967152UL
 
Display List
#define VERTEX2F(x, y)   ((1UL << 30) | (((x)&32767UL) << 15) | (((y)&32767UL) << 0))
 
#define VERTEX2II(x, y, handle, cell)   ((2UL << 30) | (((x)&511UL) << 21) | (((y)&511UL) << 12) | (((handle)&31UL) << 7) | (((cell)&127UL) << 0))
 
#define BITMAP_SOURCE(addr)   ((1UL << 24) | ((addr) < 0 ? (((addr) & (BITMAP_ADDR_MASK >> 1))) : ((addr)&BITMAP_ADDR_MASK)))
 
#define BITMAP_SOURCE2(flash_or_ram, addr)   ((1UL << 24) | ((flash_or_ram) << 23) | (((addr) & (BITMAP_ADDR_MASK >> 1)) << 0))
 
#define CLEAR_COLOR_RGB(red, green, blue)   ((2UL << 24) | (((red)&255UL) << 16) | (((green)&255UL) << 8) | (((blue)&255UL) << 0))
 
#define TAG(s)   ((3UL << 24) | (((s)&255UL) << 0))
 
#define COLOR_RGB(red, green, blue)   ((4UL << 24) | (((red)&255UL) << 16) | (((green)&255UL) << 8) | (((blue)&255UL) << 0))
 
#define BITMAP_HANDLE(handle)   ((5UL << 24) | (((handle)&31UL) << 0))
 
#define CELL(cell)   ((6UL << 24) | (((cell)&127UL) << 0))
 
#define BITMAP_LAYOUT(format, linestride, height)   ((7UL << 24) | (((format)&31UL) << 19) | (((linestride)&1023UL) << 9) | (((height)&511UL) << 0))
 
#define BITMAP_SIZE(filter, wrapx, wrapy, width, height)   ((8UL << 24) | (((filter)&1UL) << 20) | (((wrapx)&1UL) << 19) | (((wrapy)&1UL) << 18) | (((width)&511UL) << 9) | (((height)&511UL) << 0))
 
#define ALPHA_FUNC(func, ref)   ((9UL << 24) | (((func)&7UL) << 8) | (((ref)&255UL) << 0))
 
#define STENCIL_FUNC(func, ref, mask)   ((10UL << 24) | (((func)&7UL) << 16) | (((ref)&255UL) << 8) | (((mask)&255UL) << 0))
 
#define BLEND_FUNC(src, dst)   ((11UL << 24) | (((src)&7UL) << 3) | (((dst)&7UL) << 0))
 
#define STENCIL_OP(sfail, spass)   ((12UL << 24) | (((sfail)&7UL) << 3) | (((spass)&7UL) << 0))
 
#define POINT_SIZE(size)   ((13UL << 24) | (((size)&8191UL) << 0))
 
#define LINE_WIDTH(width)   ((14UL << 24) | (((width)&4095UL) << 0))
 
#define CLEAR_COLOR_A(alpha)   ((15UL << 24) | (((alpha)&255UL) << 0))
 
#define COLOR_A(alpha)   ((16UL << 24) | (((alpha)&255UL) << 0))
 
#define CLEAR_STENCIL(s)   ((17UL << 24) | (((s)&255UL) << 0))
 
#define CLEAR_TAG(s)   ((18UL << 24) | (((s)&255UL) << 0))
 
#define STENCIL_MASK(mask)   ((19UL << 24) | (((mask)&255UL) << 0))
 
#define TAG_MASK(mask)   ((20UL << 24) | (((mask)&1UL) << 0))
 
#define BITMAP_TRANSFORM_C(c)   ((23UL << 24) | (((c)&16777215UL) << 0))
 
#define BITMAP_TRANSFORM_F(f)   ((26UL << 24) | (((f)&16777215UL) << 0))
 
#define BITMAP_TRANSFORM_A_EXT(p, v)   ((21UL << 24) | (((p)&1UL) << 17) | (((v)&131071UL) << 0))
 
#define BITMAP_TRANSFORM_B_EXT(p, v)   ((22UL << 24) | (((p)&1UL) << 17) | (((v)&131071UL) << 0))
 
#define BITMAP_TRANSFORM_D_EXT(p, v)   ((24UL << 24) | (((p)&1UL) << 17) | (((v)&131071UL) << 0))
 
#define BITMAP_TRANSFORM_E_EXT(p, v)   ((25UL << 24) | (((p)&1UL) << 17) | (((v)&131071UL) << 0))
 
#define BITMAP_TRANSFORM_A(a)   BITMAP_TRANSFORM_A_EXT(0, a)
 
#define BITMAP_TRANSFORM_B(b)   BITMAP_TRANSFORM_B_EXT(0, b)
 
#define BITMAP_TRANSFORM_D(d)   BITMAP_TRANSFORM_D_EXT(0, d)
 
#define BITMAP_TRANSFORM_E(e)   BITMAP_TRANSFORM_E_EXT(0, e)
 
#define SCISSOR_XY(x, y)   ((27UL << 24) | (((x)&SCISSOR_XY_MASK) << SCISSOR_XY_SHIFT) | (((y)&SCISSOR_XY_MASK) << 0))
 
#define SCISSOR_SIZE(width, height)   ((28UL << 24) | (((width)&SCISSOR_SIZE_MASK) << SCISSOR_SIZE_SHIFT) | (((height)&SCISSOR_SIZE_MASK) << 0))
 
#define CALL(dest)   ((29UL << 24) | (((dest)&65535UL) << 0))
 
#define JUMP(dest)   ((30UL << 24) | (((dest)&65535UL) << 0))
 
#define BEGIN(prim)   ((31UL << 24) | (((prim)&15UL) << 0))
 
#define COLOR_MASK(r, g, b, a)   ((32UL << 24) | (((r)&1UL) << 3) | (((g)&1UL) << 2) | (((b)&1UL) << 1) | (((a)&1UL) << 0))
 
#define CLEAR(c, s, t)   ((38UL << 24) | (((c)&1UL) << 2) | (((s)&1UL) << 1) | (((t)&1UL) << 0))
 
#define VERTEX_FORMAT(frac)   ((39UL << 24) | (((frac)&7UL) << 0))
 
#define BITMAP_LAYOUT_H(linestride, height)   ((40UL << 24) | (((linestride)&3UL) << 2) | (((height)&3UL) << 0))
 
#define BITMAP_SIZE_H(width, height)   ((41UL << 24) | (((width)&3UL) << 2) | (((height)&3UL) << 0))
 
#define PALETTE_SOURCE(addr)   ((42UL << 24) | (((addr)&4194303UL) << 0))
 
#define VERTEX_TRANSLATE_X(x)   ((43UL << 24) | (((x)&131071UL) << 0))
 
#define VERTEX_TRANSLATE_Y(y)   ((44UL << 24) | (((y)&131071UL) << 0))
 
#define NOP()   ((45UL << 24))
 
#define BITMAP_EXT_FORMAT(format)   ((46UL << 24) | (((format)&65535UL) << 0))
 
#define BITMAP_SWIZZLE(r, g, b, a)   ((47UL << 24) | (((r)&7UL) << 9) | (((g)&7UL) << 6) | (((b)&7UL) << 3) | (((a)&7UL) << 0))
 
#define INT_FRR()   ((48UL << 24))
 
#define END()   ((33UL << 24))
 
#define SAVE_CONTEXT()   ((34UL << 24))
 
#define RESTORE_CONTEXT()   ((35UL << 24))
 
#define RETURN()   ((36UL << 24))
 
#define MACRO(m)   ((37UL << 24) | (((m)&1UL) << 0))
 
#define DISPLAY()   ((0UL << 24))
 
Options
#define DLSWAP_DONE   0UL
 
#define DLSWAP_LINE   1UL
 
#define DLSWAP_FRAME   2UL
 
#define OPT_MONO   1UL
 
#define OPT_NODL   2UL
 
#define OPT_NOTEAR   4UL
 
#define OPT_FULLSCREEN   8UL
 
#define OPT_MEDIAFIFO   16UL
 
#define OPT_SOUND   32UL
 
#define OPT_FLASH   64UL
 
#define OPT_OVERLAY   128UL
 
#define OPT_FLAT   256UL
 
#define OPT_SIGNED   256UL
 
#define OPT_DITHER   256UL
 
#define OPT_CENTERX   512UL
 
#define OPT_CENTERY   1024UL
 
#define OPT_CENTER   1536UL
 
#define OPT_FORMAT   4096UL
 
#define OPT_NOBACK   4096UL
 
#define OPT_FILL   8192UL
 
#define OPT_NOHM   16384UL
 
#define OPT_NOPOINTER   16384UL
 
#define OPT_NOSECS   32768UL
 
#define OPT_NOHANDS   49152UL
 
#define OPT_NOTICKS   8192UL
 
#define OPT_RIGHTX   2048UL
 

Detailed Description

Defines EVE hardware values.

This header is separated and included last in case of conflicts with other libraries.

Expects BT_81XA_ENABLE, BT_81X_ENABLE, BT_88X_ENABLE, FT_81X_ENABLE, or FT_80X_ENABLE to be defined. If not, multi target compilation is assumed.

Author
Bridgetek
Date
2018

MIT License

Copyright (c) [2019] [Bridgetek Pte Ltd (BRTChip)]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Definition in file EVE_GpuDefs.h.

Macro Definition Documentation

◆ ADC_DIFFERENTIAL

#define ADC_DIFFERENTIAL   1UL

Definition at line 753 of file EVE_GpuDefs.h.

◆ ADC_SINGLE_ENDED

#define ADC_SINGLE_ENDED   0UL

Definition at line 752 of file EVE_GpuDefs.h.

◆ ADPCM_SAMPLES

#define ADPCM_SAMPLES   2UL

Definition at line 730 of file EVE_GpuDefs.h.

◆ ALPHA

#define ALPHA   5UL

Definition at line 691 of file EVE_GpuDefs.h.

◆ ALPHA_FUNC

#define ALPHA_FUNC (   func,
  ref 
)    ((9UL << 24) | (((func)&7UL) << 8) | (((ref)&255UL) << 0))

Definition at line 565 of file EVE_GpuDefs.h.

◆ ALWAYS

#define ALWAYS   7UL

Definition at line 700 of file EVE_GpuDefs.h.

◆ ANIM_HOLD

#define ANIM_HOLD   2UL

Definition at line 656 of file EVE_GpuDefs.h.

◆ ANIM_LOOP

#define ANIM_LOOP   1UL

Definition at line 655 of file EVE_GpuDefs.h.

◆ ANIM_ONCE

#define ANIM_ONCE   0UL

Definition at line 654 of file EVE_GpuDefs.h.

◆ ARGB1555

#define ARGB1555   0UL

Definition at line 702 of file EVE_GpuDefs.h.

◆ ARGB2

#define ARGB2   5UL

Definition at line 707 of file EVE_GpuDefs.h.

◆ ARGB4

#define ARGB4   6UL

Definition at line 708 of file EVE_GpuDefs.h.

◆ BARGRAPH

#define BARGRAPH   11UL

Definition at line 713 of file EVE_GpuDefs.h.

◆ BEGIN

#define BEGIN (   prim)    ((31UL << 24) | (((prim)&15UL) << 0))

Definition at line 591 of file EVE_GpuDefs.h.

◆ BILINEAR

#define BILINEAR   1UL

Definition at line 726 of file EVE_GpuDefs.h.

◆ BITMAP_ADDR_MASK

#define BITMAP_ADDR_MASK   (phost->GpuDefs->BitmapAddrMask)

Definition at line 101 of file EVE_GpuDefs.h.

◆ BITMAP_EXT_FORMAT

#define BITMAP_EXT_FORMAT (   format)    ((46UL << 24) | (((format)&65535UL) << 0))

Definition at line 601 of file EVE_GpuDefs.h.

◆ BITMAP_HANDLE

#define BITMAP_HANDLE (   handle)    ((5UL << 24) | (((handle)&31UL) << 0))

Definition at line 561 of file EVE_GpuDefs.h.

◆ BITMAP_LAYOUT

#define BITMAP_LAYOUT (   format,
  linestride,
  height 
)    ((7UL << 24) | (((format)&31UL) << 19) | (((linestride)&1023UL) << 9) | (((height)&511UL) << 0))

Definition at line 563 of file EVE_GpuDefs.h.

◆ BITMAP_LAYOUT_H

#define BITMAP_LAYOUT_H (   linestride,
  height 
)    ((40UL << 24) | (((linestride)&3UL) << 2) | (((height)&3UL) << 0))

Definition at line 595 of file EVE_GpuDefs.h.

◆ BITMAP_SIZE

#define BITMAP_SIZE (   filter,
  wrapx,
  wrapy,
  width,
  height 
)    ((8UL << 24) | (((filter)&1UL) << 20) | (((wrapx)&1UL) << 19) | (((wrapy)&1UL) << 18) | (((width)&511UL) << 9) | (((height)&511UL) << 0))

Definition at line 564 of file EVE_GpuDefs.h.

◆ BITMAP_SIZE_H

#define BITMAP_SIZE_H (   width,
  height 
)    ((41UL << 24) | (((width)&3UL) << 2) | (((height)&3UL) << 0))

Definition at line 596 of file EVE_GpuDefs.h.

◆ BITMAP_SOURCE

#define BITMAP_SOURCE (   addr)    ((1UL << 24) | ((addr) < 0 ? (((addr) & (BITMAP_ADDR_MASK >> 1))) : ((addr)&BITMAP_ADDR_MASK)))

Definition at line 556 of file EVE_GpuDefs.h.

◆ BITMAP_SOURCE2

#define BITMAP_SOURCE2 (   flash_or_ram,
  addr 
)    ((1UL << 24) | ((flash_or_ram) << 23) | (((addr) & (BITMAP_ADDR_MASK >> 1)) << 0))

Definition at line 557 of file EVE_GpuDefs.h.

◆ BITMAP_SWIZZLE

#define BITMAP_SWIZZLE (   r,
  g,
  b,
  a 
)    ((47UL << 24) | (((r)&7UL) << 9) | (((g)&7UL) << 6) | (((b)&7UL) << 3) | (((a)&7UL) << 0))

Definition at line 602 of file EVE_GpuDefs.h.

◆ BITMAP_TRANSFORM_A

#define BITMAP_TRANSFORM_A (   a)    BITMAP_TRANSFORM_A_EXT(0, a)

Definition at line 583 of file EVE_GpuDefs.h.

◆ BITMAP_TRANSFORM_A_EXT

#define BITMAP_TRANSFORM_A_EXT (   p,
 
)    ((21UL << 24) | (((p)&1UL) << 17) | (((v)&131071UL) << 0))

Definition at line 579 of file EVE_GpuDefs.h.

◆ BITMAP_TRANSFORM_B

#define BITMAP_TRANSFORM_B (   b)    BITMAP_TRANSFORM_B_EXT(0, b)

Definition at line 584 of file EVE_GpuDefs.h.

◆ BITMAP_TRANSFORM_B_EXT

#define BITMAP_TRANSFORM_B_EXT (   p,
 
)    ((22UL << 24) | (((p)&1UL) << 17) | (((v)&131071UL) << 0))

Definition at line 580 of file EVE_GpuDefs.h.

◆ BITMAP_TRANSFORM_C

#define BITMAP_TRANSFORM_C (   c)    ((23UL << 24) | (((c)&16777215UL) << 0))

Definition at line 577 of file EVE_GpuDefs.h.

◆ BITMAP_TRANSFORM_D

#define BITMAP_TRANSFORM_D (   d)    BITMAP_TRANSFORM_D_EXT(0, d)

Definition at line 585 of file EVE_GpuDefs.h.

◆ BITMAP_TRANSFORM_D_EXT

#define BITMAP_TRANSFORM_D_EXT (   p,
 
)    ((24UL << 24) | (((p)&1UL) << 17) | (((v)&131071UL) << 0))

Definition at line 581 of file EVE_GpuDefs.h.

◆ BITMAP_TRANSFORM_E

#define BITMAP_TRANSFORM_E (   e)    BITMAP_TRANSFORM_E_EXT(0, e)

Definition at line 586 of file EVE_GpuDefs.h.

◆ BITMAP_TRANSFORM_E_EXT

#define BITMAP_TRANSFORM_E_EXT (   p,
 
)    ((25UL << 24) | (((p)&1UL) << 17) | (((v)&131071UL) << 0))

Definition at line 582 of file EVE_GpuDefs.h.

◆ BITMAP_TRANSFORM_F

#define BITMAP_TRANSFORM_F (   f)    ((26UL << 24) | (((f)&16777215UL) << 0))

Definition at line 578 of file EVE_GpuDefs.h.

◆ BITMAPS

#define BITMAPS   1UL

Definition at line 732 of file EVE_GpuDefs.h.

◆ BLEND_FUNC

#define BLEND_FUNC (   src,
  dst 
)    ((11UL << 24) | (((src)&7UL) << 3) | (((dst)&7UL) << 0))

Definition at line 567 of file EVE_GpuDefs.h.

◆ BLUE

#define BLUE   4UL

Definition at line 690 of file EVE_GpuDefs.h.

◆ BORDER

#define BORDER   0UL

Definition at line 749 of file EVE_GpuDefs.h.

◆ CALL

#define CALL (   dest)    ((29UL << 24) | (((dest)&65535UL) << 0))

Definition at line 589 of file EVE_GpuDefs.h.

◆ CELL

#define CELL (   cell)    ((6UL << 24) | (((cell)&127UL) << 0))

Definition at line 562 of file EVE_GpuDefs.h.

◆ CLEAR

#define CLEAR (   c,
  s,
 
)    ((38UL << 24) | (((c)&1UL) << 2) | (((s)&1UL) << 1) | (((t)&1UL) << 0))

Definition at line 593 of file EVE_GpuDefs.h.

◆ CLEAR_COLOR_A

#define CLEAR_COLOR_A (   alpha)    ((15UL << 24) | (((alpha)&255UL) << 0))

Definition at line 571 of file EVE_GpuDefs.h.

◆ CLEAR_COLOR_RGB

#define CLEAR_COLOR_RGB (   red,
  green,
  blue 
)    ((2UL << 24) | (((red)&255UL) << 16) | (((green)&255UL) << 8) | (((blue)&255UL) << 0))

Definition at line 558 of file EVE_GpuDefs.h.

◆ CLEAR_STENCIL

#define CLEAR_STENCIL (   s)    ((17UL << 24) | (((s)&255UL) << 0))

Definition at line 573 of file EVE_GpuDefs.h.

◆ CLEAR_TAG

#define CLEAR_TAG (   s)    ((18UL << 24) | (((s)&255UL) << 0))

Definition at line 574 of file EVE_GpuDefs.h.

◆ CMD_ANIMDRAW

#define CMD_ANIMDRAW   4294967126UL

Definition at line 512 of file EVE_GpuDefs.h.

◆ CMD_ANIMFRAME

#define CMD_ANIMFRAME   4294967130UL

Definition at line 516 of file EVE_GpuDefs.h.

◆ CMD_ANIMFRAMERAM

#define CMD_ANIMFRAMERAM   4294967149UL

Definition at line 538 of file EVE_GpuDefs.h.

◆ CMD_ANIMSTART

#define CMD_ANIMSTART   4294967123UL

Definition at line 509 of file EVE_GpuDefs.h.

◆ CMD_ANIMSTARTRAM

#define CMD_ANIMSTARTRAM   4294967150UL

Definition at line 539 of file EVE_GpuDefs.h.

◆ CMD_ANIMSTOP

#define CMD_ANIMSTOP   4294967124UL

Definition at line 510 of file EVE_GpuDefs.h.

◆ CMD_ANIMXY

#define CMD_ANIMXY   4294967125UL

Definition at line 511 of file EVE_GpuDefs.h.

◆ CMD_APILEVEL

#define CMD_APILEVEL   4294967139UL

Definition at line 528 of file EVE_GpuDefs.h.

◆ CMD_APPEND

#define CMD_APPEND   4294967070UL

Definition at line 442 of file EVE_GpuDefs.h.

◆ CMD_APPENDF

#define CMD_APPENDF   4294967129UL

Definition at line 515 of file EVE_GpuDefs.h.

◆ CMD_BGCOLOR

#define CMD_BGCOLOR   4294967049UL

Definition at line 421 of file EVE_GpuDefs.h.

◆ CMD_BITMAP_TRANSFORM

#define CMD_BITMAP_TRANSFORM   4294967073UL

Definition at line 444 of file EVE_GpuDefs.h.

◆ CMD_BUTTON

#define CMD_BUTTON   4294967053UL

Definition at line 425 of file EVE_GpuDefs.h.

◆ CMD_CALIBRATE

#define CMD_CALIBRATE   4294967061UL

Definition at line 433 of file EVE_GpuDefs.h.

◆ CMD_CALIBRATESUB

#define CMD_CALIBRATESUB   4294967136UL

Definition at line 525 of file EVE_GpuDefs.h.

◆ CMD_CALLLIST

#define CMD_CALLLIST   4294967143UL

Definition at line 532 of file EVE_GpuDefs.h.

◆ CMD_CLEARCACHE

#define CMD_CLEARCACHE   4294967119UL

Definition at line 505 of file EVE_GpuDefs.h.

◆ CMD_CLOCK

#define CMD_CLOCK   4294967060UL

Definition at line 432 of file EVE_GpuDefs.h.

◆ CMD_COLDSTART

#define CMD_COLDSTART   4294967090UL

Definition at line 461 of file EVE_GpuDefs.h.

◆ CMD_CSKETCH

#define CMD_CSKETCH   4294967093UL

Definition at line 469 of file EVE_GpuDefs.h.

◆ CMD_DIAL

#define CMD_DIAL   4294967085UL

Definition at line 456 of file EVE_GpuDefs.h.

◆ CMD_DLSTART

#define CMD_DLSTART   4294967040UL

Definition at line 418 of file EVE_GpuDefs.h.

◆ CMD_ENDLIST

#define CMD_ENDLIST   4294967145UL

Definition at line 534 of file EVE_GpuDefs.h.

◆ CMD_FGCOLOR

#define CMD_FGCOLOR   4294967050UL

Definition at line 422 of file EVE_GpuDefs.h.

◆ CMD_FILLWIDTH

#define CMD_FILLWIDTH   4294967128UL

Definition at line 514 of file EVE_GpuDefs.h.

◆ CMD_FLASHATTACH

#define CMD_FLASHATTACH   4294967113UL

Definition at line 499 of file EVE_GpuDefs.h.

◆ CMD_FLASHDETACH

#define CMD_FLASHDETACH   4294967112UL

Definition at line 498 of file EVE_GpuDefs.h.

◆ CMD_FLASHERASE

#define CMD_FLASHERASE   4294967108UL

Definition at line 494 of file EVE_GpuDefs.h.

◆ CMD_FLASHFAST

#define CMD_FLASHFAST   4294967114UL

Definition at line 500 of file EVE_GpuDefs.h.

◆ CMD_FLASHPROGRAM

#define CMD_FLASHPROGRAM   4294967152UL

Definition at line 541 of file EVE_GpuDefs.h.

◆ CMD_FLASHREAD

#define CMD_FLASHREAD   4294967110UL

Definition at line 496 of file EVE_GpuDefs.h.

◆ CMD_FLASHSOURCE

#define CMD_FLASHSOURCE   4294967118UL

Definition at line 504 of file EVE_GpuDefs.h.

◆ CMD_FLASHSPIDESEL

#define CMD_FLASHSPIDESEL   4294967115UL

Definition at line 501 of file EVE_GpuDefs.h.

◆ CMD_FLASHSPIRX

#define CMD_FLASHSPIRX   4294967117UL

Definition at line 503 of file EVE_GpuDefs.h.

◆ CMD_FLASHSPITX

#define CMD_FLASHSPITX   4294967116UL

Definition at line 502 of file EVE_GpuDefs.h.

◆ CMD_FLASHUPDATE

#define CMD_FLASHUPDATE   4294967111UL

Definition at line 497 of file EVE_GpuDefs.h.

◆ CMD_FLASHWRITE

#define CMD_FLASHWRITE   4294967109UL

Definition at line 495 of file EVE_GpuDefs.h.

◆ CMD_FONTCACHE

#define CMD_FONTCACHE   4294967147UL

Definition at line 536 of file EVE_GpuDefs.h.

◆ CMD_FONTCACHEQUERY

#define CMD_FONTCACHEQUERY   4294967148UL

Definition at line 537 of file EVE_GpuDefs.h.

◆ CMD_GAUGE

#define CMD_GAUGE   4294967059UL

Definition at line 431 of file EVE_GpuDefs.h.

◆ CMD_GETIMAGE

#define CMD_GETIMAGE   4294967140UL

Definition at line 529 of file EVE_GpuDefs.h.

◆ CMD_GETMATRIX

#define CMD_GETMATRIX   4294967091UL

Definition at line 462 of file EVE_GpuDefs.h.

◆ CMD_GETPROPS

#define CMD_GETPROPS   4294967077UL

Definition at line 448 of file EVE_GpuDefs.h.

◆ CMD_GETPTR

#define CMD_GETPTR   4294967075UL

Definition at line 446 of file EVE_GpuDefs.h.

◆ CMD_GRADCOLOR

#define CMD_GRADCOLOR   4294967092UL

Definition at line 463 of file EVE_GpuDefs.h.

◆ CMD_GRADIENT

#define CMD_GRADIENT   4294967051UL

Definition at line 423 of file EVE_GpuDefs.h.

◆ CMD_GRADIENTA

#define CMD_GRADIENTA   4294967127UL

Definition at line 513 of file EVE_GpuDefs.h.

◆ CMD_HSF

#define CMD_HSF   4294967138UL

Definition at line 527 of file EVE_GpuDefs.h.

◆ CMD_INFLATE

#define CMD_INFLATE   4294967074UL

Definition at line 445 of file EVE_GpuDefs.h.

◆ CMD_INFLATE2

#define CMD_INFLATE2   4294967120UL

Definition at line 506 of file EVE_GpuDefs.h.

◆ CMD_INTERRUPT

#define CMD_INTERRUPT   4294967042UL

Definition at line 420 of file EVE_GpuDefs.h.

◆ CMD_KEYS

#define CMD_KEYS   4294967054UL

Definition at line 426 of file EVE_GpuDefs.h.

◆ CMD_LOADIDENTITY

#define CMD_LOADIDENTITY   4294967078UL

Definition at line 449 of file EVE_GpuDefs.h.

◆ CMD_LOADIMAGE

#define CMD_LOADIMAGE   4294967076UL

Definition at line 447 of file EVE_GpuDefs.h.

◆ CMD_LOGO

#define CMD_LOGO   4294967089UL

Definition at line 460 of file EVE_GpuDefs.h.

◆ CMD_MEDIAFIFO

#define CMD_MEDIAFIFO   4294967097UL

Definition at line 479 of file EVE_GpuDefs.h.

◆ CMD_MEMCPY

#define CMD_MEMCPY   4294967069UL

Definition at line 441 of file EVE_GpuDefs.h.

◆ CMD_MEMCRC

#define CMD_MEMCRC   4294967064UL

Definition at line 436 of file EVE_GpuDefs.h.

◆ CMD_MEMSET

#define CMD_MEMSET   4294967067UL

Definition at line 439 of file EVE_GpuDefs.h.

◆ CMD_MEMWRITE

#define CMD_MEMWRITE   4294967066UL

Definition at line 438 of file EVE_GpuDefs.h.

◆ CMD_MEMZERO

#define CMD_MEMZERO   4294967068UL

Definition at line 440 of file EVE_GpuDefs.h.

◆ CMD_NEWLIST

#define CMD_NEWLIST   4294967144UL

Definition at line 533 of file EVE_GpuDefs.h.

◆ CMD_NOP

#define CMD_NOP   4294967131UL

Definition at line 517 of file EVE_GpuDefs.h.

◆ CMD_NUMBER

#define CMD_NUMBER   4294967086UL

Definition at line 457 of file EVE_GpuDefs.h.

◆ CMD_PCLKFREQ

#define CMD_PCLKFREQ   4294967146UL

Definition at line 535 of file EVE_GpuDefs.h.

◆ CMD_PLAYVIDEO

#define CMD_PLAYVIDEO   4294967098UL

Definition at line 480 of file EVE_GpuDefs.h.

◆ CMD_PROGRESS

#define CMD_PROGRESS   4294967055UL

Definition at line 427 of file EVE_GpuDefs.h.

◆ CMD_REGREAD

#define CMD_REGREAD   4294967065UL

Definition at line 437 of file EVE_GpuDefs.h.

◆ CMD_RESETFONTS

#define CMD_RESETFONTS   4294967122UL

Definition at line 508 of file EVE_GpuDefs.h.

◆ CMD_RETURN

#define CMD_RETURN   4294967142UL

Definition at line 531 of file EVE_GpuDefs.h.

◆ CMD_ROMFONT

#define CMD_ROMFONT   4294967103UL

Definition at line 483 of file EVE_GpuDefs.h.

◆ CMD_ROTATE

#define CMD_ROTATE   4294967081UL

Definition at line 452 of file EVE_GpuDefs.h.

◆ CMD_ROTATEAROUND

#define CMD_ROTATEAROUND   4294967121UL

Definition at line 507 of file EVE_GpuDefs.h.

◆ CMD_RUNANIM

#define CMD_RUNANIM   4294967151UL

Definition at line 540 of file EVE_GpuDefs.h.

◆ CMD_SCALE

#define CMD_SCALE   4294967080UL

Definition at line 451 of file EVE_GpuDefs.h.

◆ CMD_SCREENSAVER

#define CMD_SCREENSAVER   4294967087UL

Definition at line 458 of file EVE_GpuDefs.h.

◆ CMD_SCROLLBAR

#define CMD_SCROLLBAR   4294967057UL

Definition at line 429 of file EVE_GpuDefs.h.

◆ CMD_SETBASE

#define CMD_SETBASE   4294967096UL

Definition at line 478 of file EVE_GpuDefs.h.

◆ CMD_SETBITMAP

#define CMD_SETBITMAP   4294967107UL

Definition at line 487 of file EVE_GpuDefs.h.

◆ CMD_SETFONT

#define CMD_SETFONT   4294967083UL

Definition at line 454 of file EVE_GpuDefs.h.

◆ CMD_SETFONT2

#define CMD_SETFONT2   4294967099UL

Definition at line 481 of file EVE_GpuDefs.h.

◆ CMD_SETMATRIX

#define CMD_SETMATRIX   4294967082UL

Definition at line 453 of file EVE_GpuDefs.h.

◆ CMD_SETROTATE

#define CMD_SETROTATE   4294967094UL

Definition at line 476 of file EVE_GpuDefs.h.

◆ CMD_SETSCRATCH

#define CMD_SETSCRATCH   4294967100UL

Definition at line 482 of file EVE_GpuDefs.h.

◆ CMD_SKETCH

#define CMD_SKETCH   4294967088UL

Definition at line 459 of file EVE_GpuDefs.h.

◆ CMD_SLIDER

#define CMD_SLIDER   4294967056UL

Definition at line 428 of file EVE_GpuDefs.h.

◆ CMD_SNAPSHOT

#define CMD_SNAPSHOT   4294967071UL

Definition at line 443 of file EVE_GpuDefs.h.

◆ CMD_SNAPSHOT2

#define CMD_SNAPSHOT2   4294967095UL

Definition at line 477 of file EVE_GpuDefs.h.

◆ CMD_SPINNER

#define CMD_SPINNER   4294967062UL

Definition at line 434 of file EVE_GpuDefs.h.

◆ CMD_STOP

#define CMD_STOP   4294967063UL

Definition at line 435 of file EVE_GpuDefs.h.

◆ CMD_SWAP

#define CMD_SWAP   4294967041UL

Definition at line 419 of file EVE_GpuDefs.h.

◆ CMD_SYNC

#define CMD_SYNC   4294967106UL

Definition at line 486 of file EVE_GpuDefs.h.

◆ CMD_TESTCARD

#define CMD_TESTCARD   4294967137UL

Definition at line 526 of file EVE_GpuDefs.h.

◆ CMD_TEXT

#define CMD_TEXT   4294967052UL

Definition at line 424 of file EVE_GpuDefs.h.

◆ CMD_TOGGLE

#define CMD_TOGGLE   4294967058UL

Definition at line 430 of file EVE_GpuDefs.h.

◆ CMD_TRACK

#define CMD_TRACK   4294967084UL

Definition at line 455 of file EVE_GpuDefs.h.

◆ CMD_TRANSLATE

#define CMD_TRANSLATE   4294967079UL

Definition at line 450 of file EVE_GpuDefs.h.

◆ CMD_VIDEOFRAME

#define CMD_VIDEOFRAME   4294967105UL

Definition at line 485 of file EVE_GpuDefs.h.

◆ CMD_VIDEOSTART

#define CMD_VIDEOSTART   4294967104UL

Definition at line 484 of file EVE_GpuDefs.h.

◆ CMD_VIDEOSTARTF

#define CMD_VIDEOSTARTF   4294967135UL

Definition at line 518 of file EVE_GpuDefs.h.

◆ CMD_WAIT

#define CMD_WAIT   4294967141UL

Definition at line 530 of file EVE_GpuDefs.h.

◆ COLOR_A

#define COLOR_A (   alpha)    ((16UL << 24) | (((alpha)&255UL) << 0))

Definition at line 572 of file EVE_GpuDefs.h.

◆ COLOR_MASK

#define COLOR_MASK (   r,
  g,
  b,
  a 
)    ((32UL << 24) | (((r)&1UL) << 3) | (((g)&1UL) << 2) | (((b)&1UL) << 1) | (((a)&1UL) << 0))

Definition at line 592 of file EVE_GpuDefs.h.

◆ COLOR_RGB

#define COLOR_RGB (   red,
  green,
  blue 
)    ((4UL << 24) | (((red)&255UL) << 16) | (((green)&255UL) << 8) | (((blue)&255UL) << 0))

Definition at line 560 of file EVE_GpuDefs.h.

◆ COMPRESSED_RGBA_ASTC_10x10_KHR

#define COMPRESSED_RGBA_ASTC_10x10_KHR   37819UL

Definition at line 669 of file EVE_GpuDefs.h.

◆ COMPRESSED_RGBA_ASTC_10x5_KHR

#define COMPRESSED_RGBA_ASTC_10x5_KHR   37816UL

Definition at line 666 of file EVE_GpuDefs.h.

◆ COMPRESSED_RGBA_ASTC_10x6_KHR

#define COMPRESSED_RGBA_ASTC_10x6_KHR   37817UL

Definition at line 667 of file EVE_GpuDefs.h.

◆ COMPRESSED_RGBA_ASTC_10x8_KHR

#define COMPRESSED_RGBA_ASTC_10x8_KHR   37818UL

Definition at line 668 of file EVE_GpuDefs.h.

◆ COMPRESSED_RGBA_ASTC_12x10_KHR

#define COMPRESSED_RGBA_ASTC_12x10_KHR   37820UL

Definition at line 670 of file EVE_GpuDefs.h.

◆ COMPRESSED_RGBA_ASTC_12x12_KHR

#define COMPRESSED_RGBA_ASTC_12x12_KHR   37821UL

Definition at line 671 of file EVE_GpuDefs.h.

◆ COMPRESSED_RGBA_ASTC_4x4_KHR

#define COMPRESSED_RGBA_ASTC_4x4_KHR   37808UL

Definition at line 658 of file EVE_GpuDefs.h.

◆ COMPRESSED_RGBA_ASTC_5x4_KHR

#define COMPRESSED_RGBA_ASTC_5x4_KHR   37809UL

Definition at line 659 of file EVE_GpuDefs.h.

◆ COMPRESSED_RGBA_ASTC_5x5_KHR

#define COMPRESSED_RGBA_ASTC_5x5_KHR   37810UL

Definition at line 660 of file EVE_GpuDefs.h.

◆ COMPRESSED_RGBA_ASTC_6x5_KHR

#define COMPRESSED_RGBA_ASTC_6x5_KHR   37811UL

Definition at line 661 of file EVE_GpuDefs.h.

◆ COMPRESSED_RGBA_ASTC_6x6_KHR

#define COMPRESSED_RGBA_ASTC_6x6_KHR   37812UL

Definition at line 662 of file EVE_GpuDefs.h.

◆ COMPRESSED_RGBA_ASTC_8x5_KHR

#define COMPRESSED_RGBA_ASTC_8x5_KHR   37813UL

Definition at line 663 of file EVE_GpuDefs.h.

◆ COMPRESSED_RGBA_ASTC_8x6_KHR

#define COMPRESSED_RGBA_ASTC_8x6_KHR   37814UL

Definition at line 664 of file EVE_GpuDefs.h.

◆ COMPRESSED_RGBA_ASTC_8x8_KHR

#define COMPRESSED_RGBA_ASTC_8x8_KHR   37815UL

Definition at line 665 of file EVE_GpuDefs.h.

◆ CTOUCH_MODE_COMPATIBILITY

#define CTOUCH_MODE_COMPATIBILITY   1UL

Definition at line 755 of file EVE_GpuDefs.h.

◆ CTOUCH_MODE_EXTENDED

#define CTOUCH_MODE_EXTENDED   0UL

Definition at line 756 of file EVE_GpuDefs.h.

◆ DECR

#define DECR   4UL

Definition at line 678 of file EVE_GpuDefs.h.

◆ DISPLAY

#define DISPLAY ( )    ((0UL << 24))

Definition at line 609 of file EVE_GpuDefs.h.

◆ DLSWAP_DONE

#define DLSWAP_DONE   0UL

Definition at line 623 of file EVE_GpuDefs.h.

◆ DLSWAP_FRAME

#define DLSWAP_FRAME   2UL

Definition at line 625 of file EVE_GpuDefs.h.

◆ DLSWAP_LINE

#define DLSWAP_LINE   1UL

Definition at line 624 of file EVE_GpuDefs.h.

◆ DST_ALPHA

#define DST_ALPHA   3UL

Definition at line 684 of file EVE_GpuDefs.h.

◆ EDGE_STRIP_A

#define EDGE_STRIP_A   7UL

Definition at line 738 of file EVE_GpuDefs.h.

◆ EDGE_STRIP_B

#define EDGE_STRIP_B   8UL

Definition at line 739 of file EVE_GpuDefs.h.

◆ EDGE_STRIP_L

#define EDGE_STRIP_L   6UL

Definition at line 737 of file EVE_GpuDefs.h.

◆ EDGE_STRIP_R

#define EDGE_STRIP_R   5UL

Definition at line 736 of file EVE_GpuDefs.h.

◆ END

#define END ( )    ((33UL << 24))

Definition at line 604 of file EVE_GpuDefs.h.

◆ EQUAL

#define EQUAL   5UL

Definition at line 698 of file EVE_GpuDefs.h.

◆ ESD_END

#define ESD_END ( )

Definition at line 43 of file EVE_GpuDefs.h.

◆ ESD_ENUM

#define ESD_ENUM (   name,
  ... 
)

Definition at line 42 of file EVE_GpuDefs.h.

◆ EVE_CMD_FAULT

#define EVE_CMD_FAULT (   rp)    (rp & 0x3)

Definition at line 63 of file EVE_GpuDefs.h.

◆ EVE_CMD_FIFO_ALIGNMENT_MASK

#define EVE_CMD_FIFO_ALIGNMENT_MASK   (EVE_CMD_FIFO_SIZE - ((4) - 1))

Definition at line 61 of file EVE_GpuDefs.h.

◆ EVE_CMD_FIFO_COUNT

#define EVE_CMD_FIFO_COUNT   (1024UL)

Definition at line 59 of file EVE_GpuDefs.h.

◆ EVE_CMD_FIFO_MASK

#define EVE_CMD_FIFO_MASK   (EVE_CMD_FIFO_SIZE - 1)

Definition at line 60 of file EVE_GpuDefs.h.

◆ EVE_CMD_FIFO_SIZE

#define EVE_CMD_FIFO_SIZE   ((4) * 1024UL)

4kB coprocessor FIFO size

Definition at line 58 of file EVE_GpuDefs.h.

◆ EVE_DL_COUNT

#define EVE_DL_COUNT   (2 * 1024UL)

Definition at line 57 of file EVE_GpuDefs.h.

◆ EVE_DL_SIZE

#define EVE_DL_SIZE   (8 * 1024UL)

8kB Display List buffer size

Definition at line 56 of file EVE_GpuDefs.h.

◆ EVE_FLASH_FIRMWARE_SIZE

#define EVE_FLASH_FIRMWARE_SIZE   (4096)

Definition at line 68 of file EVE_GpuDefs.h.

◆ EVE_FLASH_READ_ALIGN

#define EVE_FLASH_READ_ALIGN   (64)

Definition at line 67 of file EVE_GpuDefs.h.

◆ EVE_FLASH_UPDATE_ALIGN

#define EVE_FLASH_UPDATE_ALIGN   (4096)

Definition at line 66 of file EVE_GpuDefs.h.

◆ EVE_FLASH_WRITE_ALIGN

#define EVE_FLASH_WRITE_ALIGN   (256)

Definition at line 65 of file EVE_GpuDefs.h.

◆ EVE_GPUDEFS_IMPLEMENT

#define EVE_GPUDEFS_IMPLEMENT
Value:
REG_ID, \
RAM_DL, \
#define BITMAP_ADDR_MASK
#define SCISSOR_SIZE_SHIFT
#define REG_TOUCH_DIRECT_XY
#define ROMFONT_TABLEADDRESS
Definition EVE_GpuDefs.h:96
#define REG_TRIM
#define REG_CRC
#define RAM_DL
Definition EVE_GpuDefs.h:95
#define REG_CPURESET
#define REG_CMDB_SPACE
#define REG_ID
#define REG_DATESTAMP
#define REG_TRACKER
#define LOW_FREQ_BOUND
Definition EVE_GpuDefs.h:99
#define RAM_G_SIZE
Definition EVE_GpuDefs.h:98
#define REG_J1_INT
#define REG_CMD_READ
#define REG_TOUCH_TRANSFORM_A

Definition at line 391 of file EVE_GpuDefs.h.

556 : ((addr)&BITMAP_ADDR_MASK)))
557#define BITMAP_SOURCE2(flash_or_ram, addr) ((1UL << 24) | ((flash_or_ram) << 23) | (((addr) & (BITMAP_ADDR_MASK >> 1)) << 0))
558#define CLEAR_COLOR_RGB(red, green, blue) ((2UL << 24) | (((red)&255UL) << 16) | (((green)&255UL) << 8) | (((blue)&255UL) << 0))
559#define TAG(s) ((3UL << 24) | (((s)&255UL) << 0))
560#define COLOR_RGB(red, green, blue) ((4UL << 24) | (((red)&255UL) << 16) | (((green)&255UL) << 8) | (((blue)&255UL) << 0))
561#define BITMAP_HANDLE(handle) ((5UL << 24) | (((handle)&31UL) << 0))
562#define CELL(cell) ((6UL << 24) | (((cell)&127UL) << 0))
563#define BITMAP_LAYOUT(format, linestride, height) ((7UL << 24) | (((format)&31UL) << 19) | (((linestride)&1023UL) << 9) | (((height)&511UL) << 0))
564#define BITMAP_SIZE(filter, wrapx, wrapy, width, height) ((8UL << 24) | (((filter)&1UL) << 20) | (((wrapx)&1UL) << 19) | (((wrapy)&1UL) << 18) | (((width)&511UL) << 9) | (((height)&511UL) << 0))
565#define ALPHA_FUNC(func, ref) ((9UL << 24) | (((func)&7UL) << 8) | (((ref)&255UL) << 0))
566#define STENCIL_FUNC(func, ref, mask) ((10UL << 24) | (((func)&7UL) << 16) | (((ref)&255UL) << 8) | (((mask)&255UL) << 0))
567#define BLEND_FUNC(src, dst) ((11UL << 24) | (((src)&7UL) << 3) | (((dst)&7UL) << 0))
568#define STENCIL_OP(sfail, spass) ((12UL << 24) | (((sfail)&7UL) << 3) | (((spass)&7UL) << 0))
569#define POINT_SIZE(size) ((13UL << 24) | (((size)&8191UL) << 0))
570#define LINE_WIDTH(width) ((14UL << 24) | (((width)&4095UL) << 0))
571#define CLEAR_COLOR_A(alpha) ((15UL << 24) | (((alpha)&255UL) << 0))
572#define COLOR_A(alpha) ((16UL << 24) | (((alpha)&255UL) << 0))
573#define CLEAR_STENCIL(s) ((17UL << 24) | (((s)&255UL) << 0))
574#define CLEAR_TAG(s) ((18UL << 24) | (((s)&255UL) << 0))
575#define STENCIL_MASK(mask) ((19UL << 24) | (((mask)&255UL) << 0))
576#define TAG_MASK(mask) ((20UL << 24) | (((mask)&1UL) << 0))
577#define BITMAP_TRANSFORM_C(c) ((23UL << 24) | (((c)&16777215UL) << 0))
578#define BITMAP_TRANSFORM_F(f) ((26UL << 24) | (((f)&16777215UL) << 0))
579#define BITMAP_TRANSFORM_A_EXT(p, v) ((21UL << 24) | (((p)&1UL) << 17) | (((v)&131071UL) << 0))
580#define BITMAP_TRANSFORM_B_EXT(p, v) ((22UL << 24) | (((p)&1UL) << 17) | (((v)&131071UL) << 0))
581#define BITMAP_TRANSFORM_D_EXT(p, v) ((24UL << 24) | (((p)&1UL) << 17) | (((v)&131071UL) << 0))
582#define BITMAP_TRANSFORM_E_EXT(p, v) ((25UL << 24) | (((p)&1UL) << 17) | (((v)&131071UL) << 0))
583#define BITMAP_TRANSFORM_A(a) BITMAP_TRANSFORM_A_EXT(0, a)
584#define BITMAP_TRANSFORM_B(b) BITMAP_TRANSFORM_B_EXT(0, b)
585#define BITMAP_TRANSFORM_D(d) BITMAP_TRANSFORM_D_EXT(0, d)
586#define BITMAP_TRANSFORM_E(e) BITMAP_TRANSFORM_E_EXT(0, e)
587#define SCISSOR_XY(x, y) ((27UL << 24) | (((x)&SCISSOR_XY_MASK) << SCISSOR_XY_SHIFT) | (((y)&SCISSOR_XY_MASK) << 0))
588#define SCISSOR_SIZE(width, height) ((28UL << 24) | (((width)&SCISSOR_SIZE_MASK) << SCISSOR_SIZE_SHIFT) | (((height)&SCISSOR_SIZE_MASK) << 0))
589#define CALL(dest) ((29UL << 24) | (((dest)&65535UL) << 0))
590#define JUMP(dest) ((30UL << 24) | (((dest)&65535UL) << 0))
591#define BEGIN(prim) ((31UL << 24) | (((prim)&15UL) << 0))
592#define COLOR_MASK(r, g, b, a) ((32UL << 24) | (((r)&1UL) << 3) | (((g)&1UL) << 2) | (((b)&1UL) << 1) | (((a)&1UL) << 0))
593#define CLEAR(c, s, t) ((38UL << 24) | (((c)&1UL) << 2) | (((s)&1UL) << 1) | (((t)&1UL) << 0))
594#define VERTEX_FORMAT(frac) ((39UL << 24) | (((frac)&7UL) << 0))
595#define BITMAP_LAYOUT_H(linestride, height) ((40UL << 24) | (((linestride)&3UL) << 2) | (((height)&3UL) << 0))
596#define BITMAP_SIZE_H(width, height) ((41UL << 24) | (((width)&3UL) << 2) | (((height)&3UL) << 0))
597#define PALETTE_SOURCE(addr) ((42UL << 24) | (((addr)&4194303UL) << 0))
598#define VERTEX_TRANSLATE_X(x) ((43UL << 24) | (((x)&131071UL) << 0))
599#define VERTEX_TRANSLATE_Y(y) ((44UL << 24) | (((y)&131071UL) << 0))
600#define NOP() ((45UL << 24))
601#define BITMAP_EXT_FORMAT(format) ((46UL << 24) | (((format)&65535UL) << 0))
602#define BITMAP_SWIZZLE(r, g, b, a) ((47UL << 24) | (((r)&7UL) << 9) | (((g)&7UL) << 6) | (((b)&7UL) << 3) | (((a)&7UL) << 0))
603#define INT_FRR() ((48UL << 24))
604#define END() ((33UL << 24))
605#define SAVE_CONTEXT() ((34UL << 24))
606#define RESTORE_CONTEXT() ((35UL << 24))
607#define RETURN() ((36UL << 24))
608#define MACRO(m) ((37UL << 24) | (((m)&1UL) << 0))
609#define DISPLAY() ((0UL << 24))
611
612/************
613** Options **
614************/
615
618
619#ifdef POINTS
620#undef POINTS
621#endif
622
623#define DLSWAP_DONE 0UL
624#define DLSWAP_LINE 1UL
625#define DLSWAP_FRAME 2UL
626
627ESD_ENUM(Ft_CoPro_Opt, Type = uint16_t, Include = "EVE_Hal.h", Flags)
628#define OPT_MONO 1UL
629#define OPT_NODL 2UL
630#define OPT_NOTEAR 4UL
631#define OPT_FULLSCREEN 8UL
632#define OPT_MEDIAFIFO 16UL
633#define OPT_SOUND 32UL
634#define OPT_FLASH 64UL
635#define OPT_OVERLAY 128UL
636#define OPT_FLAT 256UL
637#define OPT_SIGNED 256UL
638#define OPT_DITHER 256UL
639#define OPT_CENTERX 512UL
640#define OPT_CENTERY 1024UL
641#define OPT_CENTER 1536UL
642#define OPT_FORMAT 4096UL
643#define OPT_NOBACK 4096UL
644#define OPT_FILL 8192UL
645#define OPT_NOHM 16384UL
646#define OPT_NOPOINTER 16384UL
647#define OPT_NOSECS 32768UL
648#define OPT_NOHANDS 49152UL
649#define OPT_NOTICKS 8192UL
650#define OPT_RIGHTX 2048UL
651ESD_END()
652
654#define ANIM_ONCE 0UL
655#define ANIM_LOOP 1UL
656#define ANIM_HOLD 2UL
657
658#define COMPRESSED_RGBA_ASTC_4x4_KHR 37808UL
659#define COMPRESSED_RGBA_ASTC_5x4_KHR 37809UL
660#define COMPRESSED_RGBA_ASTC_5x5_KHR 37810UL
661#define COMPRESSED_RGBA_ASTC_6x5_KHR 37811UL
662#define COMPRESSED_RGBA_ASTC_6x6_KHR 37812UL
663#define COMPRESSED_RGBA_ASTC_8x5_KHR 37813UL
664#define COMPRESSED_RGBA_ASTC_8x6_KHR 37814UL
665#define COMPRESSED_RGBA_ASTC_8x8_KHR 37815UL
666#define COMPRESSED_RGBA_ASTC_10x5_KHR 37816UL
667#define COMPRESSED_RGBA_ASTC_10x6_KHR 37817UL
668#define COMPRESSED_RGBA_ASTC_10x8_KHR 37818UL
669#define COMPRESSED_RGBA_ASTC_10x10_KHR 37819UL
670#define COMPRESSED_RGBA_ASTC_12x10_KHR 37820UL
671#define COMPRESSED_RGBA_ASTC_12x12_KHR 37821UL
672
673#define FLASH_DEFAULT_SHA1KEY 0xf589cf07
674
675#define KEEP 1UL
676#define REPLACE 2UL
677#define INCR 3UL
678#define DECR 4UL
679#define INVERT 5UL
680
681#define ZERO 0UL
682#define ONE 1UL
683#define SRC_ALPHA 2UL
684#define DST_ALPHA 3UL
685#define ONE_MINUS_SRC_ALPHA 4UL
686#define ONE_MINUS_DST_ALPHA 5UL
687
688#define RED 2UL
689#define GREEN 3UL
690#define BLUE 4UL
691#define ALPHA 5UL
692
693#define NEVER 0UL
694#define LESS 1UL
695#define LEQUAL 2UL
696#define GREATER 3UL
697#define GEQUAL 4UL
698#define EQUAL 5UL
699#define NOTEQUAL 6UL
700#define ALWAYS 7UL
701
702#define ARGB1555 0UL
703#define L1 1UL
704#define L4 2UL
705#define L8 3UL
706#define RGB332 4UL
707#define ARGB2 5UL
708#define ARGB4 6UL
709#define RGB565 7UL
710#define PALETTED 8UL
711#define TEXT8X8 9UL
712#define TEXTVGA 10UL
713#define BARGRAPH 11UL
714#define PALETTED565 14UL
715#define PALETTED4444 15UL
716#define PALETTED8 16UL
717#define L2 17UL
718#define GLFORMAT 31UL
719
720#define FLASH_STATUS_INIT 0UL
721#define FLASH_STATUS_DETACHED 1UL
722#define FLASH_STATUS_BASIC 2UL
723#define FLASH_STATUS_FULL 3UL
724
725#define NEAREST 0UL
726#define BILINEAR 1UL
727
728#define LINEAR_SAMPLES 0UL
729#define ULAW_SAMPLES 1UL
730#define ADPCM_SAMPLES 2UL
731
732#define BITMAPS 1UL
733#define POINTS 2UL
734#define LINES 3UL
735#define LINE_STRIP 4UL
736#define EDGE_STRIP_R 5UL
737#define EDGE_STRIP_L 6UL
738#define EDGE_STRIP_A 7UL
739#define EDGE_STRIP_B 8UL
740#define RECTS 9UL
741
742#define FTPOINTS POINTS
743
744#define TOUCHMODE_OFF 0UL
745#define TOUCHMODE_ONESHOT 1UL
746#define TOUCHMODE_FRAME 2UL
747#define TOUCHMODE_CONTINUOUS 3UL
748
749#define BORDER 0UL
750#define REPEAT 1UL
751
752#define ADC_SINGLE_ENDED 0UL
753#define ADC_DIFFERENTIAL 1UL
754
755#define CTOUCH_MODE_COMPATIBILITY 1UL
756#define CTOUCH_MODE_EXTENDED 0UL
757
758#define INT_SWAP 1UL
759#define INT_TOUCH 2UL
760#define INT_TAG 4UL
761#define INT_SOUND 8UL
762#define INT_L8C 12UL
763#define INT_VGA 13UL
764#define INT_G8 18UL
765#define INT_PLAYBACK 16UL
766#define INT_CMDEMPTY 32UL
767#define INT_CMDFLAG 64UL
768#define INT_CONVCOMPLETE 128UL
769#define INT_UNDERRUN 256UL
770
771#endif /* #ifndef EVE_GPU_DEFS__H */
772
773/* end of file */
#define ESD_END()
Definition EVE_GpuDefs.h:43
#define ESD_ENUM(name,...)
Definition EVE_GpuDefs.h:42
unsigned short uint16_t
static ft_uint32_t addr
Definition FT_Gpu_Hal.h:139

◆ EVE_HAL_REG_CMD_READ

#define EVE_HAL_REG_CMD_READ   (phost->GpuDefs->RegCmdRead)

Definition at line 86 of file EVE_GpuDefs.h.

◆ EVE_HAL_REG_CMDB_SPACE

#define EVE_HAL_REG_CMDB_SPACE   (phost->GpuDefs->RegCmdBSpace)

Definition at line 92 of file EVE_GpuDefs.h.

◆ EVE_HAL_REG_CPURESET

#define EVE_HAL_REG_CPURESET   (phost->GpuDefs->RegCpuReset)

Definition at line 84 of file EVE_GpuDefs.h.

◆ EVE_HAL_REG_CRC

#define EVE_HAL_REG_CRC   (phost->GpuDefs->RegCrc)

Definition at line 88 of file EVE_GpuDefs.h.

◆ EVE_HAL_REG_DATESTAMP

#define EVE_HAL_REG_DATESTAMP   (phost->GpuDefs->RegDatestamp)

Definition at line 91 of file EVE_GpuDefs.h.

◆ EVE_HAL_REG_ID

#define EVE_HAL_REG_ID   (phost->GpuDefs->RegId)

Definition at line 83 of file EVE_GpuDefs.h.

◆ EVE_HAL_REG_J1_INT

#define EVE_HAL_REG_J1_INT   (phost->GpuDefs->RegJ1Int)

Definition at line 85 of file EVE_GpuDefs.h.

◆ EVE_HAL_REG_TOUCH_DIRECT_XY

#define EVE_HAL_REG_TOUCH_DIRECT_XY   (phost->GpuDefs->RegTouchDirectXY)

Definition at line 90 of file EVE_GpuDefs.h.

◆ EVE_HAL_REG_TOUCH_TRANSFORM_A

#define EVE_HAL_REG_TOUCH_TRANSFORM_A   (phost->GpuDefs->RegTouchTransformA)

Definition at line 87 of file EVE_GpuDefs.h.

◆ EVE_HAL_REG_TRACKER

#define EVE_HAL_REG_TRACKER   (phost->GpuDefs->RegTracker)

Definition at line 93 of file EVE_GpuDefs.h.

◆ EVE_HAL_REG_TRIM

#define EVE_HAL_REG_TRIM   (phost->GpuDefs->RegTrim)

Definition at line 89 of file EVE_GpuDefs.h.

◆ EVE_MULTI_GRAPHICS_TARGET

#define EVE_MULTI_GRAPHICS_TARGET

Definition at line 52 of file EVE_GpuDefs.h.

◆ FLASH_DEFAULT_SHA1KEY

#define FLASH_DEFAULT_SHA1KEY   0xf589cf07

Definition at line 673 of file EVE_GpuDefs.h.

◆ FLASH_STATUS_BASIC

#define FLASH_STATUS_BASIC   2UL

Definition at line 722 of file EVE_GpuDefs.h.

◆ FLASH_STATUS_DETACHED

#define FLASH_STATUS_DETACHED   1UL

Definition at line 721 of file EVE_GpuDefs.h.

◆ FLASH_STATUS_FULL

#define FLASH_STATUS_FULL   3UL

Definition at line 723 of file EVE_GpuDefs.h.

◆ FLASH_STATUS_INIT

#define FLASH_STATUS_INIT   0UL

Definition at line 720 of file EVE_GpuDefs.h.

◆ FTPOINTS

#define FTPOINTS   POINTS

Definition at line 742 of file EVE_GpuDefs.h.

◆ GEQUAL

#define GEQUAL   4UL

Definition at line 697 of file EVE_GpuDefs.h.

◆ GLFORMAT

#define GLFORMAT   31UL

Definition at line 718 of file EVE_GpuDefs.h.

◆ GREATER

#define GREATER   3UL

Definition at line 696 of file EVE_GpuDefs.h.

◆ GREEN

#define GREEN   3UL

Definition at line 689 of file EVE_GpuDefs.h.

◆ INCR

#define INCR   3UL

Definition at line 677 of file EVE_GpuDefs.h.

◆ INT_CMDEMPTY

#define INT_CMDEMPTY   32UL

Definition at line 766 of file EVE_GpuDefs.h.

◆ INT_CMDFLAG

#define INT_CMDFLAG   64UL

Definition at line 767 of file EVE_GpuDefs.h.

◆ INT_CONVCOMPLETE

#define INT_CONVCOMPLETE   128UL

Definition at line 768 of file EVE_GpuDefs.h.

◆ INT_FRR

#define INT_FRR ( )    ((48UL << 24))

Definition at line 603 of file EVE_GpuDefs.h.

◆ INT_G8

#define INT_G8   18UL

Definition at line 764 of file EVE_GpuDefs.h.

◆ INT_L8C

#define INT_L8C   12UL

Definition at line 762 of file EVE_GpuDefs.h.

◆ INT_PLAYBACK

#define INT_PLAYBACK   16UL

Definition at line 765 of file EVE_GpuDefs.h.

◆ INT_SOUND

#define INT_SOUND   8UL

Definition at line 761 of file EVE_GpuDefs.h.

◆ INT_SWAP

#define INT_SWAP   1UL

Definition at line 758 of file EVE_GpuDefs.h.

◆ INT_TAG

#define INT_TAG   4UL

Definition at line 760 of file EVE_GpuDefs.h.

◆ INT_TOUCH

#define INT_TOUCH   2UL

Definition at line 759 of file EVE_GpuDefs.h.

◆ INT_UNDERRUN

#define INT_UNDERRUN   256UL

Definition at line 769 of file EVE_GpuDefs.h.

◆ INT_VGA

#define INT_VGA   13UL

Definition at line 763 of file EVE_GpuDefs.h.

◆ INVERT

#define INVERT   5UL

Definition at line 679 of file EVE_GpuDefs.h.

◆ JUMP

#define JUMP (   dest)    ((30UL << 24) | (((dest)&65535UL) << 0))

Definition at line 590 of file EVE_GpuDefs.h.

◆ KEEP

#define KEEP   1UL

Definition at line 675 of file EVE_GpuDefs.h.

◆ L1

#define L1   1UL

Definition at line 703 of file EVE_GpuDefs.h.

◆ L2

#define L2   17UL

Definition at line 717 of file EVE_GpuDefs.h.

◆ L4

#define L4   2UL

Definition at line 704 of file EVE_GpuDefs.h.

◆ L8

#define L8   3UL

Definition at line 705 of file EVE_GpuDefs.h.

◆ LEQUAL

#define LEQUAL   2UL

Definition at line 695 of file EVE_GpuDefs.h.

◆ LESS

#define LESS   1UL

Definition at line 694 of file EVE_GpuDefs.h.

◆ LINE_STRIP

#define LINE_STRIP   4UL

Definition at line 735 of file EVE_GpuDefs.h.

◆ LINE_WIDTH

#define LINE_WIDTH (   width)    ((14UL << 24) | (((width)&4095UL) << 0))

Definition at line 570 of file EVE_GpuDefs.h.

◆ LINEAR_SAMPLES

#define LINEAR_SAMPLES   0UL

Definition at line 728 of file EVE_GpuDefs.h.

◆ LINES

#define LINES   3UL

Definition at line 734 of file EVE_GpuDefs.h.

◆ LOW_FREQ_BOUND

#define LOW_FREQ_BOUND   (phost->GpuDefs->LowFreqBound)

Definition at line 99 of file EVE_GpuDefs.h.

◆ MACRO

#define MACRO (   m)    ((37UL << 24) | (((m)&1UL) << 0))

Definition at line 608 of file EVE_GpuDefs.h.

◆ NEAREST

#define NEAREST   0UL

Definition at line 725 of file EVE_GpuDefs.h.

◆ NEVER

#define NEVER   0UL

Definition at line 693 of file EVE_GpuDefs.h.

◆ NOP

#define NOP ( )    ((45UL << 24))

Definition at line 600 of file EVE_GpuDefs.h.

◆ NOTEQUAL

#define NOTEQUAL   6UL

Definition at line 699 of file EVE_GpuDefs.h.

◆ ONE

#define ONE   1UL

Definition at line 682 of file EVE_GpuDefs.h.

◆ ONE_MINUS_DST_ALPHA

#define ONE_MINUS_DST_ALPHA   5UL

Definition at line 686 of file EVE_GpuDefs.h.

◆ ONE_MINUS_SRC_ALPHA

#define ONE_MINUS_SRC_ALPHA   4UL

Definition at line 685 of file EVE_GpuDefs.h.

◆ OPT_CENTER

#define OPT_CENTER   1536UL

Definition at line 641 of file EVE_GpuDefs.h.

◆ OPT_CENTERX

#define OPT_CENTERX   512UL

Definition at line 639 of file EVE_GpuDefs.h.

◆ OPT_CENTERY

#define OPT_CENTERY   1024UL

Definition at line 640 of file EVE_GpuDefs.h.

◆ OPT_DITHER

#define OPT_DITHER   256UL

Definition at line 638 of file EVE_GpuDefs.h.

◆ OPT_FILL

#define OPT_FILL   8192UL

Definition at line 644 of file EVE_GpuDefs.h.

◆ OPT_FLASH

#define OPT_FLASH   64UL

Definition at line 634 of file EVE_GpuDefs.h.

◆ OPT_FLAT

#define OPT_FLAT   256UL

Definition at line 636 of file EVE_GpuDefs.h.

◆ OPT_FORMAT

#define OPT_FORMAT   4096UL

Definition at line 642 of file EVE_GpuDefs.h.

◆ OPT_FULLSCREEN

#define OPT_FULLSCREEN   8UL

Definition at line 631 of file EVE_GpuDefs.h.

◆ OPT_MEDIAFIFO

#define OPT_MEDIAFIFO   16UL

Definition at line 632 of file EVE_GpuDefs.h.

◆ OPT_MONO

#define OPT_MONO   1UL

Definition at line 628 of file EVE_GpuDefs.h.

◆ OPT_NOBACK

#define OPT_NOBACK   4096UL

Definition at line 643 of file EVE_GpuDefs.h.

◆ OPT_NODL

#define OPT_NODL   2UL

Definition at line 629 of file EVE_GpuDefs.h.

◆ OPT_NOHANDS

#define OPT_NOHANDS   49152UL

Definition at line 648 of file EVE_GpuDefs.h.

◆ OPT_NOHM

#define OPT_NOHM   16384UL

Definition at line 645 of file EVE_GpuDefs.h.

◆ OPT_NOPOINTER

#define OPT_NOPOINTER   16384UL

Definition at line 646 of file EVE_GpuDefs.h.

◆ OPT_NOSECS

#define OPT_NOSECS   32768UL

Definition at line 647 of file EVE_GpuDefs.h.

◆ OPT_NOTEAR

#define OPT_NOTEAR   4UL

Definition at line 630 of file EVE_GpuDefs.h.

◆ OPT_NOTICKS

#define OPT_NOTICKS   8192UL

Definition at line 649 of file EVE_GpuDefs.h.

◆ OPT_OVERLAY

#define OPT_OVERLAY   128UL

Definition at line 635 of file EVE_GpuDefs.h.

◆ OPT_RIGHTX

#define OPT_RIGHTX   2048UL

Definition at line 650 of file EVE_GpuDefs.h.

◆ OPT_SIGNED

#define OPT_SIGNED   256UL

Definition at line 637 of file EVE_GpuDefs.h.

◆ OPT_SOUND

#define OPT_SOUND   32UL

Definition at line 633 of file EVE_GpuDefs.h.

◆ PALETTE_SOURCE

#define PALETTE_SOURCE (   addr)    ((42UL << 24) | (((addr)&4194303UL) << 0))

Definition at line 597 of file EVE_GpuDefs.h.

◆ PALETTED

#define PALETTED   8UL

Definition at line 710 of file EVE_GpuDefs.h.

◆ PALETTED4444

#define PALETTED4444   15UL

Definition at line 715 of file EVE_GpuDefs.h.

◆ PALETTED565

#define PALETTED565   14UL

Definition at line 714 of file EVE_GpuDefs.h.

◆ PALETTED8

#define PALETTED8   16UL

Definition at line 716 of file EVE_GpuDefs.h.

◆ POINT_SIZE

#define POINT_SIZE (   size)    ((13UL << 24) | (((size)&8191UL) << 0))

Definition at line 569 of file EVE_GpuDefs.h.

◆ POINTS

#define POINTS   2UL

Definition at line 733 of file EVE_GpuDefs.h.

◆ RAM_BIST

#define RAM_BIST   (RAM_DL + 524288UL)

Definition at line 188 of file EVE_GpuDefs.h.

◆ RAM_CMD

#define RAM_CMD   (RAM_DL + 32768UL)

Definition at line 184 of file EVE_GpuDefs.h.

◆ RAM_COMPOSITE

#define RAM_COMPOSITE   (RAM_DL + 794624UL)

Definition at line 189 of file EVE_GpuDefs.h.

◆ RAM_DL

#define RAM_DL   (phost->GpuDefs->RamDl)

Definition at line 95 of file EVE_GpuDefs.h.

◆ RAM_ERR_REPORT

#define RAM_ERR_REPORT   0x309800UL

Definition at line 79 of file EVE_GpuDefs.h.

◆ RAM_G

#define RAM_G   0UL

Definition at line 77 of file EVE_GpuDefs.h.

◆ RAM_G_SIZE

#define RAM_G_SIZE   (phost->GpuDefs->RamGSize)

Definition at line 98 of file EVE_GpuDefs.h.

◆ RAM_J1RAM

#define RAM_J1RAM   (RAM_DL + 36864UL)

Definition at line 185 of file EVE_GpuDefs.h.

◆ RAM_JTBOOT

#define RAM_JTBOOT   (RAM_DL + 45056UL)

Definition at line 187 of file EVE_GpuDefs.h.

◆ RAM_PAL

#define RAM_PAL   (RAM_DL + 8192UL)

Definition at line 182 of file EVE_GpuDefs.h.

◆ RAM_REG

#define RAM_REG   (EVE_HAL_REG_ID + 0UL)

Definition at line 191 of file EVE_GpuDefs.h.

◆ RAM_ROMSUB

#define RAM_ROMSUB   (RAM_DL + 40960UL)

Definition at line 186 of file EVE_GpuDefs.h.

◆ RAM_TOP

#define RAM_TOP   (RAM_DL + 16384UL)

Definition at line 183 of file EVE_GpuDefs.h.

◆ RECTS

#define RECTS   9UL

Definition at line 740 of file EVE_GpuDefs.h.

◆ RED

#define RED   2UL

Definition at line 688 of file EVE_GpuDefs.h.

◆ REG_ADAPTIVE_FRAMERATE

#define REG_ADAPTIVE_FRAMERATE   (REG_CMDB_SPACE + 8UL)

Definition at line 337 of file EVE_GpuDefs.h.

◆ REG_AH_HCYCLE_MAX

#define REG_AH_HCYCLE_MAX   (REG_CMDB_SPACE + 156UL)

Definition at line 354 of file EVE_GpuDefs.h.

◆ REG_ANA_COMP

#define REG_ANA_COMP   (REG_TRIM + 4UL)

Definition at line 307 of file EVE_GpuDefs.h.

◆ REG_ANALOG

#define REG_ANALOG   (REG_TOUCH_TRANSFORM_A + 28UL)

Definition at line 294 of file EVE_GpuDefs.h.

◆ REG_ANIM_ACTIVE

#define REG_ANIM_ACTIVE   (REG_TRACKER + 44UL)

Definition at line 381 of file EVE_GpuDefs.h.

◆ REG_BIST_EN

#define REG_BIST_EN   (REG_TOUCH_TRANSFORM_A + 36UL)

Definition at line 301 of file EVE_GpuDefs.h.

◆ REG_BUSYBITS

#define REG_BUSYBITS   (REG_J1_INT + 68UL)

Definition at line 252 of file EVE_GpuDefs.h.

◆ REG_CLOCK

#define REG_CLOCK   (REG_ID + 8UL)

Definition at line 194 of file EVE_GpuDefs.h.

◆ REG_CMD_DL

#define REG_CMD_DL   (REG_CMD_READ + 8UL)

Definition at line 258 of file EVE_GpuDefs.h.

◆ REG_CMD_READ

#define REG_CMD_READ   (EVE_HAL_REG_CMD_READ + 0UL)

Definition at line 256 of file EVE_GpuDefs.h.

◆ REG_CMD_WRITE

#define REG_CMD_WRITE   (REG_CMD_READ + 4UL)

Definition at line 257 of file EVE_GpuDefs.h.

◆ REG_CMDB_SPACE

#define REG_CMDB_SPACE   (EVE_HAL_REG_CMDB_SPACE + 0UL)

Definition at line 335 of file EVE_GpuDefs.h.

◆ REG_CMDB_WRITE

#define REG_CMDB_WRITE   (REG_CMDB_SPACE + 4UL)

Definition at line 336 of file EVE_GpuDefs.h.

◆ REG_CPURESET

#define REG_CPURESET   (EVE_HAL_REG_CPURESET + 0UL)

Definition at line 201 of file EVE_GpuDefs.h.

◆ REG_CRC

#define REG_CRC   (EVE_HAL_REG_CRC + 0UL)

Definition at line 303 of file EVE_GpuDefs.h.

◆ REG_CSPREAD

#define REG_CSPREAD   (REG_CPURESET + 72UL)

Definition at line 219 of file EVE_GpuDefs.h.

◆ REG_CTOUCH_EXTENDED

#define REG_CTOUCH_EXTENDED   (REG_CMD_READ + 16UL)

Definition at line 260 of file EVE_GpuDefs.h.

◆ REG_CTOUCH_GESTURE

#define REG_CTOUCH_GESTURE   (REG_TOUCH_TRANSFORM_A + 28UL)

Definition at line 295 of file EVE_GpuDefs.h.

◆ REG_CTOUCH_IDS

#define REG_CTOUCH_IDS   (REG_CMD_READ + 40UL)

Definition at line 271 of file EVE_GpuDefs.h.

◆ REG_CTOUCH_TOUCH0_XY

#define REG_CTOUCH_TOUCH0_XY   (REG_CMD_READ + 44UL)

Definition at line 274 of file EVE_GpuDefs.h.

◆ REG_CTOUCH_TOUCH1_XY

#define REG_CTOUCH_TOUCH1_XY   (REG_CMD_READ + 36UL)

Definition at line 269 of file EVE_GpuDefs.h.

◆ REG_CTOUCH_TOUCH2_XY

#define REG_CTOUCH_TOUCH2_XY   (EVE_HAL_REG_TOUCH_DIRECT_XY + 0UL)

Definition at line 310 of file EVE_GpuDefs.h.

◆ REG_CTOUCH_TOUCH3_XY

#define REG_CTOUCH_TOUCH3_XY   (REG_CTOUCH_TOUCH2_XY + 4UL)

Definition at line 312 of file EVE_GpuDefs.h.

◆ REG_CTOUCH_TOUCH4_X

#define REG_CTOUCH_TOUCH4_X   (REG_TOUCH_TRANSFORM_A + 28UL)

Definition at line 296 of file EVE_GpuDefs.h.

◆ REG_CTOUCH_TOUCH4_Y

#define REG_CTOUCH_TOUCH4_Y   (REG_CMD_READ + 40UL)

Definition at line 272 of file EVE_GpuDefs.h.

◆ REG_CTOUCH_TOUCHA_XY

#define REG_CTOUCH_TOUCHA_XY   REG_CTOUCH_TOUCH1_XY

Definition at line 385 of file EVE_GpuDefs.h.

◆ REG_CTOUCH_TOUCHB_XY

#define REG_CTOUCH_TOUCHB_XY   REG_CTOUCH_TOUCH2_XY

Definition at line 386 of file EVE_GpuDefs.h.

◆ REG_CTOUCH_TOUCHC_XY

#define REG_CTOUCH_TOUCHC_XY   REG_CTOUCH_TOUCH3_XY

Definition at line 387 of file EVE_GpuDefs.h.

◆ REG_CTOUCH_TOUCHD_X

#define REG_CTOUCH_TOUCHD_X   REG_CTOUCH_TOUCH4_X

Definition at line 388 of file EVE_GpuDefs.h.

◆ REG_CTOUCH_TOUCHD_Y

#define REG_CTOUCH_TOUCHD_Y   REG_CTOUCH_TOUCH4_Y

Definition at line 389 of file EVE_GpuDefs.h.

◆ REG_CYA0

#define REG_CYA0   (REG_J1_INT + 60UL)

Definition at line 250 of file EVE_GpuDefs.h.

◆ REG_CYA1

#define REG_CYA1   (REG_J1_INT + 64UL)

Definition at line 251 of file EVE_GpuDefs.h.

◆ REG_DATESTAMP

#define REG_DATESTAMP   (EVE_HAL_REG_DATESTAMP + 0UL)

Definition at line 333 of file EVE_GpuDefs.h.

◆ REG_DF_TUNED

#define REG_DF_TUNED   (REG_TRACKER + 48UL)

Definition at line 382 of file EVE_GpuDefs.h.

◆ REG_DITHER

#define REG_DITHER   (REG_CPURESET + 64UL)

Definition at line 217 of file EVE_GpuDefs.h.

◆ REG_DLSWAP

#define REG_DLSWAP   (REG_CPURESET + 52UL)

Definition at line 214 of file EVE_GpuDefs.h.

◆ REG_EHOST_TOUCH_ACK

#define REG_EHOST_TOUCH_ACK   (REG_TOUCH_TRANSFORM_A + 32UL)

Definition at line 298 of file EVE_GpuDefs.h.

◆ REG_EHOST_TOUCH_ID

#define REG_EHOST_TOUCH_ID   (REG_CMD_READ + 28UL)

Definition at line 265 of file EVE_GpuDefs.h.

◆ REG_EHOST_TOUCH_X

#define REG_EHOST_TOUCH_X   (REG_CMD_READ + 20UL)

Definition at line 262 of file EVE_GpuDefs.h.

◆ REG_EHOST_TOUCH_Y

#define REG_EHOST_TOUCH_Y   (REG_CMD_READ + 32UL)

Definition at line 267 of file EVE_GpuDefs.h.

◆ REG_EJPG_ACC

#define REG_EJPG_ACC   (REG_CTOUCH_TOUCH2_XY + 460UL)

Definition at line 328 of file EVE_GpuDefs.h.

◆ REG_EJPG_BUSY

#define REG_EJPG_BUSY   (REG_CTOUCH_TOUCH2_XY + 12UL)

Definition at line 315 of file EVE_GpuDefs.h.

◆ REG_EJPG_DAT

#define REG_EJPG_DAT   (REG_CTOUCH_TOUCH2_XY + 16UL)

Definition at line 316 of file EVE_GpuDefs.h.

◆ REG_EJPG_DCC

#define REG_EJPG_DCC   (REG_CTOUCH_TOUCH2_XY + 436UL)

Definition at line 327 of file EVE_GpuDefs.h.

◆ REG_EJPG_DEBUG

#define REG_EJPG_DEBUG   (REG_CTOUCH_TOUCH2_XY + 976UL)

Definition at line 330 of file EVE_GpuDefs.h.

◆ REG_EJPG_DST

#define REG_EJPG_DST   (REG_CTOUCH_TOUCH2_XY + 24UL)

Definition at line 318 of file EVE_GpuDefs.h.

◆ REG_EJPG_FORMAT

#define REG_EJPG_FORMAT   (REG_CTOUCH_TOUCH2_XY + 36UL)

Definition at line 321 of file EVE_GpuDefs.h.

◆ REG_EJPG_H

#define REG_EJPG_H   (REG_CTOUCH_TOUCH2_XY + 32UL)

Definition at line 320 of file EVE_GpuDefs.h.

◆ REG_EJPG_HT

#define REG_EJPG_HT   (REG_CTOUCH_TOUCH2_XY + 180UL)

Definition at line 326 of file EVE_GpuDefs.h.

◆ REG_EJPG_OPTIONS

#define REG_EJPG_OPTIONS   (REG_CTOUCH_TOUCH2_XY + 20UL)

Definition at line 317 of file EVE_GpuDefs.h.

◆ REG_EJPG_Q

#define REG_EJPG_Q   (REG_CTOUCH_TOUCH2_XY + 52UL)

Definition at line 325 of file EVE_GpuDefs.h.

◆ REG_EJPG_READY

#define REG_EJPG_READY   (REG_CTOUCH_TOUCH2_XY + 8UL)

Definition at line 314 of file EVE_GpuDefs.h.

◆ REG_EJPG_RI

#define REG_EJPG_RI   (REG_CTOUCH_TOUCH2_XY + 40UL)

Definition at line 322 of file EVE_GpuDefs.h.

◆ REG_EJPG_SCALE

#define REG_EJPG_SCALE   (REG_CTOUCH_TOUCH2_XY + 972UL)

Definition at line 329 of file EVE_GpuDefs.h.

◆ REG_EJPG_TDA

#define REG_EJPG_TDA   (REG_CTOUCH_TOUCH2_XY + 48UL)

Definition at line 324 of file EVE_GpuDefs.h.

◆ REG_EJPG_TQ

#define REG_EJPG_TQ   (REG_CTOUCH_TOUCH2_XY + 44UL)

Definition at line 323 of file EVE_GpuDefs.h.

◆ REG_EJPG_W

#define REG_EJPG_W   (REG_CTOUCH_TOUCH2_XY + 28UL)

Definition at line 319 of file EVE_GpuDefs.h.

◆ REG_ESPIM_ADD

#define REG_ESPIM_ADD   (REG_CMDB_SPACE + 40UL)

Definition at line 342 of file EVE_GpuDefs.h.

◆ REG_ESPIM_COUNT

#define REG_ESPIM_COUNT   (REG_CMDB_SPACE + 44UL)

Definition at line 343 of file EVE_GpuDefs.h.

◆ REG_ESPIM_DTR

#define REG_ESPIM_DTR   (REG_CMDB_SPACE + 172UL)

Definition at line 358 of file EVE_GpuDefs.h.

◆ REG_ESPIM_DUMMY

#define REG_ESPIM_DUMMY   (REG_CMDB_SPACE + 112UL)

Definition at line 345 of file EVE_GpuDefs.h.

◆ REG_ESPIM_READSTART

#define REG_ESPIM_READSTART   (REG_CMDB_SPACE + 20UL)

Definition at line 340 of file EVE_GpuDefs.h.

◆ REG_ESPIM_SEQ

#define REG_ESPIM_SEQ   (REG_CMDB_SPACE + 24UL)

Definition at line 341 of file EVE_GpuDefs.h.

◆ REG_ESPIM_TRIG

#define REG_ESPIM_TRIG   (REG_CMDB_SPACE + 116UL)

Definition at line 346 of file EVE_GpuDefs.h.

◆ REG_ESPIM_WINDOW

#define REG_ESPIM_WINDOW   (REG_CMDB_SPACE + 48UL)

Definition at line 344 of file EVE_GpuDefs.h.

◆ REG_FLASH_DTR

#define REG_FLASH_DTR   (REG_CMDB_SPACE + 168UL)

Definition at line 357 of file EVE_GpuDefs.h.

◆ REG_FLASH_SIZE

#define REG_FLASH_SIZE   (REG_TRACKER + 36UL)

Definition at line 380 of file EVE_GpuDefs.h.

◆ REG_FLASH_STATUS

#define REG_FLASH_STATUS   (REG_CMDB_SPACE + 124UL)

Definition at line 348 of file EVE_GpuDefs.h.

◆ REG_FRAMES

#define REG_FRAMES   (REG_ID + 4UL)

Definition at line 193 of file EVE_GpuDefs.h.

◆ REG_FREQUENCY

#define REG_FREQUENCY   (REG_ID + 12UL)

Definition at line 195 of file EVE_GpuDefs.h.

◆ REG_FULLBUSYBITS

#define REG_FULLBUSYBITS   (REG_CMDB_SPACE + 128UL)

Definition at line 349 of file EVE_GpuDefs.h.

◆ REG_GPIO

#define REG_GPIO   (REG_CPURESET + 116UL)

Definition at line 230 of file EVE_GpuDefs.h.

◆ REG_GPIO_DIR

#define REG_GPIO_DIR   (REG_CPURESET + 112UL)

Definition at line 229 of file EVE_GpuDefs.h.

◆ REG_GPIOX

#define REG_GPIOX   (REG_CPURESET + 124UL)

Definition at line 232 of file EVE_GpuDefs.h.

◆ REG_GPIOX_DIR

#define REG_GPIOX_DIR   (REG_CPURESET + 120UL)

Definition at line 231 of file EVE_GpuDefs.h.

◆ REG_HCYCLE

#define REG_HCYCLE   (REG_CPURESET + 12UL)

Definition at line 204 of file EVE_GpuDefs.h.

◆ REG_HOFFSET

#define REG_HOFFSET   (REG_CPURESET + 16UL)

Definition at line 205 of file EVE_GpuDefs.h.

◆ REG_HSF_F00

#define REG_HSF_F00   (REG_CMDB_SPACE + 188UL)

Definition at line 362 of file EVE_GpuDefs.h.

◆ REG_HSF_F02

#define REG_HSF_F02   (REG_CMDB_SPACE + 192UL)

Definition at line 363 of file EVE_GpuDefs.h.

◆ REG_HSF_F03

#define REG_HSF_F03   (REG_CMDB_SPACE + 196UL)

Definition at line 364 of file EVE_GpuDefs.h.

◆ REG_HSF_F10

#define REG_HSF_F10   (REG_CMDB_SPACE + 200UL)

Definition at line 365 of file EVE_GpuDefs.h.

◆ REG_HSF_F11

#define REG_HSF_F11   (REG_CMDB_SPACE + 204UL)

Definition at line 366 of file EVE_GpuDefs.h.

◆ REG_HSF_F12

#define REG_HSF_F12   (REG_CMDB_SPACE + 208UL)

Definition at line 367 of file EVE_GpuDefs.h.

◆ REG_HSF_F13

#define REG_HSF_F13   (REG_CMDB_SPACE + 212UL)

Definition at line 368 of file EVE_GpuDefs.h.

◆ REG_HSF_FSCALE

#define REG_HSF_FSCALE   (REG_CMDB_SPACE + 184UL)

Definition at line 361 of file EVE_GpuDefs.h.

◆ REG_HSF_FT1

#define REG_HSF_FT1   (REG_CMDB_SPACE + 180UL)

Definition at line 360 of file EVE_GpuDefs.h.

◆ REG_HSF_HSIZE

#define REG_HSF_HSIZE   (REG_CMDB_SPACE + 176UL)

Definition at line 359 of file EVE_GpuDefs.h.

◆ REG_HSIZE

#define REG_HSIZE   (REG_CPURESET + 20UL)

Definition at line 206 of file EVE_GpuDefs.h.

◆ REG_HSYNC0

#define REG_HSYNC0   (REG_CPURESET + 24UL)

Definition at line 207 of file EVE_GpuDefs.h.

◆ REG_HSYNC1

#define REG_HSYNC1   (REG_CPURESET + 28UL)

Definition at line 208 of file EVE_GpuDefs.h.

◆ REG_ID

#define REG_ID   (EVE_HAL_REG_ID + 0UL)

Definition at line 192 of file EVE_GpuDefs.h.

◆ REG_INT_EN

#define REG_INT_EN   (REG_J1_INT + 8UL)

Definition at line 237 of file EVE_GpuDefs.h.

◆ REG_INT_FLAGS

#define REG_INT_FLAGS   (REG_J1_INT + 4UL)

Definition at line 236 of file EVE_GpuDefs.h.

◆ REG_INT_MASK

#define REG_INT_MASK   (REG_J1_INT + 12UL)

Definition at line 238 of file EVE_GpuDefs.h.

◆ REG_J1_COLD

#define REG_J1_COLD   (REG_CPURESET + 128UL)

Definition at line 233 of file EVE_GpuDefs.h.

◆ REG_J1_INT

#define REG_J1_INT   (EVE_HAL_REG_J1_INT + 0UL)

Definition at line 235 of file EVE_GpuDefs.h.

◆ REG_MACRO_0

#define REG_MACRO_0   (REG_J1_INT + 52UL)

Definition at line 248 of file EVE_GpuDefs.h.

◆ REG_MACRO_1

#define REG_MACRO_1   (REG_J1_INT + 56UL)

Definition at line 249 of file EVE_GpuDefs.h.

◆ REG_MEDIAFIFO_BASE

#define REG_MEDIAFIFO_BASE   (REG_TRACKER + 28UL)

Definition at line 378 of file EVE_GpuDefs.h.

◆ REG_MEDIAFIFO_READ

#define REG_MEDIAFIFO_READ   (REG_TRACKER + 20UL)

Definition at line 376 of file EVE_GpuDefs.h.

◆ REG_MEDIAFIFO_SIZE

#define REG_MEDIAFIFO_SIZE   (REG_TRACKER + 32UL)

Definition at line 379 of file EVE_GpuDefs.h.

◆ REG_MEDIAFIFO_WRITE

#define REG_MEDIAFIFO_WRITE   (REG_TRACKER + 24UL)

Definition at line 377 of file EVE_GpuDefs.h.

◆ REG_OUTBITS

#define REG_OUTBITS   (REG_CPURESET + 60UL)

Definition at line 216 of file EVE_GpuDefs.h.

◆ REG_PATCHED_ANALOG

#define REG_PATCHED_ANALOG   (REG_TOUCH_TRANSFORM_A + 32UL)

Definition at line 299 of file EVE_GpuDefs.h.

◆ REG_PATCHED_TOUCH_FAULT

#define REG_PATCHED_TOUCH_FAULT   (REG_TOUCH_TRANSFORM_A + 28UL)

Definition at line 297 of file EVE_GpuDefs.h.

◆ REG_PCLK

#define REG_PCLK   (REG_CPURESET + 80UL)

Definition at line 221 of file EVE_GpuDefs.h.

◆ REG_PCLK_2X

#define REG_PCLK_2X   (REG_CMDB_SPACE + 164UL)

Definition at line 356 of file EVE_GpuDefs.h.

◆ REG_PCLK_FREQ

#define REG_PCLK_FREQ   (REG_CMDB_SPACE + 160UL)

Definition at line 355 of file EVE_GpuDefs.h.

◆ REG_PCLK_POL

#define REG_PCLK_POL   (REG_CPURESET + 76UL)

Definition at line 220 of file EVE_GpuDefs.h.

◆ REG_PLAY

#define REG_PLAY   (REG_CPURESET + 108UL)

Definition at line 228 of file EVE_GpuDefs.h.

◆ REG_PLAY_CONTROL

#define REG_PLAY_CONTROL   (REG_TRACKER + 334UL)

Definition at line 383 of file EVE_GpuDefs.h.

◆ REG_PLAYBACK_FORMAT

#define REG_PLAYBACK_FORMAT   (REG_J1_INT + 32UL)

Definition at line 243 of file EVE_GpuDefs.h.

◆ REG_PLAYBACK_FREQ

#define REG_PLAYBACK_FREQ   (REG_J1_INT + 28UL)

Definition at line 242 of file EVE_GpuDefs.h.

◆ REG_PLAYBACK_LENGTH

#define REG_PLAYBACK_LENGTH   (REG_J1_INT + 20UL)

Definition at line 240 of file EVE_GpuDefs.h.

◆ REG_PLAYBACK_LOOP

#define REG_PLAYBACK_LOOP   (REG_J1_INT + 36UL)

Definition at line 244 of file EVE_GpuDefs.h.

◆ REG_PLAYBACK_PAUSE

#define REG_PLAYBACK_PAUSE   (REG_CMDB_SPACE + 120UL)

Definition at line 347 of file EVE_GpuDefs.h.

◆ REG_PLAYBACK_PLAY

#define REG_PLAYBACK_PLAY   (REG_J1_INT + 40UL)

Definition at line 245 of file EVE_GpuDefs.h.

◆ REG_PLAYBACK_READPTR

#define REG_PLAYBACK_READPTR   (REG_J1_INT + 24UL)

Definition at line 241 of file EVE_GpuDefs.h.

◆ REG_PLAYBACK_START

#define REG_PLAYBACK_START   (REG_J1_INT + 16UL)

Definition at line 239 of file EVE_GpuDefs.h.

◆ REG_PWM_DUTY

#define REG_PWM_DUTY   (REG_J1_INT + 48UL)

Definition at line 247 of file EVE_GpuDefs.h.

◆ REG_PWM_HZ

#define REG_PWM_HZ   (REG_J1_INT + 44UL)

Definition at line 246 of file EVE_GpuDefs.h.

◆ REG_RAM_FOLD

#define REG_RAM_FOLD   (REG_J1_INT + 80UL)

Definition at line 254 of file EVE_GpuDefs.h.

◆ REG_RASTERY

#define REG_RASTERY   (REG_CTOUCH_TOUCH2_XY + 980UL)

Definition at line 331 of file EVE_GpuDefs.h.

◆ REG_RENDERMODE

#define REG_RENDERMODE   (REG_ID + 16UL)

Definition at line 196 of file EVE_GpuDefs.h.

◆ REG_ROMSUB_SEL

#define REG_ROMSUB_SEL   (REG_J1_INT + 76UL)

Definition at line 253 of file EVE_GpuDefs.h.

◆ REG_ROTATE

#define REG_ROTATE   (REG_CPURESET + 56UL)

Definition at line 215 of file EVE_GpuDefs.h.

◆ REG_SHA1KEY

#define REG_SHA1KEY   (REG_CMDB_SPACE + 144UL)

Definition at line 350 of file EVE_GpuDefs.h.

◆ REG_SNAPFORMAT

#define REG_SNAPFORMAT   (REG_ID + 28UL)

Definition at line 199 of file EVE_GpuDefs.h.

◆ REG_SNAPSHOT

#define REG_SNAPSHOT   (REG_ID + 24UL)

Definition at line 198 of file EVE_GpuDefs.h.

◆ REG_SNAPY

#define REG_SNAPY   (REG_ID + 20UL)

Definition at line 197 of file EVE_GpuDefs.h.

◆ REG_SOUND

#define REG_SOUND   (REG_CPURESET + 104UL)

Definition at line 227 of file EVE_GpuDefs.h.

◆ REG_SPI_EARLY_TX

#define REG_SPI_EARLY_TX   (REG_CRC + 4UL)

Definition at line 304 of file EVE_GpuDefs.h.

◆ REG_SPI_WIDTH

#define REG_SPI_WIDTH   (REG_TRIM + 8UL)

Definition at line 308 of file EVE_GpuDefs.h.

◆ REG_SPIM

#define REG_SPIM   (REG_CMDB_SPACE + 16UL)

Definition at line 339 of file EVE_GpuDefs.h.

◆ REG_SPIM_DIR

#define REG_SPIM_DIR   (REG_CMDB_SPACE + 12UL)

Definition at line 338 of file EVE_GpuDefs.h.

◆ REG_SWIZZLE

#define REG_SWIZZLE   (REG_CPURESET + 68UL)

Definition at line 218 of file EVE_GpuDefs.h.

◆ REG_TAG

#define REG_TAG   (REG_CPURESET + 92UL)

Definition at line 224 of file EVE_GpuDefs.h.

◆ REG_TAG_X

#define REG_TAG_X   (REG_CPURESET + 84UL)

Definition at line 222 of file EVE_GpuDefs.h.

◆ REG_TAG_Y

#define REG_TAG_Y   (REG_CPURESET + 88UL)

Definition at line 223 of file EVE_GpuDefs.h.

◆ REG_TAP_CRC

#define REG_TAP_CRC   (REG_CPURESET + 4UL)

Definition at line 202 of file EVE_GpuDefs.h.

◆ REG_TAP_MASK

#define REG_TAP_MASK   (REG_CPURESET + 8UL)

Definition at line 203 of file EVE_GpuDefs.h.

◆ REG_TOUCH_ADC_MODE

#define REG_TOUCH_ADC_MODE   (REG_CMD_READ + 16UL)

Definition at line 261 of file EVE_GpuDefs.h.

◆ REG_TOUCH_CHARGE

#define REG_TOUCH_CHARGE   (REG_CMD_READ + 20UL)

Definition at line 263 of file EVE_GpuDefs.h.

◆ REG_TOUCH_CONFIG

#define REG_TOUCH_CONFIG   (REG_TOUCH_TRANSFORM_A + 24UL)

Definition at line 293 of file EVE_GpuDefs.h.

◆ REG_TOUCH_DIRECT_XY

#define REG_TOUCH_DIRECT_XY   (REG_CTOUCH_TOUCH2_XY + 0UL)

Definition at line 311 of file EVE_GpuDefs.h.

◆ REG_TOUCH_DIRECT_Z1Z2

#define REG_TOUCH_DIRECT_Z1Z2   (REG_CTOUCH_TOUCH2_XY + 4UL)

Definition at line 313 of file EVE_GpuDefs.h.

◆ REG_TOUCH_FAULT

#define REG_TOUCH_FAULT   (REG_TOUCH_TRANSFORM_A + 32UL)

Definition at line 300 of file EVE_GpuDefs.h.

◆ REG_TOUCH_MODE

#define REG_TOUCH_MODE   (REG_CMD_READ + 12UL)

Definition at line 259 of file EVE_GpuDefs.h.

◆ REG_TOUCH_OVERSAMPLE

#define REG_TOUCH_OVERSAMPLE   (REG_CMD_READ + 28UL)

Definition at line 266 of file EVE_GpuDefs.h.

◆ REG_TOUCH_RAW_XY

#define REG_TOUCH_RAW_XY   (REG_CMD_READ + 36UL)

Definition at line 270 of file EVE_GpuDefs.h.

◆ REG_TOUCH_RZ

#define REG_TOUCH_RZ   (REG_CMD_READ + 40UL)

Definition at line 273 of file EVE_GpuDefs.h.

◆ REG_TOUCH_RZTHRESH

#define REG_TOUCH_RZTHRESH   (REG_CMD_READ + 32UL)

Definition at line 268 of file EVE_GpuDefs.h.

◆ REG_TOUCH_SCREEN_XY

#define REG_TOUCH_SCREEN_XY   (REG_CMD_READ + 44UL)

Definition at line 275 of file EVE_GpuDefs.h.

◆ REG_TOUCH_SETTLE

#define REG_TOUCH_SETTLE   (REG_CMD_READ + 24UL)

Definition at line 264 of file EVE_GpuDefs.h.

◆ REG_TOUCH_TAG

#define REG_TOUCH_TAG   (REG_CMD_READ + 52UL)

Definition at line 277 of file EVE_GpuDefs.h.

◆ REG_TOUCH_TAG1

#define REG_TOUCH_TAG1   (REG_CMD_READ + 60UL)

Definition at line 279 of file EVE_GpuDefs.h.

◆ REG_TOUCH_TAG1_XY

#define REG_TOUCH_TAG1_XY   (REG_CMD_READ + 56UL)

Definition at line 278 of file EVE_GpuDefs.h.

◆ REG_TOUCH_TAG2

#define REG_TOUCH_TAG2   (REG_CMD_READ + 68UL)

Definition at line 281 of file EVE_GpuDefs.h.

◆ REG_TOUCH_TAG2_XY

#define REG_TOUCH_TAG2_XY   (REG_CMD_READ + 64UL)

Definition at line 280 of file EVE_GpuDefs.h.

◆ REG_TOUCH_TAG3

#define REG_TOUCH_TAG3   (REG_CMD_READ + 76UL)

Definition at line 283 of file EVE_GpuDefs.h.

◆ REG_TOUCH_TAG3_XY

#define REG_TOUCH_TAG3_XY   (REG_CMD_READ + 72UL)

Definition at line 282 of file EVE_GpuDefs.h.

◆ REG_TOUCH_TAG4

#define REG_TOUCH_TAG4   (REG_CMD_READ + 84UL)

Definition at line 285 of file EVE_GpuDefs.h.

◆ REG_TOUCH_TAG4_XY

#define REG_TOUCH_TAG4_XY   (REG_CMD_READ + 80UL)

Definition at line 284 of file EVE_GpuDefs.h.

◆ REG_TOUCH_TAG_XY

#define REG_TOUCH_TAG_XY   (REG_CMD_READ + 48UL)

Definition at line 276 of file EVE_GpuDefs.h.

◆ REG_TOUCH_TRANSFORM_A

#define REG_TOUCH_TRANSFORM_A   (EVE_HAL_REG_TOUCH_TRANSFORM_A + 0UL)

Definition at line 287 of file EVE_GpuDefs.h.

◆ REG_TOUCH_TRANSFORM_B

#define REG_TOUCH_TRANSFORM_B   (REG_TOUCH_TRANSFORM_A + 4UL)

Definition at line 288 of file EVE_GpuDefs.h.

◆ REG_TOUCH_TRANSFORM_C

#define REG_TOUCH_TRANSFORM_C   (REG_TOUCH_TRANSFORM_A + 8UL)

Definition at line 289 of file EVE_GpuDefs.h.

◆ REG_TOUCH_TRANSFORM_D

#define REG_TOUCH_TRANSFORM_D   (REG_TOUCH_TRANSFORM_A + 12UL)

Definition at line 290 of file EVE_GpuDefs.h.

◆ REG_TOUCH_TRANSFORM_E

#define REG_TOUCH_TRANSFORM_E   (REG_TOUCH_TRANSFORM_A + 16UL)

Definition at line 291 of file EVE_GpuDefs.h.

◆ REG_TOUCH_TRANSFORM_F

#define REG_TOUCH_TRANSFORM_F   (REG_TOUCH_TRANSFORM_A + 20UL)

Definition at line 292 of file EVE_GpuDefs.h.

◆ REG_TRACKER

#define REG_TRACKER   (EVE_HAL_REG_TRACKER + 0UL)

Definition at line 371 of file EVE_GpuDefs.h.

◆ REG_TRACKER_1

#define REG_TRACKER_1   (REG_TRACKER + 4UL)

Definition at line 372 of file EVE_GpuDefs.h.

◆ REG_TRACKER_2

#define REG_TRACKER_2   (REG_TRACKER + 8UL)

Definition at line 373 of file EVE_GpuDefs.h.

◆ REG_TRACKER_3

#define REG_TRACKER_3   (REG_TRACKER + 12UL)

Definition at line 374 of file EVE_GpuDefs.h.

◆ REG_TRACKER_4

#define REG_TRACKER_4   (REG_TRACKER + 16UL)

Definition at line 375 of file EVE_GpuDefs.h.

◆ REG_TRIM

#define REG_TRIM   (EVE_HAL_REG_TRIM + 0UL)

Definition at line 306 of file EVE_GpuDefs.h.

◆ REG_UNDERRUN

#define REG_UNDERRUN   (REG_CMDB_SPACE + 152UL)

Definition at line 353 of file EVE_GpuDefs.h.

◆ REG_VCYCLE

#define REG_VCYCLE   (REG_CPURESET + 32UL)

Definition at line 209 of file EVE_GpuDefs.h.

◆ REG_VOFFSET

#define REG_VOFFSET   (REG_CPURESET + 36UL)

Definition at line 210 of file EVE_GpuDefs.h.

◆ REG_VOL_PB

#define REG_VOL_PB   (REG_CPURESET + 96UL)

Definition at line 225 of file EVE_GpuDefs.h.

◆ REG_VOL_SOUND

#define REG_VOL_SOUND   (REG_CPURESET + 100UL)

Definition at line 226 of file EVE_GpuDefs.h.

◆ REG_VSIZE

#define REG_VSIZE   (REG_CPURESET + 40UL)

Definition at line 211 of file EVE_GpuDefs.h.

◆ REG_VSYNC0

#define REG_VSYNC0   (REG_CPURESET + 44UL)

Definition at line 212 of file EVE_GpuDefs.h.

◆ REG_VSYNC1

#define REG_VSYNC1   (REG_CPURESET + 48UL)

Definition at line 213 of file EVE_GpuDefs.h.

◆ REPEAT

#define REPEAT   1UL

Definition at line 750 of file EVE_GpuDefs.h.

◆ REPLACE

#define REPLACE   2UL

Definition at line 676 of file EVE_GpuDefs.h.

◆ RESTORE_CONTEXT

#define RESTORE_CONTEXT ( )    ((35UL << 24))

Definition at line 606 of file EVE_GpuDefs.h.

◆ RETURN

#define RETURN ( )    ((36UL << 24))

Definition at line 607 of file EVE_GpuDefs.h.

◆ RGB332

#define RGB332   4UL

Definition at line 706 of file EVE_GpuDefs.h.

◆ RGB565

#define RGB565   7UL

Definition at line 709 of file EVE_GpuDefs.h.

◆ ROM_CHIPID

#define ROM_CHIPID   786432UL

Definition at line 78 of file EVE_GpuDefs.h.

◆ ROMFONT_TABLEADDRESS

#define ROMFONT_TABLEADDRESS   (phost->GpuDefs->RomFontTableAddress)

Definition at line 96 of file EVE_GpuDefs.h.

◆ SAVE_CONTEXT

#define SAVE_CONTEXT ( )    ((34UL << 24))

Definition at line 605 of file EVE_GpuDefs.h.

◆ SCISSOR_SIZE

#define SCISSOR_SIZE (   width,
  height 
)    ((28UL << 24) | (((width)&SCISSOR_SIZE_MASK) << SCISSOR_SIZE_SHIFT) | (((height)&SCISSOR_SIZE_MASK) << 0))

Definition at line 588 of file EVE_GpuDefs.h.

◆ SCISSOR_SIZE_MASK

#define SCISSOR_SIZE_MASK   ((1UL << phost->GpuDefs->ScissorSizeShift) - 1UL)

Definition at line 105 of file EVE_GpuDefs.h.

◆ SCISSOR_SIZE_SHIFT

#define SCISSOR_SIZE_SHIFT   (phost->GpuDefs->ScissorSizeShift)

Definition at line 104 of file EVE_GpuDefs.h.

◆ SCISSOR_XY

#define SCISSOR_XY (   x,
 
)    ((27UL << 24) | (((x)&SCISSOR_XY_MASK) << SCISSOR_XY_SHIFT) | (((y)&SCISSOR_XY_MASK) << 0))

Definition at line 587 of file EVE_GpuDefs.h.

◆ SCISSOR_XY_MASK

#define SCISSOR_XY_MASK   (((1UL << phost->GpuDefs->ScissorSizeShift) - 1UL) >> 1)

Definition at line 103 of file EVE_GpuDefs.h.

◆ SCISSOR_XY_SHIFT

#define SCISSOR_XY_SHIFT   (phost->GpuDefs->ScissorSizeShift - 1)

Definition at line 102 of file EVE_GpuDefs.h.

◆ SRC_ALPHA

#define SRC_ALPHA   2UL

Definition at line 683 of file EVE_GpuDefs.h.

◆ STENCIL_FUNC

#define STENCIL_FUNC (   func,
  ref,
  mask 
)    ((10UL << 24) | (((func)&7UL) << 16) | (((ref)&255UL) << 8) | (((mask)&255UL) << 0))

Definition at line 566 of file EVE_GpuDefs.h.

◆ STENCIL_MASK

#define STENCIL_MASK (   mask)    ((19UL << 24) | (((mask)&255UL) << 0))

Definition at line 575 of file EVE_GpuDefs.h.

◆ STENCIL_OP

#define STENCIL_OP (   sfail,
  spass 
)    ((12UL << 24) | (((sfail)&7UL) << 3) | (((spass)&7UL) << 0))

Definition at line 568 of file EVE_GpuDefs.h.

◆ TAG

#define TAG (   s)    ((3UL << 24) | (((s)&255UL) << 0))

Definition at line 559 of file EVE_GpuDefs.h.

◆ TAG_MASK

#define TAG_MASK (   mask)    ((20UL << 24) | (((mask)&1UL) << 0))

Definition at line 576 of file EVE_GpuDefs.h.

◆ TEXT8X8

#define TEXT8X8   9UL

Definition at line 711 of file EVE_GpuDefs.h.

◆ TEXTVGA

#define TEXTVGA   10UL

Definition at line 712 of file EVE_GpuDefs.h.

◆ TOUCHMODE_CONTINUOUS

#define TOUCHMODE_CONTINUOUS   3UL

Definition at line 747 of file EVE_GpuDefs.h.

◆ TOUCHMODE_FRAME

#define TOUCHMODE_FRAME   2UL

Definition at line 746 of file EVE_GpuDefs.h.

◆ TOUCHMODE_OFF

#define TOUCHMODE_OFF   0UL

Definition at line 744 of file EVE_GpuDefs.h.

◆ TOUCHMODE_ONESHOT

#define TOUCHMODE_ONESHOT   1UL

Definition at line 745 of file EVE_GpuDefs.h.

◆ ULAW_SAMPLES

#define ULAW_SAMPLES   1UL

Definition at line 729 of file EVE_GpuDefs.h.

◆ VERTEX2F

#define VERTEX2F (   x,
 
)    ((1UL << 30) | (((x)&32767UL) << 15) | (((y)&32767UL) << 0))

Definition at line 554 of file EVE_GpuDefs.h.

◆ VERTEX2II

#define VERTEX2II (   x,
  y,
  handle,
  cell 
)    ((2UL << 30) | (((x)&511UL) << 21) | (((y)&511UL) << 12) | (((handle)&31UL) << 7) | (((cell)&127UL) << 0))

Definition at line 555 of file EVE_GpuDefs.h.

◆ VERTEX_FORMAT

#define VERTEX_FORMAT (   frac)    ((39UL << 24) | (((frac)&7UL) << 0))

Definition at line 594 of file EVE_GpuDefs.h.

◆ VERTEX_TRANSLATE_X

#define VERTEX_TRANSLATE_X (   x)    ((43UL << 24) | (((x)&131071UL) << 0))

Definition at line 598 of file EVE_GpuDefs.h.

◆ VERTEX_TRANSLATE_Y

#define VERTEX_TRANSLATE_Y (   y)    ((44UL << 24) | (((y)&131071UL) << 0))

Definition at line 599 of file EVE_GpuDefs.h.

◆ ZERO

#define ZERO   0UL

Definition at line 681 of file EVE_GpuDefs.h.