Home
last modified time | relevance | path

Searched refs:pwr_down (Results 1 – 13 of 13) sorted by relevance

/drivers/iio/dac/
Dad5791.c93 bool pwr_down; member
180 return sprintf(buf, "%d\n", st->pwr_down); in ad5791_read_dac_powerdown()
187 bool pwr_down; in ad5791_write_dac_powerdown() local
191 ret = strtobool(buf, &pwr_down); in ad5791_write_dac_powerdown()
195 if (!pwr_down) { in ad5791_write_dac_powerdown()
203 st->pwr_down = pwr_down; in ad5791_write_dac_powerdown()
379 st->pwr_down = true; in ad5791_probe()
Dad5755.c91 unsigned int pwr_down; member
248 unsigned int channel, bool pwr_down) in ad5755_set_channel_pwr_down() argument
255 if ((bool)(st->pwr_down & mask) == pwr_down) in ad5755_set_channel_pwr_down()
258 if (!pwr_down) { in ad5755_set_channel_pwr_down()
259 st->pwr_down &= ~mask; in ad5755_set_channel_pwr_down()
266 st->pwr_down |= mask; in ad5755_set_channel_pwr_down()
403 (bool)(st->pwr_down & (1 << chan->channel))); in ad5755_read_powerdown()
409 bool pwr_down; in ad5755_write_powerdown() local
412 ret = strtobool(buf, &pwr_down); in ad5755_write_powerdown()
416 ret = ad5755_set_channel_pwr_down(indio_dev, chan->channel, pwr_down); in ad5755_write_powerdown()
[all …]
Dad5380.c62 bool pwr_down; member
88 return sprintf(buf, "%d\n", st->pwr_down); in ad5380_read_dac_powerdown()
96 bool pwr_down; in ad5380_write_dac_powerdown() local
99 ret = strtobool(buf, &pwr_down); in ad5380_write_dac_powerdown()
105 if (pwr_down) in ad5380_write_dac_powerdown()
110 st->pwr_down = pwr_down; in ad5380_write_dac_powerdown()
Dad5758.c121 bool pwr_down; member
577 return sprintf(buf, "%d\n", st->pwr_down); in ad5758_read_powerdown()
586 bool pwr_down; in ad5758_write_powerdown() local
591 ret = kstrtobool(buf, &pwr_down); in ad5758_write_powerdown()
596 if (pwr_down) in ad5758_write_powerdown()
612 st->pwr_down = pwr_down; in ad5758_write_powerdown()
Dad5446.c50 unsigned pwr_down; member
103 return sprintf(buf, "%d\n", st->pwr_down); in ad5446_read_dac_powerdown()
122 st->pwr_down = powerdown; in ad5446_write_dac_powerdown()
124 if (st->pwr_down) { in ad5446_write_dac_powerdown()
208 if (!st->pwr_down) in ad5446_write_raw()
Dad7303.c79 bool pwr_down; in ad7303_write_dac_powerdown() local
82 ret = strtobool(buf, &pwr_down); in ad7303_write_dac_powerdown()
88 if (pwr_down) in ad7303_write_dac_powerdown()
Dad5624r_spi.c128 bool pwr_down; in ad5624r_write_dac_powerdown() local
132 ret = strtobool(buf, &pwr_down); in ad5624r_write_dac_powerdown()
136 if (pwr_down) in ad5624r_write_dac_powerdown()
Dad5064.c109 bool pwr_down[AD5064_MAX_DAC_CHANNELS]; member
219 if (st->pwr_down[chan->channel]) in ad5064_sync_powerdown_mode()
280 return sprintf(buf, "%d\n", st->pwr_down[chan->channel]); in ad5064_read_dac_powerdown()
288 bool pwr_down; in ad5064_write_dac_powerdown() local
291 ret = strtobool(buf, &pwr_down); in ad5064_write_dac_powerdown()
296 st->pwr_down[chan->channel] = pwr_down; in ad5064_write_dac_powerdown()
Dad5504.c181 bool pwr_down; in ad5504_write_dac_powerdown() local
185 ret = strtobool(buf, &pwr_down); in ad5504_write_dac_powerdown()
189 if (pwr_down) in ad5504_write_dac_powerdown()
Dltc2632.c148 bool pwr_down; in ltc2632_write_dac_powerdown() local
152 ret = strtobool(buf, &pwr_down); in ltc2632_write_dac_powerdown()
156 if (pwr_down) in ltc2632_write_dac_powerdown()
Dad5360.c284 bool pwr_down; in ad5360_write_dac_powerdown() local
287 ret = strtobool(buf, &pwr_down); in ad5360_write_dac_powerdown()
291 if (pwr_down) in ad5360_write_dac_powerdown()
/drivers/mtd/devices/
Ddocg3.c1917 u8 ctrl, pwr_down; in docg3_suspend() local
1934 pwr_down = doc_register_readb(docg3, DOC_POWERMODE); in docg3_suspend()
1935 if (pwr_down & DOC_POWERDOWN_READY) in docg3_suspend()
1938 if (pwr_down & DOC_POWERDOWN_READY) { in docg3_suspend()
/drivers/pinctrl/qcom/
Dpinctrl-msm8976.c901 FUNCTION(pwr_down),