Lines Matching refs:length
112 int alen, u8 *data, int length) in __i2c_read() argument
140 if (length) { in __i2c_read()
143 wlen = length; in __i2c_read()
145 while (length | wlen) { in __i2c_read()
157 if ((length > 0) in __i2c_read()
159 length--; in __i2c_read()
179 int alen, u8 *data, int length) in __i2c_write() argument
188 if (alen | length) in __i2c_write()
200 if (!(alen | length)) in __i2c_write()
206 while (length) { in __i2c_write()
211 length--; in __i2c_write()
213 if (!length) in __i2c_write()
241 int alen, u8 *data, int length) in lpc32xx_i2c_read() argument
244 alen, data, length); in lpc32xx_i2c_read()
248 int alen, u8 *data, int length) in lpc32xx_i2c_write() argument
251 alen, data, length); in lpc32xx_i2c_write()