Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/iio/dac/
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()
382 st->pwr_down = true; in ad5791_probe()
Dad5755.c91 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 …]
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()
Dad5758.c115 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()
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()
Dad5064.c109 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()
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()
Dltc2632.c140 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()
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()
/Linux-v4.19/Documentation/ABI/stable/
Dsysfs-driver-mlxreg-io38 /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/
Ddocg4.c1171 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/
Ddocg3.c1932 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()