Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / drivers / media / dvb-frontends / as102_fe.h
bloba7c91430ca3d7a20b4e0fd683027390752f1bc6d
1 /*
2 * Abilis Systems Single DVB-T Receiver
3 * Copyright (C) 2014 Mauro Carvalho Chehab <m.chehab@samsung.com>
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.
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.
16 #include "as102_fe_types.h"
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);
26 struct dvb_frontend *as102_attach(const char *name,
27 const struct as102_fe_ops *ops,
28 void *priv,
29 uint8_t elna_cfg);