]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
0d3244d6 MD |
2 | #ifndef __ASM_SH_MOBILE_CEU_H__ |
3 | #define __ASM_SH_MOBILE_CEU_H__ | |
4 | ||
c354b400 KM |
5 | #define SH_CEU_FLAG_USE_8BIT_BUS (1 << 0) /* use 8bit bus width */ |
6 | #define SH_CEU_FLAG_USE_16BIT_BUS (1 << 1) /* use 16bit bus width */ | |
85dc1cff KM |
7 | #define SH_CEU_FLAG_HSYNC_LOW (1 << 2) /* default High if possible */ |
8 | #define SH_CEU_FLAG_VSYNC_LOW (1 << 3) /* default High if possible */ | |
2564f67b | 9 | #define SH_CEU_FLAG_LOWER_8BIT (1 << 4) /* default upper 8bit */ |
0d3244d6 | 10 | |
b3b5020d | 11 | struct device; |
6b526fed GL |
12 | struct resource; |
13 | ||
14 | struct sh_mobile_ceu_companion { | |
15 | u32 num_resources; | |
16 | struct resource *resource; | |
17 | int id; | |
18 | void *platform_data; | |
19 | }; | |
b3b5020d | 20 | |
0d3244d6 | 21 | struct sh_mobile_ceu_info { |
c354b400 | 22 | unsigned long flags; |
48e971cd GL |
23 | int max_width; |
24 | int max_height; | |
676d2d4f | 25 | struct v4l2_async_subdev **asd; /* Flat array, arranged in groups */ |
f687f326 | 26 | unsigned int *asd_sizes; /* 0-terminated array pf asd group sizes */ |
0d3244d6 MD |
27 | }; |
28 | ||
29 | #endif /* __ASM_SH_MOBILE_CEU_H__ */ |