Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iio/dac/
Dad5791.c92 unsigned pwr_down_mode; member
155 return st->pwr_down_mode; in ad5791_get_powerdown_mode()
163 st->pwr_down_mode = mode; in ad5791_set_powerdown_mode()
198 if (st->pwr_down_mode == AD5791_DAC_PWRDN_6K) in ad5791_write_dac_powerdown()
200 else if (st->pwr_down_mode == AD5791_DAC_PWRDN_3STATE) in ad5791_write_dac_powerdown()
Dad5504.c55 unsigned pwr_down_mode; member
148 return st->pwr_down_mode; in ad5504_get_powerdown_mode()
156 st->pwr_down_mode = mode; in ad5504_set_powerdown_mode()
195 AD5504_DAC_PWRDWN_MODE(st->pwr_down_mode) | in ad5504_write_dac_powerdown()
Dad5446.c49 unsigned pwr_down_mode; member
76 st->pwr_down_mode = mode + 1; in ad5446_set_powerdown_mode()
86 return st->pwr_down_mode - 1; in ad5446_get_powerdown_mode()
126 val = st->pwr_down_mode << shift; in ad5446_write_dac_powerdown()
265 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()
494 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.c110 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()
896 st->pwr_down_mode[i] = AD5064_LDAC_PWRDN_1K; in ad5064_probe()
Dad5686.h136 unsigned int pwr_down_mode; member