Linux 4.14.5
[linux/fpc-iii.git] / include / media / blackfin / bfin_capture.h
bloba999a3970c6984ab43023b2717d63894a830eeac
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _BFIN_CAPTURE_H_
3 #define _BFIN_CAPTURE_H_
5 #include <linux/i2c.h>
7 struct v4l2_input;
8 struct ppi_info;
10 struct bcap_route {
11 u32 input;
12 u32 output;
13 u32 ppi_control;
16 struct bfin_capture_config {
17 /* card name */
18 char *card_name;
19 /* inputs available at the sub device */
20 struct v4l2_input *inputs;
21 /* number of inputs supported */
22 int num_inputs;
23 /* routing information for each input */
24 struct bcap_route *routes;
25 /* i2c bus adapter no */
26 int i2c_adapter_id;
27 /* i2c subdevice board info */
28 struct i2c_board_info board_info;
29 /* ppi board info */
30 const struct ppi_info *ppi_info;
31 /* ppi control */
32 unsigned long ppi_control;
33 /* ppi interrupt mask */
34 u32 int_mask;
35 /* horizontal blanking pixels */
36 int blank_pixels;
39 #endif