Home
last modified time | relevance | path

Searched refs:pwr_down_mode (Results 1 – 7 of 7) sorted by relevance

/drivers/iio/dac/
Dad5686.c74 unsigned pwr_down_mode; member
144 return ((st->pwr_down_mode >> (chan->channel * 2)) & 0x3) - 1; in ad5686_get_powerdown_mode()
152 st->pwr_down_mode &= ~(0x3 << (chan->channel * 2)); in ad5686_set_powerdown_mode()
153 st->pwr_down_mode |= ((mode + 1) << (chan->channel * 2)); in ad5686_set_powerdown_mode()
192 st->pwr_down_mask & st->pwr_down_mode, 0); in ad5686_write_dac_powerdown()
348 st->pwr_down_mode = 0x55; in ad5686_probe()
Dad5791.c92 unsigned pwr_down_mode; member
163 return st->pwr_down_mode; in ad5791_get_powerdown_mode()
171 st->pwr_down_mode = mode; in ad5791_set_powerdown_mode()
206 if (st->pwr_down_mode == AD5791_DAC_PWRDN_6K) in ad5791_write_dac_powerdown()
208 else if (st->pwr_down_mode == AD5791_DAC_PWRDN_3STATE) in ad5791_write_dac_powerdown()
Dad5504.c57 unsigned pwr_down_mode; member
157 return st->pwr_down_mode; in ad5504_get_powerdown_mode()
165 st->pwr_down_mode = mode; in ad5504_set_powerdown_mode()
204 AD5504_DAC_PWRDWN_MODE(st->pwr_down_mode) | in ad5504_write_dac_powerdown()
Dad5446.c43 unsigned pwr_down_mode; member
69 st->pwr_down_mode = mode + 1; in ad5446_set_powerdown_mode()
79 return st->pwr_down_mode - 1; in ad5446_get_powerdown_mode()
119 val = st->pwr_down_mode << shift; in ad5446_write_dac_powerdown()
256 st->pwr_down_mode = MODE_PWRDWN_1k; in ad5446_probe()
Dad5064.c90 u8 pwr_down_mode[AD5064_MAX_DAC_CHANNELS]; member
141 val |= st->pwr_down_mode[chan->channel] << 8; in ad5064_sync_powerdown_mode()
159 return st->pwr_down_mode[chan->channel] - 1; in ad5064_get_powerdown_mode()
169 st->pwr_down_mode[chan->channel] = mode + 1; in ad5064_set_powerdown_mode()
488 st->pwr_down_mode[i] = AD5064_LDAC_PWRDN_1K; in ad5064_probe()
Dad5624r_spi.c102 return st->pwr_down_mode; in ad5624r_get_powerdown_mode()
110 st->pwr_down_mode = mode; in ad5624r_set_powerdown_mode()
149 (st->pwr_down_mode << 4) | in ad5624r_write_dac_powerdown()
Dad5624r.h61 unsigned pwr_down_mode; member