Home
last modified time | relevance | path

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

/drivers/iio/dac/
Dad5755.c90 unsigned int pwr_down; member
199 unsigned int channel, bool pwr_down) in ad5755_set_channel_pwr_down() argument
206 if ((bool)(st->pwr_down & mask) == pwr_down) in ad5755_set_channel_pwr_down()
209 if (!pwr_down) { in ad5755_set_channel_pwr_down()
210 st->pwr_down &= ~mask; in ad5755_set_channel_pwr_down()
217 st->pwr_down |= mask; in ad5755_set_channel_pwr_down()
354 (bool)(st->pwr_down & (1 << chan->channel))); in ad5755_read_powerdown()
360 bool pwr_down; in ad5755_write_powerdown() local
363 ret = strtobool(buf, &pwr_down); in ad5755_write_powerdown()
367 ret = ad5755_set_channel_pwr_down(indio_dev, chan->channel, pwr_down); in ad5755_write_powerdown()
[all …]
Dad5791.c92 bool pwr_down; member
183 return sprintf(buf, "%d\n", st->pwr_down); in ad5791_read_dac_powerdown()
190 bool pwr_down; in ad5791_write_dac_powerdown() local
194 ret = strtobool(buf, &pwr_down); in ad5791_write_dac_powerdown()
198 if (!pwr_down) { in ad5791_write_dac_powerdown()
206 st->pwr_down = pwr_down; in ad5791_write_dac_powerdown()
383 st->pwr_down = true; in ad5791_probe()
Dad5380.c62 bool pwr_down; member
87 return sprintf(buf, "%d\n", st->pwr_down); in ad5380_read_dac_powerdown()
95 bool pwr_down; in ad5380_write_dac_powerdown() local
98 ret = strtobool(buf, &pwr_down); in ad5380_write_dac_powerdown()
104 if (pwr_down) in ad5380_write_dac_powerdown()
109 st->pwr_down = pwr_down; in ad5380_write_dac_powerdown()
Dad5064.c89 bool pwr_down[AD5064_MAX_DAC_CHANNELS]; member
140 if (st->pwr_down[chan->channel]) in ad5064_sync_powerdown_mode()
189 return sprintf(buf, "%d\n", st->pwr_down[chan->channel]); in ad5064_read_dac_powerdown()
197 bool pwr_down; in ad5064_write_dac_powerdown() local
200 ret = strtobool(buf, &pwr_down); in ad5064_write_dac_powerdown()
205 st->pwr_down[chan->channel] = pwr_down; in ad5064_write_dac_powerdown()
Dad5446.c44 unsigned pwr_down; member
96 return sprintf(buf, "%d\n", st->pwr_down); in ad5446_read_dac_powerdown()
115 st->pwr_down = powerdown; in ad5446_write_dac_powerdown()
117 if (st->pwr_down) { in ad5446_write_dac_powerdown()
201 if (!st->pwr_down) in ad5446_write_raw()
Dad7303.c76 bool pwr_down; in ad7303_write_dac_powerdown() local
79 ret = strtobool(buf, &pwr_down); in ad7303_write_dac_powerdown()
85 if (pwr_down) in ad7303_write_dac_powerdown()
Dad5624r_spi.c129 bool pwr_down; in ad5624r_write_dac_powerdown() local
133 ret = strtobool(buf, &pwr_down); in ad5624r_write_dac_powerdown()
137 if (pwr_down) in ad5624r_write_dac_powerdown()
Dad5504.c183 bool pwr_down; in ad5504_write_dac_powerdown() local
187 ret = strtobool(buf, &pwr_down); in ad5504_write_dac_powerdown()
191 if (pwr_down) in ad5504_write_dac_powerdown()
Dad5360.c282 bool pwr_down; in ad5360_write_dac_powerdown() local
285 ret = strtobool(buf, &pwr_down); in ad5360_write_dac_powerdown()
289 if (pwr_down) in ad5360_write_dac_powerdown()
/drivers/mtd/nand/
Ddocg4.c1140 uint8_t pwr_down; in docg4_suspend() local
1148 pwr_down = readb(docptr + DOC_POWERMODE); in docg4_suspend()
1149 if (pwr_down & DOC_POWERDOWN_READY) in docg4_suspend()
1154 if (pwr_down & DOC_POWERDOWN_READY) { in docg4_suspend()
/drivers/mtd/devices/
Ddocg3.c1991 u8 ctrl, pwr_down; in docg3_suspend() local
2008 pwr_down = doc_register_readb(docg3, DOC_POWERMODE); in docg3_suspend()
2009 if (pwr_down & DOC_POWERDOWN_READY) in docg3_suspend()
2012 if (pwr_down & DOC_POWERDOWN_READY) { in docg3_suspend()