1# SPDX-License-Identifier: GPL-2.0
2
3# Ignore header name
4ignore define _DVBFRONTEND_H_
5
6# Group layer A-C symbols together
7replace define DTV_ISDBT_LAYERA_FEC dtv-isdbt-layer-fec
8replace define DTV_ISDBT_LAYERB_FEC dtv-isdbt-layer-fec
9replace define DTV_ISDBT_LAYERC_FEC dtv-isdbt-layer-fec
10replace define DTV_ISDBT_LAYERA_MODULATION dtv-isdbt-layer-modulation
11replace define DTV_ISDBT_LAYERB_MODULATION dtv-isdbt-layer-modulation
12replace define DTV_ISDBT_LAYERC_MODULATION dtv-isdbt-layer-modulation
13replace define DTV_ISDBT_LAYERA_SEGMENT_COUNT dtv-isdbt-layer-segment-count
14replace define DTV_ISDBT_LAYERB_SEGMENT_COUNT dtv-isdbt-layer-segment-count
15replace define DTV_ISDBT_LAYERC_SEGMENT_COUNT dtv-isdbt-layer-segment-count
16replace define DTV_ISDBT_LAYERA_TIME_INTERLEAVING dtv-isdbt-layer-time-interleaving
17replace define DTV_ISDBT_LAYERB_TIME_INTERLEAVING dtv-isdbt-layer-time-interleaving
18replace define DTV_ISDBT_LAYERC_TIME_INTERLEAVING dtv-isdbt-layer-time-interleaving
19
20# Ignore legacy defines
21ignore define DTV_ISDBS_TS_ID_LEGACY
22ignore define SYS_DVBC_ANNEX_AC
23ignore define SYS_DMBTH
24
25# Ignore limits
26ignore define DTV_MAX_COMMAND
27ignore define MAX_DTV_STATS
28ignore define DTV_IOCTL_MAX_MSGS
29
30# the same reference is used for both get and set ioctls
31replace ioctl FE_SET_PROPERTY :c:type:`FE_GET_PROPERTY`
32
33# Typedefs that use the enum reference
34replace typedef fe_sec_voltage_t :c:type:`fe_sec_voltage`
35
36# Replaces for flag constants
37replace define FE_TUNE_MODE_ONESHOT :c:func:`FE_SET_FRONTEND_TUNE_MODE`
38replace define LNA_AUTO dtv-lna
39replace define NO_STREAM_ID_FILTER dtv-stream-id
40
41# Those enums are defined at the frontend.h header, and not externally
42
43ignore symbol FE_IS_STUPID
44ignore symbol FE_CAN_INVERSION_AUTO
45ignore symbol FE_CAN_FEC_1_2
46ignore symbol FE_CAN_FEC_2_3
47ignore symbol FE_CAN_FEC_3_4
48ignore symbol FE_CAN_FEC_4_5
49ignore symbol FE_CAN_FEC_5_6
50ignore symbol FE_CAN_FEC_6_7
51ignore symbol FE_CAN_FEC_7_8
52ignore symbol FE_CAN_FEC_8_9
53ignore symbol FE_CAN_FEC_AUTO
54ignore symbol FE_CAN_QPSK
55ignore symbol FE_CAN_QAM_16
56ignore symbol FE_CAN_QAM_32
57ignore symbol FE_CAN_QAM_64
58ignore symbol FE_CAN_QAM_128
59ignore symbol FE_CAN_QAM_256
60ignore symbol FE_CAN_QAM_AUTO
61ignore symbol FE_CAN_TRANSMISSION_MODE_AUTO
62ignore symbol FE_CAN_BANDWIDTH_AUTO
63ignore symbol FE_CAN_GUARD_INTERVAL_AUTO
64ignore symbol FE_CAN_HIERARCHY_AUTO
65ignore symbol FE_CAN_8VSB
66ignore symbol FE_CAN_16VSB
67ignore symbol FE_HAS_EXTENDED_CAPS
68ignore symbol FE_CAN_MULTISTREAM
69ignore symbol FE_CAN_TURBO_FEC
70ignore symbol FE_CAN_2G_MODULATION
71ignore symbol FE_NEEDS_BENDING
72ignore symbol FE_CAN_RECOVER
73ignore symbol FE_CAN_MUTE_TS
74
75ignore symbol QPSK
76ignore symbol QAM_16
77ignore symbol QAM_32
78ignore symbol QAM_64
79ignore symbol QAM_128
80ignore symbol QAM_256
81ignore symbol QAM_AUTO
82ignore symbol VSB_8
83ignore symbol VSB_16
84ignore symbol PSK_8
85ignore symbol APSK_16
86ignore symbol APSK_32
87ignore symbol DQPSK
88ignore symbol QAM_4_NR
89ignore symbol QAM_1024
90ignore symbol QAM_4096
91ignore symbol APSK_8_L
92ignore symbol APSK_16_L
93ignore symbol APSK_32_L
94ignore symbol APSK_64
95ignore symbol APSK_64_L
96
97ignore symbol SEC_VOLTAGE_13
98ignore symbol SEC_VOLTAGE_18
99ignore symbol SEC_VOLTAGE_OFF
100
101ignore symbol SEC_TONE_ON
102ignore symbol SEC_TONE_OFF
103
104ignore symbol SEC_MINI_A
105ignore symbol SEC_MINI_B
106
107ignore symbol FE_NONE
108ignore symbol FE_HAS_SIGNAL
109ignore symbol FE_HAS_CARRIER
110ignore symbol FE_HAS_VITERBI
111ignore symbol FE_HAS_SYNC
112ignore symbol FE_HAS_LOCK
113ignore symbol FE_REINIT
114ignore symbol FE_TIMEDOUT
115
116ignore symbol FEC_NONE
117ignore symbol FEC_1_2
118ignore symbol FEC_2_3
119ignore symbol FEC_3_4
120ignore symbol FEC_4_5
121ignore symbol FEC_5_6
122ignore symbol FEC_6_7
123ignore symbol FEC_7_8
124ignore symbol FEC_8_9
125ignore symbol FEC_AUTO
126ignore symbol FEC_3_5
127ignore symbol FEC_9_10
128ignore symbol FEC_2_5
129ignore symbol FEC_1_3
130ignore symbol FEC_1_4
131ignore symbol FEC_5_9
132ignore symbol FEC_7_9
133ignore symbol FEC_8_15
134ignore symbol FEC_11_15
135ignore symbol FEC_13_18
136ignore symbol FEC_9_20
137ignore symbol FEC_11_20
138ignore symbol FEC_23_36
139ignore symbol FEC_25_36
140ignore symbol FEC_13_45
141ignore symbol FEC_26_45
142ignore symbol FEC_28_45
143ignore symbol FEC_32_45
144ignore symbol FEC_77_90
145
146ignore symbol TRANSMISSION_MODE_AUTO
147ignore symbol TRANSMISSION_MODE_1K
148ignore symbol TRANSMISSION_MODE_2K
149ignore symbol TRANSMISSION_MODE_8K
150ignore symbol TRANSMISSION_MODE_4K
151ignore symbol TRANSMISSION_MODE_16K
152ignore symbol TRANSMISSION_MODE_32K
153ignore symbol TRANSMISSION_MODE_C1
154ignore symbol TRANSMISSION_MODE_C3780
155ignore symbol TRANSMISSION_MODE_2K
156ignore symbol TRANSMISSION_MODE_8K
157
158ignore symbol GUARD_INTERVAL_AUTO
159ignore symbol GUARD_INTERVAL_1_128
160ignore symbol GUARD_INTERVAL_1_32
161ignore symbol GUARD_INTERVAL_1_16
162ignore symbol GUARD_INTERVAL_1_8
163ignore symbol GUARD_INTERVAL_1_4
164ignore symbol GUARD_INTERVAL_19_128
165ignore symbol GUARD_INTERVAL_19_256
166ignore symbol GUARD_INTERVAL_PN420
167ignore symbol GUARD_INTERVAL_PN595
168ignore symbol GUARD_INTERVAL_PN945
169ignore symbol GUARD_INTERVAL_1_64
170
171ignore symbol HIERARCHY_NONE
172ignore symbol HIERARCHY_AUTO
173ignore symbol HIERARCHY_1
174ignore symbol HIERARCHY_2
175ignore symbol HIERARCHY_4
176
177ignore symbol INTERLEAVING_NONE
178ignore symbol INTERLEAVING_AUTO
179ignore symbol INTERLEAVING_240
180ignore symbol INTERLEAVING_720
181
182ignore symbol PILOT_ON
183ignore symbol PILOT_OFF
184ignore symbol PILOT_AUTO
185
186ignore symbol ROLLOFF_35
187ignore symbol ROLLOFF_20
188ignore symbol ROLLOFF_25
189ignore symbol ROLLOFF_AUTO
190ignore symbol ROLLOFF_15
191ignore symbol ROLLOFF_10
192ignore symbol ROLLOFF_5
193
194ignore symbol INVERSION_ON
195ignore symbol INVERSION_OFF
196ignore symbol INVERSION_AUTO
197
198ignore symbol SYS_UNDEFINED
199ignore symbol SYS_DVBC_ANNEX_A
200ignore symbol SYS_DVBC_ANNEX_B
201ignore symbol SYS_DVBC_ANNEX_C
202ignore symbol SYS_ISDBC
203ignore symbol SYS_DVBT
204ignore symbol SYS_DVBT2
205ignore symbol SYS_ISDBT
206ignore symbol SYS_ATSC
207ignore symbol SYS_ATSCMH
208ignore symbol SYS_DTMB
209ignore symbol SYS_DVBS
210ignore symbol SYS_DVBS2
211ignore symbol SYS_TURBO
212ignore symbol SYS_ISDBS
213ignore symbol SYS_DAB
214ignore symbol SYS_DSS
215ignore symbol SYS_CMMB
216ignore symbol SYS_DVBH
217ignore symbol SYS_DVBC2
218
219ignore symbol ATSCMH_SCCC_BLK_SEP
220ignore symbol ATSCMH_SCCC_BLK_COMB
221ignore symbol ATSCMH_SCCC_BLK_RES
222
223ignore symbol ATSCMH_SCCC_CODE_HLF
224ignore symbol ATSCMH_SCCC_CODE_QTR
225ignore symbol ATSCMH_SCCC_CODE_RES
226
227ignore symbol ATSCMH_RSFRAME_ENS_PRI
228ignore symbol ATSCMH_RSFRAME_ENS_SEC
229
230ignore symbol ATSCMH_RSFRAME_PRI_ONLY
231ignore symbol ATSCMH_RSFRAME_PRI_SEC
232ignore symbol ATSCMH_RSFRAME_RES
233
234ignore symbol ATSCMH_RSCODE_211_187
235ignore symbol ATSCMH_RSCODE_223_187
236ignore symbol ATSCMH_RSCODE_235_187
237ignore symbol ATSCMH_RSCODE_RES
238
239ignore symbol FE_SCALE_NOT_AVAILABLE
240ignore symbol FE_SCALE_DECIBEL
241ignore symbol FE_SCALE_RELATIVE
242ignore symbol FE_SCALE_COUNTER
243