Home
last modified time | relevance | path

Searched refs:pwr_down_mask (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/iio/dac/
H A Dad5504.c54 unsigned pwr_down_mask; member
174 !(st->pwr_down_mask & (1 << chan->channel))); in ad5504_read_dac_powerdown()
190 st->pwr_down_mask &= ~(1 << chan->channel); in ad5504_write_dac_powerdown()
192 st->pwr_down_mask |= (1 << chan->channel); in ad5504_write_dac_powerdown()
196 AD5504_DAC_PWR(st->pwr_down_mask)); in ad5504_write_dac_powerdown()
H A Dad5624r_spi.c121 !!(st->pwr_down_mask & (1 << chan->channel))); in ad5624r_read_dac_powerdown()
137 st->pwr_down_mask |= (1 << chan->channel); in ad5624r_write_dac_powerdown()
139 st->pwr_down_mask &= ~(1 << chan->channel); in ad5624r_write_dac_powerdown()
143 st->pwr_down_mask, 16); in ad5624r_write_dac_powerdown()
H A Dad5624r.h59 unsigned pwr_down_mask; member
H A Dad5686.c60 return sysfs_emit(buf, "%d\n", !!(st->pwr_down_mask & in ad5686_read_dac_powerdown()
81 st->pwr_down_mask |= (0x3 << (chan->channel * 2)); in ad5686_write_dac_powerdown()
83 st->pwr_down_mask &= ~(0x3 << (chan->channel * 2)); in ad5686_write_dac_powerdown()
109 val = ((st->pwr_down_mask & st->pwr_down_mode) << shift); in ad5686_write_dac_powerdown()
H A Dad5686.h135 unsigned int pwr_down_mask; member