Path: blob/master/drivers/media/video/ivtv/ivtv-i2c.h
17787 views
/*1I2C functions2Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com>3Copyright (C) 2005-2007 Hans Verkuil <[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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA18*/1920#ifndef IVTV_I2C_H21#define IVTV_I2C_H2223struct i2c_client *ivtv_i2c_new_ir_legacy(struct ivtv *itv);24int ivtv_i2c_register(struct ivtv *itv, unsigned idx);25struct v4l2_subdev *ivtv_find_hw(struct ivtv *itv, u32 hw);2627/* init + register i2c algo-bit adapter */28int init_ivtv_i2c(struct ivtv *itv);29void exit_ivtv_i2c(struct ivtv *itv);3031#endif323334