Skip to content

Commit 60eb8d8

Browse files
author
Jingoo Han
committed
video: s3c-fb: move the bit definitions for VIDINTCON0 register
The bit definitions for VIDINTCON0 registers are moved to right place. Signed-off-by: Jingoo Han <jg1.han@samsung.com>
1 parent 99a2c61 commit 60eb8d8

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

‎include/video/samsung_fimd.h‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@
308308

309309
/* Interrupt controls and status */
310310

311+
#define VIDINTCON0 (0x130)
311312
#define VIDINTCON0_FIFOINTERVAL_MASK (0x3f << 20)
312313
#define VIDINTCON0_FIFOINTERVAL_SHIFT (20)
313314
#define VIDINTCON0_FIFOINTERVAL_LIMIT (0x3f)
@@ -336,6 +337,9 @@
336337
#define VIDINTCON0_FIFIOSEL_SHIFT (5)
337338
#define VIDINTCON0_FIFIOSEL_WINDOW0 (0x1 << 5)
338339
#define VIDINTCON0_FIFIOSEL_WINDOW1 (0x2 << 5)
340+
#define VIDINTCON0_FIFIOSEL_WINDOW2 (0x10 << 5)
341+
#define VIDINTCON0_FIFIOSEL_WINDOW3 (0x20 << 5)
342+
#define VIDINTCON0_FIFIOSEL_WINDOW4 (0x40 << 5)
339343

340344
#define VIDINTCON0_FIFOLEVEL_MASK (0x7 << 2)
341345
#define VIDINTCON0_FIFOLEVEL_SHIFT (2)
@@ -411,12 +415,6 @@
411415
#define S3C_FB_MAX_WIN (5) /* number of hardware windows available. */
412416
#define VIDCON1_FSTATUS_EVEN (1 << 15)
413417

414-
#define VIDINTCON0 (0x130)
415-
416-
#define VIDINTCON0_FIFIOSEL_WINDOW2 (0x10 << 5)
417-
#define VIDINTCON0_FIFIOSEL_WINDOW3 (0x20 << 5)
418-
#define VIDINTCON0_FIFIOSEL_WINDOW4 (0x40 << 5)
419-
420418
#define DITHMODE (0x170)
421419
#define WINxMAP(_win) (0x180 + ((_win) * 4))
422420

0 commit comments

Comments
 (0)