1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Abilis Systems Single DVB-T Receiver
4  * Copyright (C) 2014 Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
5  */
6 
7 #include "as102_fe_types.h"
8 
9 struct as102_fe_ops {
10 	int (*set_tune)(void *priv, struct as10x_tune_args *tune_args);
11 	int (*get_tps)(void *priv, struct as10x_tps *tps);
12 	int (*get_status)(void *priv, struct as10x_tune_status *tstate);
13 	int (*get_stats)(void *priv, struct as10x_demod_stats *demod_stats);
14 	int (*stream_ctrl)(void *priv, int acquire, uint32_t elna_cfg);
15 };
16 
17 struct dvb_frontend *as102_attach(const char *name,
18 				  const struct as102_fe_ops *ops,
19 				  void *priv,
20 				  uint8_t elna_cfg);
21