xref: /linux/drivers/media/pci/cx18/cx18-i2c.h (revision da1d9caf95def6f0320819cf941c9fd1069ba9e1)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  *  cx18 I2C functions
4  *
5  *  Derived from ivtv-i2c.h
6  *
7  *  Copyright (C) 2007  Hans Verkuil <hverkuil@xs4all.nl>
8  */
9 
10 int cx18_i2c_register(struct cx18 *cx, unsigned idx);
11 struct v4l2_subdev *cx18_find_hw(struct cx18 *cx, u32 hw);
12 
13 /* init + register i2c adapter */
14 int init_cx18_i2c(struct cx18 *cx);
15 void exit_cx18_i2c(struct cx18 *cx);
16