diff options
Diffstat (limited to 'drivers/video/sh_mobile_meram.h')
-rw-r--r-- | drivers/video/sh_mobile_meram.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/drivers/video/sh_mobile_meram.h b/drivers/video/sh_mobile_meram.h deleted file mode 100644 index 1615204b14de..000000000000 --- a/drivers/video/sh_mobile_meram.h +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | #ifndef __sh_mobile_meram_h__ | ||
2 | #define __sh_mobile_meram_h__ | ||
3 | |||
4 | #include <linux/mutex.h> | ||
5 | #include <video/sh_mobile_meram.h> | ||
6 | |||
7 | /* | ||
8 | * MERAM private | ||
9 | */ | ||
10 | |||
11 | #define MERAM_ICB_Y 0x1 | ||
12 | #define MERAM_ICB_C 0x2 | ||
13 | |||
14 | /* MERAM cache size */ | ||
15 | #define SH_MOBILE_MERAM_ICB_NUM 32 | ||
16 | |||
17 | #define SH_MOBILE_MERAM_CACHE_OFFSET(p) ((p) >> 16) | ||
18 | #define SH_MOBILE_MERAM_CACHE_SIZE(p) ((p) & 0xffff) | ||
19 | |||
20 | int sh_mobile_meram_alloc_icb(const struct sh_mobile_meram_cfg *cfg, | ||
21 | int xres, | ||
22 | int yres, | ||
23 | unsigned int base_addr, | ||
24 | int yuv_mode, | ||
25 | int *marker_icb, | ||
26 | int *out_pitch); | ||
27 | |||
28 | void sh_mobile_meram_free_icb(int marker_icb); | ||
29 | |||
30 | #define SH_MOBILE_MERAM_START(ind, ab) \ | ||
31 | (0xC0000000 | ((ab & 0x1) << 23) | ((ind & 0x1F) << 24)) | ||
32 | |||
33 | #endif /* !__sh_mobile_meram_h__ */ | ||