Skip to content

Commit

Permalink
video: s3c-fb: move the bit definitions for VIDINTCON0 register
Browse files Browse the repository at this point in the history
The bit definitions for VIDINTCON0 registers are moved to right
place.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
  • Loading branch information
Jingoo Han committed Nov 26, 2012
1 parent 99a2c61 commit 60eb8d8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions include/video/samsung_fimd.h
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@

/* Interrupt controls and status */

#define VIDINTCON0 (0x130)
#define VIDINTCON0_FIFOINTERVAL_MASK (0x3f << 20)
#define VIDINTCON0_FIFOINTERVAL_SHIFT (20)
#define VIDINTCON0_FIFOINTERVAL_LIMIT (0x3f)
Expand Down Expand Up @@ -336,6 +337,9 @@
#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)
Expand Down Expand Up @@ -411,12 +415,6 @@
#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))

Expand Down

0 comments on commit 60eb8d8

Please sign in to comment.