Lines Matching refs:data
35 The i2c bus is a 2 wire serial bus, with clock (SCL) and data (SDA)
47 stop condition. (Only the msp3400 chip uses this method of data transfer).
327 /* Set the serial data line to the desired state */
341 /* Read the serial data line */
369 /* Wait for the serial data line to become set to a specific value */
539 static int ivtv_write(struct ivtv *itv, unsigned char addr, unsigned char *data, u32 len, int do_stop)
550 ret = ivtv_sendbyte(itv, data[i]);
561 /* Read data from the given i2c slave. A stop condition is always issued. */
562 static int ivtv_read(struct ivtv *itv, unsigned char addr, unsigned char *data, u32 len)
572 ret = ivtv_readbyte(itv, &data[i], i == len - 1);
625 static void ivtv_setscl_old(void *data, int state)
627 struct ivtv *itv = (struct ivtv *)data;
639 static void ivtv_setsda_old(void *data, int state)
641 struct ivtv *itv = (struct ivtv *)data;
653 static int ivtv_getscl_old(void *data)
655 struct ivtv *itv = (struct ivtv *)data;
660 static int ivtv_getsda_old(void *data)
662 struct ivtv *itv = (struct ivtv *)data;
711 itv->i2c_algo.data = itv;