Lines Matching refs:outbuf
93 u8 outbuf[2]; in max5821_sync_powerdown_mode() local
95 outbuf[0] = MAX5821_EXTENDED_COMMAND_MODE; in max5821_sync_powerdown_mode()
98 outbuf[1] = MAX5821_EXTENDED_DAC_A; in max5821_sync_powerdown_mode()
100 outbuf[1] = MAX5821_EXTENDED_DAC_B; in max5821_sync_powerdown_mode()
103 outbuf[1] |= data->powerdown_mode[chan->channel] + 1; in max5821_sync_powerdown_mode()
105 outbuf[1] |= MAX5821_EXTENDED_POWER_UP; in max5821_sync_powerdown_mode()
107 return i2c_master_send(data->client, outbuf, 2); in max5821_sync_powerdown_mode()
174 u8 outbuf[1]; in max5821_get_value() local
181 outbuf[0] = max5821_read_dac_command[channel]; in max5821_get_value()
185 ret = i2c_master_send(client, outbuf, 1); in max5821_get_value()
215 u8 outbuf[2]; in max5821_set_value() local
224 outbuf[0] = max5821_load_dac_command[channel]; in max5821_set_value()
225 outbuf[0] |= val >> 6; in max5821_set_value()
226 outbuf[1] = (val & 0x3f) << 2; in max5821_set_value()
228 ret = i2c_master_send(client, outbuf, 2); in max5821_set_value()
272 u8 outbuf[2] = { MAX5821_EXTENDED_COMMAND_MODE, in max5821_suspend() local
277 return i2c_master_send(to_i2c_client(dev), outbuf, 2); in max5821_suspend()
282 u8 outbuf[2] = { MAX5821_EXTENDED_COMMAND_MODE, in max5821_resume() local
287 return i2c_master_send(to_i2c_client(dev), outbuf, 2); in max5821_resume()