1 /*
2  * Abilis Systems Single DVB-T Receiver
3  * Copyright (C) 2014 Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2, or (at your option)
8  * any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  */
15 
16 #include "as102_fe_types.h"
17 
18 struct as102_fe_ops {
19 	int (*set_tune)(void *priv, struct as10x_tune_args *tune_args);
20 	int (*get_tps)(void *priv, struct as10x_tps *tps);
21 	int (*get_status)(void *priv, struct as10x_tune_status *tstate);
22 	int (*get_stats)(void *priv, struct as10x_demod_stats *demod_stats);
23 	int (*stream_ctrl)(void *priv, int acquire, uint32_t elna_cfg);
24 };
25 
26 struct dvb_frontend *as102_attach(const char *name,
27 				  const struct as102_fe_ops *ops,
28 				  void *priv,
29 				  uint8_t elna_cfg);
30