ivtv-i2c.h (524B)
1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 I2C functions 4 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com> 5 Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl> 6 7 */ 8 9#ifndef IVTV_I2C_H 10#define IVTV_I2C_H 11 12void ivtv_i2c_new_ir_legacy(struct ivtv *itv); 13int ivtv_i2c_register(struct ivtv *itv, unsigned idx); 14struct v4l2_subdev *ivtv_find_hw(struct ivtv *itv, u32 hw); 15 16/* init + register i2c adapter */ 17int init_ivtv_i2c(struct ivtv *itv); 18void exit_ivtv_i2c(struct ivtv *itv); 19 20#endif