diff options
author | Jingoo Han <jg1.han@samsung.com> | 2012-09-25 03:55:18 -0400 |
---|---|---|
committer | Jingoo Han <jg1.han@samsung.com> | 2012-11-25 23:35:35 -0500 |
commit | 60eb8d83f0f70ddf023eb781d7eafffe54f9c5c5 (patch) | |
tree | bbebc751f0b20701dc932a586ec900a1b279360a | |
parent | 99a2c61e639063803348c71c760c2fc272e83ec6 (diff) |
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>
-rw-r--r-- | include/video/samsung_fimd.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/include/video/samsung_fimd.h b/include/video/samsung_fimd.h index c398728cacfb..7c9a9bcbcbbc 100644 --- a/include/video/samsung_fimd.h +++ b/include/video/samsung_fimd.h | |||
@@ -308,6 +308,7 @@ | |||
308 | 308 | ||
309 | /* Interrupt controls and status */ | 309 | /* Interrupt controls and status */ |
310 | 310 | ||
311 | #define VIDINTCON0 (0x130) | ||
311 | #define VIDINTCON0_FIFOINTERVAL_MASK (0x3f << 20) | 312 | #define VIDINTCON0_FIFOINTERVAL_MASK (0x3f << 20) |
312 | #define VIDINTCON0_FIFOINTERVAL_SHIFT (20) | 313 | #define VIDINTCON0_FIFOINTERVAL_SHIFT (20) |
313 | #define VIDINTCON0_FIFOINTERVAL_LIMIT (0x3f) | 314 | #define VIDINTCON0_FIFOINTERVAL_LIMIT (0x3f) |
@@ -336,6 +337,9 @@ | |||
336 | #define VIDINTCON0_FIFIOSEL_SHIFT (5) | 337 | #define VIDINTCON0_FIFIOSEL_SHIFT (5) |
337 | #define VIDINTCON0_FIFIOSEL_WINDOW0 (0x1 << 5) | 338 | #define VIDINTCON0_FIFIOSEL_WINDOW0 (0x1 << 5) |
338 | #define VIDINTCON0_FIFIOSEL_WINDOW1 (0x2 << 5) | 339 | #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) | ||
339 | 343 | ||
340 | #define VIDINTCON0_FIFOLEVEL_MASK (0x7 << 2) | 344 | #define VIDINTCON0_FIFOLEVEL_MASK (0x7 << 2) |
341 | #define VIDINTCON0_FIFOLEVEL_SHIFT (2) | 345 | #define VIDINTCON0_FIFOLEVEL_SHIFT (2) |
@@ -411,12 +415,6 @@ | |||
411 | #define S3C_FB_MAX_WIN (5) /* number of hardware windows available. */ | 415 | #define S3C_FB_MAX_WIN (5) /* number of hardware windows available. */ |
412 | #define VIDCON1_FSTATUS_EVEN (1 << 15) | 416 | #define VIDCON1_FSTATUS_EVEN (1 << 15) |
413 | 417 | ||
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 | |||
420 | #define DITHMODE (0x170) | 418 | #define DITHMODE (0x170) |
421 | #define WINxMAP(_win) (0x180 + ((_win) * 4)) | 419 | #define WINxMAP(_win) (0x180 + ((_win) * 4)) |
422 | 420 | ||