18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ci# Ignore header name 48c2ecf20Sopenharmony_ciignore define _DVBFRONTEND_H_ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci# Group layer A-C symbols together 78c2ecf20Sopenharmony_cireplace define DTV_ISDBT_LAYERA_FEC dtv-isdbt-layer-fec 88c2ecf20Sopenharmony_cireplace define DTV_ISDBT_LAYERB_FEC dtv-isdbt-layer-fec 98c2ecf20Sopenharmony_cireplace define DTV_ISDBT_LAYERC_FEC dtv-isdbt-layer-fec 108c2ecf20Sopenharmony_cireplace define DTV_ISDBT_LAYERA_MODULATION dtv-isdbt-layer-modulation 118c2ecf20Sopenharmony_cireplace define DTV_ISDBT_LAYERB_MODULATION dtv-isdbt-layer-modulation 128c2ecf20Sopenharmony_cireplace define DTV_ISDBT_LAYERC_MODULATION dtv-isdbt-layer-modulation 138c2ecf20Sopenharmony_cireplace define DTV_ISDBT_LAYERA_SEGMENT_COUNT dtv-isdbt-layer-segment-count 148c2ecf20Sopenharmony_cireplace define DTV_ISDBT_LAYERB_SEGMENT_COUNT dtv-isdbt-layer-segment-count 158c2ecf20Sopenharmony_cireplace define DTV_ISDBT_LAYERC_SEGMENT_COUNT dtv-isdbt-layer-segment-count 168c2ecf20Sopenharmony_cireplace define DTV_ISDBT_LAYERA_TIME_INTERLEAVING dtv-isdbt-layer-time-interleaving 178c2ecf20Sopenharmony_cireplace define DTV_ISDBT_LAYERB_TIME_INTERLEAVING dtv-isdbt-layer-time-interleaving 188c2ecf20Sopenharmony_cireplace define DTV_ISDBT_LAYERC_TIME_INTERLEAVING dtv-isdbt-layer-time-interleaving 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci# Ignore legacy defines 218c2ecf20Sopenharmony_ciignore define DTV_ISDBS_TS_ID_LEGACY 228c2ecf20Sopenharmony_ciignore define SYS_DVBC_ANNEX_AC 238c2ecf20Sopenharmony_ciignore define SYS_DMBTH 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci# Ignore limits 268c2ecf20Sopenharmony_ciignore define DTV_MAX_COMMAND 278c2ecf20Sopenharmony_ciignore define MAX_DTV_STATS 288c2ecf20Sopenharmony_ciignore define DTV_IOCTL_MAX_MSGS 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ci# the same reference is used for both get and set ioctls 318c2ecf20Sopenharmony_cireplace ioctl FE_SET_PROPERTY :c:type:`FE_GET_PROPERTY` 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ci# Typedefs that use the enum reference 348c2ecf20Sopenharmony_cireplace typedef fe_sec_voltage_t :c:type:`fe_sec_voltage` 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ci# Replaces for flag constants 378c2ecf20Sopenharmony_cireplace define FE_TUNE_MODE_ONESHOT :c:func:`FE_SET_FRONTEND_TUNE_MODE` 388c2ecf20Sopenharmony_cireplace define LNA_AUTO dtv-lna 398c2ecf20Sopenharmony_cireplace define NO_STREAM_ID_FILTER dtv-stream-id 408c2ecf20Sopenharmony_ci 418c2ecf20Sopenharmony_ci# Those enums are defined at the frontend.h header, and not externally 428c2ecf20Sopenharmony_ci 438c2ecf20Sopenharmony_ciignore symbol FE_IS_STUPID 448c2ecf20Sopenharmony_ciignore symbol FE_CAN_INVERSION_AUTO 458c2ecf20Sopenharmony_ciignore symbol FE_CAN_FEC_1_2 468c2ecf20Sopenharmony_ciignore symbol FE_CAN_FEC_2_3 478c2ecf20Sopenharmony_ciignore symbol FE_CAN_FEC_3_4 488c2ecf20Sopenharmony_ciignore symbol FE_CAN_FEC_4_5 498c2ecf20Sopenharmony_ciignore symbol FE_CAN_FEC_5_6 508c2ecf20Sopenharmony_ciignore symbol FE_CAN_FEC_6_7 518c2ecf20Sopenharmony_ciignore symbol FE_CAN_FEC_7_8 528c2ecf20Sopenharmony_ciignore symbol FE_CAN_FEC_8_9 538c2ecf20Sopenharmony_ciignore symbol FE_CAN_FEC_AUTO 548c2ecf20Sopenharmony_ciignore symbol FE_CAN_QPSK 558c2ecf20Sopenharmony_ciignore symbol FE_CAN_QAM_16 568c2ecf20Sopenharmony_ciignore symbol FE_CAN_QAM_32 578c2ecf20Sopenharmony_ciignore symbol FE_CAN_QAM_64 588c2ecf20Sopenharmony_ciignore symbol FE_CAN_QAM_128 598c2ecf20Sopenharmony_ciignore symbol FE_CAN_QAM_256 608c2ecf20Sopenharmony_ciignore symbol FE_CAN_QAM_AUTO 618c2ecf20Sopenharmony_ciignore symbol FE_CAN_TRANSMISSION_MODE_AUTO 628c2ecf20Sopenharmony_ciignore symbol FE_CAN_BANDWIDTH_AUTO 638c2ecf20Sopenharmony_ciignore symbol FE_CAN_GUARD_INTERVAL_AUTO 648c2ecf20Sopenharmony_ciignore symbol FE_CAN_HIERARCHY_AUTO 658c2ecf20Sopenharmony_ciignore symbol FE_CAN_8VSB 668c2ecf20Sopenharmony_ciignore symbol FE_CAN_16VSB 678c2ecf20Sopenharmony_ciignore symbol FE_HAS_EXTENDED_CAPS 688c2ecf20Sopenharmony_ciignore symbol FE_CAN_MULTISTREAM 698c2ecf20Sopenharmony_ciignore symbol FE_CAN_TURBO_FEC 708c2ecf20Sopenharmony_ciignore symbol FE_CAN_2G_MODULATION 718c2ecf20Sopenharmony_ciignore symbol FE_NEEDS_BENDING 728c2ecf20Sopenharmony_ciignore symbol FE_CAN_RECOVER 738c2ecf20Sopenharmony_ciignore symbol FE_CAN_MUTE_TS 748c2ecf20Sopenharmony_ci 758c2ecf20Sopenharmony_ciignore symbol QPSK 768c2ecf20Sopenharmony_ciignore symbol QAM_16 778c2ecf20Sopenharmony_ciignore symbol QAM_32 788c2ecf20Sopenharmony_ciignore symbol QAM_64 798c2ecf20Sopenharmony_ciignore symbol QAM_128 808c2ecf20Sopenharmony_ciignore symbol QAM_256 818c2ecf20Sopenharmony_ciignore symbol QAM_AUTO 828c2ecf20Sopenharmony_ciignore symbol VSB_8 838c2ecf20Sopenharmony_ciignore symbol VSB_16 848c2ecf20Sopenharmony_ciignore symbol PSK_8 858c2ecf20Sopenharmony_ciignore symbol APSK_16 868c2ecf20Sopenharmony_ciignore symbol APSK_32 878c2ecf20Sopenharmony_ciignore symbol DQPSK 888c2ecf20Sopenharmony_ciignore symbol QAM_4_NR 898c2ecf20Sopenharmony_ci 908c2ecf20Sopenharmony_ciignore symbol SEC_VOLTAGE_13 918c2ecf20Sopenharmony_ciignore symbol SEC_VOLTAGE_18 928c2ecf20Sopenharmony_ciignore symbol SEC_VOLTAGE_OFF 938c2ecf20Sopenharmony_ci 948c2ecf20Sopenharmony_ciignore symbol SEC_TONE_ON 958c2ecf20Sopenharmony_ciignore symbol SEC_TONE_OFF 968c2ecf20Sopenharmony_ci 978c2ecf20Sopenharmony_ciignore symbol SEC_MINI_A 988c2ecf20Sopenharmony_ciignore symbol SEC_MINI_B 998c2ecf20Sopenharmony_ci 1008c2ecf20Sopenharmony_ciignore symbol FE_NONE 1018c2ecf20Sopenharmony_ciignore symbol FE_HAS_SIGNAL 1028c2ecf20Sopenharmony_ciignore symbol FE_HAS_CARRIER 1038c2ecf20Sopenharmony_ciignore symbol FE_HAS_VITERBI 1048c2ecf20Sopenharmony_ciignore symbol FE_HAS_SYNC 1058c2ecf20Sopenharmony_ciignore symbol FE_HAS_LOCK 1068c2ecf20Sopenharmony_ciignore symbol FE_REINIT 1078c2ecf20Sopenharmony_ciignore symbol FE_TIMEDOUT 1088c2ecf20Sopenharmony_ci 1098c2ecf20Sopenharmony_ciignore symbol FEC_NONE 1108c2ecf20Sopenharmony_ciignore symbol FEC_1_2 1118c2ecf20Sopenharmony_ciignore symbol FEC_2_3 1128c2ecf20Sopenharmony_ciignore symbol FEC_3_4 1138c2ecf20Sopenharmony_ciignore symbol FEC_4_5 1148c2ecf20Sopenharmony_ciignore symbol FEC_5_6 1158c2ecf20Sopenharmony_ciignore symbol FEC_6_7 1168c2ecf20Sopenharmony_ciignore symbol FEC_7_8 1178c2ecf20Sopenharmony_ciignore symbol FEC_8_9 1188c2ecf20Sopenharmony_ciignore symbol FEC_AUTO 1198c2ecf20Sopenharmony_ciignore symbol FEC_3_5 1208c2ecf20Sopenharmony_ciignore symbol FEC_9_10 1218c2ecf20Sopenharmony_ciignore symbol FEC_2_5 1228c2ecf20Sopenharmony_ci 1238c2ecf20Sopenharmony_ciignore symbol TRANSMISSION_MODE_AUTO 1248c2ecf20Sopenharmony_ciignore symbol TRANSMISSION_MODE_1K 1258c2ecf20Sopenharmony_ciignore symbol TRANSMISSION_MODE_2K 1268c2ecf20Sopenharmony_ciignore symbol TRANSMISSION_MODE_8K 1278c2ecf20Sopenharmony_ciignore symbol TRANSMISSION_MODE_4K 1288c2ecf20Sopenharmony_ciignore symbol TRANSMISSION_MODE_16K 1298c2ecf20Sopenharmony_ciignore symbol TRANSMISSION_MODE_32K 1308c2ecf20Sopenharmony_ciignore symbol TRANSMISSION_MODE_C1 1318c2ecf20Sopenharmony_ciignore symbol TRANSMISSION_MODE_C3780 1328c2ecf20Sopenharmony_ciignore symbol TRANSMISSION_MODE_2K 1338c2ecf20Sopenharmony_ciignore symbol TRANSMISSION_MODE_8K 1348c2ecf20Sopenharmony_ci 1358c2ecf20Sopenharmony_ciignore symbol GUARD_INTERVAL_AUTO 1368c2ecf20Sopenharmony_ciignore symbol GUARD_INTERVAL_1_128 1378c2ecf20Sopenharmony_ciignore symbol GUARD_INTERVAL_1_32 1388c2ecf20Sopenharmony_ciignore symbol GUARD_INTERVAL_1_16 1398c2ecf20Sopenharmony_ciignore symbol GUARD_INTERVAL_1_8 1408c2ecf20Sopenharmony_ciignore symbol GUARD_INTERVAL_1_4 1418c2ecf20Sopenharmony_ciignore symbol GUARD_INTERVAL_19_128 1428c2ecf20Sopenharmony_ciignore symbol GUARD_INTERVAL_19_256 1438c2ecf20Sopenharmony_ciignore symbol GUARD_INTERVAL_PN420 1448c2ecf20Sopenharmony_ciignore symbol GUARD_INTERVAL_PN595 1458c2ecf20Sopenharmony_ciignore symbol GUARD_INTERVAL_PN945 1468c2ecf20Sopenharmony_ci 1478c2ecf20Sopenharmony_ciignore symbol HIERARCHY_NONE 1488c2ecf20Sopenharmony_ciignore symbol HIERARCHY_AUTO 1498c2ecf20Sopenharmony_ciignore symbol HIERARCHY_1 1508c2ecf20Sopenharmony_ciignore symbol HIERARCHY_2 1518c2ecf20Sopenharmony_ciignore symbol HIERARCHY_4 1528c2ecf20Sopenharmony_ci 1538c2ecf20Sopenharmony_ciignore symbol INTERLEAVING_NONE 1548c2ecf20Sopenharmony_ciignore symbol INTERLEAVING_AUTO 1558c2ecf20Sopenharmony_ciignore symbol INTERLEAVING_240 1568c2ecf20Sopenharmony_ciignore symbol INTERLEAVING_720 1578c2ecf20Sopenharmony_ci 1588c2ecf20Sopenharmony_ciignore symbol PILOT_ON 1598c2ecf20Sopenharmony_ciignore symbol PILOT_OFF 1608c2ecf20Sopenharmony_ciignore symbol PILOT_AUTO 1618c2ecf20Sopenharmony_ci 1628c2ecf20Sopenharmony_ciignore symbol ROLLOFF_35 1638c2ecf20Sopenharmony_ciignore symbol ROLLOFF_20 1648c2ecf20Sopenharmony_ciignore symbol ROLLOFF_25 1658c2ecf20Sopenharmony_ciignore symbol ROLLOFF_AUTO 1668c2ecf20Sopenharmony_ci 1678c2ecf20Sopenharmony_ciignore symbol INVERSION_ON 1688c2ecf20Sopenharmony_ciignore symbol INVERSION_OFF 1698c2ecf20Sopenharmony_ciignore symbol INVERSION_AUTO 1708c2ecf20Sopenharmony_ci 1718c2ecf20Sopenharmony_ciignore symbol SYS_UNDEFINED 1728c2ecf20Sopenharmony_ciignore symbol SYS_DVBC_ANNEX_A 1738c2ecf20Sopenharmony_ciignore symbol SYS_DVBC_ANNEX_B 1748c2ecf20Sopenharmony_ciignore symbol SYS_DVBC_ANNEX_C 1758c2ecf20Sopenharmony_ciignore symbol SYS_ISDBC 1768c2ecf20Sopenharmony_ciignore symbol SYS_DVBT 1778c2ecf20Sopenharmony_ciignore symbol SYS_DVBT2 1788c2ecf20Sopenharmony_ciignore symbol SYS_ISDBT 1798c2ecf20Sopenharmony_ciignore symbol SYS_ATSC 1808c2ecf20Sopenharmony_ciignore symbol SYS_ATSCMH 1818c2ecf20Sopenharmony_ciignore symbol SYS_DTMB 1828c2ecf20Sopenharmony_ciignore symbol SYS_DVBS 1838c2ecf20Sopenharmony_ciignore symbol SYS_DVBS2 1848c2ecf20Sopenharmony_ciignore symbol SYS_TURBO 1858c2ecf20Sopenharmony_ciignore symbol SYS_ISDBS 1868c2ecf20Sopenharmony_ciignore symbol SYS_DAB 1878c2ecf20Sopenharmony_ciignore symbol SYS_DSS 1888c2ecf20Sopenharmony_ciignore symbol SYS_CMMB 1898c2ecf20Sopenharmony_ciignore symbol SYS_DVBH 1908c2ecf20Sopenharmony_ci 1918c2ecf20Sopenharmony_ciignore symbol ATSCMH_SCCC_BLK_SEP 1928c2ecf20Sopenharmony_ciignore symbol ATSCMH_SCCC_BLK_COMB 1938c2ecf20Sopenharmony_ciignore symbol ATSCMH_SCCC_BLK_RES 1948c2ecf20Sopenharmony_ci 1958c2ecf20Sopenharmony_ciignore symbol ATSCMH_SCCC_CODE_HLF 1968c2ecf20Sopenharmony_ciignore symbol ATSCMH_SCCC_CODE_QTR 1978c2ecf20Sopenharmony_ciignore symbol ATSCMH_SCCC_CODE_RES 1988c2ecf20Sopenharmony_ci 1998c2ecf20Sopenharmony_ciignore symbol ATSCMH_RSFRAME_ENS_PRI 2008c2ecf20Sopenharmony_ciignore symbol ATSCMH_RSFRAME_ENS_SEC 2018c2ecf20Sopenharmony_ci 2028c2ecf20Sopenharmony_ciignore symbol ATSCMH_RSFRAME_PRI_ONLY 2038c2ecf20Sopenharmony_ciignore symbol ATSCMH_RSFRAME_PRI_SEC 2048c2ecf20Sopenharmony_ciignore symbol ATSCMH_RSFRAME_RES 2058c2ecf20Sopenharmony_ci 2068c2ecf20Sopenharmony_ciignore symbol ATSCMH_RSCODE_211_187 2078c2ecf20Sopenharmony_ciignore symbol ATSCMH_RSCODE_223_187 2088c2ecf20Sopenharmony_ciignore symbol ATSCMH_RSCODE_235_187 2098c2ecf20Sopenharmony_ciignore symbol ATSCMH_RSCODE_RES 2108c2ecf20Sopenharmony_ci 2118c2ecf20Sopenharmony_ciignore symbol FE_SCALE_NOT_AVAILABLE 2128c2ecf20Sopenharmony_ciignore symbol FE_SCALE_DECIBEL 2138c2ecf20Sopenharmony_ciignore symbol FE_SCALE_RELATIVE 2148c2ecf20Sopenharmony_ciignore symbol FE_SCALE_COUNTER 215