Path: blob/master/drivers/media/dvb/mantis/mantis_i2c.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_I2C_H21#define __MANTIS_I2C_H2223#define I2C_STOP (1 << 0)24#define I2C_READ (1 << 1)2526extern int mantis_i2c_init(struct mantis_pci *mantis);27extern int mantis_i2c_exit(struct mantis_pci *mantis);2829#endif /* __MANTIS_I2C_H */303132