diff options
Diffstat (limited to 'drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.h')
-rw-r--r-- | drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.h b/drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.h new file mode 100644 index 000000000000..c228d28a4bc7 --- /dev/null +++ b/drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.h | |||
@@ -0,0 +1,42 @@ | |||
1 | /* Copyright (c) 2013 Samsung Electronics Co., Ltd. | ||
2 | * http://www.samsung.com/ | ||
3 | * | ||
4 | * Author: Jacek Anaszewski <j.anaszewski@samsung.com> | ||
5 | * | ||
6 | * Header file of the register interface for JPEG driver on Exynos4x12. | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | ||
12 | |||
13 | #ifndef JPEG_HW_EXYNOS4_H_ | ||
14 | #define JPEG_HW_EXYNOS4_H_ | ||
15 | |||
16 | void exynos4_jpeg_sw_reset(void __iomem *base); | ||
17 | void exynos4_jpeg_set_enc_dec_mode(void __iomem *base, unsigned int mode); | ||
18 | void exynos4_jpeg_set_img_fmt(void __iomem *base, unsigned int img_fmt); | ||
19 | void exynos4_jpeg_set_enc_out_fmt(void __iomem *base, unsigned int out_fmt); | ||
20 | void exynos4_jpeg_set_enc_tbl(void __iomem *base); | ||
21 | void exynos4_jpeg_set_interrupt(void __iomem *base); | ||
22 | unsigned int exynos4_jpeg_get_int_status(void __iomem *base); | ||
23 | void exynos4_jpeg_set_huf_table_enable(void __iomem *base, int value); | ||
24 | void exynos4_jpeg_set_sys_int_enable(void __iomem *base, int value); | ||
25 | void exynos4_jpeg_set_stream_buf_address(void __iomem *base, | ||
26 | unsigned int address); | ||
27 | void exynos4_jpeg_set_stream_size(void __iomem *base, | ||
28 | unsigned int x_value, unsigned int y_value); | ||
29 | void exynos4_jpeg_set_frame_buf_address(void __iomem *base, | ||
30 | struct s5p_jpeg_addr *jpeg_addr); | ||
31 | void exynos4_jpeg_set_encode_tbl_select(void __iomem *base, | ||
32 | enum exynos4_jpeg_img_quality_level level); | ||
33 | void exynos4_jpeg_set_encode_hoff_cnt(void __iomem *base, unsigned int fmt); | ||
34 | void exynos4_jpeg_set_dec_bitstream_size(void __iomem *base, unsigned int size); | ||
35 | unsigned int exynos4_jpeg_get_stream_size(void __iomem *base); | ||
36 | void exynos4_jpeg_get_frame_size(void __iomem *base, | ||
37 | unsigned int *width, unsigned int *height); | ||
38 | unsigned int exynos4_jpeg_get_frame_fmt(void __iomem *base); | ||
39 | unsigned int exynos4_jpeg_get_fifo_status(void __iomem *base); | ||
40 | void exynos4_jpeg_set_timer_count(void __iomem *base, unsigned int size); | ||
41 | |||
42 | #endif /* JPEG_HW_EXYNOS4_H_ */ | ||