Path: blob/master/drivers/media/video/cx18/cx18-i2c.h
17705 views
/*1* cx18 I2C functions2*3* Derived from ivtv-i2c.h4*5* Copyright (C) 2007 Hans Verkuil <[email protected]>6*7* This program is free software; you can redistribute it and/or modify8* it under the terms of the GNU General Public License as published by9* the Free Software Foundation; either version 2 of the License, or10* (at your option) any later version.11*12* This program is distributed in the hope that it will be useful,13* but WITHOUT ANY WARRANTY; without even the implied warranty of14* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the15* GNU General Public License for more details.16*17* You should have received a copy of the GNU General Public License18* along with this program; if not, write to the Free Software19* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA20* 02111-1307 USA21*/2223int cx18_i2c_register(struct cx18 *cx, unsigned idx);24struct v4l2_subdev *cx18_find_hw(struct cx18 *cx, u32 hw);2526/* init + register i2c algo-bit adapter */27int init_cx18_i2c(struct cx18 *cx);28void exit_cx18_i2c(struct cx18 *cx);293031