Home
last modified time | relevance | path

Searched +full:disable +full:- +full:hibernation +full:- +full:mode (Results 1 – 25 of 74) sorted by relevance

123

/linux-6.14.4/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.
16 #include <linux/dma-mapping.h>
29 switch (hsotg->op_state) { in dwc2_op_state_str()
46 * dwc2_handle_usb_port_intr - handles OTG PRTINT interrupts.
63 * dwc2_handle_mode_mismatch_intr() - Logs a mode mismatch warning message
72 dev_warn(hsotg->dev, "Mode Mismatch Interrupt: currently in %s mode\n", in dwc2_handle_mode_mismatch_intr()
77 * dwc2_handle_otg_intr() - Handles the OTG Interrupts. It reads the OTG
91 dev_dbg(hsotg->dev, "++OTG Interrupt gotgint=%0x [%s]\n", gotgint, in dwc2_handle_otg_intr()
[all …]
Dhcd.c1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * hcd.c - DesignWare HS OTG Controller host-mode routines
5 * Copyright (C) 2004-2013 Synopsys, Inc.
17 #include <linux/dma-mapping.h>
37 * dwc2_enable_common_interrupts() - Initializes the commmon interrupts,
55 if (!hsotg->params.host_dma) in dwc2_enable_common_interrupts()
57 if (!hsotg->params.external_id_pin_ctl) in dwc2_enable_common_interrupts()
63 if (dwc2_is_device_mode(hsotg) && hsotg->params.lpm) in dwc2_enable_common_interrupts()
73 switch (hsotg->hw_params.arch) { in dwc2_gahbcfg_init()
75 dev_err(hsotg->dev, "External DMA Mode not supported\n"); in dwc2_gahbcfg_init()
[all …]
Dparams.c1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) 2004-2016 Synopsys, Inc.
20 struct dwc2_core_params *p = &hsotg->params; in dwc2_set_bcm_params()
22 p->host_rx_fifo_size = 774; in dwc2_set_bcm_params()
23 p->max_transfer_size = 65535; in dwc2_set_bcm_params()
24 p->max_packet_count = 511; in dwc2_set_bcm_params()
25 p->ahbcfg = 0x10; in dwc2_set_bcm_params()
30 struct dwc2_core_params *p = &hsotg->params; in dwc2_set_his_params()
32 p->otg_caps.hnp_support = false; in dwc2_set_his_params()
33 p->otg_caps.srp_support = false; in dwc2_set_his_params()
[all …]
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 */
74 * struct dwc2_hsotg_ep - driver endpoint definition.
[all …]
Dgadget.c1 // SPDX-License-Identifier: GPL-2.0
11 * S3C USB2.0 High-speed / OtG driver
19 #include <linux/dma-mapping.h>
65 return hsotg->eps_in[ep_index]; in index_to_ep()
67 return hsotg->eps_out[ep_index]; in index_to_ep()
74 * using_dma - return the DMA status of the driver.
94 return hsotg->params.g_dma; in using_dma()
98 * using_desc_dma - return the descriptor DMA status of the driver.
105 return hsotg->params.g_dma_desc; in using_desc_dma()
109 * dwc2_gadget_incr_frame_num - Increments the targeted frame number.
[all …]
Dplatform.c1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * platform.c - DesignWare HS OTG Controller platform driver
13 #include <linux/dma-mapping.h>
18 #include <linux/platform_data/s3c-hsotg.h>
39 * ------------------------------
41 * HST DEV any : ---
44 * DEV HST any : ---
54 enum usb_dr_mode mode; in dwc2_get_dr_mode() local
56 hsotg->dr_mode = usb_get_dr_mode(hsotg->dev); in dwc2_get_dr_mode()
57 if (hsotg->dr_mode == USB_DR_MODE_UNKNOWN) in dwc2_get_dr_mode()
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/net/
Dqca,ar803x.yaml1 # SPDX-License-Identifier: GPL-2.0+
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andrew Lunn <[email protected]>
11 - Florian Fainelli <[email protected]>
12 - Heiner Kallweit <[email protected]>
18 - $ref: ethernet-phy.yaml#
21 qca,clk-out-frequency:
26 qca,clk-out-strength:
31 qca,disable-smarteee:
[all …]
/linux-6.14.4/drivers/gpu/drm/i915/gem/
Di915_gem_pm.c2 * SPDX-License-Identifier: MIT
28 GEM_TRACE("%s\n", dev_name(i915->drm.dev)); in i915_gem_suspend()
30 intel_wakeref_auto(&i915->runtime_pm.userfault_wakeref, 0); in i915_gem_suspend()
38 flush_workqueue(i915->wq); in i915_gem_suspend()
42 * that they can saved in the hibernation image. To ensure the last in i915_gem_suspend()
44 * leaves the i915->kernel_context still active when in i915_gem_suspend()
61 if (mr->type == INTEL_MEMORY_LOCAL) { in lmem_restore()
77 if (mr->type == INTEL_MEMORY_LOCAL) { in lmem_suspend()
93 if (mr->type == INTEL_MEMORY_LOCAL) in lmem_recover()
114 * page-tables for the migrate context. in i915_gem_backup_suspend()
[all …]
/linux-6.14.4/kernel/power/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
9 suspend-to-RAM state (e.g. the ACPI S3 state).
30 user-space before invoking suspend. There's a run-time switch
32 This setting changes the default for the run-tim switch. Say Y
33 to change the default to disable the kernel sys_sync().
38 config HIBERNATION config
39 bool "Hibernation (aka 'suspend to disk')"
47 called "hibernation" in user interfaces. STD checkpoints the
60 for suspend states like suspend-to-RAM (STR) often don't work very
72 <file:Documentation/power/swsusp-and-swap-files.rst>).
[all …]
/linux-6.14.4/Documentation/power/
Duserland-swsusp.rst25 reading, it is considered to be in the suspend mode. Otherwise it is
26 assumed to be in the resume mode. The device cannot be open for simultaneous
71 return the actual size of the hibernation image
96 swap files (see Documentation/power/swsusp-and-swap-files.rst for
100 enable/disable the hibernation platform support,
104 make the kernel transition the system to the hibernation
109 immediately enter the suspend-to-RAM state, so this call must always
112 is needed to implement the suspend-to-both mechanism in which the
121 - you cannot read() more than one virtual memory page at a time
122 - read()s across page boundaries are impossible (ie. if you read() 1/2 of
[all …]
/linux-6.14.4/Documentation/arch/x86/
Dtdx.rst1 .. SPDX-License-Identifier: GPL-2.0
10 mode sits between the host and the guest and manages the guest/host
16 TDX introduces a new CPU mode called Secure Arbitration Mode (SEAM) and
18 CPU-attested software module called 'the TDX module' runs inside the new
22 TDX also leverages Intel Multi-Key Total Memory Encryption (MKTME) to
23 provide crypto-protection to the VMs. TDX reserves part of MKTME KeyIDs
24 as TDX private KeyIDs, which are only accessible within the SEAM mode.
32 TDX boot-time detection
33 -----------------------
41 ---------------------------------------
[all …]
/linux-6.14.4/Documentation/ABI/testing/
Dsysfs-power15 labels, which may be "mem" (suspend), "standby" (power-on
16 suspend), "freeze" (suspend-to-idle) and "disk" (hibernation).
21 See Documentation/admin-guide/pm/sleep-states.rst for more
28 The /sys/power/mem_sleep file controls the operating mode of
31 supported). The mode that will be used on subsequent attempts
35 Writing one of the above strings to this file causes the mode
39 See Documentation/admin-guide/pm/sleep-states.rst for more
46 The /sys/power/disk file controls the operating mode of the
47 suspend-to-disk mechanism. Reading from this file returns
51 'firmware' - means that the memory image will be saved to disk
[all …]
Dsysfs-devices-power16 RAM) and hibernation (suspend to disk), and to enable or disable
40 space to control the run-time power management of the device.
61 with the main suspend/resume thread) during system-wide power
62 transitions (eg. suspend to RAM, hibernation).
86 attribute is read-only. If the device is not capable to wake up
98 is read-only. If the device is not capable to wake up the
110 state in progress. This attribute is read-only. If the device
122 read-only. If the device is not capable to wake up the system
133 the device is being processed (1). This attribute is read-only.
145 device, in milliseconds. This attribute is read-only. If the
[all …]
/linux-6.14.4/arch/x86/power/
Dcpu.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Suspend support specific for i386/x86-64.
41 struct saved_msr *msr = ctxt->saved_msrs.array; in msr_save_context()
42 struct saved_msr *end = msr + ctxt->saved_msrs.num; in msr_save_context()
45 if (msr->valid) in msr_save_context()
46 rdmsrl(msr->info.msr_no, msr->info.reg.q); in msr_save_context()
53 struct saved_msr *msr = ctxt->saved_msrs.array; in msr_restore_context()
54 struct saved_msr *end = msr + ctxt->saved_msrs.num; in msr_restore_context()
57 if (msr->valid) in msr_restore_context()
58 wrmsrl(msr->info.msr_no, msr->info.reg.q); in msr_restore_context()
[all …]
/linux-6.14.4/include/linux/
Dsuspend.h1 /* SPDX-License-Identifier: GPL-2.0 */
44 * struct platform_suspend_ops - Callbacks for managing platform dependent
93 * @finish: Finish wake-up of the platform.
104 * suspend_again callback is the place assuming that periodic-wakeup or
105 * alarm-wakeup is already setup. This allows to execute some codes while
151 * suspend_set_ops - set platform dependent suspend operations
184 * pm_suspend_via_firmware - Check if platform firmware will suspend the system.
186 * To be called during system-wide power management transitions to sleep states
187 * or during the subsequent system-wide transitions back to the working state.
190 * the system-wide power management transition (to a sleep state) in progress in
[all …]
Dmhi.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
10 #include <linux/dma-direction.h>
27 * enum mhi_callback - MHI callback
30 * @MHI_CB_LPM_ENTER: MHI host entered low power mode
31 * @MHI_CB_LPM_EXIT: MHI host about to exit low power mode
33 * @MHI_CB_EE_MISSION_MODE: MHI device entered Mission Mode exec env
51 * enum mhi_flags - Transfer flags
63 * enum mhi_device_type - Device types
73 * enum mhi_ch_type - Channel types
[all …]
/linux-6.14.4/drivers/net/phy/qcom/
Dqca808x.c1 // SPDX-License-Identifier: GPL-2.0+
59 /* Hibernation yields lower power consumpiton in contrast with normal operation mode.
60 * when the copper cable is unplugged, the PHY enters into hibernation mode in about 10s.
70 #define QCA808X_MMD7_LED_CTRL(x) (0x8078 - ((x) * 2))
73 #define QCA808X_MMD7_LED_FORCE_CTRL(x) (0x8079 - ((x) * 2))
150 return (phydev->master_slave_get == MASTER_SLAVE_CFG_MASTER_FORCE) || in qca808x_is_prefer_master()
151 (phydev->master_slave_get == MASTER_SLAVE_CFG_MASTER_PREFERRED); in qca808x_is_prefer_master()
156 return linkmode_test_bit(ETHTOOL_LINK_MODE_2500baseT_Full_BIT, phydev->supported); in qca808x_has_fast_retrain_or_slave_seed()
172 unsigned long *possible = phydev->possible_interfaces; in qca808x_fill_possible_interfaces()
182 struct device *dev = &phydev->mdio.dev; in qca808x_probe()
[all …]
Dat803x.c1 // SPDX-License-Identifier: GPL-2.0+
23 #include <dt-bindings/net/qca-ar803x.h>
48 #define AT803X_PSSR 0x11 /*PHY-Specific Status Register*/
108 /* disable hibernation mode */
193 context->bmcr = phy_read(phydev, MII_BMCR); in at803x_context_save()
194 context->advertise = phy_read(phydev, MII_ADVERTISE); in at803x_context_save()
195 context->control1000 = phy_read(phydev, MII_CTRL1000); in at803x_context_save()
196 context->int_enable = phy_read(phydev, AT803X_INTR_ENABLE); in at803x_context_save()
197 context->smart_speed = phy_read(phydev, AT803X_SMART_SPEED); in at803x_context_save()
198 context->led_control = phy_read(phydev, AT803X_LED_CONTROL); in at803x_context_save()
[all …]
/linux-6.14.4/drivers/clocksource/
Dhyperv_timer.c1 // SPDX-License-Identifier: GPL-2.0
5 * provided by the Hyper-V hypervisor to guest VMs, as described
6 * in the Hyper-V Top Level Functional Spec (TLFS). This driver
30 /* Note: offset can hold negative values after hibernation. */
36 * mechanism is used when running on older versions of Hyper-V
37 * that don't support Direct Mode. While Hyper-V provides
40 * Because Direct Mode does not require processing a VMbus
44 * However, for legacy versions of Hyper-V when Direct Mode
51 static int stimer0_irq = -1;
56 * Common code for stimer0 interrupts coming via Direct Mode or
[all …]
/linux-6.14.4/arch/x86/hyperv/
Dhv_init.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * X86 specific Hyper-V initialization code.
10 #define pr_fmt(fmt) "Hyper-V: " fmt
45 /* Storage to save the hypercall page temporarily for hibernation */
61 return -EINVAL; in hyperv_init_ghcb()
74 return -ENOMEM; in hyperv_init_ghcb()
106 * The VP assist page is an "overlay" page (see Hyper-V TLFS's in hv_cpu_init()
117 * Hyper-V should never specify a VM that is a Confidential in hv_cpu_init()
120 * page in non-root partition here. in hv_cpu_init()
270 * CPU or just disable the feature if there are no online CPUs in hv_cpu_die()
[all …]
/linux-6.14.4/Documentation/admin-guide/
Dkernel-parameters.txt16 force -- enable ACPI if default was off
17 on -- enable ACPI but allow fallback to DT [arm64,riscv64]
18 off -- disable ACPI if default was on
19 noirq -- do not use ACPI for IRQ routing
20 strict -- Be less tolerant of platforms that are not
22 rsdt -- prefer RSDT over (default) XSDT
23 copy_dsdt -- copy DSDT to memory
24 nocmcff -- Disable firmware first mode for corrected
28 nospcr -- disable console in ACPI SPCR table as
45 If set to vendor, prefer vendor-specific driver
[all …]
/linux-6.14.4/drivers/gpu/drm/i915/
Di915_driver.c1 /* i915_drv.c -- i830,i845,i855,i865,i915 driver -*- linux-c -*-
22 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
122 * need high-priority retirement, such as waiting for an explicit in i915_workqueues_init()
125 * It is also used for periodic low-priority events, such as in i915_workqueues_init()
126 * idle-timers and recording error state. in i915_workqueues_init()
132 dev_priv->wq = alloc_ordered_workqueue("i915", 0); in i915_workqueues_init()
133 if (dev_priv->wq == NULL) in i915_workqueues_init()
136 dev_priv->display.hotplug.dp_wq = alloc_ordered_workqueue("i915-dp", 0); in i915_workqueues_init()
137 if (dev_priv->display.hotplug.dp_wq == NULL) in i915_workqueues_init()
146 dev_priv->unordered_wq = alloc_workqueue("i915-unordered", 0, 0); in i915_workqueues_init()
[all …]
/linux-6.14.4/kernel/
Dkexec_core.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * kexec.c - kexec system call core code.
4 * Copyright (C) 2002-2004 Eric Biederman <[email protected]>
58 * When kexec transitions to the new kernel there is a one-to-one
60 * where you can disable the MMU this is trivial, and easy. For
77 * 0 - TASK_SIZE, as only the user space mappings are arbitrarily
84 * be self-contained.
92 * - allocating a page table with the control code buffer identity
101 #define KIMAGE_NO_DEST (-1UL)
102 #define PAGE_COUNT(x) (((x) + PAGE_SIZE - 1) >> PAGE_SHIFT)
[all …]
/linux-6.14.4/arch/arm64/boot/dts/freescale/
Dimx8mp-navqp.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/leds/common.h>
15 compatible = "emcraft,imx8mp-navqp", "fsl,imx8mp";
18 stdout-path = &uart2;
21 hdmi-connector {
22 compatible = "hdmi-connector";
28 remote-endpoint = <&hdmi_tx_out>;
34 compatible = "gpio-leds";
[all …]
/linux-6.14.4/arch/x86/kernel/cpu/
Dmshyperv.c1 // SPDX-License-Identifier: GPL-2.0-only
50 return reg - HV_X64_MSR_SINT0 + HV_X64_MSR_NESTED_SINT0; in hv_get_nested_msr()
143 * Routines to do per-architecture handling of stimer0
144 * interrupts when in Direct Mode
207 /* Disable the hypercall page when there is only 1 active CPU. */ in hv_machine_shutdown()
222 /* Disable the hypercall page when there is only 1 active CPU. */ in hv_machine_crash_shutdown()
232 * Hyper-V clock counter resets during hibernation. Save and restore clock
247 * account for the time spent before hibernation. in restore_hv_clock_tsc_state()
249 * - reference counter (time) now. in restore_hv_clock_tsc_state()
251 hv_adj_sched_clock_offset(hv_ref_counter_at_suspend - hv_read_reference_counter()); in restore_hv_clock_tsc_state()
[all …]

123