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
89
90ignore symbol SEC_VOLTAGE_13
91ignore symbol SEC_VOLTAGE_18
92ignore symbol SEC_VOLTAGE_OFF
93
94ignore symbol SEC_TONE_ON
95ignore symbol SEC_TONE_OFF
96
97ignore symbol SEC_MINI_A
98ignore symbol SEC_MINI_B
99
100ignore symbol FE_NONE
101ignore symbol FE_HAS_SIGNAL
102ignore symbol FE_HAS_CARRIER
103ignore symbol FE_HAS_VITERBI
104ignore symbol FE_HAS_SYNC
105ignore symbol FE_HAS_LOCK
106ignore symbol FE_REINIT
107ignore symbol FE_TIMEDOUT
108
109ignore symbol FEC_NONE
110ignore symbol FEC_1_2
111ignore symbol FEC_2_3
112ignore symbol FEC_3_4
113ignore symbol FEC_4_5
114ignore symbol FEC_5_6
115ignore symbol FEC_6_7
116ignore symbol FEC_7_8
117ignore symbol FEC_8_9
118ignore symbol FEC_AUTO
119ignore symbol FEC_3_5
120ignore symbol FEC_9_10
121ignore symbol FEC_2_5
122
123ignore symbol TRANSMISSION_MODE_AUTO
124ignore symbol TRANSMISSION_MODE_1K
125ignore symbol TRANSMISSION_MODE_2K
126ignore symbol TRANSMISSION_MODE_8K
127ignore symbol TRANSMISSION_MODE_4K
128ignore symbol TRANSMISSION_MODE_16K
129ignore symbol TRANSMISSION_MODE_32K
130ignore symbol TRANSMISSION_MODE_C1
131ignore symbol TRANSMISSION_MODE_C3780
132ignore symbol TRANSMISSION_MODE_2K
133ignore symbol TRANSMISSION_MODE_8K
134
135ignore symbol GUARD_INTERVAL_AUTO
136ignore symbol GUARD_INTERVAL_1_128
137ignore symbol GUARD_INTERVAL_1_32
138ignore symbol GUARD_INTERVAL_1_16
139ignore symbol GUARD_INTERVAL_1_8
140ignore symbol GUARD_INTERVAL_1_4
141ignore symbol GUARD_INTERVAL_19_128
142ignore symbol GUARD_INTERVAL_19_256
143ignore symbol GUARD_INTERVAL_PN420
144ignore symbol GUARD_INTERVAL_PN595
145ignore symbol GUARD_INTERVAL_PN945
146
147ignore symbol HIERARCHY_NONE
148ignore symbol HIERARCHY_AUTO
149ignore symbol HIERARCHY_1
150ignore symbol HIERARCHY_2
151ignore symbol HIERARCHY_4
152
153ignore symbol INTERLEAVING_NONE
154ignore symbol INTERLEAVING_AUTO
155ignore symbol INTERLEAVING_240
156ignore symbol INTERLEAVING_720
157
158ignore symbol PILOT_ON
159ignore symbol PILOT_OFF
160ignore symbol PILOT_AUTO
161
162ignore symbol ROLLOFF_35
163ignore symbol ROLLOFF_20
164ignore symbol ROLLOFF_25
165ignore symbol ROLLOFF_AUTO
166
167ignore symbol INVERSION_ON
168ignore symbol INVERSION_OFF
169ignore symbol INVERSION_AUTO
170
171ignore symbol SYS_UNDEFINED
172ignore symbol SYS_DVBC_ANNEX_A
173ignore symbol SYS_DVBC_ANNEX_B
174ignore symbol SYS_DVBC_ANNEX_C
175ignore symbol SYS_ISDBC
176ignore symbol SYS_DVBT
177ignore symbol SYS_DVBT2
178ignore symbol SYS_ISDBT
179ignore symbol SYS_ATSC
180ignore symbol SYS_ATSCMH
181ignore symbol SYS_DTMB
182ignore symbol SYS_DVBS
183ignore symbol SYS_DVBS2
184ignore symbol SYS_TURBO
185ignore symbol SYS_ISDBS
186ignore symbol SYS_DAB
187ignore symbol SYS_DSS
188ignore symbol SYS_CMMB
189ignore symbol SYS_DVBH
190
191ignore symbol ATSCMH_SCCC_BLK_SEP
192ignore symbol ATSCMH_SCCC_BLK_COMB
193ignore symbol ATSCMH_SCCC_BLK_RES
194
195ignore symbol ATSCMH_SCCC_CODE_HLF
196ignore symbol ATSCMH_SCCC_CODE_QTR
197ignore symbol ATSCMH_SCCC_CODE_RES
198
199ignore symbol ATSCMH_RSFRAME_ENS_PRI
200ignore symbol ATSCMH_RSFRAME_ENS_SEC
201
202ignore symbol ATSCMH_RSFRAME_PRI_ONLY
203ignore symbol ATSCMH_RSFRAME_PRI_SEC
204ignore symbol ATSCMH_RSFRAME_RES
205
206ignore symbol ATSCMH_RSCODE_211_187
207ignore symbol ATSCMH_RSCODE_223_187
208ignore symbol ATSCMH_RSCODE_235_187
209ignore symbol ATSCMH_RSCODE_RES
210
211ignore symbol FE_SCALE_NOT_AVAILABLE
212ignore symbol FE_SCALE_DECIBEL
213ignore symbol FE_SCALE_RELATIVE
214ignore symbol FE_SCALE_COUNTER
215