Home
last modified time | relevance | path

Searched +full:retain +full:- +full:state +full:- +full:suspended (Results 1 – 25 of 54) sorted by relevance

123

/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6qdl-nit6xlite.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR X11
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 stdout-path = &uart2;
18 reg_2p5v: regulator-2p5v {
19 compatible = "regulator-fixed";
20 regulator-name = "2P5V";
21 regulator-min-microvolt = <2500000>;
22 regulator-max-microvolt = <2500000>;
23 regulator-always-on;
[all …]
H A Dimx6qdl-nitrogen6_max.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR X11
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 stdout-path = &uart2;
19 compatible = "regulator-fixed";
20 regulator-name = "1P8V";
21 regulator-min-microvolt = <1800000>;
22 regulator-max-microvolt = <1800000>;
23 regulator-always-on;
26 reg_2p5v: regulator-2p5v {
[all …]
/openbmc/linux/Documentation/devicetree/bindings/leds/
H A Dleds-gpio.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Pavel Machek <pavel@ucw.cz>
14 Each LED is represented as a sub-node of the gpio-leds device. Each
19 const: gpio-leds
24 "(^led-[0-9a-f]$|led)":
33 retain-state-suspended:
[all …]
H A Dleds-lgm.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-lgm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Zhu, Yi Xin <Yixin.zhu@intel.com>
11 - Amireddy Mallikarjuna reddy <mallikarjunax.reddy@intel.com>
15 const: intel,lgm-ssoled
23 clock-names:
25 - const: sso
26 - const: fpid
[all …]
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8916-gplus-fl8005a.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-pm8916.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/leds/common.h>
14 chassis-type = "tablet";
23 stdout-path = "serial0";
26 flash-led-controller {
27 /* Actually qcom,leds-gpio-flash */
[all …]
H A Dmsm8998-fxtec-pro1.dts1 // SPDX-License-Identifier: BSD-3-Clause
7 /dts-v1/;
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/leds/common.h>
11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
20 chassis-type = "handset";
21 qcom,board-id = <0x02000b 0x10>;
29 * Until we hook up type-c detection, we
32 extcon_usb: extcon-usb {
33 compatible = "linux,extcon-usb-gpio";
[all …]
/openbmc/linux/Documentation/powerpc/
H A Dtransactional_memory.rst47 Between these points the processor is in 'Transactional' state; any memory
49 transactional or non-transactional accesses within the system. In this
50 example, the transaction completes as though it were normal straight-line code
59 state will roll back to that at the 'tbegin', and control will continue from
69 - Conflicts with cache lines used by other processors
70 - Signals
71 - Context switches
72 - See the ISA for full documentation of everything that will abort transactions.
82 Syscalls made from within a suspended transaction are performed as normal and
85 by the hardware. The syscall is performed in suspended mode so any side
[all …]
/openbmc/linux/Documentation/admin-guide/pm/
H A Dsleep-states.rst1 .. SPDX-License-Identifier: GPL-2.0
13 Sleep states are global low-power states of the entire system in which user
28 Suspend-to-Idle
29 ---------------
31 This is a generic, pure software, light-weight variant of system suspend (also
34 I/O devices into low-power states (possibly lower-power than available in the
35 working state), such that the processors can spend time in their deepest idle
36 states while the system is suspended.
38 The system is woken up from this state by in-band interrupts, so theoretically
39 any devices that can cause interrupts to be generated in the working state can
[all …]
/openbmc/linux/Documentation/driver-api/usb/
H A Dpower-management.rst1 .. _usb-power-management:
7 :Date: Last-updated: February 2014
11 ---------
17 * Changing the default idle-delay time
31 -------------------------
35 component is ``suspended`` it is in a nonfunctional low-power state; it
36 might even be turned off completely. A suspended component can be
37 ``resumed`` (returned to a functional full-power state) when the kernel
39 placed in a less functional but still usable state instead of being
40 suspended; an example would be reducing the CPU's clock rate. This
[all …]
/openbmc/linux/drivers/leds/
H A Dleds-gpio.c1 // SPDX-License-Identifier: GPL-2.0-only
47 if (led_dat->blinking) { in gpio_led_set()
48 led_dat->platform_gpio_blink_set(led_dat->gpiod, level, in gpio_led_set()
50 led_dat->blinking = 0; in gpio_led_set()
52 if (led_dat->can_sleep) in gpio_led_set()
53 gpiod_set_value_cansleep(led_dat->gpiod, level); in gpio_led_set()
55 gpiod_set_value(led_dat->gpiod, level); in gpio_led_set()
71 led_dat->blinking = 1; in gpio_blink_set()
72 return led_dat->platform_gpio_blink_set(led_dat->gpiod, GPIO_LED_BLINK, in gpio_blink_set()
82 int ret, state; in create_gpio_led() local
[all …]
/openbmc/linux/arch/arm64/boot/dts/rockchip/
H A Drk3566-soquartz.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/pinctrl/rockchip.h>
7 #include <dt-bindings/soc/rockchip,vop2.h>
22 stdout-path = "serial2:1500000n8";
25 gmac1_clkin: external-gmac1-clock {
26 compatible = "fixed-clock";
27 clock-frequency = <125000000>;
28 clock-output-names = "gmac1_clkin";
[all …]
H A Drk3566-quartz64-a.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/pinctrl/rockchip.h>
7 #include <dt-bindings/soc/rockchip,vop2.h>
11 model = "Pine64 RK3566 Quartz64-A Board";
12 compatible = "pine64,quartz64-a", "rockchip,rk3566";
21 stdout-path = "serial2:1500000n8";
24 gmac1_clkin: external-gmac1-clock {
25 compatible = "fixed-clock";
[all …]
H A Drk3568-roc-pc.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/pinctrl/rockchip.h>
10 #include <dt-bindings/soc/rockchip,vop2.h>
15 compatible = "firefly,rk3568-roc-pc", "rockchip,rk3568";
25 stdout-path = "serial2:1500000n8";
28 dc_12v: dc-12v-regulator {
29 compatible = "regulator-fixed";
30 regulator-name = "dc_12v";
[all …]
H A Drk3566-roc-pc.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/pinctrl/rockchip.h>
7 #include <dt-bindings/soc/rockchip,vop2.h>
12 compatible = "firefly,rk3566-roc-pc", "rockchip,rk3566";
21 stdout-path = "serial2:1500000n8";
24 gmac1_clkin: external-gmac1-clock {
25 compatible = "fixed-clock";
26 clock-frequency = <125000000>;
[all …]
/openbmc/linux/drivers/scsi/isci/
H A Dremote_node_context.h7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
33 * * Redistributions of source code must retain the above copyright
94 * @SCI_RNC_INITIAL initial state for a remote node context. On a resume
95 * request the remote node context will transition to the posting state.
97 * @SCI_RNC_POSTING: transition state that posts the RNi to the hardware. Once
100 * @SCI_RNC_INVALIDATING: transition state that will post an RNC invalidate to
102 * transition to the posting state.
104 * @SCI_RNC_RESUMING: transition state that will post an RNC resume to the
[all …]
H A Drequest.h7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
33 * * Redistributions of source code must retain the above copyright
64 * isci_stp_request - extra request infrastructure to handle pio/atapi protocol
65 * @pio_len - number of bytes requested at PIO setup
66 * @status - pio setup ending status value to tell us if we need
69 * @sgl - track pio transfer progress as we iterate through the sgl
87 #define IREQ_PENDING_ABORT 4 /* Set == device was not suspended yet */
103 * - TMF requests are completed in the thread that started them;
[all …]
H A Dremote_device.h7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
33 * * Redistributions of source code must retain the above copyright
74 * isci_remote_device - isci representation of a sas expander / end point
76 * @connection_rate: per-taskcontext connection rate for this device
116 kref_get(&idev->kref); in isci_get_device()
122 struct isci_remote_device *idev = dev->lldd_dev; in isci_lookup_device()
124 if (idev && !test_bit(IDEV_GONE, &idev->flags)) { in isci_lookup_device()
125 kref_get(&idev->kref); in isci_lookup_device()
[all …]
H A Dremote_node_context.c7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
33 * * Redistributions of source code must retain the above copyright
65 const char *rnc_state_name(enum scis_sds_remote_node_context_states state) in rnc_state_name() argument
69 if (state >= ARRAY_SIZE(strings)) in rnc_state_name()
72 return strings[state]; in rnc_state_name()
78 * @sci_rnc: The state of the remote node context object to check.
80 * This method will return true if the remote node context is in a READY state
82 * the ready state. false if the remote node context is not in the ready state.
[all …]
H A Disci.h7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
33 * * Redistributions of source code must retain the above copyright
118 * enum sci_status - This is the general return status enumeration for non-IO,
119 * non-task management related SCI interface methods.
147 * This member indicates that the object for which a state change is
148 * being requested is already in said state.
178 * This member indicates the calling function failed, because the state
179 * of the controller is in a state that prevents successful completion.
[all …]
/openbmc/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-gxm-rbox-pro.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2016-2017 Andreas Färber
5 * Based on nexbox-a1:
14 /dts-v1/;
16 #include "meson-gxm.dtsi"
17 #include <dt-bindings/sound/meson-aiu.h>
20 compatible = "kingnovel,r-box-pro", "amlogic,s912", "amlogic,meson-gxm";
21 model = "R-Box Pro";
29 stdout-path = "serial0:115200n8";
37 spdif_dit: audio-codec-0 {
[all …]
/openbmc/linux/sound/soc/sof/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
21 For backwards-compatibility with previous configurations the selection will
22 be used as default for platform-specific drivers.
32 For backwards-compatibility with previous configurations the selection will
33 be used as default for platform-specific drivers.
62 This option is not user-selectable but automagically handled by
69 This option is not user-selectable but automagically handled by
121 during topology creation or run-time usage if new functionality
176 human-readable form instead of just 32-bit hex dumps. This is useful
186 On platforms (e.g. Intel SKL-) where position update IPC is the only
[all …]
/openbmc/qemu/system/
H A Dcpus.c4 * Copyright (c) 2003-2008 Fabrice Bellard
27 #include "qemu/coroutine-tls.h"
29 #include "qapi/qapi-commands-machine.h"
30 #include "qapi/qapi-commands-misc.h"
31 #include "qapi/qapi-events-run-state.h"
35 #include "exec/cpu-common.h"
37 #include "qemu/main-loop.h"
40 #include "qemu/guest-random.h"
44 #include "sysemu/cpu-timers.h"
78 return cpu->stopped || !runstate_is_running(); in cpu_is_stopped()
[all …]
/openbmc/linux/include/linux/mlx5/
H A Dqp.h2 * Copyright (c) 2013-2015, Mellanox Technologies. All rights reserved.
14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
552 static inline const char *mlx5_qp_state_str(int state) in mlx5_qp_state_str() argument
554 switch (state) { in mlx5_qp_state_str()
572 return "SUSPENDED"; in mlx5_qp_state_str()
573 default: return "Invalid QP state"; in mlx5_qp_state_str()
/openbmc/linux/kernel/locking/
H A Dqspinlock_paravirt.h1 /* SPDX-License-Identifier: GPL-2.0 */
16 * pv_wait(u8 *ptr, u8 val) -- suspends the vcpu if *ptr == val
17 * pv_kick(cpu) -- wakes a suspended vcpu
31 * mitigates the slight slowdown for non-overcommitted guest with this
32 * aggressive wait-early mechanism.
53 u8 state; member
88 int val = atomic_read(&lock->val); in pv_hybrid_queued_unfair_trylock()
91 (cmpxchg_acquire(&lock->locked, 0, _Q_LOCKED_VAL) == 0)) { in pv_hybrid_queued_unfair_trylock()
111 WRITE_ONCE(lock->pending, 1); in set_pending()
121 return !READ_ONCE(lock->locked) && in trylock_clear_pending()
[all …]
/openbmc/linux/drivers/infiniband/ulp/iser/
H A Discsi_iser.h7 * based on code maintained by open-iscsi@googlegroups.com
11 * Copyright (c) 2013-2014 Mellanox Technologies. All rights reserved.
23 * - Redistributions of source code must retain the above
27 * - Redistributions in binary form must reproduce the above
58 #include <linux/dma-mapping.h>
125 * supports -EAGAIN scheme where tx is suspended till the QP has room for more *
145 - ISER_MAX_TX_MISC_PDUS \
146 - ISER_MAX_RX_MISC_PDUS) / \
181 * struct iser_data_buf - iSER data buffer
202 * struct iser_mem_reg - iSER memory registration info
[all …]

123