/Linux-v4.19/drivers/iio/dac/ |
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() 382 st->pwr_down = true; in ad5791_probe()
|
D | ad5755.c | 91 unsigned int pwr_down; member 245 unsigned int channel, bool pwr_down) in ad5755_set_channel_pwr_down() argument 252 if ((bool)(st->pwr_down & mask) == pwr_down) in ad5755_set_channel_pwr_down() 255 if (!pwr_down) { in ad5755_set_channel_pwr_down() 256 st->pwr_down &= ~mask; in ad5755_set_channel_pwr_down() 263 st->pwr_down |= mask; in ad5755_set_channel_pwr_down() 400 (bool)(st->pwr_down & (1 << chan->channel))); in ad5755_read_powerdown() 406 bool pwr_down; in ad5755_write_powerdown() local 409 ret = strtobool(buf, &pwr_down); in ad5755_write_powerdown() 413 ret = ad5755_set_channel_pwr_down(indio_dev, chan->channel, pwr_down); in ad5755_write_powerdown() [all …]
|
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 | ad5758.c | 115 bool pwr_down; member 561 return sprintf(buf, "%d\n", st->pwr_down); in ad5758_read_powerdown() 570 bool pwr_down; in ad5758_write_powerdown() local 575 ret = kstrtobool(buf, &pwr_down); in ad5758_write_powerdown() 580 if (pwr_down) { in ad5758_write_powerdown() 610 st->pwr_down = pwr_down; in ad5758_write_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 | ad5064.c | 109 bool pwr_down[AD5064_MAX_DAC_CHANNELS]; member 218 if (st->pwr_down[chan->channel]) in ad5064_sync_powerdown_mode() 279 return sprintf(buf, "%d\n", st->pwr_down[chan->channel]); in ad5064_read_dac_powerdown() 287 bool pwr_down; in ad5064_write_dac_powerdown() local 290 ret = strtobool(buf, &pwr_down); in ad5064_write_dac_powerdown() 295 st->pwr_down[chan->channel] = pwr_down; in ad5064_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 | ltc2632.c | 140 bool pwr_down; in ltc2632_write_dac_powerdown() local 144 ret = strtobool(buf, &pwr_down); in ltc2632_write_dac_powerdown() 148 if (pwr_down) in ltc2632_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()
|
/Linux-v4.19/Documentation/ABI/stable/ |
D | sysfs-driver-mlxreg-io | 38 /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_down 52 When pwr_down is written 1, system's main power domain will go
|
/Linux-v4.19/drivers/mtd/nand/raw/ |
D | docg4.c | 1171 uint8_t pwr_down; in docg4_suspend() local 1179 pwr_down = readb(docptr + DOC_POWERMODE); in docg4_suspend() 1180 if (pwr_down & DOC_POWERDOWN_READY) in docg4_suspend() 1185 if (pwr_down & DOC_POWERDOWN_READY) { in docg4_suspend()
|
/Linux-v4.19/drivers/mtd/devices/ |
D | docg3.c | 1932 u8 ctrl, pwr_down; in docg3_suspend() local 1949 pwr_down = doc_register_readb(docg3, DOC_POWERMODE); in docg3_suspend() 1950 if (pwr_down & DOC_POWERDOWN_READY) in docg3_suspend() 1953 if (pwr_down & DOC_POWERDOWN_READY) { in docg3_suspend()
|