Linux 3.11-rc3
[cris-mirror.git] / include / media / blackfin / bfin_capture.h
blob56b9ce4472fc0bc04e25666c0373251dc9267d71
1 #ifndef _BFIN_CAPTURE_H_
2 #define _BFIN_CAPTURE_H_
4 #include <linux/i2c.h>
6 struct v4l2_input;
7 struct ppi_info;
9 struct bcap_route {
10 u32 input;
11 u32 output;
12 u32 ppi_control;
15 struct bfin_capture_config {
16 /* card name */
17 char *card_name;
18 /* inputs available at the sub device */
19 struct v4l2_input *inputs;
20 /* number of inputs supported */
21 int num_inputs;
22 /* routing information for each input */
23 struct bcap_route *routes;
24 /* i2c bus adapter no */
25 int i2c_adapter_id;
26 /* i2c subdevice board info */
27 struct i2c_board_info board_info;
28 /* ppi board info */
29 const struct ppi_info *ppi_info;
30 /* ppi control */
31 unsigned long ppi_control;
32 /* ppi interrupt mask */
33 u32 int_mask;
34 /* horizontal blanking pixels */
35 int blank_pixels;
38 #endif