linux/drivers/media/tuners/xc2028.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * xc2028
 *
 * Copyright (c) 2007-2008 Mauro Carvalho Chehab <[email protected]>
 */

#ifndef __TUNER_XC2028_H__
#define __TUNER_XC2028_H__

#include <media/dvb_frontend.h>

#define XC2028_DEFAULT_FIRMWARE
#define XC3028L_DEFAULT_FIRMWARE

/*      Dmoduler		IF (kHz) */
#define XC3028_FE_DEFAULT
#define XC3028_FE_LG60
#define XC3028_FE_ATI638
#define XC3028_FE_OREN538
#define XC3028_FE_OREN36
#define XC3028_FE_TOYOTA388
#define XC3028_FE_TOYOTA794
#define XC3028_FE_DIBCOM52
#define XC3028_FE_ZARLINK456
#define XC3028_FE_CHINA

enum firmware_type {};

struct xc2028_ctrl {};

struct xc2028_config {};

/* xc2028 commands for callback */
#define XC2028_TUNER_RESET
#define XC2028_RESET_CLK
#define XC2028_I2C_FLUSH

#if IS_REACHABLE(CONFIG_MEDIA_TUNER_XC2028)
extern struct dvb_frontend *xc2028_attach(struct dvb_frontend *fe,
					  struct xc2028_config *cfg);
#else
static inline struct dvb_frontend *xc2028_attach(struct dvb_frontend *fe,
						 struct xc2028_config *cfg)
{
	printk(KERN_INFO "%s: not probed - driver disabled by Kconfig\n",
	       __func__);
	return NULL;
}
#endif

#endif /* __TUNER_XC2028_H__ */