18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * cxd2880_dvbt2.h 48c2ecf20Sopenharmony_ci * Sony CXD2880 DVB-T2/T tuner + demodulator driver 58c2ecf20Sopenharmony_ci * DVB-T2 related definitions 68c2ecf20Sopenharmony_ci * 78c2ecf20Sopenharmony_ci * Copyright (C) 2016, 2017, 2018 Sony Semiconductor Solutions Corporation 88c2ecf20Sopenharmony_ci */ 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci#ifndef CXD2880_DVBT2_H 118c2ecf20Sopenharmony_ci#define CXD2880_DVBT2_H 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci#include "cxd2880_common.h" 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_cienum cxd2880_dvbt2_profile { 168c2ecf20Sopenharmony_ci CXD2880_DVBT2_PROFILE_BASE, 178c2ecf20Sopenharmony_ci CXD2880_DVBT2_PROFILE_LITE, 188c2ecf20Sopenharmony_ci CXD2880_DVBT2_PROFILE_ANY 198c2ecf20Sopenharmony_ci}; 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_cienum cxd2880_dvbt2_version { 228c2ecf20Sopenharmony_ci CXD2880_DVBT2_V111, 238c2ecf20Sopenharmony_ci CXD2880_DVBT2_V121, 248c2ecf20Sopenharmony_ci CXD2880_DVBT2_V131 258c2ecf20Sopenharmony_ci}; 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_cienum cxd2880_dvbt2_s1 { 288c2ecf20Sopenharmony_ci CXD2880_DVBT2_S1_BASE_SISO = 0x00, 298c2ecf20Sopenharmony_ci CXD2880_DVBT2_S1_BASE_MISO = 0x01, 308c2ecf20Sopenharmony_ci CXD2880_DVBT2_S1_NON_DVBT2 = 0x02, 318c2ecf20Sopenharmony_ci CXD2880_DVBT2_S1_LITE_SISO = 0x03, 328c2ecf20Sopenharmony_ci CXD2880_DVBT2_S1_LITE_MISO = 0x04, 338c2ecf20Sopenharmony_ci CXD2880_DVBT2_S1_RSVD3 = 0x05, 348c2ecf20Sopenharmony_ci CXD2880_DVBT2_S1_RSVD4 = 0x06, 358c2ecf20Sopenharmony_ci CXD2880_DVBT2_S1_RSVD5 = 0x07, 368c2ecf20Sopenharmony_ci CXD2880_DVBT2_S1_UNKNOWN = 0xff 378c2ecf20Sopenharmony_ci}; 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_cienum cxd2880_dvbt2_base_s2 { 408c2ecf20Sopenharmony_ci CXD2880_DVBT2_BASE_S2_M2K_G_ANY = 0x00, 418c2ecf20Sopenharmony_ci CXD2880_DVBT2_BASE_S2_M8K_G_DVBT = 0x01, 428c2ecf20Sopenharmony_ci CXD2880_DVBT2_BASE_S2_M4K_G_ANY = 0x02, 438c2ecf20Sopenharmony_ci CXD2880_DVBT2_BASE_S2_M1K_G_ANY = 0x03, 448c2ecf20Sopenharmony_ci CXD2880_DVBT2_BASE_S2_M16K_G_ANY = 0x04, 458c2ecf20Sopenharmony_ci CXD2880_DVBT2_BASE_S2_M32K_G_DVBT = 0x05, 468c2ecf20Sopenharmony_ci CXD2880_DVBT2_BASE_S2_M8K_G_DVBT2 = 0x06, 478c2ecf20Sopenharmony_ci CXD2880_DVBT2_BASE_S2_M32K_G_DVBT2 = 0x07, 488c2ecf20Sopenharmony_ci CXD2880_DVBT2_BASE_S2_UNKNOWN = 0xff 498c2ecf20Sopenharmony_ci}; 508c2ecf20Sopenharmony_ci 518c2ecf20Sopenharmony_cienum cxd2880_dvbt2_lite_s2 { 528c2ecf20Sopenharmony_ci CXD2880_DVBT2_LITE_S2_M2K_G_ANY = 0x00, 538c2ecf20Sopenharmony_ci CXD2880_DVBT2_LITE_S2_M8K_G_DVBT = 0x01, 548c2ecf20Sopenharmony_ci CXD2880_DVBT2_LITE_S2_M4K_G_ANY = 0x02, 558c2ecf20Sopenharmony_ci CXD2880_DVBT2_LITE_S2_M16K_G_DVBT2 = 0x03, 568c2ecf20Sopenharmony_ci CXD2880_DVBT2_LITE_S2_M16K_G_DVBT = 0x04, 578c2ecf20Sopenharmony_ci CXD2880_DVBT2_LITE_S2_RSVD1 = 0x05, 588c2ecf20Sopenharmony_ci CXD2880_DVBT2_LITE_S2_M8K_G_DVBT2 = 0x06, 598c2ecf20Sopenharmony_ci CXD2880_DVBT2_LITE_S2_RSVD2 = 0x07, 608c2ecf20Sopenharmony_ci CXD2880_DVBT2_LITE_S2_UNKNOWN = 0xff 618c2ecf20Sopenharmony_ci}; 628c2ecf20Sopenharmony_ci 638c2ecf20Sopenharmony_cienum cxd2880_dvbt2_guard { 648c2ecf20Sopenharmony_ci CXD2880_DVBT2_G1_32 = 0x00, 658c2ecf20Sopenharmony_ci CXD2880_DVBT2_G1_16 = 0x01, 668c2ecf20Sopenharmony_ci CXD2880_DVBT2_G1_8 = 0x02, 678c2ecf20Sopenharmony_ci CXD2880_DVBT2_G1_4 = 0x03, 688c2ecf20Sopenharmony_ci CXD2880_DVBT2_G1_128 = 0x04, 698c2ecf20Sopenharmony_ci CXD2880_DVBT2_G19_128 = 0x05, 708c2ecf20Sopenharmony_ci CXD2880_DVBT2_G19_256 = 0x06, 718c2ecf20Sopenharmony_ci CXD2880_DVBT2_G_RSVD1 = 0x07, 728c2ecf20Sopenharmony_ci CXD2880_DVBT2_G_UNKNOWN = 0xff 738c2ecf20Sopenharmony_ci}; 748c2ecf20Sopenharmony_ci 758c2ecf20Sopenharmony_cienum cxd2880_dvbt2_mode { 768c2ecf20Sopenharmony_ci CXD2880_DVBT2_M2K = 0x00, 778c2ecf20Sopenharmony_ci CXD2880_DVBT2_M8K = 0x01, 788c2ecf20Sopenharmony_ci CXD2880_DVBT2_M4K = 0x02, 798c2ecf20Sopenharmony_ci CXD2880_DVBT2_M1K = 0x03, 808c2ecf20Sopenharmony_ci CXD2880_DVBT2_M16K = 0x04, 818c2ecf20Sopenharmony_ci CXD2880_DVBT2_M32K = 0x05, 828c2ecf20Sopenharmony_ci CXD2880_DVBT2_M_RSVD1 = 0x06, 838c2ecf20Sopenharmony_ci CXD2880_DVBT2_M_RSVD2 = 0x07 848c2ecf20Sopenharmony_ci}; 858c2ecf20Sopenharmony_ci 868c2ecf20Sopenharmony_cienum cxd2880_dvbt2_bw { 878c2ecf20Sopenharmony_ci CXD2880_DVBT2_BW_8 = 0x00, 888c2ecf20Sopenharmony_ci CXD2880_DVBT2_BW_7 = 0x01, 898c2ecf20Sopenharmony_ci CXD2880_DVBT2_BW_6 = 0x02, 908c2ecf20Sopenharmony_ci CXD2880_DVBT2_BW_5 = 0x03, 918c2ecf20Sopenharmony_ci CXD2880_DVBT2_BW_10 = 0x04, 928c2ecf20Sopenharmony_ci CXD2880_DVBT2_BW_1_7 = 0x05, 938c2ecf20Sopenharmony_ci CXD2880_DVBT2_BW_RSVD1 = 0x06, 948c2ecf20Sopenharmony_ci CXD2880_DVBT2_BW_RSVD2 = 0x07, 958c2ecf20Sopenharmony_ci CXD2880_DVBT2_BW_RSVD3 = 0x08, 968c2ecf20Sopenharmony_ci CXD2880_DVBT2_BW_RSVD4 = 0x09, 978c2ecf20Sopenharmony_ci CXD2880_DVBT2_BW_RSVD5 = 0x0a, 988c2ecf20Sopenharmony_ci CXD2880_DVBT2_BW_RSVD6 = 0x0b, 998c2ecf20Sopenharmony_ci CXD2880_DVBT2_BW_RSVD7 = 0x0c, 1008c2ecf20Sopenharmony_ci CXD2880_DVBT2_BW_RSVD8 = 0x0d, 1018c2ecf20Sopenharmony_ci CXD2880_DVBT2_BW_RSVD9 = 0x0e, 1028c2ecf20Sopenharmony_ci CXD2880_DVBT2_BW_RSVD10 = 0x0f, 1038c2ecf20Sopenharmony_ci CXD2880_DVBT2_BW_UNKNOWN = 0xff 1048c2ecf20Sopenharmony_ci}; 1058c2ecf20Sopenharmony_ci 1068c2ecf20Sopenharmony_cienum cxd2880_dvbt2_l1pre_type { 1078c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1PRE_TYPE_TS = 0x00, 1088c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1PRE_TYPE_GS = 0x01, 1098c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1PRE_TYPE_TS_GS = 0x02, 1108c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1PRE_TYPE_RESERVED = 0x03, 1118c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1PRE_TYPE_UNKNOWN = 0xff 1128c2ecf20Sopenharmony_ci}; 1138c2ecf20Sopenharmony_ci 1148c2ecf20Sopenharmony_cienum cxd2880_dvbt2_papr { 1158c2ecf20Sopenharmony_ci CXD2880_DVBT2_PAPR_0 = 0x00, 1168c2ecf20Sopenharmony_ci CXD2880_DVBT2_PAPR_1 = 0x01, 1178c2ecf20Sopenharmony_ci CXD2880_DVBT2_PAPR_2 = 0x02, 1188c2ecf20Sopenharmony_ci CXD2880_DVBT2_PAPR_3 = 0x03, 1198c2ecf20Sopenharmony_ci CXD2880_DVBT2_PAPR_RSVD1 = 0x04, 1208c2ecf20Sopenharmony_ci CXD2880_DVBT2_PAPR_RSVD2 = 0x05, 1218c2ecf20Sopenharmony_ci CXD2880_DVBT2_PAPR_RSVD3 = 0x06, 1228c2ecf20Sopenharmony_ci CXD2880_DVBT2_PAPR_RSVD4 = 0x07, 1238c2ecf20Sopenharmony_ci CXD2880_DVBT2_PAPR_RSVD5 = 0x08, 1248c2ecf20Sopenharmony_ci CXD2880_DVBT2_PAPR_RSVD6 = 0x09, 1258c2ecf20Sopenharmony_ci CXD2880_DVBT2_PAPR_RSVD7 = 0x0a, 1268c2ecf20Sopenharmony_ci CXD2880_DVBT2_PAPR_RSVD8 = 0x0b, 1278c2ecf20Sopenharmony_ci CXD2880_DVBT2_PAPR_RSVD9 = 0x0c, 1288c2ecf20Sopenharmony_ci CXD2880_DVBT2_PAPR_RSVD10 = 0x0d, 1298c2ecf20Sopenharmony_ci CXD2880_DVBT2_PAPR_RSVD11 = 0x0e, 1308c2ecf20Sopenharmony_ci CXD2880_DVBT2_PAPR_RSVD12 = 0x0f, 1318c2ecf20Sopenharmony_ci CXD2880_DVBT2_PAPR_UNKNOWN = 0xff 1328c2ecf20Sopenharmony_ci}; 1338c2ecf20Sopenharmony_ci 1348c2ecf20Sopenharmony_cienum cxd2880_dvbt2_l1post_constell { 1358c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_BPSK = 0x00, 1368c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_QPSK = 0x01, 1378c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_QAM16 = 0x02, 1388c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_QAM64 = 0x03, 1398c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_C_RSVD1 = 0x04, 1408c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_C_RSVD2 = 0x05, 1418c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_C_RSVD3 = 0x06, 1428c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_C_RSVD4 = 0x07, 1438c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_C_RSVD5 = 0x08, 1448c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_C_RSVD6 = 0x09, 1458c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_C_RSVD7 = 0x0a, 1468c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_C_RSVD8 = 0x0b, 1478c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_C_RSVD9 = 0x0c, 1488c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_C_RSVD10 = 0x0d, 1498c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_C_RSVD11 = 0x0e, 1508c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_C_RSVD12 = 0x0f, 1518c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_CONSTELL_UNKNOWN = 0xff 1528c2ecf20Sopenharmony_ci}; 1538c2ecf20Sopenharmony_ci 1548c2ecf20Sopenharmony_cienum cxd2880_dvbt2_l1post_cr { 1558c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_R1_2 = 0x00, 1568c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_R_RSVD1 = 0x01, 1578c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_R_RSVD2 = 0x02, 1588c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_R_RSVD3 = 0x03, 1598c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_R_UNKNOWN = 0xff 1608c2ecf20Sopenharmony_ci}; 1618c2ecf20Sopenharmony_ci 1628c2ecf20Sopenharmony_cienum cxd2880_dvbt2_l1post_fec_type { 1638c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_FEC_LDPC16K = 0x00, 1648c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_FEC_RSVD1 = 0x01, 1658c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_FEC_RSVD2 = 0x02, 1668c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_FEC_RSVD3 = 0x03, 1678c2ecf20Sopenharmony_ci CXD2880_DVBT2_L1POST_FEC_UNKNOWN = 0xff 1688c2ecf20Sopenharmony_ci}; 1698c2ecf20Sopenharmony_ci 1708c2ecf20Sopenharmony_cienum cxd2880_dvbt2_pp { 1718c2ecf20Sopenharmony_ci CXD2880_DVBT2_PP1 = 0x00, 1728c2ecf20Sopenharmony_ci CXD2880_DVBT2_PP2 = 0x01, 1738c2ecf20Sopenharmony_ci CXD2880_DVBT2_PP3 = 0x02, 1748c2ecf20Sopenharmony_ci CXD2880_DVBT2_PP4 = 0x03, 1758c2ecf20Sopenharmony_ci CXD2880_DVBT2_PP5 = 0x04, 1768c2ecf20Sopenharmony_ci CXD2880_DVBT2_PP6 = 0x05, 1778c2ecf20Sopenharmony_ci CXD2880_DVBT2_PP7 = 0x06, 1788c2ecf20Sopenharmony_ci CXD2880_DVBT2_PP8 = 0x07, 1798c2ecf20Sopenharmony_ci CXD2880_DVBT2_PP_RSVD1 = 0x08, 1808c2ecf20Sopenharmony_ci CXD2880_DVBT2_PP_RSVD2 = 0x09, 1818c2ecf20Sopenharmony_ci CXD2880_DVBT2_PP_RSVD3 = 0x0a, 1828c2ecf20Sopenharmony_ci CXD2880_DVBT2_PP_RSVD4 = 0x0b, 1838c2ecf20Sopenharmony_ci CXD2880_DVBT2_PP_RSVD5 = 0x0c, 1848c2ecf20Sopenharmony_ci CXD2880_DVBT2_PP_RSVD6 = 0x0d, 1858c2ecf20Sopenharmony_ci CXD2880_DVBT2_PP_RSVD7 = 0x0e, 1868c2ecf20Sopenharmony_ci CXD2880_DVBT2_PP_RSVD8 = 0x0f, 1878c2ecf20Sopenharmony_ci CXD2880_DVBT2_PP_UNKNOWN = 0xff 1888c2ecf20Sopenharmony_ci}; 1898c2ecf20Sopenharmony_ci 1908c2ecf20Sopenharmony_cienum cxd2880_dvbt2_plp_code_rate { 1918c2ecf20Sopenharmony_ci CXD2880_DVBT2_R1_2 = 0x00, 1928c2ecf20Sopenharmony_ci CXD2880_DVBT2_R3_5 = 0x01, 1938c2ecf20Sopenharmony_ci CXD2880_DVBT2_R2_3 = 0x02, 1948c2ecf20Sopenharmony_ci CXD2880_DVBT2_R3_4 = 0x03, 1958c2ecf20Sopenharmony_ci CXD2880_DVBT2_R4_5 = 0x04, 1968c2ecf20Sopenharmony_ci CXD2880_DVBT2_R5_6 = 0x05, 1978c2ecf20Sopenharmony_ci CXD2880_DVBT2_R1_3 = 0x06, 1988c2ecf20Sopenharmony_ci CXD2880_DVBT2_R2_5 = 0x07, 1998c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_CR_UNKNOWN = 0xff 2008c2ecf20Sopenharmony_ci}; 2018c2ecf20Sopenharmony_ci 2028c2ecf20Sopenharmony_cienum cxd2880_dvbt2_plp_constell { 2038c2ecf20Sopenharmony_ci CXD2880_DVBT2_QPSK = 0x00, 2048c2ecf20Sopenharmony_ci CXD2880_DVBT2_QAM16 = 0x01, 2058c2ecf20Sopenharmony_ci CXD2880_DVBT2_QAM64 = 0x02, 2068c2ecf20Sopenharmony_ci CXD2880_DVBT2_QAM256 = 0x03, 2078c2ecf20Sopenharmony_ci CXD2880_DVBT2_CON_RSVD1 = 0x04, 2088c2ecf20Sopenharmony_ci CXD2880_DVBT2_CON_RSVD2 = 0x05, 2098c2ecf20Sopenharmony_ci CXD2880_DVBT2_CON_RSVD3 = 0x06, 2108c2ecf20Sopenharmony_ci CXD2880_DVBT2_CON_RSVD4 = 0x07, 2118c2ecf20Sopenharmony_ci CXD2880_DVBT2_CONSTELL_UNKNOWN = 0xff 2128c2ecf20Sopenharmony_ci}; 2138c2ecf20Sopenharmony_ci 2148c2ecf20Sopenharmony_cienum cxd2880_dvbt2_plp_type { 2158c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_TYPE_COMMON = 0x00, 2168c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_TYPE_DATA1 = 0x01, 2178c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_TYPE_DATA2 = 0x02, 2188c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_TYPE_RSVD1 = 0x03, 2198c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_TYPE_RSVD2 = 0x04, 2208c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_TYPE_RSVD3 = 0x05, 2218c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_TYPE_RSVD4 = 0x06, 2228c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_TYPE_RSVD5 = 0x07, 2238c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_TYPE_UNKNOWN = 0xff 2248c2ecf20Sopenharmony_ci}; 2258c2ecf20Sopenharmony_ci 2268c2ecf20Sopenharmony_cienum cxd2880_dvbt2_plp_payload { 2278c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_GFPS = 0x00, 2288c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_GCS = 0x01, 2298c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_GSE = 0x02, 2308c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_TS = 0x03, 2318c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD1 = 0x04, 2328c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD2 = 0x05, 2338c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD3 = 0x06, 2348c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD4 = 0x07, 2358c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD5 = 0x08, 2368c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD6 = 0x09, 2378c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD7 = 0x0a, 2388c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD8 = 0x0b, 2398c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD9 = 0x0c, 2408c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD10 = 0x0d, 2418c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD11 = 0x0e, 2428c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD12 = 0x0f, 2438c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD13 = 0x10, 2448c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD14 = 0x11, 2458c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD15 = 0x12, 2468c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD16 = 0x13, 2478c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD17 = 0x14, 2488c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD18 = 0x15, 2498c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD19 = 0x16, 2508c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD20 = 0x17, 2518c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD21 = 0x18, 2528c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD22 = 0x19, 2538c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD23 = 0x1a, 2548c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD24 = 0x1b, 2558c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD25 = 0x1c, 2568c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD26 = 0x1d, 2578c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD27 = 0x1e, 2588c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_RSVD28 = 0x1f, 2598c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_PAYLOAD_UNKNOWN = 0xff 2608c2ecf20Sopenharmony_ci}; 2618c2ecf20Sopenharmony_ci 2628c2ecf20Sopenharmony_cienum cxd2880_dvbt2_plp_fec { 2638c2ecf20Sopenharmony_ci CXD2880_DVBT2_FEC_LDPC_16K = 0x00, 2648c2ecf20Sopenharmony_ci CXD2880_DVBT2_FEC_LDPC_64K = 0x01, 2658c2ecf20Sopenharmony_ci CXD2880_DVBT2_FEC_RSVD1 = 0x02, 2668c2ecf20Sopenharmony_ci CXD2880_DVBT2_FEC_RSVD2 = 0x03, 2678c2ecf20Sopenharmony_ci CXD2880_DVBT2_FEC_UNKNOWN = 0xff 2688c2ecf20Sopenharmony_ci}; 2698c2ecf20Sopenharmony_ci 2708c2ecf20Sopenharmony_cienum cxd2880_dvbt2_plp_mode { 2718c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_MODE_NOTSPECIFIED = 0x00, 2728c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_MODE_NM = 0x01, 2738c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_MODE_HEM = 0x02, 2748c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_MODE_RESERVED = 0x03, 2758c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_MODE_UNKNOWN = 0xff 2768c2ecf20Sopenharmony_ci}; 2778c2ecf20Sopenharmony_ci 2788c2ecf20Sopenharmony_cienum cxd2880_dvbt2_plp_btype { 2798c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_COMMON, 2808c2ecf20Sopenharmony_ci CXD2880_DVBT2_PLP_DATA 2818c2ecf20Sopenharmony_ci}; 2828c2ecf20Sopenharmony_ci 2838c2ecf20Sopenharmony_cienum cxd2880_dvbt2_stream { 2848c2ecf20Sopenharmony_ci CXD2880_DVBT2_STREAM_GENERIC_PACKETIZED = 0x00, 2858c2ecf20Sopenharmony_ci CXD2880_DVBT2_STREAM_GENERIC_CONTINUOUS = 0x01, 2868c2ecf20Sopenharmony_ci CXD2880_DVBT2_STREAM_GENERIC_ENCAPSULATED = 0x02, 2878c2ecf20Sopenharmony_ci CXD2880_DVBT2_STREAM_TRANSPORT = 0x03, 2888c2ecf20Sopenharmony_ci CXD2880_DVBT2_STREAM_UNKNOWN = 0xff 2898c2ecf20Sopenharmony_ci}; 2908c2ecf20Sopenharmony_ci 2918c2ecf20Sopenharmony_cistruct cxd2880_dvbt2_l1pre { 2928c2ecf20Sopenharmony_ci enum cxd2880_dvbt2_l1pre_type type; 2938c2ecf20Sopenharmony_ci u8 bw_ext; 2948c2ecf20Sopenharmony_ci enum cxd2880_dvbt2_s1 s1; 2958c2ecf20Sopenharmony_ci u8 s2; 2968c2ecf20Sopenharmony_ci u8 mixed; 2978c2ecf20Sopenharmony_ci enum cxd2880_dvbt2_mode fft_mode; 2988c2ecf20Sopenharmony_ci u8 l1_rep; 2998c2ecf20Sopenharmony_ci enum cxd2880_dvbt2_guard gi; 3008c2ecf20Sopenharmony_ci enum cxd2880_dvbt2_papr papr; 3018c2ecf20Sopenharmony_ci enum cxd2880_dvbt2_l1post_constell mod; 3028c2ecf20Sopenharmony_ci enum cxd2880_dvbt2_l1post_cr cr; 3038c2ecf20Sopenharmony_ci enum cxd2880_dvbt2_l1post_fec_type fec; 3048c2ecf20Sopenharmony_ci u32 l1_post_size; 3058c2ecf20Sopenharmony_ci u32 l1_post_info_size; 3068c2ecf20Sopenharmony_ci enum cxd2880_dvbt2_pp pp; 3078c2ecf20Sopenharmony_ci u8 tx_id_availability; 3088c2ecf20Sopenharmony_ci u16 cell_id; 3098c2ecf20Sopenharmony_ci u16 network_id; 3108c2ecf20Sopenharmony_ci u16 sys_id; 3118c2ecf20Sopenharmony_ci u8 num_frames; 3128c2ecf20Sopenharmony_ci u16 num_symbols; 3138c2ecf20Sopenharmony_ci u8 regen; 3148c2ecf20Sopenharmony_ci u8 post_ext; 3158c2ecf20Sopenharmony_ci u8 num_rf_freqs; 3168c2ecf20Sopenharmony_ci u8 rf_idx; 3178c2ecf20Sopenharmony_ci enum cxd2880_dvbt2_version t2_version; 3188c2ecf20Sopenharmony_ci u8 l1_post_scrambled; 3198c2ecf20Sopenharmony_ci u8 t2_base_lite; 3208c2ecf20Sopenharmony_ci u32 crc32; 3218c2ecf20Sopenharmony_ci}; 3228c2ecf20Sopenharmony_ci 3238c2ecf20Sopenharmony_cistruct cxd2880_dvbt2_plp { 3248c2ecf20Sopenharmony_ci u8 id; 3258c2ecf20Sopenharmony_ci enum cxd2880_dvbt2_plp_type type; 3268c2ecf20Sopenharmony_ci enum cxd2880_dvbt2_plp_payload payload; 3278c2ecf20Sopenharmony_ci u8 ff; 3288c2ecf20Sopenharmony_ci u8 first_rf_idx; 3298c2ecf20Sopenharmony_ci u8 first_frm_idx; 3308c2ecf20Sopenharmony_ci u8 group_id; 3318c2ecf20Sopenharmony_ci enum cxd2880_dvbt2_plp_constell constell; 3328c2ecf20Sopenharmony_ci enum cxd2880_dvbt2_plp_code_rate plp_cr; 3338c2ecf20Sopenharmony_ci u8 rot; 3348c2ecf20Sopenharmony_ci enum cxd2880_dvbt2_plp_fec fec; 3358c2ecf20Sopenharmony_ci u16 num_blocks_max; 3368c2ecf20Sopenharmony_ci u8 frm_int; 3378c2ecf20Sopenharmony_ci u8 til_len; 3388c2ecf20Sopenharmony_ci u8 til_type; 3398c2ecf20Sopenharmony_ci u8 in_band_a_flag; 3408c2ecf20Sopenharmony_ci u8 in_band_b_flag; 3418c2ecf20Sopenharmony_ci u16 rsvd; 3428c2ecf20Sopenharmony_ci enum cxd2880_dvbt2_plp_mode plp_mode; 3438c2ecf20Sopenharmony_ci u8 static_flag; 3448c2ecf20Sopenharmony_ci u8 static_padding_flag; 3458c2ecf20Sopenharmony_ci}; 3468c2ecf20Sopenharmony_ci 3478c2ecf20Sopenharmony_cistruct cxd2880_dvbt2_l1post { 3488c2ecf20Sopenharmony_ci u16 sub_slices_per_frame; 3498c2ecf20Sopenharmony_ci u8 num_plps; 3508c2ecf20Sopenharmony_ci u8 num_aux; 3518c2ecf20Sopenharmony_ci u8 aux_cfg_rfu; 3528c2ecf20Sopenharmony_ci u8 rf_idx; 3538c2ecf20Sopenharmony_ci u32 freq; 3548c2ecf20Sopenharmony_ci u8 fef_type; 3558c2ecf20Sopenharmony_ci u32 fef_length; 3568c2ecf20Sopenharmony_ci u8 fef_intvl; 3578c2ecf20Sopenharmony_ci}; 3588c2ecf20Sopenharmony_ci 3598c2ecf20Sopenharmony_cistruct cxd2880_dvbt2_ofdm { 3608c2ecf20Sopenharmony_ci u8 mixed; 3618c2ecf20Sopenharmony_ci u8 is_miso; 3628c2ecf20Sopenharmony_ci enum cxd2880_dvbt2_mode mode; 3638c2ecf20Sopenharmony_ci enum cxd2880_dvbt2_guard gi; 3648c2ecf20Sopenharmony_ci enum cxd2880_dvbt2_pp pp; 3658c2ecf20Sopenharmony_ci u8 bw_ext; 3668c2ecf20Sopenharmony_ci enum cxd2880_dvbt2_papr papr; 3678c2ecf20Sopenharmony_ci u16 num_symbols; 3688c2ecf20Sopenharmony_ci}; 3698c2ecf20Sopenharmony_ci 3708c2ecf20Sopenharmony_cistruct cxd2880_dvbt2_bbheader { 3718c2ecf20Sopenharmony_ci enum cxd2880_dvbt2_stream stream_input; 3728c2ecf20Sopenharmony_ci u8 is_single_input_stream; 3738c2ecf20Sopenharmony_ci u8 is_constant_coding_modulation; 3748c2ecf20Sopenharmony_ci u8 issy_indicator; 3758c2ecf20Sopenharmony_ci u8 null_packet_deletion; 3768c2ecf20Sopenharmony_ci u8 ext; 3778c2ecf20Sopenharmony_ci u8 input_stream_identifier; 3788c2ecf20Sopenharmony_ci u16 user_packet_length; 3798c2ecf20Sopenharmony_ci u16 data_field_length; 3808c2ecf20Sopenharmony_ci u8 sync_byte; 3818c2ecf20Sopenharmony_ci u32 issy; 3828c2ecf20Sopenharmony_ci enum cxd2880_dvbt2_plp_mode plp_mode; 3838c2ecf20Sopenharmony_ci}; 3848c2ecf20Sopenharmony_ci 3858c2ecf20Sopenharmony_ci#endif 386