/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Afatech AF9013 demodulator driver * * Copyright (C) 2007 Antti Palosaari <[email protected]> * Copyright (C) 2011 Antti Palosaari <[email protected]> * * Thanks to Afatech who kindly provided information. */ #ifndef AF9013_PRIV_H #define AF9013_PRIV_H #include <media/dvb_frontend.h> #include <linux/int_log.h> #include "af9013.h" #include <linux/firmware.h> #include <linux/i2c-mux.h> #include <linux/math64.h> #include <linux/regmap.h> #define AF9013_FIRMWARE … struct af9013_reg_mask_val { … }; struct af9013_coeff { … }; /* pre-calculated coeff lookup table */ static const struct af9013_coeff coeff_lut[] = …; /* * Afatech AF9013 demod init */ static const struct af9013_reg_mask_val demod_init_tab[] = …; /* * Panasonic ENV77H11D5 tuner init * AF9013_TUNER_ENV77H11D5 0x81 */ static const struct af9013_reg_mask_val tuner_init_tab_env77h11d5[] = …; /* * Microtune MT2060 tuner init * AF9013_TUNER_MT2060 0x82 */ static const struct af9013_reg_mask_val tuner_init_tab_mt2060[] = …; /* * Microtune MT2060 tuner init * AF9013_TUNER_MT2060_2 0x93 */ static const struct af9013_reg_mask_val tuner_init_tab_mt2060_2[] = …; /* * MaxLinear MXL5003 tuner init * AF9013_TUNER_MXL5003D 0x03 */ static const struct af9013_reg_mask_val tuner_init_tab_mxl5003d[] = …; /* * MaxLinear MXL5005S & MXL5007T tuner init * AF9013_TUNER_MXL5005D 0x0d * AF9013_TUNER_MXL5005R 0x1e * AF9013_TUNER_MXL5007T 0xb1 */ static const struct af9013_reg_mask_val tuner_init_tab_mxl5005[] = …; /* * Quantek QT1010 tuner init * AF9013_TUNER_QT1010 0x86 * AF9013_TUNER_QT1010A 0xa2 */ static const struct af9013_reg_mask_val tuner_init_tab_qt1010[] = …; /* * Freescale MC44S803 tuner init * AF9013_TUNER_MC44S803 0x85 */ static const struct af9013_reg_mask_val tuner_init_tab_mc44s803[] = …; /* * Unknown, probably for tin can tuner, tuner init * AF9013_TUNER_UNKNOWN 0x8c */ static const struct af9013_reg_mask_val tuner_init_tab_unknown[] = …; /* * NXP TDA18271 & TDA18218 tuner init * AF9013_TUNER_TDA18271 0x9c * AF9013_TUNER_TDA18218 0xb3 */ static const struct af9013_reg_mask_val tuner_init_tab_tda18271[] = …; #endif /* AF9013_PRIV_H */