1
2
3
4
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);