Lines Matching refs:outbuf
41 u8 outbuf[2]; in mcp4725_suspend() local
43 outbuf[0] = (data->powerdown_mode + 1) << 4; in mcp4725_suspend()
44 outbuf[1] = 0; in mcp4725_suspend()
47 return i2c_master_send(data->client, outbuf, 2); in mcp4725_suspend()
54 u8 outbuf[2]; in mcp4725_resume() local
57 outbuf[0] = (data->dac_value >> 8) & 0xf; in mcp4725_resume()
58 outbuf[1] = data->dac_value & 0xff; in mcp4725_resume()
61 return i2c_master_send(data->client, outbuf, 2); in mcp4725_resume()
217 u8 outbuf[2]; in mcp4725_set_value() local
223 outbuf[0] = (val >> 8) & 0xf; in mcp4725_set_value()
224 outbuf[1] = val & 0xff; in mcp4725_set_value()
226 ret = i2c_master_send(data->client, outbuf, 2); in mcp4725_set_value()