1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
2 | /* |
3 | * TTUSB DEC Driver |
4 | * |
5 | * Copyright (C) 2003-2004 Alex Woods <linux-dvb@giblets.org> |
6 | */ |
7 | |
8 | #ifndef TTUSBDECFE_H |
9 | #define TTUSBDECFE_H |
10 | |
11 | #include <linux/dvb/frontend.h> |
12 | |
13 | struct ttusbdecfe_config |
14 | { |
15 | int (*send_command)(struct dvb_frontend* fe, const u8 command, |
16 | int param_length, const u8 params[], |
17 | int *result_length, u8 cmd_result[]); |
18 | }; |
19 | |
20 | extern struct dvb_frontend* ttusbdecfe_dvbs_attach(const struct ttusbdecfe_config* config); |
21 | |
22 | extern struct dvb_frontend* ttusbdecfe_dvbt_attach(const struct ttusbdecfe_config* config); |
23 | |
24 | #endif // TTUSBDECFE_H |
25 | |