Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/iio/dac/
Dad5791.c90 unsigned pwr_down_mode; member
157 return st->pwr_down_mode; in ad5791_get_powerdown_mode()
165 st->pwr_down_mode = mode; in ad5791_set_powerdown_mode()
200 if (st->pwr_down_mode == AD5791_DAC_PWRDN_6K) in ad5791_write_dac_powerdown()
202 else if (st->pwr_down_mode == AD5791_DAC_PWRDN_3STATE) in ad5791_write_dac_powerdown()
Dad5504.c55 unsigned pwr_down_mode; member
149 return st->pwr_down_mode; in ad5504_get_powerdown_mode()
157 st->pwr_down_mode = mode; in ad5504_set_powerdown_mode()
196 AD5504_DAC_PWRDWN_MODE(st->pwr_down_mode) | in ad5504_write_dac_powerdown()
Dad5446.c42 unsigned pwr_down_mode; member
68 st->pwr_down_mode = mode + 1; in ad5446_set_powerdown_mode()
78 return st->pwr_down_mode - 1; in ad5446_get_powerdown_mode()
118 val = st->pwr_down_mode << shift; in ad5446_write_dac_powerdown()
257 st->pwr_down_mode = MODE_PWRDWN_1k; in ad5446_probe()
Dad5686.c33 return ((st->pwr_down_mode >> (chan->channel * 2)) & 0x3) - 1; in ad5686_get_powerdown_mode()
42 st->pwr_down_mode &= ~(0x3 << (chan->channel * 2)); in ad5686_set_powerdown_mode()
43 st->pwr_down_mode |= ((mode + 1) << (chan->channel * 2)); in ad5686_set_powerdown_mode()
109 val = ((st->pwr_down_mask & st->pwr_down_mode) << shift); in ad5686_write_dac_powerdown()
462 st->pwr_down_mode |= (0x01 << (i * 2)); in ad5686_probe()
Dad5624r_spi.c95 return st->pwr_down_mode; in ad5624r_get_powerdown_mode()
103 st->pwr_down_mode = mode; in ad5624r_set_powerdown_mode()
142 (st->pwr_down_mode << 4) | in ad5624r_write_dac_powerdown()
Dad5624r.h60 unsigned pwr_down_mode; member
Dad5064.c109 u8 pwr_down_mode[AD5064_MAX_DAC_CHANNELS]; member
220 val |= st->pwr_down_mode[chan->channel] << shift; in ad5064_sync_powerdown_mode()
243 return st->pwr_down_mode[chan->channel] - 1; in ad5064_get_powerdown_mode()
253 st->pwr_down_mode[chan->channel] = mode + 1; in ad5064_set_powerdown_mode()
887 st->pwr_down_mode[i] = AD5064_LDAC_PWRDN_1K; in ad5064_probe()
Dad5686.h129 unsigned int pwr_down_mode; member