Home
last modified time | relevance | path

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

12

/Linux-v5.10/arch/arm/boot/dts/
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;
19 compatible = "simple-bus";
20 #address-cells = <1>;
21 #size-cells = <0>;
24 compatible = "regulator-fixed";
26 regulator-name = "2P5V";
27 regulator-min-microvolt = <2500000>;
[all …]
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 = "simple-bus";
20 #address-cells = <1>;
21 #size-cells = <0>;
24 compatible = "regulator-fixed";
26 regulator-name = "1P8V";
27 regulator-min-microvolt = <1800000>;
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/leds/
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 …]
/Linux-v5.10/Documentation/powerpc/
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 …]
/Linux-v5.10/Documentation/admin-guide/pm/
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 …]
/Linux-v5.10/Documentation/driver-api/usb/
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 …]
/Linux-v5.10/drivers/leds/
Dleds-gpio.c1 // SPDX-License-Identifier: GPL-2.0-only
45 if (led_dat->blinking) { in gpio_led_set()
46 led_dat->platform_gpio_blink_set(led_dat->gpiod, level, in gpio_led_set()
48 led_dat->blinking = 0; in gpio_led_set()
50 if (led_dat->can_sleep) in gpio_led_set()
51 gpiod_set_value_cansleep(led_dat->gpiod, level); in gpio_led_set()
53 gpiod_set_value(led_dat->gpiod, level); in gpio_led_set()
69 led_dat->blinking = 1; in gpio_blink_set()
70 return led_dat->platform_gpio_blink_set(led_dat->gpiod, GPIO_LED_BLINK, in gpio_blink_set()
79 int ret, state; in create_gpio_led() local
[all …]
/Linux-v5.10/sound/soc/sof/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
91 during topology creation or run-time usage if new functionality
133 human-readable form instead of just 32-bit hex dumps. This is useful
143 On platforms (e.g. Intel SKL-) where position update IPC is the only
153 memory -> DSP resource (memory, register, etc)
154 before the audio DSP is suspended. This will increase the suspend
162 The firmware trace can be enabled either at build-time with
176 bool "SOF retain DSP context on any FW exceptions"
178 This option keeps the DSP in D0 state so that firmware debug
180 Say Y if you want to retain DSP context for FW exceptions.
[all …]
/Linux-v5.10/arch/arm64/boot/dts/amlogic/
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"
19 compatible = "kingnovel,r-box-pro", "amlogic,s912", "amlogic,meson-gxm";
20 model = "R-Box Pro";
28 stdout-path = "serial0:115200n8";
37 compatible = "gpio-leds";
39 led-blue {
[all …]
/Linux-v5.10/drivers/scsi/isci/
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 …]
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 …]
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 …]
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 …]
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 …]
Dremote_device.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
67 const char *dev_state_name(enum sci_remote_device_states state) in dev_state_name() argument
71 return strings[state]; in dev_state_name()
78 return sci_remote_node_context_suspend(&idev->rnc, reason, in sci_remote_device_suspend()
83 * isci_remote_device_ready() - This function is called by the ihost when the
92 dev_dbg(&ihost->pdev->dev, in isci_remote_device_ready()
95 clear_bit(IDEV_IO_NCQERROR, &idev->flags); in isci_remote_device_ready()
[all …]
Drequest.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
66 const char *req_state_name(enum sci_base_request_states state) in req_state_name() argument
70 return strings[state]; in req_state_name()
78 return &ireq->tc->sgl_pair_ab; in to_sgl_element_pair()
80 return &ireq->tc->sgl_pair_cd; in to_sgl_element_pair()
84 return &ireq->sg_table[idx - 2]; in to_sgl_element_pair()
93 offset = (void *) &ireq->tc->sgl_pair_ab - in to_sgl_element_pair_dma()
[all …]
/Linux-v5.10/include/linux/mlx5/
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
525 static inline const char *mlx5_qp_state_str(int state) in mlx5_qp_state_str() argument
527 switch (state) { in mlx5_qp_state_str()
545 return "SUSPENDED"; in mlx5_qp_state_str()
546 default: return "Invalid QP state"; in mlx5_qp_state_str()
/Linux-v5.10/kernel/locking/
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 …]
/Linux-v5.10/drivers/infiniband/ulp/iser/
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>
127 * supports -EAGAIN scheme where tx is suspended till the QP has room for more *
147 - ISER_MAX_TX_MISC_PDUS \
148 - ISER_MAX_RX_MISC_PDUS) / \
185 * struct iser_data_buf - iSER data buffer
206 * struct iser_mem_reg - iSER memory registration info
[all …]
/Linux-v5.10/drivers/usb/dwc2/
Dcore_intr.c1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * core_intr.c - DesignWare HS OTG Controller common interrupt handling
5 * Copyright (C) 2004-2013 Synopsys, Inc.
10 * 1. Redistributions of source code must retain the above copyright
16 * 3. The names of the above-listed copyright holders may not be used
46 #include <linux/dma-mapping.h>
59 switch (hsotg->op_state) { in dwc2_op_state_str()
76 * dwc2_handle_usb_port_intr - handles OTG PRTINT interrupts.
93 * dwc2_handle_mode_mismatch_intr() - Logs a mode mismatch warning message
102 dev_warn(hsotg->dev, "Mode Mismatch Interrupt: currently in %s mode\n", in dwc2_handle_mode_mismatch_intr()
[all …]
/Linux-v5.10/include/linux/
Dremoteproc.h12 * * Redistributions of source code must retain the above copyright
47 * struct resource_table - firmware resource table header
81 * struct fw_rsc_hdr - firmware resource entry header
95 * enum fw_resource_type - types of resource entries
99 * @RSC_DEVMEM: request to iommu_map a memory-based peripheral.
126 #define FW_RSC_ADDR_ANY (-1)
129 * struct fw_rsc_carveout - physically contiguous memory request
135 * @name: human-readable name of the requested memory region
181 * struct fw_rsc_devmem - iommu mapping request
187 * @name: human-readable name of the requested region to be mapped
[all …]
/Linux-v5.10/arch/arm64/boot/dts/rockchip/
Drk3399-pinebook-pro.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
9 #include <dt-bindings/input/gpio-keys.h>
10 #include <dt-bindings/input/linux-event-codes.h>
11 #include <dt-bindings/pwm/pwm.h>
12 #include <dt-bindings/usb/pd.h>
13 #include <dt-bindings/leds/common.h>
15 #include "rk3399-opp.dtsi"
19 compatible = "pine64,pinebook-pro", "rockchip,rk3399";
22 stdout-path = "serial2:1500000n8";
[all …]
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/
Diwl-trans.h8 * Copyright(c) 2007 - 2014 Intel Corporation. All rights reserved.
9 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
10 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH
11 * Copyright(c) 2018 - 2019 Intel Corporation
27 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
31 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved.
32 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
33 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH
34 * Copyright(c) 2018 - 2019 Intel Corporation
41 * * Redistributions of source code must retain the above copyright
[all …]
/Linux-v5.10/drivers/pci/
Dpci.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright 1993 -- 1997 Drew Eckhardt, Frederic Potter,
6 * David Mosberger-Tang
8 * Copyright 1997 -- 2000 Martin Mares <mj@ucw.cz>
66 unsigned int delay = dev->d3hot_delay; in pci_dev_d3_sleep()
91 * pci=hpmmiosize=nnM overrides non-prefetchable MMIO size,
102 /* PCIe MPS/MRRS strategy; can be overridden by kernel command-line param */
119 * measured in 32-bit words, not bytes.
164 * pci_bus_max_busnr - returns maximum PCI bus number of given bus' children
175 max = bus->busn_res.end; in pci_bus_max_busnr()
[all …]
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c2 * Copyright (c) 2005-2008 Chelsio, Inc. All rights reserved.
14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
38 #include <linux/dma-mapping.h>
109 struct tx_sw_desc { /* SW state per Tx descriptor */
117 struct rx_sw_desc { /* SW state per Rx descriptor */
135 * This structure lives at skb->head and must be allocated by callers.
146 * desc = 1 + (flits - 2) / (WR_FLITS - 1).
183 * refill_rspq - replenish an SGE response queue
196 V_RSPQ(q->cntxt_id) | V_CREDITS(credits)); in refill_rspq()
[all …]

12