18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * TTUSB DEC Driver 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (C) 2003-2004 Alex Woods <linux-dvb@giblets.org> 68c2ecf20Sopenharmony_ci */ 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci#ifndef TTUSBDECFE_H 98c2ecf20Sopenharmony_ci#define TTUSBDECFE_H 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#include <linux/dvb/frontend.h> 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_cistruct ttusbdecfe_config 148c2ecf20Sopenharmony_ci{ 158c2ecf20Sopenharmony_ci int (*send_command)(struct dvb_frontend* fe, const u8 command, 168c2ecf20Sopenharmony_ci int param_length, const u8 params[], 178c2ecf20Sopenharmony_ci int *result_length, u8 cmd_result[]); 188c2ecf20Sopenharmony_ci}; 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ciextern struct dvb_frontend* ttusbdecfe_dvbs_attach(const struct ttusbdecfe_config* config); 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ciextern struct dvb_frontend* ttusbdecfe_dvbt_attach(const struct ttusbdecfe_config* config); 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci#endif // TTUSBDECFE_H 25