63 buf[3] = (val >> 8) & 0xff;
64 buf[4] = (val >> 16) & 0xff;
103 static void i2c_av_and_or(
struct i2c_adapter *i2c,
u16 reg,
unsigned and_mask,
106 i2c_av_write(i2c, reg, (i2c_av_read(i2c, reg) & and_mask) | or_value);
115 i2c_av_and_or(i2c, 0x803, ~0x10, 0x00);
118 i2c_av_write4(i2c, 0x114, 0xea0eb3);
121 i2c_av_write4(i2c, 0x110, 0x090319);
124 i2c_av_and_or(i2c, 0x803, ~0x10, 0x10);