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