| 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* |
| 3 | * cxd2880_integ.h |
| 4 | * Sony CXD2880 DVB-T2/T tuner + demodulator driver |
| 5 | * integration layer common interface |
| 6 | * |
| 7 | * Copyright (C) 2016, 2017, 2018 Sony Semiconductor Solutions Corporation |
| 8 | */ |
| 9 | |
| 10 | #ifndef CXD2880_INTEG_H |
| 11 | #define CXD2880_INTEG_H |
| 12 | |
| 13 | #include "cxd2880_tnrdmd.h" |
| 14 | |
| 15 | #define CXD2880_TNRDMD_WAIT_INIT_TIMEOUT 500 |
| 16 | #define CXD2880_TNRDMD_WAIT_INIT_INTVL 10 |
| 17 | |
| 18 | #define CXD2880_TNRDMD_WAIT_AGC_STABLE 100 |
| 19 | |
| 20 | int cxd2880_integ_init(struct cxd2880_tnrdmd *tnr_dmd); |
| 21 | |
| 22 | int cxd2880_integ_cancel(struct cxd2880_tnrdmd *tnr_dmd); |
| 23 | |
| 24 | int cxd2880_integ_check_cancellation(struct cxd2880_tnrdmd |
| 25 | *tnr_dmd); |
| 26 | |
| 27 | #endif |