/freebsd/sys/contrib/device-tree/Bindings/powerpc/opal/ |
H A D | power-mgt.txt | 1 IBM Power-Management Bindings 5 idle states. The description of these idle states is exposed via the 6 node @power-mgt in the device-tree by the firmware. 9 ---------------- 10 Typically each idle state has the following associated properties: 12 - name: The name of the idle state as defined by the firmware. 14 - flags: indicating some aspects of this idle states such as the 15 extent of state-loss, whether timebase is stopped on this 16 idle states and so on. The flag bits are as follows: 18 - exit-latency: The latency involved in transitioning the state of the [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/cpu/ |
H A D | idle-states.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/cpu/idle-states.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Idle states 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 11 - Anup Patel <anup@brainfault.org> 15 1 - Introduction 18 ARM and RISC-V systems contain HW capable of managing power consumption 19 dynamically, where cores can be put in different low-power states (ranging [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/arm/ |
H A D | idle-states.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/arm/idle-states.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ARM idle states binding description 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 14 1 - Introduction 18 where cores can be put in different low-power states (ranging from simple wfi 20 range of dynamic idle states that a processor can enter at run-time, can be 22 enter/exit specific idle states on a given processor. [all …]
|
H A D | psci.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Power State Coordination Interface (PSCI) 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 14 ARM DEN 0022A ("Power State Coordinatio [all...] |
/freebsd/sys/contrib/device-tree/Bindings/arm/msm/ |
H A D | qcom,idle-state.txt | 1 QCOM Idle States for cpuidle driver 3 ARM provides idle-state node to define the cpuidle states, as defined in [1]. 4 cpuidle-qcom is the cpuidle driver for Qualcomm SoCs and uses these idle 5 states. Idle states have different enter/exit latency and residency values. 6 The idle states supported by the QCOM SoC are defined as - 16 trigger to execute the SPM state machine. The SPM state machine waits for the 18 hierarchy to enter standby states, when all cpus are idle. An interrupt brings 19 the SPM state machine out of its wait, the next step is to ensure that the 21 execution. This state is defined as a generic ARM WFI state by the ARM cpuidle 22 driver and is not defined in the DT. The SPM state machine should be [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mux/ |
H A D | mux-controller.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mux/mux-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Peter Rosin <peda@axentia.se> 19 A mux controller provides a number of states to its consumers, and the state 20 space is a simple zero-based enumeration. I.e. 0-1 for a 2-way multiplexer, 21 0-7 for an 8-way multiplexer, etc. 25 -------------------- 28 specifier using the '#mux-control-cells' or '#mux-state-cells' property. [all …]
|
H A D | mux-controller.txt | 10 A mux controller provides a number of states to its consumers, and the state 11 space is a simple zero-based enumeration. I.e. 0-1 for a 2-way multiplexer, 12 0-7 for an 8-way multiplexer, etc. 16 --------- 19 want to use with a property containing a 'mux-ctrl-list': 21 mux-ctrl-list ::= <single-mux-ctrl> [mux-ctrl-list] 22 single-mux-ctrl ::= <mux-ctrl-phandle> [mux-ctrl-specifier] 23 mux-ctrl-phandle : phandle to mux controller node 24 mux-ctrl-specifier : array of #mux-control-cells specifying the 27 Mux controller properties should be named "mux-controls". The exact meaning of [all …]
|
H A D | adi,adg792a.txt | 4 - compatible : "adi,adg792a" or "adi,adg792g" 5 - #mux-control-cells : <0> if parallel (the three muxes are bound together 8 * Standard mux-controller bindings as described in mux-controller.yaml 11 - gpio-controller : if present, #gpio-cells below is required. 12 - #gpio-cells : should be <2> 13 - First cell is the GPO line number, i.e. 0 or 1 14 - Second cell is used to specify active high (0) 18 - idle-state : if present, array of states that the mux controllers will have 19 when idle. The special state MUX_IDLE_AS_IS is the default and 28 * Mux 0 is disconnected when idle, mux 1 idles in the previously [all …]
|
H A D | adi,adgs1408.txt | 4 - compatible : Should be one of 7 * Standard mux-controller bindings as described in mux-controller.yaml 10 - gpio-controller : if present, #gpio-cells is required. 11 - #gpio-cells : should be <2> 12 - First cell is the GPO line number, i.e. 0 to 3 14 - Second cell is used to specify active high (0) 18 - idle-state : if present, the state that the mux controller will have 19 when idle. The special state MUX_IDLE_AS_IS is the default and 29 * Mux state set to idle as is (no idle-state declared) 32 mux: mux-controller@0 { [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/power/ |
H A D | domain-idle-state.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/domain-idle-state.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: PM Domain Idle States 10 - Ulf Hansson <ulf.hansson@linaro.org> 13 A domain idle state node represents the state parameters that will be used to 14 select the state when there are no active components in the PM domain. 18 const: domain-idle-states 21 "^(cpu|cluster|domain)-": [all …]
|
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...] |
/freebsd/sys/contrib/device-tree/Bindings/i2c/ |
H A D | i2c-mux-pinctrl.txt | 1 Pinctrl-based I2C Bus Mux 7 +-----+ +-----+ 9 +------------------------+ +-----+ +-----+ 11 | /----|------+--------+ 12 | +---+ +------+ | child bus A, on first set of pins 13 | |I2C|---|Pinmux| | 14 | +---+ +------+ | child bus B, on second set of pins 15 | \----|------+--------+--------+ 17 +------------------------+ +-----+ +-----+ +-----+ 19 +-----+ +-----+ +-----+ [all …]
|
H A D | i2c-mux-pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-mux-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Pinctrl-based I2C Bus Mux 10 - Wolfram Sang <wsa@kernel.org> 17 +-----+ +-----+ 19 +------------------------+ +-----+ +-----+ 21 | /----|------+--------+ 22 | +---+ +------+ | child bus A, on first set of pins [all …]
|
H A D | i2c-mux-reg.txt | 1 Register-based I2C Bus Mux 7 - compatible: i2c-mux-reg 8 - i2c-parent: The phandle of the I2C bus that this multiplexer's master-side 10 * Standard I2C mux properties. See i2c-mux.yaml in this directory. 11 * I2C child bus nodes. See i2c-mux.yaml in this directory. 14 - reg: this pair of <offset size> specifies the register to control the mux. 15 The <offset size> depends on its parent node. It can be any memory-mapped 18 - little-endian: The existence indicates the register is in little endian. 19 - big-endian: The existence indicates the register is in big endian. 20 If both little-endian and big-endian are omitted, the endianness of the [all …]
|
H A D | i2c-mux-gpio.txt | 1 GPIO-based I2C Bus Mux 6 +-----+ +-----+ 8 +------------+ +-----+ +-----+ 10 | | /--------+--------+ 11 | +------+ | +------+ child bus A, on GPIO value set to 0 12 | | I2C |-|--| Mux | 13 | +------+ | +--+---+ child bus B, on GPIO value set to 1 14 | | | \----------+--------+--------+ 15 | +------+ | | | | | 16 | | GPIO |-|-----+ +-----+ +-----+ +-----+ [all …]
|
H A D | i2c-mux-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-mux-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: GPIO-based I2C Bus Mux 10 - Wolfram Sang <wsa@kernel.org> 15 +-----+ +-----+ 17 +------------+ +-----+ +-----+ 19 | | /--------+--------+ 20 | +------+ | +------+ child bus A, on GPIO value set to 0 [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/thermal/ |
H A D | thermal-idle.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/thermal/thermal-idle.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Thermal idle cooling device 11 - Daniel Lezcano <daniel.lezcano@linaro.org> 14 The thermal idle cooling device allows the system to passively 15 mitigate the temperature on the device by injecting idle cycles, 18 This binding describes the thermal idle node. 22 const: thermal-idle [all …]
|
/freebsd/sys/kern/ |
H A D | kern_clocksource.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2010-2013 Alexander Motin <mav@FreeBSD.org> 67 static sbintime_t getnextcpuevent(struct pcpu_state *state, int idle); 68 static sbintime_t getnextevent(struct pcpu_state *state); 73 #define ET_HW_LOCK(state) \ argument 75 if (timer->et_flags & ET_FLAGS_PERCPU) \ 76 mtx_lock_spin(&(state)->et_hw_mtx); \ 81 #define ET_HW_UNLOCK(state) \ argument 83 if (timer->et_flags & ET_FLAGS_PERCPU) \ [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/watchdog/ |
H A D | atmel-sama5d4-wdt.txt | 4 - compatible: "atmel,sama5d4-wdt" or "microchip,sam9x60-wdt" 5 - reg: base physical address and length of memory mapped region. 8 - timeout-sec: watchdog timeout value (in seconds). 9 - interrupts: interrupt number to the CPU. 10 - atmel,watchdog-type: should be "hardware" or "software". 15 - atmel,idle-halt: present if you want to stop the watchdog when the CPU is 16 in idle state. 18 watchdog not counting when the CPU is in idle state, therefore the 20 if the CPU stop working while it is in idle state, which is probably 22 - atmel,dbg-halt: present if you want to stop the watchdog when the CPU is [all …]
|
H A D | atmel-wdt.txt | 3 ** at91sam9-wdt 6 - compatible: must be "atmel,at91sam9260-wdt". 7 - reg: physical base address of the controller and length of memory mapped 9 - clocks: phandle to input clock. 12 - timeout-sec: contains the watchdog timeout in seconds. 13 - interrupts : Should contain WDT interrupt. 14 - atmel,max-heartbeat-sec : Should contain the maximum heartbeat value in 17 - atmel,min-heartbeat-sec : Should contain the minimum heartbeat value in 18 seconds. This value must be smaller than the max-heartbeat-sec value. 20 - atmel,watchdog-type : Should be "hardware" or "software". Hardware watchdog [all …]
|
H A D | atmel,sama5d4-wdt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/watchdog/atmel,sama5d4-wdt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Eugen Hristev <eugen.hristev@microchip.com> 13 - $ref: watchdog.yaml# 18 - enum: 19 - atmel,sama5d4-wdt 20 - microchip,sam9x60-wdt 21 - microchip,sama7g5-wdt [all …]
|
/freebsd/sys/dev/cxgbe/ |
H A D | t4_mp_ring.c | 1 /*- 50 * consumes everything (IDLE or COALESCING) or gets STALLED. If it is running 56 * COALESCING is the same as IDLE except there are items being held in the hope 69 uint64_t state; member 73 IDLE = 0, /* tx is all caught up, nothing to do. */ enumerator 74 COALESCING, /* IDLE, but tx frames are being held for coalescing */ 91 uint16_t x = r->size - 1; in space_available() 96 return (s.cidx - s.pidx_head - 1); in space_available() 98 return (x - s.pidx_head + s.cidx); in space_available() 104 int x = r->size - idx; in increment_idx() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
H A D | sdm845-cheza.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 25 stdout-path = "serial0:115200n8"; 29 compatible = "pwm-backlight"; 31 enable-gpios = <&tlmm 37 GPIO_ACTIVE_HIGH>; 32 power-supply = <&ppvar_sys>; 33 pinctrl-names = "default"; 34 pinctrl-0 = <&ap_edp_bklten>; 37 /* FIXED REGULATORS - parents above children */ [all …]
|
/freebsd/sys/net/ |
H A D | mp_ring.c | 1 /*- 45 uint64_t state; member 49 IDLE = 0, /* consumer ran to completion, nothing more to do. */ enumerator 59 uint16_t x = r->size - 1; in space_available() 64 return (s.cidx - s.pidx_head - 1); in space_available() 66 return (x - s.pidx_head + s.cidx); in space_available() 72 int x = r->size - idx; in increment_idx() 75 return (x > n ? idx + n : n - x); in increment_idx() 78 /* Consumer is about to update the ring's state to s */ 84 return (IDLE); in state_to_flags() [all …]
|
/freebsd/usr.bin/who/ |
H A D | who.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 63 static int Tflag; /* Show terminal state */ 64 static int uflag; /* Show idle time */ 73 while ((ch = getopt(argc, argv, "HTabmqsu")) != -1) { in main() 78 case 'T': /* Show terminal state */ in main() 81 case 'a': /* Same as -bdlprtTu */ in main() 96 case 'u': /* Show idle time */ in main() 104 argc -= optind; in main() 109 /* "who am i" or "who am I", equivalent to -m */ in main() [all …]
|