Path: blob/master/drivers/media/dvb/mantis/mantis_core.h
15112 views
/*1Mantis PCI bridge driver23Copyright (C) Manu Abraham ([email protected])45This program is free software; you can redistribute it and/or modify6it under the terms of the GNU General Public License as published by7the Free Software Foundation; either version 2 of the License, or8(at your option) any later version.910This program is distributed in the hope that it will be useful,11but WITHOUT ANY WARRANTY; without even the implied warranty of12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the13GNU General Public License for more details.1415You should have received a copy of the GNU General Public License16along with this program; if not, write to the Free Software17Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.18*/1920#ifndef __MANTIS_CORE_H21#define __MANTIS_CORE_H2223#include "mantis_common.h"242526#define FE_TYPE_SAT 027#define FE_TYPE_CAB 128#define FE_TYPE_TER 22930#define FE_TYPE_TS204 031#define FE_TYPE_TS188 1323334struct vendorname {35u8 *sub_vendor_name;36u32 sub_vendor_id;37};3839struct devicetype {40u8 *sub_device_name;41u32 sub_device_id;42u8 device_type;43u32 type_flags;44};454647extern int mantis_dma_init(struct mantis_pci *mantis);48extern int mantis_dma_exit(struct mantis_pci *mantis);49extern void mantis_dma_start(struct mantis_pci *mantis);50extern void mantis_dma_stop(struct mantis_pci *mantis);51extern int mantis_i2c_init(struct mantis_pci *mantis);52extern int mantis_i2c_exit(struct mantis_pci *mantis);53extern int mantis_core_init(struct mantis_pci *mantis);54extern int mantis_core_exit(struct mantis_pci *mantis);5556#endif /* __MANTIS_CORE_H */575859