1 /* SPDX-License-Identifier: GPL-2.0 */
3 * cxd2880_tnrdmd_dvbt_mon.h
4 * Sony CXD2880 DVB-T2/T tuner + demodulator driver
5 * DVB-T monitor interface
7 * Copyright (C) 2016, 2017, 2018 Sony Semiconductor Solutions Corporation
10 #ifndef CXD2880_TNRDMD_DVBT_MON_H
11 #define CXD2880_TNRDMD_DVBT_MON_H
13 #include "cxd2880_tnrdmd.h"
14 #include "cxd2880_dvbt.h"
16 int cxd2880_tnrdmd_dvbt_mon_sync_stat(struct cxd2880_tnrdmd
17 *tnr_dmd
, u8
*sync_stat
,
21 int cxd2880_tnrdmd_dvbt_mon_sync_stat_sub(struct cxd2880_tnrdmd
22 *tnr_dmd
, u8
*sync_stat
,
25 int cxd2880_tnrdmd_dvbt_mon_mode_guard(struct cxd2880_tnrdmd
27 enum cxd2880_dvbt_mode
29 enum cxd2880_dvbt_guard
32 int cxd2880_tnrdmd_dvbt_mon_carrier_offset(struct cxd2880_tnrdmd
33 *tnr_dmd
, int *offset
);
35 int cxd2880_tnrdmd_dvbt_mon_carrier_offset_sub(struct
40 int cxd2880_tnrdmd_dvbt_mon_tps_info(struct cxd2880_tnrdmd
42 struct cxd2880_dvbt_tpsinfo
45 int cxd2880_tnrdmd_dvbt_mon_packet_error_number(struct
50 int cxd2880_tnrdmd_dvbt_mon_spectrum_sense(struct cxd2880_tnrdmd
53 cxd2880_tnrdmd_spectrum_sense
56 int cxd2880_tnrdmd_dvbt_mon_snr(struct cxd2880_tnrdmd
*tnr_dmd
,
59 int cxd2880_tnrdmd_dvbt_mon_snr_diver(struct cxd2880_tnrdmd
61 int *snr_main
, int *snr_sub
);
63 int cxd2880_tnrdmd_dvbt_mon_sampling_offset(struct cxd2880_tnrdmd
66 int cxd2880_tnrdmd_dvbt_mon_sampling_offset_sub(struct
71 int cxd2880_tnrdmd_dvbt_mon_ssi(struct cxd2880_tnrdmd
*tnr_dmd
,
74 int cxd2880_tnrdmd_dvbt_mon_ssi_sub(struct cxd2880_tnrdmd
*tnr_dmd
,