/freebsd/sys/contrib/openzfs/cmd/zed/zed.d/ |
H A D | deadman-slot_off.sh | 4 # Turn off disk's enclosure slot if an I/O is hung triggering the deadman. 16 # slot will be powered off causing the outstanding I/O to fail. The ZED 27 # 0: slot successfully powered off 32 # 5: Enclosure slot didn't actually turn off after we told it to 34 [ -f "${ZED_ZEDLET_DIR}/zed.rc" ] && . "${ZED_ZEDLET_DIR}/zed.rc" 35 . "${ZED_ZEDLET_DIR}/zed-functions.sh" 37 if [ ! -d /sys/class/enclosure ] ; then 50 if [ ! -f "$ZEVENT_VDEV_ENC_SYSFS_PATH/power_status" ] ; then 54 # Turn off the slot and wait for sysfs to report that the slot is off. 57 echo "off" | tee "$ZEVENT_VDEV_ENC_SYSFS_PATH/power_status" [all …]
|
H A D | statechange-slot_off.sh | 4 # Turn off disk's enclosure slot if it becomes FAULTED. 20 # 0: slot successfully powered off 25 # 5: Enclosure slot didn't actually turn off after we told it to 27 [ -f "${ZED_ZEDLET_DIR}/zed.rc" ] && . "${ZED_ZEDLET_DIR}/zed.rc" 28 . "${ZED_ZEDLET_DIR}/zed-functions.sh" 30 if [ ! -d /sys/class/enclosure ] ; then 43 if [ ! -f "$ZEVENT_VDEV_ENC_SYSFS_PATH/power_status" ] ; then 47 # Turn off the slot and wait for sysfs to report that the slot is off. 50 echo "off" | tee "$ZEVENT_VDEV_ENC_SYSFS_PATH/power_status" 53 if [ "$(cat $ZEVENT_VDEV_ENC_SYSFS_PATH/power_status)" == "off" ] ; then [all …]
|
/freebsd/sys/cddl/compat/opensolaris/sys/ |
H A D | cpuvar.h | 55 * The cpu_core structure consists of per-CPU state available in any context. 57 * NCPU-sized array of cpu_core structures must be locked in the TLB -- it 64 #define CPUC_PADSIZE CPUC_SIZE1 - CPUC_SIZE 83 * Offlined-CPUs have three stages of being offline: 87 * is off, the CPU will not be given interrupts that can be sent elsewhere, 97 * stay in the idle loop until CPU_QUIESCED is turned off. 103 * On some platforms CPUs can be individually powered off. 104 * The following flags are set for powered off CPUs: CPU_QUIESCED, 109 #define CPU_READY 0x002 /* CPU ready for cross-calls */ 114 #define CPU_POWEROFF 0x040 /* CPU is powered off */
|
/freebsd/sys/contrib/device-tree/include/dt-bindings/sound/ |
H A D | tlv320adc3xxx.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 10 #define ADC3XXX_GPIO_DISABLED 0 /* I/O buffers powered down */ 11 #define ADC3XXX_GPIO_INPUT 1 /* Various non-GPIO inputs */ 21 /* values 11-15 reserved */ 23 #define ADC3XXX_MICBIAS_OFF 0 /* Micbias pin powered off */
|
/freebsd/sys/cddl/contrib/opensolaris/uts/common/sys/ |
H A D | processor.h | 61 * These flags are *not* for in-kernel examination of CPU states. 68 #define P_POWEROFF 0x0005 /* processor is powered off */ 77 #define PS_OFFLINE "off-line" 78 #define PS_ONLINE "on-line" 80 #define PS_POWEROFF "powered-off" 81 #define PS_NOINTR "no-intr" 91 * The pi_fputypes field contains a (possibly empty) comma-separated 107 #define PBIND_NONE -1 /* LWP/thread is not bound */ 108 #define PBIND_QUERY -2 /* don't set, just return the binding */ 109 #define PBIND_HARD -3 /* prevents offlining CPU (default) */ [all …]
|
/freebsd/sys/cam/ctl/ |
H A D | ctl_backend.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2014-2017 Alexander Motin <mav@FreeBSD.org> 33 * $Id: //depot/users/kenm/FreeBSD-test2/sys/cam/ctl/ctl_backend.h#2 $ 121 * page 0x80. This should be a unique, per-shelf value. The data inside 127 * page 0x83. This should be a unique, per-LUN value. The data inside 135 * backend gets this call, it can safely free its per-LU [all...] |
/freebsd/sys/dev/acpica/ |
H A D | acpi_powerres.c | 1 /*- 44 * Thus, we must track the device(s) being powered by a given power 45 * resource, and only deactivate it when there are no powered devices. 48 * ugly case where we may turn off power to a device which is in use because 53 * on, turned off, etc. 74 /* A power-managed device. */ 76 /* Device which is powered */ 144 TAILQ_INIT(&rp->ap_references); in acpi_pwr_register_resource() 145 rp->ap_resource = res; in acpi_pwr_register_resource() 154 if (obj->Type != ACPI_TYPE_POWER) { in acpi_pwr_register_resource() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/power/ |
H A D | power-domain.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/power-domain.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rafael J. Wysocki <rjw@rjwysocki.net> 11 - Kevi [all...] |
H A D | starfive,jh7110-pmu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/starfive,jh7110-pmu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Walker Chen <walker.chen@starfivetech.com> 14 powered on/off by software based on different application scenes to save power. 19 - starfive,jh7110-pmu 27 "#power-domain-cells": 31 - compatible 32 - reg [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/media/i2c/ |
H A D | adv7343.txt | 3 The ADV7343 are high speed, digital-to-analog video encoders in a 64-lead LQFP 4 package. Six high speed, 3.3 V, 11-bit video DACs provide support for composite 5 (CVBS), S-Video (Y-C), and component (YPrPb/RGB) analog outputs in standard 10 - compatible: Must be "adi,adv7343" 13 - adi,power-mode-sleep-mode: on enable the current consumption is reduced to 16 - adi,power-mode-pll-ctrl: PLL and oversampling control. This control allows 17 internal PLL 1 circuit to be powered down and the 18 oversampling to be switched off. 19 - ad,adv7343-power-mode-dac: array configuring the power on/off DAC's 1..6, 20 0 = OFF and 1 = ON, Default value when this [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/marvell/ |
H A D | kirkwood-nas2big.dts | 1 // SPDX-License-Identifier: GPL-2.0 11 /dts-v1/; 13 #include "kirkwood-netxbig.dtsi" 17 compatible = "lacie,nas2big", "lacie,netxbig", "marvell,kirkwood-88f6282", "marvell,kirkwood"; 26 stdout-path = &uart0; 31 /* The on-chip RTC is not powered (no supercap). */ 37 * the other netxbig-compatible boards. 48 compatible = "gpio-fan"; 49 alarm-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>; 54 compatible = "simple-bus"; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/rockchip/ |
H A D | rk3566-pinenote.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 17 stdout-path = "serial2:1500000n8"; 20 adc-keys { 21 compatible = "adc-keys"; 22 io-channels = <&saradc 0>; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/rockchip/ |
H A D | rk3288-veyron.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/clock/rockchip,rk808.h> 9 #include <dt-bindings/input/input.h> 18 stdout-path = "serial2:115200n8"; 31 power_button: power-button { 32 compatible = "gpio-keys"; 33 pinctrl-names = "default"; 34 pinctrl-0 = <&pwr_key_l>; 36 key-power { 40 debounce-interval = <100>; [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/sound/ |
H A D | rt5660.txt | 7 - compatible : "realtek,rt5660". 9 - reg : The I2C address of the device. 13 - clocks: The phandle of the master clock to the CODEC 14 - clock-names: Should be "mclk" 16 - realtek,in1-differential 17 - realtek,in3-differential 18 Boolean. Indicate MIC1/3 input are differential, rather than single-ended. 20 - realtek,poweroff-in-suspend 21 Boolean. If the codec will be powered off in suspend, the resume should be 24 - realtek,dmic1-data-pin
|
/freebsd/sys/contrib/device-tree/Bindings/leds/ |
H A D | regulator-led.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/regulator-led.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 13 Regulator LEDs are powered by a single regulator such that they can 14 be turned on or off by enabling or disabling the regulator. The available 20 - $ref: common.yaml# 27 const: regulator-led 29 vled-supply: [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/clock/ |
H A D | imx6q-clock.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/imx6q-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Abel Vesa <abelvesa@kernel.org> 11 - Peng Fan <peng.fan@nxp.com> 15 const: fsl,imx6q-ccm 25 - description: CCM interrupt request 1 26 - description: CCM interrupt request 2 28 '#clock-cells': [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mfd/ |
H A D | rohm,bd71847-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd71847-pmi [all...] |
H A D | rohm,bd71837-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd71837-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 13 BD71837MWV is programmable Power Management ICs for powering single-core, 14 dual-core, and quad-core SoCs such as NXP-i.MX 8M. It is optimized for low 18 …/www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applica… 35 clock-names: 38 "#clock-cells": [all …]
|
/freebsd/share/man/man4/ |
H A D | acpi.4 | 65 .Bl -tag -width indent 140 (power-off nicely). 161 (suspend-to-RAM). 170 .Bl -tag -width indent 181 Most devices are powered off, and the system stops running except for 185 All devices are powered off, and the system stops running. 193 System shuts down cleanly and powers off. 206 .Bl -tag -width indent 230 BIOS, you can set this to 0 to re-enable ACPI for testing. 251 Multiple interfaces can be specified in a comma-separated list and [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/regulator/ |
H A D | pfuze100.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schema [all...] |
/freebsd/sys/contrib/device-tree/Bindings/pinctrl/ |
H A D | nvidia,tegra124-xusb-padctl.txt | 7 needed for USB. For the new binding, see ../phy/nvidia,tegra-xusb-padctl.txt. 12 associated PHY that must be powered up before the pad can be used. 14 This document defines the device-specific binding for the XUSB pad controller. 16 Refer to pinctrl-bindings.txt in this directory for generic information about 17 pin controller device tree bindings and ../phy/phy-bindings.txt for details on 21 -------------------- 22 - compatible: For Tegra124, must contain "nvidia,tegra124-xusb-padctl". 23 Otherwise, must contain '"nvidia,<chip>-xusb-padctl", 24 "nvidia-tegra124-xusb-padctl"', where <chip> is tegra132 or tegra210. 25 - reg: Physical base address and length of the controller's registers. [all …]
|
/freebsd/sys/arm/qualcomm/ |
H A D | qcom_cpu_kpssv2.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 70 * and shared L2 cache power-on. 91 * Walk the qcom,acc and next-level-cache entries to find their in qcom_cpu_kpssv2_regulator_start() 96 * The next-level-cache actually is a phandle through to a qcom,saw in qcom_cpu_kpssv2_regulator_start() 105 sret = OF_getencprop(node, "next-level-cache", (void *) &l2_phandle, in qcom_cpu_kpssv2_regulator_start() 108 panic("***couldn't get phandle for next-level-cache"); in qcom_cpu_kpssv2_regulator_start() 126 panic("*** couldn't map next-level-cache -> " in qcom_cpu_kpssv2_regulator_start() 130 * Power sequencing to ensure the cores are off, then power them on in qcom_cpu_kpssv2_regulator_start() 135 * BHS: off in qcom_cpu_kpssv2_regulator_start() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/st/ |
H A D | stm32mp15xx-dhcom-picoitx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/pwm/pwm.h> 17 stdout-path = "serial0:115200n8"; 21 compatible = "gpio-leds"; 23 led- [all...] |
/freebsd/sys/contrib/openzfs/cmd/zpool/zpool.d/ |
H A D | pend_sec | 15 nonmed: Show SMART non-medium errors (SAS). 17 hours_on: Show number of hours drive powered on (all drives). 27 smart_test: Show SMART self-test results summary. 28 test_type: Show SMART self-test type (short, long... ). 29 test_status: Show SMART self-test status. 30 test_progress: Show SMART self-test percentage done. 31 test_ended: Show when the last SMART self-test ended (if supported). 46 # is chosen quasi-sequentially (based off our PID). This allows us to return 53 num_files=$(find "$dir" -maxdepth 1 -type f | wc -l) 56 find "$dir" -type f -printf '%f\n' | while read -r file ; do [all …]
|
H A D | smart | 15 nonmed: Show SMART non-medium errors (SAS). 17 hours_on: Show number of hours drive powered on (all drives). 27 smart_test: Show SMART self-test results summary. 28 test_type: Show SMART self-test type (short, long... ). 29 test_status: Show SMART self-test status. 30 test_progress: Show SMART self-test percentage done. 31 test_ended: Show when the last SMART self-test ended (if supported). 46 # is chosen quasi-sequentially (based off our PID). This allows us to return 53 num_files=$(find "$dir" -maxdepth 1 -type f | wc -l) 56 find "$dir" -type f -printf '%f\n' | while read -r file ; do [all …]
|