Lines Matching refs:state
21 here is to poll the lines for state changes (see ivtv_waitscl and
319 /* Set the serial clock line to the desired state */
320 static void ivtv_setscl(struct ivtv *itv, int state)
324 write_reg(~state, IVTV_REG_I2C_SETSCL_OFFSET);
327 /* Set the serial data line to the desired state */
328 static void ivtv_setsda(struct ivtv *itv, int state)
332 write_reg(~state & 1, IVTV_REG_I2C_SETSDA_OFFSET);
625 static void ivtv_setscl_old(void *data, int state)
629 if (state)
639 static void ivtv_setsda_old(void *data, int state)
643 if (state)