| Thomas Gleixner | c942fdd | 2019-05-27 08:55:06 +0200 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| Hans Verkuil | 1c1e45d | 2008-04-28 20:24:33 -0300 | [diff] [blame] | 2 | /* |
| 3 | * cx18 I2C functions |
| 4 | * |
| 5 | * Derived from ivtv-i2c.h |
| 6 | * |
| 7 | * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> |
| Hans Verkuil | 1c1e45d | 2008-04-28 20:24:33 -0300 | [diff] [blame] | 8 | */ |
| 9 | |
| Hans Verkuil | 1c1e45d | 2008-04-28 20:24:33 -0300 | [diff] [blame] | 10 | int cx18_i2c_register(struct cx18 *cx, unsigned idx); |
| Andy Walls | ff2a200 | 2009-02-20 23:52:13 -0300 | [diff] [blame] | 11 | struct v4l2_subdev *cx18_find_hw(struct cx18 *cx, u32 hw); |
| Hans Verkuil | 1c1e45d | 2008-04-28 20:24:33 -0300 | [diff] [blame] | 12 | |
| Jean Delvare | a824f0f | 2011-11-09 13:27:53 -0300 | [diff] [blame] | 13 | /* init + register i2c adapter */ |
| Hans Verkuil | 1c1e45d | 2008-04-28 20:24:33 -0300 | [diff] [blame] | 14 | int init_cx18_i2c(struct cx18 *cx); |
| 15 | void exit_cx18_i2c(struct cx18 *cx); |