aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.h')
-rw-r--r--drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.h42
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
16void exynos4_jpeg_sw_reset(void __iomem *base);
17void exynos4_jpeg_set_enc_dec_mode(void __iomem *base, unsigned int mode);
18void exynos4_jpeg_set_img_fmt(void __iomem *base, unsigned int img_fmt);
19void exynos4_jpeg_set_enc_out_fmt(void __iomem *base, unsigned int out_fmt);
20void exynos4_jpeg_set_enc_tbl(void __iomem *base);
21void exynos4_jpeg_set_interrupt(void __iomem *base);
22unsigned int exynos4_jpeg_get_int_status(void __iomem *base);
23void exynos4_jpeg_set_huf_table_enable(void __iomem *base, int value);
24void exynos4_jpeg_set_sys_int_enable(void __iomem *base, int value);
25void exynos4_jpeg_set_stream_buf_address(void __iomem *base,
26 unsigned int address);
27void exynos4_jpeg_set_stream_size(void __iomem *base,
28 unsigned int x_value, unsigned int y_value);
29void exynos4_jpeg_set_frame_buf_address(void __iomem *base,
30 struct s5p_jpeg_addr *jpeg_addr);
31void exynos4_jpeg_set_encode_tbl_select(void __iomem *base,
32 enum exynos4_jpeg_img_quality_level level);
33void exynos4_jpeg_set_encode_hoff_cnt(void __iomem *base, unsigned int fmt);
34void exynos4_jpeg_set_dec_bitstream_size(void __iomem *base, unsigned int size);
35unsigned int exynos4_jpeg_get_stream_size(void __iomem *base);
36void exynos4_jpeg_get_frame_size(void __iomem *base,
37 unsigned int *width, unsigned int *height);
38unsigned int exynos4_jpeg_get_frame_fmt(void __iomem *base);
39unsigned int exynos4_jpeg_get_fifo_status(void __iomem *base);
40void exynos4_jpeg_set_timer_count(void __iomem *base, unsigned int size);
41
42#endif /* JPEG_HW_EXYNOS4_H_ */