cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

jpeg-hw-exynos4.h (2133B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2/* Copyright (c) 2013 Samsung Electronics Co., Ltd.
      3 *		http://www.samsung.com/
      4 *
      5 * Author: Jacek Anaszewski <j.anaszewski@samsung.com>
      6 *
      7 * Header file of the register interface for JPEG driver on Exynos4x12.
      8*/
      9
     10#ifndef JPEG_HW_EXYNOS4_H_
     11#define JPEG_HW_EXYNOS4_H_
     12
     13void exynos4_jpeg_sw_reset(void __iomem *base);
     14void exynos4_jpeg_set_enc_dec_mode(void __iomem *base, unsigned int mode);
     15void __exynos4_jpeg_set_img_fmt(void __iomem *base, unsigned int img_fmt,
     16				unsigned int version);
     17void __exynos4_jpeg_set_enc_out_fmt(void __iomem *base, unsigned int out_fmt,
     18				    unsigned int version);
     19void exynos4_jpeg_set_enc_tbl(void __iomem *base);
     20void exynos4_jpeg_set_interrupt(void __iomem *base, unsigned int version);
     21unsigned int exynos4_jpeg_get_int_status(void __iomem *base);
     22void exynos4_jpeg_set_huf_table_enable(void __iomem *base, int value);
     23void exynos4_jpeg_set_sys_int_enable(void __iomem *base, int value);
     24void exynos4_jpeg_set_stream_buf_address(void __iomem *base,
     25					 unsigned int address);
     26void exynos4_jpeg_set_stream_size(void __iomem *base,
     27		unsigned int x_value, unsigned int y_value);
     28void exynos4_jpeg_set_frame_buf_address(void __iomem *base,
     29				struct s5p_jpeg_addr *jpeg_addr);
     30void exynos4_jpeg_set_encode_tbl_select(void __iomem *base,
     31		enum exynos4_jpeg_img_quality_level level);
     32void exynos4_jpeg_set_dec_components(void __iomem *base, int n);
     33void exynos4_jpeg_select_dec_q_tbl(void __iomem *base, char c, char x);
     34void exynos4_jpeg_select_dec_h_tbl(void __iomem *base, char c, char x);
     35void exynos4_jpeg_set_encode_hoff_cnt(void __iomem *base, unsigned int fmt);
     36void exynos4_jpeg_set_dec_bitstream_size(void __iomem *base, unsigned int size);
     37unsigned int exynos4_jpeg_get_stream_size(void __iomem *base);
     38void exynos4_jpeg_get_frame_size(void __iomem *base,
     39			unsigned int *width, unsigned int *height);
     40unsigned int exynos4_jpeg_get_frame_fmt(void __iomem *base);
     41unsigned int exynos4_jpeg_get_fifo_status(void __iomem *base);
     42void exynos4_jpeg_set_timer_count(void __iomem *base, unsigned int size);
     43
     44#endif /* JPEG_HW_EXYNOS4_H_ */