1 /* Generated by ./src/xlat/gen.sh from ./src/xlat/v4l2_tuner_types.in; do not edit. */
2
3 #include "gcc_compat.h"
4 #include "static_assert.h"
5
6 #undef XLAT_PREV_VAL
7
8 #ifndef XLAT_MACROS_ONLY
9
10 # ifdef IN_MPERS
11
12 extern const struct xlat v4l2_tuner_types[];
13
14 # else
15
16 DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
17 static const struct xlat_data v4l2_tuner_types_xdata[] = {
18 [V4L2_TUNER_RADIO] = XLAT(V4L2_TUNER_RADIO),
19 #define XLAT_VAL_0 ((unsigned) (V4L2_TUNER_RADIO))
20 #define XLAT_STR_0 STRINGIFY(V4L2_TUNER_RADIO)
21 [V4L2_TUNER_ANALOG_TV] = XLAT(V4L2_TUNER_ANALOG_TV),
22 #define XLAT_VAL_1 ((unsigned) (V4L2_TUNER_ANALOG_TV))
23 #define XLAT_STR_1 STRINGIFY(V4L2_TUNER_ANALOG_TV)
24 [V4L2_TUNER_DIGITAL_TV] = XLAT(V4L2_TUNER_DIGITAL_TV),
25 #define XLAT_VAL_2 ((unsigned) (V4L2_TUNER_DIGITAL_TV))
26 #define XLAT_STR_2 STRINGIFY(V4L2_TUNER_DIGITAL_TV)
27 [V4L2_TUNER_SDR] = XLAT(V4L2_TUNER_SDR),
28 #define XLAT_VAL_3 ((unsigned) (V4L2_TUNER_SDR))
29 #define XLAT_STR_3 STRINGIFY(V4L2_TUNER_SDR)
30 [V4L2_TUNER_RF] = XLAT(V4L2_TUNER_RF),
31 #define XLAT_VAL_4 ((unsigned) (V4L2_TUNER_RF))
32 #define XLAT_STR_4 STRINGIFY(V4L2_TUNER_RF)
33 };
34 # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS)
35 static
36 # endif
37 const struct xlat v4l2_tuner_types[1] = { {
38 .data = v4l2_tuner_types_xdata,
39 .size = ARRAY_SIZE(v4l2_tuner_types_xdata),
40 .type = XT_INDEXED,
41 .flags_mask = 0
42 # ifdef XLAT_VAL_0
43 | XLAT_VAL_0
44 # endif
45 # ifdef XLAT_VAL_1
46 | XLAT_VAL_1
47 # endif
48 # ifdef XLAT_VAL_2
49 | XLAT_VAL_2
50 # endif
51 # ifdef XLAT_VAL_3
52 | XLAT_VAL_3
53 # endif
54 # ifdef XLAT_VAL_4
55 | XLAT_VAL_4
56 # endif
57 ,
58 .flags_strsz = 0
59 # ifdef XLAT_STR_0
60 + sizeof(XLAT_STR_0)
61 # endif
62 # ifdef XLAT_STR_1
63 + sizeof(XLAT_STR_1)
64 # endif
65 # ifdef XLAT_STR_2
66 + sizeof(XLAT_STR_2)
67 # endif
68 # ifdef XLAT_STR_3
69 + sizeof(XLAT_STR_3)
70 # endif
71 # ifdef XLAT_STR_4
72 + sizeof(XLAT_STR_4)
73 # endif
74 ,
75 } };
76 DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
77
78 # undef XLAT_STR_0
79 # undef XLAT_VAL_0
80 # undef XLAT_STR_1
81 # undef XLAT_VAL_1
82 # undef XLAT_STR_2
83 # undef XLAT_VAL_2
84 # undef XLAT_STR_3
85 # undef XLAT_VAL_3
86 # undef XLAT_STR_4
87 # undef XLAT_VAL_4
88 # endif /* !IN_MPERS */
89
90 #endif /* !XLAT_MACROS_ONLY */