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