Lines Matching refs:ivtv
11 from the Hauppauge windows driver. Older ivtv versions used i2c-algo-bit,
50 #include "ivtv-driver.h"
51 #include "ivtv-cards.h"
52 #include "ivtv-gpio.h"
53 #include "ivtv-i2c.h"
56 /* i2c implementation for cx23415/6 chip, ivtv project.
163 static int ivtv_i2c_new_ir(struct ivtv *itv, u32 hw, const char *type, u8 addr)
216 void ivtv_i2c_new_ir_legacy(struct ivtv *itv)
241 int ivtv_i2c_register(struct ivtv *itv, unsigned idx)
303 struct v4l2_subdev *ivtv_find_hw(struct ivtv *itv, u32 hw)
320 static void ivtv_setscl(struct ivtv *itv, int state)
328 static void ivtv_setsda(struct ivtv *itv, int state)
336 static int ivtv_getscl(struct ivtv *itv)
342 static int ivtv_getsda(struct ivtv *itv)
348 static void ivtv_scldelay(struct ivtv *itv)
357 static int ivtv_waitscl(struct ivtv *itv, int val)
370 static int ivtv_waitsda(struct ivtv *itv, int val)
383 static int ivtv_ack(struct ivtv *itv)
411 static int ivtv_sendbyte(struct ivtv *itv, unsigned char byte)
444 static int ivtv_readbyte(struct ivtv *itv, unsigned char *byte, int nack)
476 static int ivtv_start(struct ivtv *itv)
502 static int ivtv_stop(struct ivtv *itv)
539 static int ivtv_write(struct ivtv *itv, unsigned char addr, unsigned char *data, u32 len, int do_stop)
562 static int ivtv_read(struct ivtv *itv, unsigned char addr, unsigned char *data, u32 len)
587 struct ivtv *itv = to_ivtv(v4l2_dev);
619 .name = "ivtv i2c driver",
627 struct ivtv *itv = (struct ivtv *)data;
641 struct ivtv *itv = (struct ivtv *)data;
655 struct ivtv *itv = (struct ivtv *)data;
662 struct ivtv *itv = (struct ivtv *)data;
669 .name = "ivtv i2c driver",
687 .name = "ivtv internal",
691 int init_ivtv_i2c(struct ivtv *itv)
734 void exit_ivtv_i2c(struct ivtv *itv)