Lines Matching full:endianness
68 * @endianness: big/little-endian byte order
82 enum xiic_endian endianness; member
181 * version are necessary. Endianness is detected during the probe function.
189 if (i2c->endianness == LITTLE) in xiic_setreg8()
199 if (i2c->endianness == LITTLE) in xiic_getreg8()
208 if (i2c->endianness == LITTLE) in xiic_setreg16()
216 if (i2c->endianness == LITTLE) in xiic_setreg32()
226 if (i2c->endianness == LITTLE) in xiic_getreg32()
793 * Detect endianness in xiic_i2c_probe()
795 * set, assume that the endianness was wrong and swap. in xiic_i2c_probe()
797 i2c->endianness = LITTLE; in xiic_i2c_probe()
802 i2c->endianness = BIG; in xiic_i2c_probe()