Home
last modified time | relevance | path

Searched full:powerdown (Results 1 – 25 of 205) sorted by relevance

123456789

/linux/Documentation/devicetree/bindings/reset/
H A Dst,stih407-powerdown.yaml4 $id: http://devicetree.org/schemas/reset/st,stih407-powerdown.yaml#
7 title: STMicroelectronics STi family Sysconfig Peripheral Powerdown Reset Controller
15 "powerdown" control bits found in the STi family SoC system configuration
19 The actual action taken when powerdown is asserted is hardware dependent.
26 const: st,stih407-powerdown
41 powerdown: powerdown-controller {
42 compatible = "st,stih407-powerdown";
46 // Specifying powerdown control of devices:
48 resets = <&powerdown STIH407_USB3_POWERDOWN>;
/linux/drivers/iio/dac/
H A Dti-dac082s085.c43 * @powerdown: whether the chip is powered down
54 bool powerdown; member
63 #define POWERDOWN(mode) (0x30 | ((mode) + 1) << 6) macro
97 if (ti_dac->powerdown) { in ti_dac_set_powerdown_mode()
98 ret = ti_dac_cmd(ti_dac, POWERDOWN(mode), 0); in ti_dac_set_powerdown_mode()
123 return sysfs_emit(buf, "%d\n", ti_dac->powerdown); in ti_dac_read_powerdown()
132 bool powerdown; in ti_dac_write_powerdown() local
135 ret = kstrtobool(buf, &powerdown); in ti_dac_write_powerdown()
139 if (ti_dac->powerdown == powerdown) in ti_dac_write_powerdown()
143 if (powerdown) in ti_dac_write_powerdown()
[all …]
H A Dti-dac5571.c50 bool powerdown[4]; member
142 if (data->powerdown[chan->channel]) { in dac5571_set_powerdown_mode()
170 return sysfs_emit(buf, "%d\n", data->powerdown[chan->channel]); in dac5571_read_powerdown()
179 bool powerdown; in dac5571_write_powerdown() local
182 ret = kstrtobool(buf, &powerdown); in dac5571_write_powerdown()
186 if (data->powerdown[chan->channel] == powerdown) in dac5571_write_powerdown()
190 if (powerdown) in dac5571_write_powerdown()
199 data->powerdown[chan->channel] = powerdown; in dac5571_write_powerdown()
210 .name = "powerdown",
280 if (data->powerdown[chan->channel]) in dac5571_write_raw()
H A Dad3530r.c86 bool powerdown; member
206 return sysfs_emit(buf, "%d\n", st->chan[chan->channel].powerdown); in ad3530r_get_dac_powerdown()
217 bool powerdown; in ad3530r_set_dac_powerdown() local
219 ret = kstrtobool(buf, &powerdown); in ad3530r_set_dac_powerdown()
227 pdmode = powerdown ? st->chan[chan->channel].powerdown_mode : 0; in ad3530r_set_dac_powerdown()
237 st->chan[chan->channel].powerdown = powerdown; in ad3530r_set_dac_powerdown()
250 bool powerdown; in ad3532r_set_dac_powerdown() local
253 ret = kstrtobool(buf, &powerdown); in ad3532r_set_dac_powerdown()
267 if (powerdown) { in ad3532r_set_dac_powerdown()
276 st->chan[chan->channel].powerdown = powerdown; in ad3532r_set_dac_powerdown()
[all …]
H A Dmcp4725.c41 bool powerdown; member
56 data->powerdown = true; in mcp4725_suspend()
76 data->powerdown = false; in mcp4725_resume()
107 inoutbuf[0] |= data->powerdown ? ((data->powerdown_mode + 1) << 1) : 0; in mcp4725_store_eeprom()
185 return sysfs_emit(buf, "%d\n", data->powerdown); in mcp4725_read_powerdown()
232 .name = "powerdown",
246 .name = "powerdown",
308 if (data->powerdown) in mcp4726_set_cfg()
309 outbuf[0] |= data->powerdown << 1; in mcp4726_set_cfg()
470 data->powerdown = pd > 0; in mcp4725_probe()
H A Dad5446.c74 bool powerdown; in ad5446_write_dac_powerdown() local
77 ret = kstrtobool(buf, &powerdown); in ad5446_write_dac_powerdown()
82 st->pwr_down = powerdown; in ad5446_write_dac_powerdown()
100 .name = "powerdown",
H A Dmax22007.c283 bool powerdown; in max22007_read_dac_powerdown() local
290 powerdown = !(reg_val & MAX22007_CH_PWRON_CH_MASK(chan->channel)); in max22007_read_dac_powerdown()
292 return sysfs_emit(buf, "%d\n", powerdown); in max22007_read_dac_powerdown()
301 bool powerdown; in max22007_write_dac_powerdown() local
304 ret = kstrtobool(buf, &powerdown); in max22007_write_dac_powerdown()
310 MAX22007_CH_PWR_VAL(chan->channel, powerdown ? 0 : 1)); in max22007_write_dac_powerdown()
319 .name = "powerdown",
H A Dmcp4728.c86 bool powerdown; member
133 if (data->powerdown) { in mcp4728_store_eeprom()
198 if (data->powerdown) in mcp4728_program_channel_cfg()
244 return sysfs_emit(buf, "%d\n", data->powerdown); in mcp4728_read_powerdown()
280 .name = "powerdown",
462 data->powerdown = true; in mcp4728_suspend()
480 data->powerdown = false; in mcp4728_resume()
/linux/Documentation/devicetree/bindings/sound/
H A Dqcom,wsa881x.yaml28 powerdown-gpios:
29 description: GPIO spec for Powerdown/Shutdown line to use
41 - powerdown-gpios
57 powerdown-gpios = <&wcdpinctrl 2 0>;
65 powerdown-gpios = <&wcdpinctrl 2 0>;
/linux/drivers/iio/amplifiers/
H A Dhmc425a.c64 bool powerdown; member
79 if (st->powerdown) in gain_dB_to_code()
115 if (st->powerdown) in code_to_gain_dB()
240 return sysfs_emit(buf, "%d\n", st->powerdown); in ltc6373_read_powerdown()
250 bool powerdown; in ltc6373_write_powerdown() local
253 ret = kstrtobool(buf, &powerdown); in ltc6373_write_powerdown()
258 st->powerdown = powerdown; in ltc6373_write_powerdown()
259 code = (powerdown) ? LTC6373_SHUTDOWN : st->gain; in ltc6373_write_powerdown()
267 .name = "powerdown",
390 st->powerdown = true; in hmc425a_probe()
/linux/Documentation/devicetree/bindings/usb/
H A Ddwc3-st.txt14 for the powerdown and softreset lines of the usb3 IP
15 - reset-names : list of reset signal names. Names should be "powerdown" and "softreset"
16 See: Documentation/devicetree/bindings/reset/st,stih407-powerdown.yaml
49 resets = <&powerdown STIH407_USB3_POWERDOWN>,
51 reset-names = "powerdown", "softreset";
H A Dehci-st.txt17 - resets : phandle + reset specifier pairs to the powerdown and softreset lines
20 See: Documentation/devicetree/bindings/reset/st,stih407-powerdown.yaml
35 resets = <&powerdown STIH416_USB1_POWERDOWN>,
/linux/include/dt-bindings/reset/
H A Dstih407-resets.h4 * based peripheral powerdown requests on the STMicroelectronics
10 /* Powerdown requests control 0 */
14 /* Synp GMAC PowerDown */
17 /* Powerdown requests control 1 */
/linux/Documentation/devicetree/bindings/media/i2c/
H A Dgalaxycore,gc0308.yaml39 powerdown-gpios:
40 description: GPIO descriptor for the powerdown pin.
73 - powerdown-gpios
90 powerdown-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
H A Dgalaxycore,gc2145.yaml34 powerdown-gpios:
76 - powerdown-gpios
100 powerdown-gpios = <&mcp23017 3 (GPIO_ACTIVE_LOW | GPIO_PUSH_PULL)>;
H A Dovti,ov4689.yaml46 powerdown-gpios:
48 GPIO connected to the powerdown pin (active low)
114 powerdown-gpios = <&pio 107 GPIO_ACTIVE_LOW>;
H A Dovti,ov5642.yaml34 powerdown-gpios:
36 description: Reference to the GPIO connected to the powerdown pin, if any.
126 powerdown-gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
H A Dovti,ov5640.yaml37 powerdown-gpios:
40 Reference to the GPIO connected to the powerdown pin, if any.
104 powerdown-gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
/linux/Documentation/devicetree/bindings/mmc/
H A Dmmc-pwrseq-sd8787.yaml18 powerdown-gpios:
30 - powerdown-gpios
40 powerdown-gpios = <&twl_gpio 0 GPIO_ACTIVE_LOW>;
/linux/Documentation/devicetree/bindings/display/bridge/
H A Dps8640.yaml28 powerdown-gpios:
30 description: GPIO connected to active low powerdown.
65 - powerdown-gpios
83 powerdown-gpios = <&pio 116 GPIO_ACTIVE_LOW>;
H A Dnxp,ptn3460.yaml34 powerdown-gpios:
64 - powerdown-gpios
82 powerdown-gpios = <&gpy2 5 GPIO_ACTIVE_HIGH>;
/linux/drivers/reset/sti/
H A Dreset-stih407.c13 /* STiH407 Peripheral powerdown definitions. */
25 /* Powerdown requests control 0 */
28 /* Powerdown requests control 1 (High Speed Links) */
32 /* Ethernet powerdown/status/reset */
132 .compatible = "st,stih407-powerdown",
/linux/Documentation/devicetree/bindings/iio/adc/
H A Dmaxim,max34408.yaml44 powerdown-gpios:
51 powerdown-status-gpios:
123 powerdown-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
124 powerdown-status-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
/linux/sound/pci/cs5535audio/
H A Dcs5535audio_pm.c27 ac97 powerdown hits: in snd_cs5535audio_stop_hardware()
31 0x0400 Analog Mixer powerdown (Vref on) in snd_cs5535audio_stop_hardware()
35 - AC-link powerdown 0x1000 in snd_cs5535audio_stop_hardware()
/linux/Documentation/devicetree/bindings/gpio/
H A Dgpio-consumer-common.yaml30 powerdown-gpios:
38 description: Use powerdown-gpios

123456789