Lines Matching refs:alen
473 uint alen, uchar *buffer, uint len, uint seq) in nx_i2c_read() argument
483 if (alen > 4) { in nx_i2c_read()
484 debug("I2C read: addr len %d not supported\n", alen); in nx_i2c_read()
488 if (alen > 0) in nx_i2c_read()
491 if (alen > 0) { in nx_i2c_read()
499 &xaddr[4 - alen], alen, buffer, len, seq); in nx_i2c_read()
510 uint alen, uchar *buffer, uint len, uint seq) in nx_i2c_write() argument
520 if (alen > 4) { in nx_i2c_write()
521 debug("I2C write: addr len %d not supported\n", alen); in nx_i2c_write()
525 if (alen > 0) { in nx_i2c_write()
533 &xaddr[4 - alen], alen, buffer, len, seq); in nx_i2c_write()