1 /* SPDX-License-Identifier: GPL-2.0-or-later */
9 #include <media/dvb_frontend.h>
12 TEA5767_LOW_LO_32768
= 0,
13 TEA5767_HIGH_LO_32768
= 1,
14 TEA5767_LOW_LO_13MHz
= 2,
15 TEA5767_HIGH_LO_13MHz
= 3,
21 unsigned int high_cut
:1;
22 unsigned int st_noise
:1;
23 unsigned int soft_mute
:1;
24 unsigned int japan_band
:1;
25 unsigned int deemph_75
:1;
26 unsigned int pllref
:1;
27 enum tea5767_xtal xtal_freq
;
30 #if IS_REACHABLE(CONFIG_MEDIA_TUNER_TEA5767)
31 extern int tea5767_autodetection(struct i2c_adapter
* i2c_adap
, u8 i2c_addr
);
33 extern struct dvb_frontend
*tea5767_attach(struct dvb_frontend
*fe
,
34 struct i2c_adapter
* i2c_adap
,
37 static inline int tea5767_autodetection(struct i2c_adapter
* i2c_adap
,
40 printk(KERN_INFO
"%s: not probed - driver disabled by Kconfig\n",
45 static inline struct dvb_frontend
*tea5767_attach(struct dvb_frontend
*fe
,
46 struct i2c_adapter
* i2c_adap
,
49 printk(KERN_WARNING
"%s: driver disabled by Kconfig\n", __func__
);
54 #endif /* __TEA5767_H__ */