/Linux-v6.1/arch/arm/mach-lpc32xx/ |
D | suspend.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * arch/arm/mach-lpc32xx/suspend.S 39 stmfd r0!, {r3 - r7, sp, lr} 63 @ Setup self-refresh with support for manual exit of 64 @ self-refresh mode 70 @ Wait for self-refresh acknowledge, clocks to the DRAM device 71 @ will automatically stop on start of self-refresh 76 bne 3b @ Branch until self-refresh mode starts 78 @ Enter direct-run mode from run mode 113 @ Re-enter run mode with self-refresh flag cleared, but no DRAM [all …]
|
D | pm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * arch/arm/mach-lpc32xx/pm.c 15 * direct-run, and halt modes. When switching between halt and run modes, 16 * the CPU transistions through direct-run mode. For Linux, direct-run 25 * Direct-run mode: 36 * wake the system up back into direct-run mode. 38 * DRAM refresh 39 * DRAM clocking and refresh are slightly different for systems with DDR 41 * SDRAM will still be accessible in direct-run mode. In DDR based systems, 42 * a transition to direct-run mode will stop all DDR accesses (no clocks). [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/memory-controllers/ |
D | rockchip,rk3399-dmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/rockchip,rk3399-dmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Brian Norris <briannorris@chromium.org> 15 - rockchip,rk3399-dmc 17 devfreq-events: 21 Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt. 26 clock-names: 28 - const: dmc_clk [all …]
|
/Linux-v6.1/include/soc/at91/ |
D | sama7-ddr.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 44 #define DDR3PHY_ZQ0SR0_PDO_OFF (0) /* Pull-down output impedance select offset */ 45 #define DDR3PHY_ZQ0SR0_PUO_OFF (5) /* Pull-up output impedance select offset */ 46 #define DDR3PHY_ZQ0SR0_PDODT_OFF (10) /* Pull-down on-die termination impedance select offset */ 47 #define DDR3PHY_ZQ0SRO_PUODT_OFF (15) /* Pull-up on-die termination impedance select offset */ 55 #define UDDRC_STAT_SELFREF_TYPE_DIS (0x0 << 4) /* SDRAM is not in Self-refresh */ 56 #define UDDRC_STAT_SELFREF_TYPE_PHY (0x1 << 4) /* SDRAM is in Self-refresh, which was caused by PH… 57 …ELFREF_TYPE_SW (0x2 << 4) /* SDRAM is in Self-refresh, which was not caused solely under Automatic… 58 …TAT_SELFREF_TYPE_AUTO (0x3 << 4) /* SDRAM is in Self-refresh, which was caused by Automatic Self-r… 59 #define UDDRC_STAT_SELFREF_TYPE_MSK (0x3 << 4) /* Self-refresh type mask */ [all …]
|
D | at91sam9_sdramc.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * arch/arm/mach-at91/include/mach/at91sam9_sdramc.h 8 * SDRAM Controllers (SDRAMC) - System peripherals registers. 26 #define AT91_SDRAMC_TR 0x04 /* SDRAM Controller Refresh Timer Register */ 27 #define AT91_SDRAMC_COUNT (0xfff << 0) /* Refresh Timer Counter */ 54 #define AT91_SDRAMC_TXSR (0xf << 28) /* Exit Self Refresh to Active Delay */ 57 #define AT91_SDRAMC_LPCB (3 << 0) /* Low-power Configurations */ 62 #define AT91_SDRAMC_PASR (7 << 4) /* Partial Array Self Refresh */ 63 #define AT91_SDRAMC_TCSR (3 << 8) /* Temperature Compensated Self Refresh */ 74 #define AT91_SDRAMC_RES (1 << 0) /* Refresh Error Status */
|
D | at91sam9_ddrsdr.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 21 #define AT91_DDRSDRC_RTR 0x04 /* Refresh Timer Register */ 22 #define AT91_DDRSDRC_COUNT (0xfff << 0) /* Refresh Timer Counter */ 46 #define AT91_DDRSDRC_OCD (1 << 12) /* Off-Chip Driver [SAM9 Only] */ 59 #define AT91_DDRSDRC_TMRD (0xf << 28) /* Load mode to active/refresh delay */ 63 #define AT91_DDRSDRC_TXSNR (0xff << 8) /* Exit self-refresh to non-read */ 64 #define AT91_DDRSDRC_TXSRD (0xff << 16) /* Exit self-refresh to read */ 65 #define AT91_DDRSDRC_TXP (0xf << 24) /* Exit power-down delay */ 74 #define AT91_DDRSDRC_LPCB (3 << 0) /* Low-power Configurations */ 81 #define AT91_DDRSDRC_PASR (7 << 4) /* Partial Array Self Refresh */ [all …]
|
/Linux-v6.1/drivers/gpu/drm/ |
D | drm_self_refresh_helper.c | 1 // SPDX-License-Identifier: MIT 27 * framework to implement panel self refresh (SR) support. Drivers are 31 * &drm_connector_state.self_refresh_aware to true at runtime if it is SR-aware 32 * (meaning it knows how to initiate self refresh on the panel). 38 * that tells you to disable/enable SR on the panel instead of power-cycling it. 72 struct drm_crtc *crtc = sr_data->crtc; in drm_self_refresh_helper_entry_work() 73 struct drm_device *dev = crtc->dev; in drm_self_refresh_helper_entry_work() 85 ret = -ENOMEM; in drm_self_refresh_helper_entry_work() 90 state->acquire_ctx = &ctx; in drm_self_refresh_helper_entry_work() 98 if (!crtc_state->enable) in drm_self_refresh_helper_entry_work() [all …]
|
/Linux-v6.1/arch/arm/mach-socfpga/ |
D | self-refresh.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2014-2015 Altera Corporation. All rights reserved. 32 .arch armv7-a 44 * return value: lower 16 bits: loop count going into self refresh 45 * upper 16 bits: loop count exiting self refresh 53 /* Enable self refresh: set sdr.ctrlgrp.lowpwreq.selfrshreq = 1 */ 89 /* Disable self-refresh: set sdr.ctrlgrp.lowpwreq.selfrshreq = 0 */ 109 * Shift loop count for exiting self refresh into upper 16 bits. 110 * Leave loop count for requesting self refresh in lower 16 bits. 125 .word . - socfpga_sdram_self_refresh
|
/Linux-v6.1/arch/arm/mach-pxa/ |
D | sleep.S | 2 * Low-level PXA250/210 sleep/wakeUp support 17 #include "pxa2xx-regs.h" 28 * pxa3xx_finish_suspend() - forces CPU into sleep state (S2D3C4) 55 @ prepare SDRAM refresh settings 59 @ enable SDRAM self-refresh mode 62 @ set SDCLKx divide-by-2 bits (this is part of a workaround for Errata 50) 96 @ prepare SDRAM refresh settings 100 @ enable SDRAM self-refresh mode 107 @ We keep the change-down close to the actual suspend on SDRAM 108 @ as possible to eliminate messing about with the refresh clock [all …]
|
/Linux-v6.1/drivers/cpuidle/ |
D | cpuidle-zynq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2012-2013 Xilinx 7 * based on arch/arm/mach-at91/cpuidle.c 9 * The cpu idle uses wait-for-interrupt and RAM self refresh in order 10 * to implement two idle states - 11 * #1 wait-for-interrupt 12 * #2 wait-for-interrupt and RAM self refresh 28 /* Add code for DDR self refresh start */ in zynq_enter_idle() 44 .desc = "WFI and RAM Self Refresh", 61 .name = "cpuidle-zynq",
|
D | cpuidle-at91.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * based on arch/arm/mach-kirkwood/cpuidle.c 7 * The cpu idle uses wait-for-interrupt and RAM self refresh in order 8 * to implement two idle states - 9 * #1 wait-for-interrupt 10 * #2 wait-for-interrupt and RAM self refresh 43 .desc = "WFI and DDR Self Refresh", 51 at91_standby = (void *)(dev->dev.platform_data); in at91_cpuidle_probe() 58 .name = "cpuidle-at91",
|
D | cpuidle-kirkwood.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * The cpu idle uses wait-for-interrupt and DDR self refresh in order 6 * to implement two idle states - 7 * #1 wait-for-interrupt 8 * #2 wait-for-interrupt and DDR self refresh 47 .desc = "WFI and DDR Self Refresh", 81 MODULE_ALIAS("platform:kirkwood-cpuidle");
|
/Linux-v6.1/arch/sh/boards/mach-kfr2r09/ |
D | sdram.S | 1 /* SPDX-License-Identifier: GPL-2.0 3 * KFR2R09 sdram self/auto-refresh setup code 11 #include <asm/asm-offsets.h> 13 #include <asm/romimage-macros.h> 15 /* code to enter and leave self-refresh. must be self-contained. 16 * this code will be copied to on-chip memory and executed from there. 21 /* DBSC: put memory in self-refresh mode */ 37 /* DBSC: put memory in auto-refresh mode */ 55 /* DBSC: re-initialize and put in auto-refresh */
|
/Linux-v6.1/arch/sh/boards/mach-migor/ |
D | sdram.S | 1 /* SPDX-License-Identifier: GPL-2.0 3 * Migo-R sdram self/auto-refresh setup code 11 #include <asm/asm-offsets.h> 13 #include <asm/romimage-macros.h> 15 /* code to enter and leave self-refresh. must be self-contained. 16 * this code will be copied to on-chip memory and executed from there. 21 /* SBSC: disable power down and put in self-refresh mode */ 42 /* SBSC: set auto-refresh mode */ 51 mov #-1, r4
|
/Linux-v6.1/arch/sh/boards/mach-ap325rxa/ |
D | sdram.S | 1 /* SPDX-License-Identifier: GPL-2.0 3 * AP325RXA sdram self/auto-refresh setup code 11 #include <asm/asm-offsets.h> 13 #include <asm/romimage-macros.h> 15 /* code to enter and leave self-refresh. must be self-contained. 16 * this code will be copied to on-chip memory and executed from there. 21 /* SBSC: disable power down and put in self-refresh mode */ 42 /* SBSC: set auto-refresh mode */ 51 mov #-1, r4
|
/Linux-v6.1/arch/arm/mach-at91/ |
D | pm_suspend.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * arch/arm/mach-at91/pm_slow_clock.S 13 #include "pm_data-offsets.h" 88 * @ena: 0 - disable regulator 89 * 1 - enable regulator 121 * Enable self-refresh 160 /* Switch to self-refresh. */ 166 /* Wait for self-refresh enter. */ 172 /* Disable DX DLLs for non-backup modes. */ 210 * Disable self-refresh [all …]
|
/Linux-v6.1/arch/sh/boards/mach-ecovec24/ |
D | sdram.S | 1 /* SPDX-License-Identifier: GPL-2.0 3 * Ecovec24 sdram self/auto-refresh setup code 11 #include <asm/asm-offsets.h> 13 #include <asm/romimage-macros.h> 15 /* code to enter and leave self-refresh. must be self-contained. 16 * this code will be copied to on-chip memory and executed from there. 21 /* DBSC: put memory in self-refresh mode */ 41 /* DBSC: put memory in auto-refresh mode */ 55 /* DBSC: re-initialize and put in auto-refresh */
|
/Linux-v6.1/arch/sh/kernel/cpu/shmobile/ |
D | pm.c | 1 // SPDX-License-Identifier: GPL-2.0 28 * Sleep Self-Refresh mode is above plus RAM put in Self-Refresh 29 * Standby Self-Refresh mode is above plus stopped clocks 37 * U-standby mode is unsupported since it needs bootloader hacks 62 /* Let assembly snippet in on-chip memory handle the rest */ in sh_mobile_call_standby() 88 sdp->addr.stbcr = 0xa4150020; /* STBCR */ in sh_mobile_register_self_refresh() 89 sdp->addr.bar = 0xa4150040; /* BAR */ in sh_mobile_register_self_refresh() 90 sdp->addr.pteh = 0xff000000; /* PTEH */ in sh_mobile_register_self_refresh() 91 sdp->addr.ptel = 0xff000004; /* PTEL */ in sh_mobile_register_self_refresh() 92 sdp->addr.ttb = 0xff000008; /* TTB */ in sh_mobile_register_self_refresh() [all …]
|
/Linux-v6.1/arch/sh/boards/mach-se/7724/ |
D | sdram.S | 1 /* SPDX-License-Identifier: GPL-2.0 3 * MS7724SE sdram self/auto-refresh setup code 11 #include <asm/asm-offsets.h> 13 #include <asm/romimage-macros.h> 15 /* code to enter and leave self-refresh. must be self-contained. 16 * this code will be copied to on-chip memory and executed from there. 21 /* DBSC: put memory in self-refresh mode */ 37 /* DBSC: put memory in auto-refresh mode */ 72 /* DBSC: re-initialize and put in auto-refresh */
|
/Linux-v6.1/arch/arm/mach-imx/ |
D | suspend-imx53.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (C) 2008-2011 Freescale Semiconductor, Inc. 60 /* Set FDVFS bit of M4IF_MCR0 to request DDR to enter self-refresh */ 66 /* Poll FDVACK bit of M4IF_MCR to wait for DDR to enter self-refresh */ 115 /* Clear FDVFS bit of M4IF_MCR0 to request DDR to exit self-refresh */ 121 /* Poll FDVACK bit of M4IF_MCR to wait for DDR to exit self-refresh */ 134 .word . - imx53_suspend
|
/Linux-v6.1/arch/arm/mach-omap2/ |
D | sleep24xx.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * linux/arch/arm/mach-omap2/sleep.S 7 * Richard Woodruff <r-woodruff2@ti.com> 26 * omap24xx_cpu_suspend() - Forces OMAP into deep sleep state by completing 31 * R0 : DLL ctrl value pre-Sleep 40 * For less than 242x-ES2.2 upon wake from a sleep mode where the external 41 * oscillator was stopped, a timing bug exists where a non-stabilized 12MHz 53 stmfd sp!, {r0 - r12, lr} @ save registers on stack 59 orr r4, r4, #0x40 @ enable self refresh on idle req 69 /* The DPLL has to be on before we take the DDR out of self refresh */ [all …]
|
/Linux-v6.1/arch/mips/alchemy/common/ |
D | sleeper.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 104 sw zero, 0x0020(a0) /* Auto Refresh */ 130 sw zero, 0x08d0(a0) /* Self Refresh */ 133 /* wait for sdram to enter self-refresh mode */ 189 /* auto refresh */ 200 /* issue the Self Refresh command */ 206 /* wait for sdram to enter self-refresh mode */ 240 * the write-only Config[OD] bit and set it back to one...
|
/Linux-v6.1/arch/sh/include/asm/ |
D | suspend.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 31 #define SH_MOBILE_POST(x) (-(x)) 33 /* board code registration function for self-refresh assembly snippets */ 58 /* data area for low-level sleep code */ 63 /* addresses of board specific self-refresh snippets */ 90 #define SUSP_SH_STANDBY (1 << 1) /* SH-Mobile Software standby mode */ 91 #define SUSP_SH_RSTANDBY (1 << 2) /* SH-Mobile R-standby mode */ 92 #define SUSP_SH_USTANDBY (1 << 3) /* SH-Mobile U-standby mode */ 93 #define SUSP_SH_SF (1 << 4) /* Enable self-refresh */
|
/Linux-v6.1/Documentation/devicetree/bindings/memory-controllers/ddr/ |
D | jedec,lpddr3-timings.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/ddr/jedec,lpddr3-timings.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: LPDDR3 SDRAM AC timing parameters for a given speed-bin 10 - Krzysztof Kozlowski <krzk@kernel.org> 14 const: jedec,lpddr3-timings 19 Maximum DDR clock frequency for the speed-bin, in Hz. 20 Property is deprecated, use max-freq. 23 max-freq: [all …]
|
/Linux-v6.1/drivers/staging/olpc_dcon/ |
D | TODO | 2 - complete rewrite: 5 2. The dcon low-power display mode can then be integrated using the 6 drm damage tracking and self-refresh helpers. 7 This bolted-on self-refresh support that digs around in fbdev 9 - see if vx855 gpio API can be made similar enough to cs5535 so we can 12 Please send patches to Greg Kroah-Hartman <greg@kroah.com> and
|