162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci
362306a36Sopenharmony_ci# Ignore header name
462306a36Sopenharmony_ciignore define _DVBFRONTEND_H_
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci# Group layer A-C symbols together
762306a36Sopenharmony_cireplace define DTV_ISDBT_LAYERA_FEC dtv-isdbt-layer-fec
862306a36Sopenharmony_cireplace define DTV_ISDBT_LAYERB_FEC dtv-isdbt-layer-fec
962306a36Sopenharmony_cireplace define DTV_ISDBT_LAYERC_FEC dtv-isdbt-layer-fec
1062306a36Sopenharmony_cireplace define DTV_ISDBT_LAYERA_MODULATION dtv-isdbt-layer-modulation
1162306a36Sopenharmony_cireplace define DTV_ISDBT_LAYERB_MODULATION dtv-isdbt-layer-modulation
1262306a36Sopenharmony_cireplace define DTV_ISDBT_LAYERC_MODULATION dtv-isdbt-layer-modulation
1362306a36Sopenharmony_cireplace define DTV_ISDBT_LAYERA_SEGMENT_COUNT dtv-isdbt-layer-segment-count
1462306a36Sopenharmony_cireplace define DTV_ISDBT_LAYERB_SEGMENT_COUNT dtv-isdbt-layer-segment-count
1562306a36Sopenharmony_cireplace define DTV_ISDBT_LAYERC_SEGMENT_COUNT dtv-isdbt-layer-segment-count
1662306a36Sopenharmony_cireplace define DTV_ISDBT_LAYERA_TIME_INTERLEAVING dtv-isdbt-layer-time-interleaving
1762306a36Sopenharmony_cireplace define DTV_ISDBT_LAYERB_TIME_INTERLEAVING dtv-isdbt-layer-time-interleaving
1862306a36Sopenharmony_cireplace define DTV_ISDBT_LAYERC_TIME_INTERLEAVING dtv-isdbt-layer-time-interleaving
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ci# Ignore legacy defines
2162306a36Sopenharmony_ciignore define DTV_ISDBS_TS_ID_LEGACY
2262306a36Sopenharmony_ciignore define SYS_DVBC_ANNEX_AC
2362306a36Sopenharmony_ciignore define SYS_DMBTH
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ci# Ignore limits
2662306a36Sopenharmony_ciignore define DTV_MAX_COMMAND
2762306a36Sopenharmony_ciignore define MAX_DTV_STATS
2862306a36Sopenharmony_ciignore define DTV_IOCTL_MAX_MSGS
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ci# the same reference is used for both get and set ioctls
3162306a36Sopenharmony_cireplace ioctl FE_SET_PROPERTY :c:type:`FE_GET_PROPERTY`
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ci# Typedefs that use the enum reference
3462306a36Sopenharmony_cireplace typedef fe_sec_voltage_t :c:type:`fe_sec_voltage`
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ci# Replaces for flag constants
3762306a36Sopenharmony_cireplace define FE_TUNE_MODE_ONESHOT :c:func:`FE_SET_FRONTEND_TUNE_MODE`
3862306a36Sopenharmony_cireplace define LNA_AUTO dtv-lna
3962306a36Sopenharmony_cireplace define NO_STREAM_ID_FILTER dtv-stream-id
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_ci# Those enums are defined at the frontend.h header, and not externally
4262306a36Sopenharmony_ci
4362306a36Sopenharmony_ciignore symbol FE_IS_STUPID
4462306a36Sopenharmony_ciignore symbol FE_CAN_INVERSION_AUTO
4562306a36Sopenharmony_ciignore symbol FE_CAN_FEC_1_2
4662306a36Sopenharmony_ciignore symbol FE_CAN_FEC_2_3
4762306a36Sopenharmony_ciignore symbol FE_CAN_FEC_3_4
4862306a36Sopenharmony_ciignore symbol FE_CAN_FEC_4_5
4962306a36Sopenharmony_ciignore symbol FE_CAN_FEC_5_6
5062306a36Sopenharmony_ciignore symbol FE_CAN_FEC_6_7
5162306a36Sopenharmony_ciignore symbol FE_CAN_FEC_7_8
5262306a36Sopenharmony_ciignore symbol FE_CAN_FEC_8_9
5362306a36Sopenharmony_ciignore symbol FE_CAN_FEC_AUTO
5462306a36Sopenharmony_ciignore symbol FE_CAN_QPSK
5562306a36Sopenharmony_ciignore symbol FE_CAN_QAM_16
5662306a36Sopenharmony_ciignore symbol FE_CAN_QAM_32
5762306a36Sopenharmony_ciignore symbol FE_CAN_QAM_64
5862306a36Sopenharmony_ciignore symbol FE_CAN_QAM_128
5962306a36Sopenharmony_ciignore symbol FE_CAN_QAM_256
6062306a36Sopenharmony_ciignore symbol FE_CAN_QAM_AUTO
6162306a36Sopenharmony_ciignore symbol FE_CAN_TRANSMISSION_MODE_AUTO
6262306a36Sopenharmony_ciignore symbol FE_CAN_BANDWIDTH_AUTO
6362306a36Sopenharmony_ciignore symbol FE_CAN_GUARD_INTERVAL_AUTO
6462306a36Sopenharmony_ciignore symbol FE_CAN_HIERARCHY_AUTO
6562306a36Sopenharmony_ciignore symbol FE_CAN_8VSB
6662306a36Sopenharmony_ciignore symbol FE_CAN_16VSB
6762306a36Sopenharmony_ciignore symbol FE_HAS_EXTENDED_CAPS
6862306a36Sopenharmony_ciignore symbol FE_CAN_MULTISTREAM
6962306a36Sopenharmony_ciignore symbol FE_CAN_TURBO_FEC
7062306a36Sopenharmony_ciignore symbol FE_CAN_2G_MODULATION
7162306a36Sopenharmony_ciignore symbol FE_NEEDS_BENDING
7262306a36Sopenharmony_ciignore symbol FE_CAN_RECOVER
7362306a36Sopenharmony_ciignore symbol FE_CAN_MUTE_TS
7462306a36Sopenharmony_ci
7562306a36Sopenharmony_ciignore symbol QPSK
7662306a36Sopenharmony_ciignore symbol QAM_16
7762306a36Sopenharmony_ciignore symbol QAM_32
7862306a36Sopenharmony_ciignore symbol QAM_64
7962306a36Sopenharmony_ciignore symbol QAM_128
8062306a36Sopenharmony_ciignore symbol QAM_256
8162306a36Sopenharmony_ciignore symbol QAM_AUTO
8262306a36Sopenharmony_ciignore symbol VSB_8
8362306a36Sopenharmony_ciignore symbol VSB_16
8462306a36Sopenharmony_ciignore symbol PSK_8
8562306a36Sopenharmony_ciignore symbol APSK_16
8662306a36Sopenharmony_ciignore symbol APSK_32
8762306a36Sopenharmony_ciignore symbol DQPSK
8862306a36Sopenharmony_ciignore symbol QAM_4_NR
8962306a36Sopenharmony_ciignore symbol QAM_1024
9062306a36Sopenharmony_ciignore symbol QAM_4096
9162306a36Sopenharmony_ciignore symbol APSK_8_L
9262306a36Sopenharmony_ciignore symbol APSK_16_L
9362306a36Sopenharmony_ciignore symbol APSK_32_L
9462306a36Sopenharmony_ciignore symbol APSK_64
9562306a36Sopenharmony_ciignore symbol APSK_64_L
9662306a36Sopenharmony_ci
9762306a36Sopenharmony_ciignore symbol SEC_VOLTAGE_13
9862306a36Sopenharmony_ciignore symbol SEC_VOLTAGE_18
9962306a36Sopenharmony_ciignore symbol SEC_VOLTAGE_OFF
10062306a36Sopenharmony_ci
10162306a36Sopenharmony_ciignore symbol SEC_TONE_ON
10262306a36Sopenharmony_ciignore symbol SEC_TONE_OFF
10362306a36Sopenharmony_ci
10462306a36Sopenharmony_ciignore symbol SEC_MINI_A
10562306a36Sopenharmony_ciignore symbol SEC_MINI_B
10662306a36Sopenharmony_ci
10762306a36Sopenharmony_ciignore symbol FE_NONE
10862306a36Sopenharmony_ciignore symbol FE_HAS_SIGNAL
10962306a36Sopenharmony_ciignore symbol FE_HAS_CARRIER
11062306a36Sopenharmony_ciignore symbol FE_HAS_VITERBI
11162306a36Sopenharmony_ciignore symbol FE_HAS_SYNC
11262306a36Sopenharmony_ciignore symbol FE_HAS_LOCK
11362306a36Sopenharmony_ciignore symbol FE_REINIT
11462306a36Sopenharmony_ciignore symbol FE_TIMEDOUT
11562306a36Sopenharmony_ci
11662306a36Sopenharmony_ciignore symbol FEC_NONE
11762306a36Sopenharmony_ciignore symbol FEC_1_2
11862306a36Sopenharmony_ciignore symbol FEC_2_3
11962306a36Sopenharmony_ciignore symbol FEC_3_4
12062306a36Sopenharmony_ciignore symbol FEC_4_5
12162306a36Sopenharmony_ciignore symbol FEC_5_6
12262306a36Sopenharmony_ciignore symbol FEC_6_7
12362306a36Sopenharmony_ciignore symbol FEC_7_8
12462306a36Sopenharmony_ciignore symbol FEC_8_9
12562306a36Sopenharmony_ciignore symbol FEC_AUTO
12662306a36Sopenharmony_ciignore symbol FEC_3_5
12762306a36Sopenharmony_ciignore symbol FEC_9_10
12862306a36Sopenharmony_ciignore symbol FEC_2_5
12962306a36Sopenharmony_ciignore symbol FEC_1_3
13062306a36Sopenharmony_ciignore symbol FEC_1_4
13162306a36Sopenharmony_ciignore symbol FEC_5_9
13262306a36Sopenharmony_ciignore symbol FEC_7_9
13362306a36Sopenharmony_ciignore symbol FEC_8_15
13462306a36Sopenharmony_ciignore symbol FEC_11_15
13562306a36Sopenharmony_ciignore symbol FEC_13_18
13662306a36Sopenharmony_ciignore symbol FEC_9_20
13762306a36Sopenharmony_ciignore symbol FEC_11_20
13862306a36Sopenharmony_ciignore symbol FEC_23_36
13962306a36Sopenharmony_ciignore symbol FEC_25_36
14062306a36Sopenharmony_ciignore symbol FEC_13_45
14162306a36Sopenharmony_ciignore symbol FEC_26_45
14262306a36Sopenharmony_ciignore symbol FEC_28_45
14362306a36Sopenharmony_ciignore symbol FEC_32_45
14462306a36Sopenharmony_ciignore symbol FEC_77_90
14562306a36Sopenharmony_ciignore symbol FEC_11_45
14662306a36Sopenharmony_ciignore symbol FEC_4_15
14762306a36Sopenharmony_ciignore symbol FEC_14_45
14862306a36Sopenharmony_ciignore symbol FEC_7_15
14962306a36Sopenharmony_ci
15062306a36Sopenharmony_ciignore symbol TRANSMISSION_MODE_AUTO
15162306a36Sopenharmony_ciignore symbol TRANSMISSION_MODE_1K
15262306a36Sopenharmony_ciignore symbol TRANSMISSION_MODE_2K
15362306a36Sopenharmony_ciignore symbol TRANSMISSION_MODE_8K
15462306a36Sopenharmony_ciignore symbol TRANSMISSION_MODE_4K
15562306a36Sopenharmony_ciignore symbol TRANSMISSION_MODE_16K
15662306a36Sopenharmony_ciignore symbol TRANSMISSION_MODE_32K
15762306a36Sopenharmony_ciignore symbol TRANSMISSION_MODE_C1
15862306a36Sopenharmony_ciignore symbol TRANSMISSION_MODE_C3780
15962306a36Sopenharmony_ciignore symbol TRANSMISSION_MODE_2K
16062306a36Sopenharmony_ciignore symbol TRANSMISSION_MODE_8K
16162306a36Sopenharmony_ci
16262306a36Sopenharmony_ciignore symbol GUARD_INTERVAL_AUTO
16362306a36Sopenharmony_ciignore symbol GUARD_INTERVAL_1_128
16462306a36Sopenharmony_ciignore symbol GUARD_INTERVAL_1_32
16562306a36Sopenharmony_ciignore symbol GUARD_INTERVAL_1_16
16662306a36Sopenharmony_ciignore symbol GUARD_INTERVAL_1_8
16762306a36Sopenharmony_ciignore symbol GUARD_INTERVAL_1_4
16862306a36Sopenharmony_ciignore symbol GUARD_INTERVAL_19_128
16962306a36Sopenharmony_ciignore symbol GUARD_INTERVAL_19_256
17062306a36Sopenharmony_ciignore symbol GUARD_INTERVAL_PN420
17162306a36Sopenharmony_ciignore symbol GUARD_INTERVAL_PN595
17262306a36Sopenharmony_ciignore symbol GUARD_INTERVAL_PN945
17362306a36Sopenharmony_ciignore symbol GUARD_INTERVAL_1_64
17462306a36Sopenharmony_ci
17562306a36Sopenharmony_ciignore symbol HIERARCHY_NONE
17662306a36Sopenharmony_ciignore symbol HIERARCHY_AUTO
17762306a36Sopenharmony_ciignore symbol HIERARCHY_1
17862306a36Sopenharmony_ciignore symbol HIERARCHY_2
17962306a36Sopenharmony_ciignore symbol HIERARCHY_4
18062306a36Sopenharmony_ci
18162306a36Sopenharmony_ciignore symbol INTERLEAVING_NONE
18262306a36Sopenharmony_ciignore symbol INTERLEAVING_AUTO
18362306a36Sopenharmony_ciignore symbol INTERLEAVING_240
18462306a36Sopenharmony_ciignore symbol INTERLEAVING_720
18562306a36Sopenharmony_ci
18662306a36Sopenharmony_ciignore symbol PILOT_ON
18762306a36Sopenharmony_ciignore symbol PILOT_OFF
18862306a36Sopenharmony_ciignore symbol PILOT_AUTO
18962306a36Sopenharmony_ci
19062306a36Sopenharmony_ciignore symbol ROLLOFF_35
19162306a36Sopenharmony_ciignore symbol ROLLOFF_20
19262306a36Sopenharmony_ciignore symbol ROLLOFF_25
19362306a36Sopenharmony_ciignore symbol ROLLOFF_AUTO
19462306a36Sopenharmony_ciignore symbol ROLLOFF_15
19562306a36Sopenharmony_ciignore symbol ROLLOFF_10
19662306a36Sopenharmony_ciignore symbol ROLLOFF_5
19762306a36Sopenharmony_ci
19862306a36Sopenharmony_ciignore symbol INVERSION_ON
19962306a36Sopenharmony_ciignore symbol INVERSION_OFF
20062306a36Sopenharmony_ciignore symbol INVERSION_AUTO
20162306a36Sopenharmony_ci
20262306a36Sopenharmony_ciignore symbol SYS_UNDEFINED
20362306a36Sopenharmony_ciignore symbol SYS_DVBC_ANNEX_A
20462306a36Sopenharmony_ciignore symbol SYS_DVBC_ANNEX_B
20562306a36Sopenharmony_ciignore symbol SYS_DVBC_ANNEX_C
20662306a36Sopenharmony_ciignore symbol SYS_ISDBC
20762306a36Sopenharmony_ciignore symbol SYS_DVBT
20862306a36Sopenharmony_ciignore symbol SYS_DVBT2
20962306a36Sopenharmony_ciignore symbol SYS_ISDBT
21062306a36Sopenharmony_ciignore symbol SYS_ATSC
21162306a36Sopenharmony_ciignore symbol SYS_ATSCMH
21262306a36Sopenharmony_ciignore symbol SYS_DTMB
21362306a36Sopenharmony_ciignore symbol SYS_DVBS
21462306a36Sopenharmony_ciignore symbol SYS_DVBS2
21562306a36Sopenharmony_ciignore symbol SYS_TURBO
21662306a36Sopenharmony_ciignore symbol SYS_ISDBS
21762306a36Sopenharmony_ciignore symbol SYS_DAB
21862306a36Sopenharmony_ciignore symbol SYS_DSS
21962306a36Sopenharmony_ciignore symbol SYS_CMMB
22062306a36Sopenharmony_ciignore symbol SYS_DVBH
22162306a36Sopenharmony_ciignore symbol SYS_DVBC2
22262306a36Sopenharmony_ci
22362306a36Sopenharmony_ciignore symbol ATSCMH_SCCC_BLK_SEP
22462306a36Sopenharmony_ciignore symbol ATSCMH_SCCC_BLK_COMB
22562306a36Sopenharmony_ciignore symbol ATSCMH_SCCC_BLK_RES
22662306a36Sopenharmony_ci
22762306a36Sopenharmony_ciignore symbol ATSCMH_SCCC_CODE_HLF
22862306a36Sopenharmony_ciignore symbol ATSCMH_SCCC_CODE_QTR
22962306a36Sopenharmony_ciignore symbol ATSCMH_SCCC_CODE_RES
23062306a36Sopenharmony_ci
23162306a36Sopenharmony_ciignore symbol ATSCMH_RSFRAME_ENS_PRI
23262306a36Sopenharmony_ciignore symbol ATSCMH_RSFRAME_ENS_SEC
23362306a36Sopenharmony_ci
23462306a36Sopenharmony_ciignore symbol ATSCMH_RSFRAME_PRI_ONLY
23562306a36Sopenharmony_ciignore symbol ATSCMH_RSFRAME_PRI_SEC
23662306a36Sopenharmony_ciignore symbol ATSCMH_RSFRAME_RES
23762306a36Sopenharmony_ci
23862306a36Sopenharmony_ciignore symbol ATSCMH_RSCODE_211_187
23962306a36Sopenharmony_ciignore symbol ATSCMH_RSCODE_223_187
24062306a36Sopenharmony_ciignore symbol ATSCMH_RSCODE_235_187
24162306a36Sopenharmony_ciignore symbol ATSCMH_RSCODE_RES
24262306a36Sopenharmony_ci
24362306a36Sopenharmony_ciignore symbol FE_SCALE_NOT_AVAILABLE
24462306a36Sopenharmony_ciignore symbol FE_SCALE_DECIBEL
24562306a36Sopenharmony_ciignore symbol FE_SCALE_RELATIVE
24662306a36Sopenharmony_ciignore symbol FE_SCALE_COUNTER
247