]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
video: s3c-fb: move the bit definitions for VIDINTCON0 register
authorJingoo Han <jg1.han@samsung.com>
Tue, 25 Sep 2012 07:55:18 +0000 (16:55 +0900)
committerJingoo Han <jg1.han@samsung.com>
Mon, 26 Nov 2012 04:35:35 +0000 (13:35 +0900)
The bit definitions for VIDINTCON0 registers are moved to right
place.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
include/video/samsung_fimd.h

index c398728cacfb9d94dd2f9dd3121278db307b6a9b..7c9a9bcbcbbc17b734932018cdba5bb904652a0a 100644 (file)
 
 /* Interrupt controls and status */
 
+#define VIDINTCON0                             (0x130)
 #define VIDINTCON0_FIFOINTERVAL_MASK           (0x3f << 20)
 #define VIDINTCON0_FIFOINTERVAL_SHIFT          (20)
 #define VIDINTCON0_FIFOINTERVAL_LIMIT          (0x3f)
 #define VIDINTCON0_FIFIOSEL_SHIFT              (5)
 #define VIDINTCON0_FIFIOSEL_WINDOW0            (0x1 << 5)
 #define VIDINTCON0_FIFIOSEL_WINDOW1            (0x2 << 5)
+#define VIDINTCON0_FIFIOSEL_WINDOW2            (0x10 << 5)
+#define VIDINTCON0_FIFIOSEL_WINDOW3            (0x20 << 5)
+#define VIDINTCON0_FIFIOSEL_WINDOW4            (0x40 << 5)
 
 #define VIDINTCON0_FIFOLEVEL_MASK              (0x7 << 2)
 #define VIDINTCON0_FIFOLEVEL_SHIFT             (2)
 #define S3C_FB_MAX_WIN (5)  /* number of hardware windows available. */
 #define VIDCON1_FSTATUS_EVEN   (1 << 15)
 
-#define VIDINTCON0                             (0x130)
-
-#define VIDINTCON0_FIFIOSEL_WINDOW2            (0x10 << 5)
-#define VIDINTCON0_FIFIOSEL_WINDOW3            (0x20 << 5)
-#define VIDINTCON0_FIFIOSEL_WINDOW4            (0x40 << 5)
-
 #define DITHMODE                               (0x170)
 #define WINxMAP(_win)                          (0x180 + ((_win) * 4))