Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iio/dac/
Dad5791.c93 bool pwr_down; member
180 return sysfs_emit(buf, "%d\n", st->pwr_down); in ad5791_read_dac_powerdown()
187 bool pwr_down; in ad5791_write_dac_powerdown() local
191 ret = kstrtobool(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()
380 st->pwr_down = true; in ad5791_probe()
Dad5755.c186 unsigned int pwr_down; member
341 unsigned int channel, bool pwr_down) in ad5755_set_channel_pwr_down() argument
348 if ((bool)(st->pwr_down & mask) == pwr_down) in ad5755_set_channel_pwr_down()
351 if (!pwr_down) { in ad5755_set_channel_pwr_down()
352 st->pwr_down &= ~mask; in ad5755_set_channel_pwr_down()
359 st->pwr_down |= mask; in ad5755_set_channel_pwr_down()
496 (bool)(st->pwr_down & (1 << chan->channel))); in ad5755_read_powerdown()
502 bool pwr_down; in ad5755_write_powerdown() local
505 ret = kstrtobool(buf, &pwr_down); in ad5755_write_powerdown()
509 ret = ad5755_set_channel_pwr_down(indio_dev, chan->channel, pwr_down); in ad5755_write_powerdown()
[all …]
Dad5380.c60 bool pwr_down; member
86 return sysfs_emit(buf, "%d\n", st->pwr_down); in ad5380_read_dac_powerdown()
94 bool pwr_down; in ad5380_write_dac_powerdown() local
97 ret = kstrtobool(buf, &pwr_down); in ad5380_write_dac_powerdown()
103 if (pwr_down) in ad5380_write_dac_powerdown()
108 st->pwr_down = pwr_down; in ad5380_write_dac_powerdown()
Dad5758.c120 bool pwr_down; member
576 return sysfs_emit(buf, "%d\n", st->pwr_down); in ad5758_read_powerdown()
585 bool pwr_down; in ad5758_write_powerdown() local
590 ret = kstrtobool(buf, &pwr_down); in ad5758_write_powerdown()
595 if (pwr_down) in ad5758_write_powerdown()
611 st->pwr_down = pwr_down; in ad5758_write_powerdown()
Dad5446.c50 unsigned pwr_down; member
103 return sysfs_emit(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.c77 bool pwr_down; in ad7303_write_dac_powerdown() local
80 ret = kstrtobool(buf, &pwr_down); in ad7303_write_dac_powerdown()
86 if (pwr_down) in ad7303_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 sysfs_emit(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 = kstrtobool(buf, &pwr_down); in ad5064_write_dac_powerdown()
296 st->pwr_down[chan->channel] = pwr_down; in ad5064_write_dac_powerdown()
Dad5624r_spi.c128 bool pwr_down; in ad5624r_write_dac_powerdown() local
132 ret = kstrtobool(buf, &pwr_down); in ad5624r_write_dac_powerdown()
136 if (pwr_down) in ad5624r_write_dac_powerdown()
Dad5504.c181 bool pwr_down; in ad5504_write_dac_powerdown() local
185 ret = kstrtobool(buf, &pwr_down); in ad5504_write_dac_powerdown()
189 if (pwr_down) in ad5504_write_dac_powerdown()
Dltc2632.c149 bool pwr_down; in ltc2632_write_dac_powerdown() local
153 ret = kstrtobool(buf, &pwr_down); in ltc2632_write_dac_powerdown()
157 if (pwr_down) in ltc2632_write_dac_powerdown()
Dad5360.c284 bool pwr_down; in ad5360_write_dac_powerdown() local
287 ret = kstrtobool(buf, &pwr_down); in ad5360_write_dac_powerdown()
291 if (pwr_down) in ad5360_write_dac_powerdown()
/linux-6.12.1/drivers/mtd/devices/
Ddocg3.c1924 u8 ctrl, pwr_down; in docg3_suspend() local
1941 pwr_down = doc_register_readb(docg3, DOC_POWERMODE); in docg3_suspend()
1942 if (pwr_down & DOC_POWERDOWN_READY) in docg3_suspend()
1945 if (pwr_down & DOC_POWERDOWN_READY) { in docg3_suspend()
/linux-6.12.1/Documentation/ABI/stable/
Dsysfs-driver-mlxreg-io62 /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_down
76 When pwr_down is written 1, system's main power domain will go
/linux-6.12.1/drivers/pinctrl/qcom/
Dpinctrl-msm8976.c893 MSM_PIN_FUNCTION(pwr_down),
Dpinctrl-msm8953.c1577 MSM_PIN_FUNCTION(pwr_down),