1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Support for Intel Camera Imaging ISP subsystem.
4  * Copyright (c) 2015, Intel Corporation.
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms and conditions of the GNU General Public License,
8  * version 2, as published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
13  * more details.
14  */
15 
16 #ifndef __PIXELGEN_LOCAL_H_INCLUDED__
17 #define __PIXELGEN_LOCAL_H_INCLUDED__
18 
19 #include "pixelgen_global.h"
20 
21 typedef struct pixelgen_ctrl_state_s	pixelgen_ctrl_state_t;
22 struct pixelgen_ctrl_state_s {
23 	hrt_data	com_enable;
24 	hrt_data	prbs_rstval0;
25 	hrt_data	prbs_rstval1;
26 	hrt_data	syng_sid;
27 	hrt_data	syng_free_run;
28 	hrt_data	syng_pause;
29 	hrt_data	syng_nof_frames;
30 	hrt_data	syng_nof_pixels;
31 	hrt_data	syng_nof_line;
32 	hrt_data	syng_hblank_cyc;
33 	hrt_data	syng_vblank_cyc;
34 	hrt_data	syng_stat_hcnt;
35 	hrt_data	syng_stat_vcnt;
36 	hrt_data	syng_stat_fcnt;
37 	hrt_data	syng_stat_done;
38 	hrt_data	tpg_mode;
39 	hrt_data	tpg_hcnt_mask;
40 	hrt_data	tpg_vcnt_mask;
41 	hrt_data	tpg_xycnt_mask;
42 	hrt_data	tpg_hcnt_delta;
43 	hrt_data	tpg_vcnt_delta;
44 	hrt_data	tpg_r1;
45 	hrt_data	tpg_g1;
46 	hrt_data	tpg_b1;
47 	hrt_data	tpg_r2;
48 	hrt_data	tpg_g2;
49 	hrt_data	tpg_b2;
50 };
51 #endif /* __PIXELGEN_LOCAL_H_INCLUDED__ */
52