Home
last modified time | relevance | path

Searched +full:no +full:- +full:reset +full:- +full:during +full:- +full:suspend (Results 1 – 25 of 631) sorted by relevance

12345678910>>...26

/openbmc/linux/Documentation/driver-api/usb/
H A Dpersist.rst1 .. _usb-persist:
3 USB device persistence during system suspend
14 bus must continue to supply suspend current (around 1-5 mA). This
16 detect connect-change events (devices being plugged in or unplugged).
21 conservative approach; in the absence of suspend current the computer
22 has no way to know what has actually happened. Perhaps the same
27 controller loses power during a system suspend, then when the system
38 Unfortunately problems _can_ arise, particularly with mass-storage
41 filesystem on the device, you're out of luck -- everything in that
48 even though suspend current may have been maintained while the system
[all …]
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
37 ``resumed`` (returned to a functional full-power state) when the kernel
44 the system, we speak of it as a "system suspend". When a particular
46 call it a "dynamic suspend" (also known as a "runtime suspend" or
47 "selective suspend"). This document concentrates mostly on how
[all …]
H A Dcallbacks.rst11 completion callback can be found in :ref:`usb-urb`.
17 - @probe:
21 - @disconnect:
22 Called when the interface is no longer accessible, usually
28 - @ioctl:
36 - @suspend:
39 - @resume:
42 - @reset_resume:
43 Called when the suspended device has been reset instead
48 - @pre_reset:
[all …]
/openbmc/linux/Documentation/devicetree/bindings/input/
H A Dgoodix,gt7375p.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Douglas Anderson <dianders@chromium.org>
14 This touchscreen uses the i2c-hid protocol but has some non-standard
18 - $ref: /schemas/input/touchscreen/touchscreen.yaml#
23 - const: goodix,gt7375p
24 - items:
25 - const: goodix,gt7986u
26 - const: goodix,gt7375p
[all …]
/openbmc/linux/drivers/remoteproc/
H A Domap_remoteproc.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2011-2020 Texas Instruments Incorporated - http://www.ti.com/
8 * Ohad Ben-Cohen <ohad@wizery.com>
12 * Suman Anna <s-anna@ti.com>
13 * Hari Kanigeri <h-kanigeri2@ti.com>
27 #include <linux/dma-mapping.h>
31 #include <linux/omap-iommu.h>
32 #include <linux/omap-mailbox.h>
35 #include <linux/reset.h>
36 #include <clocksource/timer-ti-dm.h>
[all …]
/openbmc/linux/kernel/power/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
2 config SUSPEND config
3 bool "Suspend to RAM and standby"
9 suspend-to-RAM state (e.g. the ACPI S3 state).
12 bool "Enable freezer for suspend to RAM/standby" \
14 depends on SUSPEND
17 This allows you to turn off the freezer for suspend. If this is
18 done, no tasks are frozen for suspend to RAM/standby.
23 bool "Skip kernel's sys_sync() on suspend to RAM/standby"
24 depends on SUSPEND
[all …]
/openbmc/linux/arch/arm/mach-tegra/
H A Dpm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * CPU complex suspend & resume functions for Tegra SoCs
5 * Copyright (c) 2009-2012, NVIDIA Corporation. All rights reserved.
17 #include <linux/suspend.h>
29 #include <asm/proc-fns.h>
31 #include <asm/suspend.h>
36 #include "reset.h"
93 * transition to suspend state
141 if (tegra_cpu_car_ops->rail_off_ready && in tegra_sleep_cpu()
143 return -EBUSY; in tegra_sleep_cpu()
[all …]
/openbmc/linux/sound/soc/sof/intel/
H A Dhda-dsp.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
21 #include <sound/hda-mlink.h>
23 #include "../sof-audio.h"
26 #include "hda-ipc.h"
42 u32 reset; in hda_dsp_core_reset_enter() local
45 /* set reset bits for cores */ in hda_dsp_core_reset_enter()
46 reset = HDA_DSP_ADSPCS_CRST_MASK(core_mask); in hda_dsp_core_reset_enter()
49 reset, reset); in hda_dsp_core_reset_enter()
54 ((adspcs & reset) == reset), in hda_dsp_core_reset_enter()
58 dev_err(sdev->dev, in hda_dsp_core_reset_enter()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mmc/
H A Dmmc-controller.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mmc/mmc-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ulf Hansson <ulf.hansson@linaro.org>
25 "#address-cells":
30 "#size-cells":
37 broken-cd:
40 There is no card detection available; polling must be used.
42 cd-gpios:
[all …]
/openbmc/linux/drivers/watchdog/
H A Dimx2_wdt.c1 // SPDX-License-Identifier: GPL-2.0
14 * ---- -----
15 * Registers: 32-bit 16-bit
16 * Stopable timer: Yes No
17 * Need to enable clk: No Yes
18 * Halt on suspend: Manual Can be automatic
34 #define DRIVER_NAME "imx2-wdt"
37 #define IMX2_WDT_WCR_WT (0xFF << 8) /* -> Watchdog Timeout Field */
38 #define IMX2_WDT_WCR_WDW BIT(7) /* -> Watchdog disable for WAIT */
39 #define IMX2_WDT_WCR_WDA BIT(5) /* -> External Reset WDOG_B */
[all …]
/openbmc/linux/include/linux/
H A Dpm.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * pm.h - Power management interface
63 * struct dev_pm_ops - device PM callbacks.
70 * registration of a child already in progress), it may return -EAGAIN, so
73 * This method is executed for all kinds of suspend transitions and is
74 * followed by one of the suspend callbacks: @suspend(), @freeze(), or
75 * @poweroff(). If the transition is a suspend to memory or standby (that
77 * used to indicate to the PM core to leave the device in runtime suspend
80 * runtime-suspended and it may be left in that state during the entire
81 * transition and during the subsequent resume if all of its descendants
[all …]
/openbmc/linux/Documentation/driver-api/pm/
H A Ddevices.rst1 .. SPDX-License-Identifier: GPL-2.0
10 :Copyright: |copy| 2010-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.
18 management (PM) code is also driver-specific. Most drivers will do very
22 This writeup gives an overview of how drivers interact with system-wide
25 background for the domain-specific work you'd do with any specific driver.
31 Drivers will use one or both of these models to put devices into low-power
36 Drivers can enter low-power states as part of entering system-wide
37 low-power states like "suspend" (also known as "suspend-to-RAM"), or
39 "suspend-to-disk").
42 by implementing various role-specific suspend and resume methods to
[all …]
/openbmc/linux/drivers/usb/host/
H A Docteon-hcd.h1 /* SPDX-License-Identifier: GPL-2.0 */
11 * Copyright (c) 2003-2010 Cavium Networks (support@cavium.com). All rights
37 * AND WITH ALL FAULTS AND CAVIUM NETWORKS MAKES NO PROMISES, REPRESENTATIONS OR
104 * This register can be used to configure the core after power-on or a change in
105 * mode of operation. This register mainly contains AHB system-related
126 * @nptxfemplvl: Non-Periodic TxFIFO Empty Level (NPTxFEmpLvl)
128 * Indicates when the Non-Periodic TxFIFO Empty Interrupt bit in
131 * * 1'b0: GINTSTS.NPTxFEmp interrupt indicates that the Non-
133 * * 1'b1: GINTSTS.NPTxFEmp interrupt indicates that the Non-
172 * This value is in terms of 32-bit words.
[all …]
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dintel_gt_pm.c1 // SPDX-License-Identifier: MIT
7 #include <linux/suspend.h>
27 static void user_forcewake(struct intel_gt *gt, bool suspend) in user_forcewake() argument
29 int count = atomic_read(&gt->user_wakeref); in user_forcewake()
31 /* Inside suspend/resume so single threaded, no races to worry about. */ in user_forcewake()
36 if (suspend) { in user_forcewake()
37 GEM_BUG_ON(count > atomic_read(&gt->wakeref.count)); in user_forcewake()
38 atomic_sub(count, &gt->wakeref.count); in user_forcewake()
40 atomic_add(count, &gt->wakeref.count); in user_forcewake()
48 write_seqcount_begin(&gt->stats.lock); in runtime_begin()
[all …]
/openbmc/linux/Documentation/power/
H A Ds2ram.rst8 1) Check suspend.sf.net, program s2ram there has long whitelist of
21 always it's a driver that is buggy. Thank God for the suspend/resume
22 debugging - the thing that Chuck tried to disable. That's often the _only_
24 time-consuming - having to insert TRACE_RESUME() markers into the device
30 - enable PM_DEBUG, and PM_TRACE
32 - use a script like this::
39 to suspend
41 - if it doesn't come back up (which is usually the problem), reboot by
54 If no device matches the hash (or any matches appear to be false positives),
63 that "radeonfb" simply cannot resume that device - it tries to set the
[all …]
/openbmc/linux/drivers/hid/i2c-hid/
H A Di2c-hid-of-goodix.c1 // SPDX-License-Identifier: GPL-2.0
3 * Driver for Goodix touchscreens that use the i2c-hid protocol.
18 #include "i2c-hid.h"
42 * We assert reset GPIO here (instead of during power-down) to ensure in goodix_i2c_hid_power_up()
46 if (ihid_goodix->no_reset_during_suspend) in goodix_i2c_hid_power_up()
47 gpiod_set_value_cansleep(ihid_goodix->reset_gpio, 1); in goodix_i2c_hid_power_up()
49 ret = regulator_enable(ihid_goodix->vdd); in goodix_i2c_hid_power_up()
53 ret = regulator_enable(ihid_goodix->vddio); in goodix_i2c_hid_power_up()
57 if (ihid_goodix->timings->post_power_delay_ms) in goodix_i2c_hid_power_up()
58 msleep(ihid_goodix->timings->post_power_delay_ms); in goodix_i2c_hid_power_up()
[all …]
/openbmc/linux/drivers/hid/intel-ish-hid/ishtp/
H A Dbus.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2012-2016, Intel Corporation.
15 #include "ishtp-dev.h"
28 * ishtp_recv() - process ishtp message
42 msg_hdr = dev->ops->ishtp_read_hdr(dev); in ishtp_recv()
46 dev->ops->sync_fw_clock(dev); in ishtp_recv()
49 dev->ishtp_msg_hdr = msg_hdr; in ishtp_recv()
52 if (ishtp_hdr->length > dev->mtu) { in ishtp_recv()
53 dev_err(dev->devc, in ishtp_recv()
54 "ISHTP hdr - bad length: %u; dropped [%08X]\n", in ishtp_recv()
[all …]
/openbmc/qemu/qapi/
H A Drun-state.json1 # -*- Mode: Python -*-
16 # @finish-migrate: guest is paused to finish the migration process
20 # the end of the migration. This depends on the command-line -S
24 # @internal-error: An internal error that prevents further guest
27 # @io-error: the last IOP has failed and the device is configured to
34 # @prelaunch: QEMU was started with -S and guest has not started
36 # @restore-vm: guest is paused to restore VM state
40 # @save-vm: guest is paused to save the VM state
42 # @shutdown: guest is shut down (and -no-shutdown is in use)
49 # @guest-panicked: guest has been panicked as a result of guest OS
[all …]
/openbmc/qemu/hw/block/
H A Dpflash_cfi02.c23 * - flash read
24 * - flash write
25 * - flash ID read
26 * - sector erase
27 * - chip erase
28 * - unlock bypass command
29 * - CFI queries
38 #include "hw/qdev-properties.h"
39 #include "hw/qdev-properties-system.h"
41 #include "qemu/error-report.h"
[all …]
/openbmc/linux/arch/arm/mach-rockchip/
H A Dpm.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Author: Tony Xie <tony.xie@rock-chips.com>
13 #include <linux/suspend.h>
19 #include <asm/suspend.h>
55 rkpm_bootdata_cpusp = rk3288_bootram_phy + (SZ_4K - 8); in rk3288_config_bootdata()
99 * SGRF_FAST_BOOT_EN - system to boot from FAST_BOOT_ADDR in rk3288_slp_mode_set()
100 * PCLK_WDT_GATE - disable WDT during suspend. in rk3288_slp_mode_set()
107 * The dapswjdp can not auto reset before resume, that cause it may in rk3288_slp_mode_set()
108 * access some illegal address during resume. Let's disable it before in rk3288_slp_mode_set()
109 * suspend, and the MASKROM will enable it back. in rk3288_slp_mode_set()
[all …]
/openbmc/linux/drivers/net/wireless/st/cw1200/
H A Dcw1200_sdio.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Mac80211 SDIO driver for ST-Ericsson CW1200 device
5 * Copyright (c) 2010, ST-Ericsson
6 * Author: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>
22 #include <linux/platform_data/net-cw1200.h>
25 MODULE_AUTHOR("Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>");
26 MODULE_DESCRIPTION("mac80211 ST-Ericsson CW1200 SDIO driver");
64 return sdio_memcpy_fromio(self->func, dst, addr, count); in cw1200_sdio_memcpy_fromio()
71 return sdio_memcpy_toio(self->func, addr, (void *)src, count); in cw1200_sdio_memcpy_toio()
76 sdio_claim_host(self->func); in cw1200_sdio_lock()
[all …]
/openbmc/linux/drivers/usb/dwc2/
H A Dcore.h1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
3 * core.h - DesignWare HS OTG Controller common declarations
5 * Copyright (C) 2004-2013 Synopsys, Inc.
21 * - no_printk: Disable tracing
22 * - pr_info: Print this info to the console
23 * - trace_printk: Print this info to trace buffer (good for verbose logging)
32 dev_name(hsotg->dev), ##__VA_ARGS__)
37 dev_name(hsotg->dev), ##__VA_ARGS__)
42 /* dwc2-hsotg declarations */
63 * If we try to lower the MPS size for EP0, then no transfers work properly
[all …]
/openbmc/linux/drivers/accel/habanalabs/common/
H A Dhabanalabs_drv.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright 2016-2021 HabanaLabs, Ltd.
48 "Do device reset on lockup (0 = no, 1 = yes, default yes)");
52 "Scrub device memory in various states (0 = no, 1 = yes, default no)");
56 …"Mask of the error status during device CPU boot (If bitX is cleared then error X is masked. Defau…
74 * get_asic_type - translate device id to asic type
79 * In case of unidentified device, return -1
83 struct pci_dev *pdev = hdev->pdev; in get_asic_type()
86 switch (pdev->device) { in get_asic_type()
97 switch (pdev->revision) { in get_asic_type()
[all …]
/openbmc/linux/drivers/soundwire/
H A Dintel_auxdevice.c1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
2 // Copyright(c) 2015-22 Intel Corporation.
32 * flags reused in each byte, with master0 using the ls-byte, etc.
71 if (slave->id.part_id == wake_capable_list[i].part_id && in is_wake_capable()
72 slave->id.mfg_id == wake_capable_list[i].mfg_id) in is_wake_capable()
82 return sdw->link_res->hw_ops->pre_bank_switch(sdw); in generic_pre_bank_switch()
90 return sdw->link_res->hw_ops->post_bank_switch(sdw); in generic_post_bank_switch()
101 bool wake_capable = slave->prop.wake_capable || is_wake_capable(slave); in generic_new_peripheral_assigned()
108 dev_num_max = SDW_INTEL_DEV_NUM_IDA_MIN - 1; in generic_new_peripheral_assigned()
113 dev_err(bus->dev, "%s: invalid dev_num %d, wake supported %d\n", in generic_new_peripheral_assigned()
[all …]
/openbmc/linux/sound/soc/sof/
H A Dipc4-pcm.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
11 #include "sof-audio.h"
12 #include "sof-priv.h"
14 #include "ipc4-priv.h"
15 #include "ipc4-topology.h"
16 #include "ipc4-fw-reg.h"
25 if (trigger_list->count == 1) in sof_ipc4_set_multi_pipeline_state()
26 return sof_ipc4_set_pipeline_state(sdev, trigger_list->pipeline_instance_ids[0], in sof_ipc4_set_multi_pipeline_state()
39 ipc_size = sizeof(u32) * (trigger_list->count + 1); in sof_ipc4_set_multi_pipeline_state()
43 return sof_ipc_tx_message_no_reply(sdev->ipc, &msg, ipc_size); in sof_ipc4_set_multi_pipeline_state()
[all …]

12345678910>>...26