Lines Matching refs:ivtv
175 static int ivtv_i2c_new_ir(struct ivtv *itv, u32 hw, const char *type, u8 addr) in ivtv_i2c_new_ir()
228 struct i2c_client *ivtv_i2c_new_ir_legacy(struct ivtv *itv) in ivtv_i2c_new_ir_legacy()
253 int ivtv_i2c_register(struct ivtv *itv, unsigned idx) in ivtv_i2c_register()
309 struct v4l2_subdev *ivtv_find_hw(struct ivtv *itv, u32 hw) in ivtv_find_hw()
326 static void ivtv_setscl(struct ivtv *itv, int state) in ivtv_setscl()
334 static void ivtv_setsda(struct ivtv *itv, int state) in ivtv_setsda()
342 static int ivtv_getscl(struct ivtv *itv) in ivtv_getscl()
348 static int ivtv_getsda(struct ivtv *itv) in ivtv_getsda()
354 static void ivtv_scldelay(struct ivtv *itv) in ivtv_scldelay()
363 static int ivtv_waitscl(struct ivtv *itv, int val) in ivtv_waitscl()
376 static int ivtv_waitsda(struct ivtv *itv, int val) in ivtv_waitsda()
389 static int ivtv_ack(struct ivtv *itv) in ivtv_ack()
417 static int ivtv_sendbyte(struct ivtv *itv, unsigned char byte) in ivtv_sendbyte()
450 static int ivtv_readbyte(struct ivtv *itv, unsigned char *byte, int nack) in ivtv_readbyte()
482 static int ivtv_start(struct ivtv *itv) in ivtv_start()
508 static int ivtv_stop(struct ivtv *itv) in ivtv_stop()
545 static int ivtv_write(struct ivtv *itv, unsigned char addr, unsigned char *data, u32 len, int do_st… in ivtv_write()
568 static int ivtv_read(struct ivtv *itv, unsigned char addr, unsigned char *data, u32 len) in ivtv_read()
593 struct ivtv *itv = to_ivtv(v4l2_dev); in ivtv_xfer()
633 struct ivtv *itv = (struct ivtv *)data; in ivtv_setscl_old()
647 struct ivtv *itv = (struct ivtv *)data; in ivtv_setsda_old()
661 struct ivtv *itv = (struct ivtv *)data; in ivtv_getscl_old()
668 struct ivtv *itv = (struct ivtv *)data; in ivtv_getsda_old()
697 int init_ivtv_i2c(struct ivtv *itv) in init_ivtv_i2c()
740 void exit_ivtv_i2c(struct ivtv *itv) in exit_ivtv_i2c()