|
@@ -1720,3 +1720,48 @@
|
|
|
#define LCCR0_DMADel(Tcpu) /* palette DMA request Delay */ \
|
|
|
/* [0..510 Tcpu] */ \
|
|
|
((Tcpu)/2 << FShft (LCCR0_PDD))
|
|
|
+
|
|
|
+#define LCSR_LDD 0x00000001 /* LCD Disable Done */
|
|
|
+#define LCSR_BAU 0x00000002 /* Base Address Update (read) */
|
|
|
+#define LCSR_BER 0x00000004 /* Bus ERror */
|
|
|
+#define LCSR_ABC 0x00000008 /* AC Bias clock Count */
|
|
|
+#define LCSR_IOL 0x00000010 /* Input FIFO Over-run Lower */
|
|
|
+ /* panel */
|
|
|
+#define LCSR_IUL 0x00000020 /* Input FIFO Under-run Lower */
|
|
|
+ /* panel */
|
|
|
+#define LCSR_IOU 0x00000040 /* Input FIFO Over-run Upper */
|
|
|
+ /* panel */
|
|
|
+#define LCSR_IUU 0x00000080 /* Input FIFO Under-run Upper */
|
|
|
+ /* panel */
|
|
|
+#define LCSR_OOL 0x00000100 /* Output FIFO Over-run Lower */
|
|
|
+ /* panel */
|
|
|
+#define LCSR_OUL 0x00000200 /* Output FIFO Under-run Lower */
|
|
|
+ /* panel */
|
|
|
+#define LCSR_OOU 0x00000400 /* Output FIFO Over-run Upper */
|
|
|
+ /* panel */
|
|
|
+#define LCSR_OUU 0x00000800 /* Output FIFO Under-run Upper */
|
|
|
+ /* panel */
|
|
|
+
|
|
|
+#define LCCR1_PPL Fld (6, 4) /* Pixels Per Line/16 - 1 */
|
|
|
+#define LCCR1_DisWdth(Pixel) /* Display Width [16..1024 pix.] */ \
|
|
|
+ (((Pixel) - 16)/16 << FShft (LCCR1_PPL))
|
|
|
+#define LCCR1_HSW Fld (6, 10) /* Horizontal Synchronization */
|
|
|
+ /* pulse Width - 1 [Tpix] (L_LCLK) */
|
|
|
+#define LCCR1_HorSnchWdth(Tpix) /* Horizontal Synchronization */ \
|
|
|
+ /* pulse Width [1..64 Tpix] */ \
|
|
|
+ (((Tpix) - 1) << FShft (LCCR1_HSW))
|
|
|
+#define LCCR1_ELW Fld (8, 16) /* End-of-Line pixel clock Wait */
|
|
|
+ /* count - 1 [Tpix] */
|
|
|
+#define LCCR1_EndLnDel(Tpix) /* End-of-Line Delay */ \
|
|
|
+ /* [1..256 Tpix] */ \
|
|
|
+ (((Tpix) - 1) << FShft (LCCR1_ELW))
|
|
|
+#define LCCR1_BLW Fld (8, 24) /* Beginning-of-Line pixel clock */
|
|
|
+ /* Wait count - 1 [Tpix] */
|
|
|
+#define LCCR1_BegLnDel(Tpix) /* Beginning-of-Line Delay */ \
|
|
|
+ /* [1..256 Tpix] */ \
|
|
|
+ (((Tpix) - 1) << FShft (LCCR1_BLW))
|
|
|
+
|
|
|
+#define LCCR2_LPP Fld (10, 0) /* Line Per Panel - 1 */
|
|
|
+#define LCCR2_DisHght(Line) /* Display Height [1..1024 lines] */ \
|
|
|
+ (((Line) - 1) << FShft (LCCR2_LPP))
|
|
|
+#define LCCR2_VSW Fld (6, 10) /* Vertical Synchronization pulse */
|