Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * cxd2880_tnrdmd_dvbt.h
0004  * Sony CXD2880 DVB-T2/T tuner + demodulator driver
0005  * control interface for DVB-T
0006  *
0007  * Copyright (C) 2016, 2017, 2018 Sony Semiconductor Solutions Corporation
0008  */
0009 
0010 #ifndef CXD2880_TNRDMD_DVBT_H
0011 #define CXD2880_TNRDMD_DVBT_H
0012 
0013 #include "cxd2880_common.h"
0014 #include "cxd2880_tnrdmd.h"
0015 
0016 struct cxd2880_dvbt_tune_param {
0017     u32 center_freq_khz;
0018     enum cxd2880_dtv_bandwidth bandwidth;
0019     enum cxd2880_dvbt_profile profile;
0020 };
0021 
0022 int cxd2880_tnrdmd_dvbt_tune1(struct cxd2880_tnrdmd *tnr_dmd,
0023                   struct cxd2880_dvbt_tune_param
0024                   *tune_param);
0025 
0026 int cxd2880_tnrdmd_dvbt_tune2(struct cxd2880_tnrdmd *tnr_dmd,
0027                   struct cxd2880_dvbt_tune_param
0028                   *tune_param);
0029 
0030 int cxd2880_tnrdmd_dvbt_sleep_setting(struct cxd2880_tnrdmd
0031                       *tnr_dmd);
0032 
0033 int cxd2880_tnrdmd_dvbt_check_demod_lock(struct cxd2880_tnrdmd
0034                      *tnr_dmd,
0035                      enum
0036                      cxd2880_tnrdmd_lock_result
0037                      *lock);
0038 
0039 int cxd2880_tnrdmd_dvbt_check_ts_lock(struct cxd2880_tnrdmd
0040                       *tnr_dmd,
0041                       enum
0042                       cxd2880_tnrdmd_lock_result
0043                       *lock);
0044 
0045 #endif