Lines Matching full:endianness
59 * @endianness: big/little-endian byte order
75 enum xiic_endian endianness; member
178 * version are necessary. Endianness is detected during the probe function.
186 if (i2c->endianness == LITTLE) in xiic_setreg8()
196 if (i2c->endianness == LITTLE) in xiic_getreg8()
205 if (i2c->endianness == LITTLE) in xiic_setreg16()
213 if (i2c->endianness == LITTLE) in xiic_setreg32()
223 if (i2c->endianness == LITTLE) in xiic_getreg32()
829 * Detect endianness in xiic_i2c_probe()
831 * set, assume that the endianness was wrong and swap. in xiic_i2c_probe()
833 i2c->endianness = LITTLE; in xiic_i2c_probe()
838 i2c->endianness = BIG; in xiic_i2c_probe()