summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/cxd2880/cxd2880_integ.h
blob: 7160225db8b9e401520937bf2532480e8d69f0c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * cxd2880_integ.h
 * Sony CXD2880 DVB-T2/T tuner + demodulator driver
 * integration layer common interface
 *
 * Copyright (C) 2016, 2017, 2018 Sony Semiconductor Solutions Corporation
 */

#ifndef CXD2880_INTEG_H
#define CXD2880_INTEG_H

#include "cxd2880_tnrdmd.h"

#define CXD2880_TNRDMD_WAIT_INIT_TIMEOUT	500
#define CXD2880_TNRDMD_WAIT_INIT_INTVL	10

#define CXD2880_TNRDMD_WAIT_AGC_STABLE		100

int cxd2880_integ_init(struct cxd2880_tnrdmd *tnr_dmd);

int cxd2880_integ_cancel(struct cxd2880_tnrdmd *tnr_dmd);

int cxd2880_integ_check_cancellation(struct cxd2880_tnrdmd
				     *tnr_dmd);

#endif