linux/drivers/media/tuners/tda18250_priv.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * NXP TDA18250BHN silicon tuner driver
 *
 * Copyright (C) 2017 Olli Salonen <[email protected]>
 */

#ifndef TDA18250_PRIV_H
#define TDA18250_PRIV_H

#include "tda18250.h"

#define R00_ID1
#define R01_ID2
#define R02_ID3
#define R03_THERMO1
#define R04_THERMO2
#define R05_POWER1
#define R06_POWER2
#define R07_GPIO
#define R08_IRQ1
#define R09_IRQ2
#define R0A_IRQ3
#define R0B_IRQ4
#define R0C_AGC11
#define R0D_AGC12
#define R0E_AGC13
#define R0F_AGC14
#define R10_LT1
#define R11_LT2
#define R12_AGC21
#define R13_AGC22
#define R14_AGC23
#define R15_AGC24
#define R16_AGC25
#define R17_AGC31
#define R18_AGC32
#define R19_AGC33
#define R1A_AGCK
#define R1B_GAIN1
#define R1C_GAIN2
#define R1D_GAIN3
#define R1E_WI_FI
#define R1F_RF_BPF
#define R20_IR_MIX
#define R21_IF_AGC
#define R22_IF1
#define R23_IF2
#define R24_IF3
#define R25_REF
#define R26_IF
#define R27_RF1
#define R28_RF2
#define R29_RF3
#define R2A_MSM1
#define R2B_MSM2
#define R2C_PS1
#define R2D_PS2
#define R2E_PS3
#define R2F_RSSI1
#define R30_RSSI2
#define R31_IRQ_CTRL
#define R32_DUMMY
#define R33_TEST
#define R34_MD1
#define R35_SD1
#define R36_SD2
#define R37_SD3
#define R38_SD4
#define R39_SD5
#define R3A_SD_TEST
#define R3B_REGU
#define R3C_RCCAL1
#define R3D_RCCAL2
#define R3E_IRCAL1
#define R3F_IRCAL2
#define R40_IRCAL3
#define R41_IRCAL4
#define R42_IRCAL5
#define R43_PD1
#define R44_PD2
#define R45_PD
#define R46_CPUMP
#define R47_LNAPOL
#define R48_SMOOTH1
#define R49_SMOOTH2
#define R4A_SMOOTH3
#define R4B_XTALOSC1
#define R4C_XTALOSC2
#define R4D_XTALFLX1
#define R4E_XTALFLX2
#define R4F_XTALFLX3
#define R50_XTALFLX4
#define R51_XTALFLX5
#define R52_IRLOOP0
#define R53_IRLOOP1
#define R54_IRLOOP2
#define R55_IRLOOP3
#define R56_IRLOOP4
#define R57_PLL_LOG
#define R58_AGC2_UP1
#define R59_AGC2_UP2
#define R5A_H3H5
#define R5B_AGC_AUTO
#define R5C_AGC_DEBUG

#define TDA18250_NUM_REGS

#define TDA18250_POWER_STANDBY
#define TDA18250_POWER_NORMAL

#define TDA18250_IRQ_CAL
#define TDA18250_IRQ_HW_INIT
#define TDA18250_IRQ_TUNE

struct tda18250_dev {};

#endif