Lines Matching refs:addr
38 static int go7007_i2c_xfer(struct go7007 *go, u16 addr, int read,
50 command, addr);
54 *data, command, addr);
86 (addr << 9) | (command >> 8));
97 (addr << 9) | 0x0100 | (command >> 8));
128 static int go7007_smbus_xfer(struct i2c_adapter *adapter, u16 addr,
136 return go7007_i2c_xfer(go, addr, read_write == I2C_SMBUS_READ, command,
155 if (i + 1 == num || msgs[i].addr != msgs[i + 1].addr ||
160 if (go7007_i2c_xfer(go, msgs[i].addr, 1,
168 if (go7007_i2c_xfer(go, msgs[i].addr, 0,