Searched refs:pwr_down (Results 1 – 11 of 11) sorted by relevance
/drivers/iio/dac/ |
D | ad5755.c | 90 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 …]
|
D | ad5791.c | 92 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()
|
D | ad5380.c | 62 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()
|
D | ad5064.c | 89 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()
|
D | ad5446.c | 44 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()
|
D | ad7303.c | 76 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()
|
D | ad5624r_spi.c | 129 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()
|
D | ad5504.c | 183 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()
|
D | ad5360.c | 282 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/ |
D | docg4.c | 1140 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/ |
D | docg3.c | 1991 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()
|