Lines Matching refs:i2c_delay
94 static void i2c_delay(unsigned int cycles_to_wait) in i2c_delay() function
111 i2c_delay(context->delays[T_LOW]); in i2c_start()
113 i2c_delay(context->delays[T_SU_STA]); in i2c_start()
116 i2c_delay(context->delays[T_HD_STA]); in i2c_start()
119 i2c_delay(context->delays[T_LOW]); in i2c_start()
126 i2c_delay(context->delays[T_HIGH]); in i2c_repeated_start()
128 i2c_delay(context->delays[T_SU_STA]); in i2c_repeated_start()
135 i2c_delay(context->delays[T_LOW]); in i2c_stop()
138 i2c_delay(context->delays[T_HIGH]); in i2c_stop()
140 i2c_delay(context->delays[T_SU_STP]); in i2c_stop()
142 i2c_delay(context->delays[T_BUF]); /* In case we start again too soon */ in i2c_stop()
150 i2c_delay(context->delays[T_HIGH]); in i2c_write_bit()
152 i2c_delay(context->delays[T_LOW]); in i2c_write_bit()
163 i2c_delay(context->delays[T_HIGH]); in i2c_read_bit()
168 i2c_delay(context->delays[T_LOW]); in i2c_read_bit()