Searched refs:dac_cache (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/iio/dac/
H A Dad7303.c33 * @dac_cache: current DAC raw value (chip does not support readback)
40 uint8_t dac_cache[2]; member in struct:ad7303_state
92 ad7303_write(st, chan->channel, st->dac_cache[chan->channel]); ad7303_write_dac_powerdown()
120 *val = st->dac_cache[chan->channel]; ad7303_read_raw()
151 st->dac_cache[chan->channel] = val; ad7303_write_raw()
H A Dad5449.c58 * @dac_cache: Cache for the DAC values
67 uint16_t dac_cache[AD5449_MAX_CHANNELS]; member in struct:ad5449
148 *val = st->dac_cache[chan->address]; ad5449_read_raw()
184 st->dac_cache[chan->address] = val; ad5449_write_raw()
H A Dad5064.c78 * @dac_cache: current DAC raw value (chip does not support readback)
91 unsigned int dac_cache[AD5064_MAX_DAC_CHANNELS]; member in struct:ad5064_state
239 *val = st->dac_cache[chan->channel]; ad5064_read_raw()
270 st->dac_cache[chan->channel] = val; ad5064_write_raw()
525 st->dac_cache[i] = midscale; ad5064_probe()

Completed in 99 milliseconds