1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * cxd2880_tnrdmd_dvbt.h 4 * Sony CXD2880 DVB-T2/T tuner + demodulator driver 5 * control interface for DVB-T 6 * 7 * Copyright (C) 2016, 2017, 2018 Sony Semiconductor Solutions Corporation 8 */ 9 10 #ifndef CXD2880_TNRDMD_DVBT_H 11 #define CXD2880_TNRDMD_DVBT_H 12 13 #include "cxd2880_common.h" 14 #include "cxd2880_tnrdmd.h" 15 16 struct cxd2880_dvbt_tune_param { 17 u32 center_freq_khz; 18 enum cxd2880_dtv_bandwidth bandwidth; 19 enum cxd2880_dvbt_profile profile; 20 }; 21 22 int cxd2880_tnrdmd_dvbt_tune1(struct cxd2880_tnrdmd *tnr_dmd, 23 struct cxd2880_dvbt_tune_param 24 *tune_param); 25 26 int cxd2880_tnrdmd_dvbt_tune2(struct cxd2880_tnrdmd *tnr_dmd, 27 struct cxd2880_dvbt_tune_param 28 *tune_param); 29 30 int cxd2880_tnrdmd_dvbt_sleep_setting(struct cxd2880_tnrdmd 31 *tnr_dmd); 32 33 int cxd2880_tnrdmd_dvbt_check_demod_lock(struct cxd2880_tnrdmd 34 *tnr_dmd, 35 enum 36 cxd2880_tnrdmd_lock_result 37 *lock); 38 39 int cxd2880_tnrdmd_dvbt_check_ts_lock(struct cxd2880_tnrdmd 40 *tnr_dmd, 41 enum 42 cxd2880_tnrdmd_lock_result 43 *lock); 44 45 #endif 46