epson1355.h 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /*
  2. * include/video/epson13xx.h -- Epson 13xx frame buffer
  3. *
  4. * Copyright (C) Hewlett-Packard Company. All rights reserved.
  5. *
  6. * Written by Christopher Hoover <ch@hpl.hp.com>
  7. *
  8. */
  9. #ifndef _EPSON13XX_H_
  10. #define _EPSON13XX_H_
  11. #define REG_REVISION_CODE 0x00
  12. #define REG_MEMORY_CONFIG 0x01
  13. #define REG_PANEL_TYPE 0x02
  14. #define REG_MOD_RATE 0x03
  15. #define REG_HORZ_DISP_WIDTH 0x04
  16. #define REG_HORZ_NONDISP_PERIOD 0x05
  17. #define REG_HRTC_START_POSITION 0x06
  18. #define REG_HRTC_PULSE_WIDTH 0x07
  19. #define REG_VERT_DISP_HEIGHT0 0x08
  20. #define REG_VERT_DISP_HEIGHT1 0x09
  21. #define REG_VERT_NONDISP_PERIOD 0x0A
  22. #define REG_VRTC_START_POSITION 0x0B
  23. #define REG_VRTC_PULSE_WIDTH 0x0C
  24. #define REG_DISPLAY_MODE 0x0D
  25. #define REG_SCRN1_LINE_COMPARE0 0x0E
  26. #define REG_SCRN1_LINE_COMPARE1 0x0F
  27. #define REG_SCRN1_DISP_START_ADDR0 0x10
  28. #define REG_SCRN1_DISP_START_ADDR1 0x11
  29. #define REG_SCRN1_DISP_START_ADDR2 0x12
  30. #define REG_SCRN2_DISP_START_ADDR0 0x13
  31. #define REG_SCRN2_DISP_START_ADDR1 0x14
  32. #define REG_SCRN2_DISP_START_ADDR2 0x15
  33. #define REG_MEM_ADDR_OFFSET0 0x16
  34. #define REG_MEM_ADDR_OFFSET1 0x17
  35. #define REG_PIXEL_PANNING 0x18
  36. #define REG_CLOCK_CONFIG 0x19
  37. #define REG_POWER_SAVE_CONFIG 0x1A
  38. #define REG_MISC 0x1B
  39. #define REG_MD_CONFIG_READBACK0 0x1C
  40. #define REG_MD_CONFIG_READBACK1 0x1D
  41. #define REG_GPIO_CONFIG0 0x1E
  42. #define REG_GPIO_CONFIG1 0x1F
  43. #define REG_GPIO_CONTROL0 0x20
  44. #define REG_GPIO_CONTROL1 0x21
  45. #define REG_PERF_ENHANCEMENT0 0x22
  46. #define REG_PERF_ENHANCEMENT1 0x23
  47. #define REG_LUT_ADDR 0x24
  48. #define REG_RESERVED_1 0x25
  49. #define REG_LUT_DATA 0x26
  50. #define REG_INK_CURSOR_CONTROL 0x27
  51. #define REG_CURSOR_X_POSITION0 0x28
  52. #define REG_CURSOR_X_POSITION1 0x29
  53. #define REG_CURSOR_Y_POSITION0 0x2A
  54. #define REG_CURSOR_Y_POSITION1 0x2B
  55. #define REG_INK_CURSOR_COLOR0_0 0x2C
  56. #define REG_INK_CURSOR_COLOR0_1 0x2D
  57. #define REG_INK_CURSOR_COLOR1_0 0x2E
  58. #define REG_INK_CURSOR_COLOR1_1 0x2F
  59. #define REG_INK_CURSOR_START_ADDR 0x30
  60. #define REG_ALTERNATE_FRM 0x31
  61. #endif