Commit | Line | Data |
---|---|---|
3e0a4e85 | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
47f79129 MCC |
2 | /* |
3 | * Abilis Systems Single DVB-T Receiver | |
901b9dd5 | 4 | * Copyright (C) 2014 Mauro Carvalho Chehab <mchehab+samsung@kernel.org> |
47f79129 MCC |
5 | */ |
6 | ||
dcae7781 | 7 | #include "as102_fe_types.h" |
47f79129 MCC |
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); |