Path: blob/master/drivers/media/dvb/mantis/mantis_ioc.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_IOC_H21#define __MANTIS_IOC_H2223#define GPIF_A00 0x0024#define GPIF_A01 0x0125#define GPIF_A02 0x0226#define GPIF_A03 0x0327#define GPIF_A04 0x0428#define GPIF_A05 0x0529#define GPIF_A06 0x0630#define GPIF_A07 0x0731#define GPIF_A08 0x0832#define GPIF_A09 0x0933#define GPIF_A10 0x0a34#define GPIF_A11 0x0b3536#define GPIF_A12 0x0c37#define GPIF_A13 0x0d38#define GPIF_A14 0x0e3940enum mantis_stream_control {41STREAM_TO_HIF = 0,42STREAM_TO_CAM43};4445extern int mantis_get_mac(struct mantis_pci *mantis);46extern void mantis_gpio_set_bits(struct mantis_pci *mantis, u32 bitpos, u8 value);4748extern int mantis_stream_control(struct mantis_pci *mantis, enum mantis_stream_control stream_ctl);4950#endif /* __MANTIS_IOC_H */515253