Thomas Gleixner | c942fdd | 2019-05-27 08:55:06 +0200 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | /* |
| 3 | * TTUSB DEC Driver |
| 4 | * |
| 5 | * Copyright (C) 2003-2004 Alex Woods <linux-dvb@giblets.org> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 |