/linux-5.10/Documentation/devicetree/bindings/arm/hisilicon/controller/ |
D | sysctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Wei Xu <xuwei5@hisilicon.com> 19 offset. In addition, the HiP01 system controller has some specific control 23 Hisilicon system controller --> hisilicon,sysctrl 24 HiP01 system controller --> hisilicon,hip01-sysctrl 25 Hi6220 system controller --> hisilicon,hi6220-sysctrl 26 Hi3519 system controller --> hisilicon,hi3519-sysctrl 29 - if: [all …]
|
/linux-5.10/Documentation/devicetree/bindings/arm/cpu-enable-method/ |
D | al,alpine-smp | 2 Secondary CPU enable-method "al,alpine-smp" binding 5 This document describes the "al,alpine-smp" method for 7 "al,alpine-smp" enable method should be defined in the 10 Enable method name: "al,alpine-smp" 12 Compatible CPUs: "arm,cortex-a15" 17 "al,alpine-cpu-resume" and "al,alpine-nb-service". 20 * Alpine CPU resume registers 22 The CPU resume register are used to define required resume address after 26 - compatible : Should contain "al,alpine-cpu-resume". 27 - reg : Offset and length of the register set for the device [all …]
|
/linux-5.10/arch/arm/mach-s3c/ |
D | gpio-core.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * S3C Platform - GPIO core 13 /* Bring in machine-local definitions, especially S3C_GPIO_END */ 14 #include "gpio-samsung.h" 34 * struct samsung_gpio_pm - power management (suspend/resume) information 36 * @resume: Routine to resume the GPIO block. 40 void (*resume)(struct samsung_gpio_chip *chip); member 46 * struct samsung_gpio_chip - wrapper for specific implementation of gpio 51 * @config: special function and pull-resistor control information. 53 * @pm_save: Save information for suspend/resume support. [all …]
|
D | mach-osiris.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (c) 2005-2008 Simtec Electronics 25 #include <asm/mach-types.h> 31 #include <linux/platform_data/mtd-nand-s3c2410.h> 32 #include <linux/platform_data/i2c-s3c2410.h> 40 #include <linux/soc/samsung/s3c-cpu-freq.h> 42 #include "gpio-cfg.h" 44 #include "regs-gpio.h" 45 #include "gpio-samsung.h" 49 #include "regs-mem-s3c24xx.h" [all …]
|
/linux-5.10/Documentation/power/ |
D | userland-swsusp.rst | 16 are going to develop your own suspend/resume utilities. 26 assumed to be in the resume mode. The device cannot be open for simultaneous 49 from it (0) (after resume the system finds itself finishing the 81 allocate a swap page from the resume partition 83 will contain the swap page offset if the call is successful) 90 set the resume partition and the offset (in <PAGE_SIZE> 94 containing the resume device specification and the offset); for swap 95 partitions the offset is always 0, but it is different from zero for 96 swap files (see Documentation/power/swsusp-and-swap-files.rst for 109 immediately enter the suspend-to-RAM state, so this call must always [all …]
|
D | swsusp-and-swap-files.rst | 13 already taken care of by the swap-handling code, but (2) has to be taken into 19 journaled, it cannot be mounted during resume from disk. For this reason to 21 and the offset from the beginning of the partition at which the swap file's 22 header is located. For convenience, this offset is expressed in <PAGE_SIZE> 35 offset, in <PAGE_SIZE> units, from the beginning of the partition which 40 resume=<swap_file_partition> resume_offset=<swap_file_offset> 43 and <swap_file_offset> is the offset of the swap header determined by the 45 by the same application that determines the swap file's header offset using the 50 Use a userland suspend application that will set the partition and offset 52 Documentation/power/userland-swsusp.rst (this is the only method to suspend [all …]
|
/linux-5.10/drivers/platform/x86/intel_speed_select_if/ |
D | isst_if_common.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 36 * struct isst_if_cmd_cb - Used to register a IOCTL handler 40 * @offset: Offset to the first valid member in command structure. 41 * This will be the offset of the start of the command 46 * response to user ioctl buffer. The "resume" argument 48 * during system resume 58 int offset; member 60 long (*cmd_callback)(u8 *ptr, int *write_only, int resume);
|
/linux-5.10/drivers/gpu/drm/gma500/ |
D | gtt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Authors: Thomas Hellstrom <thomas-at-tungstengraphics.com> 19 * GTT resource allocator - manage page mappings in GTT space 23 * psb_gtt_mask_pte - generate GTT pte entry 48 * psb_gtt_entry - find the GTT entries for a gtt_range 52 * Given a gtt_range object return the GTT offset of the page table 57 struct drm_psb_private *dev_priv = dev->dev_private; in psb_gtt_entry() 58 unsigned long offset; in psb_gtt_entry() local 60 offset = r->resource.start - dev_priv->gtt_mem->start; in psb_gtt_entry() 62 return dev_priv->gtt_map + (offset >> PAGE_SHIFT); in psb_gtt_entry() [all …]
|
/linux-5.10/drivers/gpio/ |
D | gpio-arizona.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 27 static int arizona_gpio_direction_in(struct gpio_chip *chip, unsigned offset) in arizona_gpio_direction_in() argument 30 struct arizona *arizona = arizona_gpio->arizona; in arizona_gpio_direction_in() 31 bool persistent = gpiochip_line_is_persistent(chip, offset); in arizona_gpio_direction_in() 35 ret = regmap_update_bits_check(arizona->regmap, in arizona_gpio_direction_in() 36 ARIZONA_GPIO1_CTRL + offset, in arizona_gpio_direction_in() 43 pm_runtime_mark_last_busy(chip->parent); in arizona_gpio_direction_in() 44 pm_runtime_put_autosuspend(chip->parent); in arizona_gpio_direction_in() 50 static int arizona_gpio_get(struct gpio_chip *chip, unsigned offset) in arizona_gpio_get() argument 53 struct arizona *arizona = arizona_gpio->arizona; in arizona_gpio_get() [all …]
|
/linux-5.10/arch/h8300/include/asm/ |
D | switch_to.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * also clears the TS-flag if the task we switched to has used the 9 * math co-processor latest. 13 * automatically by SAVE_SWITCH_STACK in resume(), ie. d0-d5 and 14 * a0-a1. Some of these are used by schedule() and its predecessors 21 * Beware that resume now expects *next to be in d1 and the offset of 25 * 02/17/96 - Jes Sorensen (jds@kom.auc.dk) 28 * pass prev in a0, next in a1, offset of tss in d1, and whether 34 asmlinkage void resume(void); 45 : "r" (&(prev->thread)), \ [all …]
|
/linux-5.10/Documentation/devicetree/bindings/powerpc/4xx/ |
D | cpm.txt | 4 - compatible : compatible list, currently only "ibm,cpm" 5 - dcr-access-method : "native" 6 - dcr-reg : < DCR register range > 9 - er-offset : All 4xx SoCs with a CPM controller have 15 er-offset = <1>. 16 - unused-units : specifier consist of one cell. For each 20 - idle-doze : specifier consist of one cell. For each 24 - standby : specifier consist of one cell. For each 27 restored on resume. 28 - suspend : specifier consist of one cell. For each [all …]
|
/linux-5.10/drivers/crypto/ |
D | atmel-sha.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Copyright (c) 2012 Eukréa Electromatique - ATMEL 10 * Some ideas are from omap-sham.c drivers. 30 #include <linux/dma-mapping.h> 39 #include "atmel-sha-regs.h" 40 #include "atmel-authenc.h" 101 unsigned int offset; /* offset in current sg */ member 146 atmel_sha_fn_t resume; member 169 static const char *atmel_sha_reg_name(u32 offset, char *tmp, size_t sz, bool wr) in atmel_sha_reg_name() argument 171 switch (offset) { in atmel_sha_reg_name() [all …]
|
D | atmel-aes.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Copyright (c) 2012 Eukréa Electromatique - ATMEL 10 * Some ideas are from omap-aes.c driver. 30 #include <linux/dma-mapping.h> 41 #include "atmel-aes-regs.h" 42 #include "atmel-authenc.h" 120 size_t offset; member 191 atmel_aes_fn_t resume; member 234 static const char *atmel_aes_reg_name(u32 offset, char *tmp, size_t sz) in atmel_aes_reg_name() argument 236 switch (offset) { in atmel_aes_reg_name() [all …]
|
D | exynos-rng.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * exynos-rng.c - Random Number Generator driver for the Exynos 7 * Loosely based on old driver from drivers/char/hw_random/exynos-rng.c: 51 * Driver re-seeds itself with generated random numbers to hinder 54 * Time for next re-seed in ms. 76 /* Generated numbers stored for seeding during resume */ 87 static u32 exynos_rng_readl(struct exynos_rng_dev *rng, u32 offset) in exynos_rng_readl() argument 89 return readl_relaxed(rng->mem + offset); in exynos_rng_readl() 92 static void exynos_rng_writel(struct exynos_rng_dev *rng, u32 val, u32 offset) in exynos_rng_writel() argument 94 writel_relaxed(val, rng->mem + offset); in exynos_rng_writel() [all …]
|
/linux-5.10/drivers/pinctrl/samsung/ |
D | pinctrl-samsung.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * pin-controller/pin-mux/pin-config/gpio-driver for Samsung's SoC's. 25 * enum pincfg_type - possible pin configuration types supported. 46 * packed together into a 16-bits. The upper 8-bits represent the configuration 47 * type and the lower 8-bits hold the value of the configuration type. 57 * enum eint_type - possible external interrupt types. 77 /* maximum length of a pin in pin descriptor (example: "gpa0-0") */ 108 * struct samsung_pin_bank_data: represent a controller pin-bank (init data). 110 * @pctl_offset: starting offset of the pin-bank registers. 111 * @pctl_res_idx: index of base address for pin-bank registers. [all …]
|
/linux-5.10/arch/m68k/include/asm/ |
D | switch_to.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * also clears the TS-flag if the task we switched to has used the 9 * math co-processor latest. 13 * automatically by SAVE_SWITCH_STACK in resume(), ie. d0-d5 and 14 * a0-a1. Some of these are used by schedule() and its predecessors 21 * Beware that resume now expects *next to be in d1 and the offset of 25 * 02/17/96 - Jes Sorensen (jds@kom.auc.dk) 30 asmlinkage void resume(void); 35 __asm__ __volatile__("jbsr resume" \
|
/linux-5.10/drivers/gpu/drm/lima/ |
D | lima_device.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 2 /* Copyright 2017-2019 Qiang Yu <yuq825@gmail.com> */ 7 #include <linux/dma-mapping.h> 24 int offset[lima_gpu_num]; member 28 int (*resume)(struct lima_ip *ip); member 40 .offset = { \ 46 .resume = lima_##func##_resume, \ 53 LIMA_IP_DESC(l2_cache1, false, true, -1, 0x01000, l2_cache, NULL), 54 LIMA_IP_DESC(l2_cache2, false, false, -1, 0x11000, l2_cache, NULL), 60 LIMA_IP_DESC(pp4, false, false, -1, 0x28000, pp, "pp4"), [all …]
|
/linux-5.10/include/uapi/linux/ |
D | apm_bios.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 4 * Copyright 1994-2001 Stephen Rothwell (sfr@canb.auug.org.au) 28 __u32 offset; member 123 #define APM_CAP_RESUME_STANDBY_TIMER 0x0004 /* Timer resume from standby */ 124 #define APM_CAP_RESUME_SUSPEND_TIMER 0x0008 /* Timer resume from suspend */ 125 #define APM_CAP_RESUME_STANDBY_RING 0x0010 /* Resume on Ring fr standby */ 126 #define APM_CAP_RESUME_SUSPEND_RING 0x0020 /* Resume on Ring fr suspend */ 127 #define APM_CAP_RESUME_STANDBY_PCMCIA 0x0040 /* Resume on PCMCIA Ring */ 128 #define APM_CAP_RESUME_SUSPEND_PCMCIA 0x0080 /* Resume on PCMCIA Ring */
|
/linux-5.10/Documentation/ABI/testing/ |
D | sysfs-power | 15 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 39 See Documentation/admin-guide/pm/sleep-states.rst for more 47 suspend-to-disk mechanism. Reading from this file returns 51 'firmware' - means that the memory image will be saved to disk 55 'platform' - the memory image will be saved by the kernel and 59 'shutdown' - the memory image will be saved by the kernel and 62 'reboot' - the memory image will be saved by the kernel and 66 two testing modes of the suspend-to-disk mechanism: 'testproc' [all …]
|
/linux-5.10/drivers/soundwire/ |
D | intel.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 2 // Copyright(c) 2015-17 Intel Corporation. 31 * flags reused in each byte, with master0 using the ls-byte, etc. 70 #define SDW_SHIM_SYNC_SYNCPRD_VAL_24 (24000 / SDW_CADENCE_GSYNC_KHZ - 1) 71 #define SDW_SHIM_SYNC_SYNCPRD_VAL_38_4 (38400 / SDW_CADENCE_GSYNC_KHZ - 1) 128 static inline int intel_readl(void __iomem *base, int offset) in intel_readl() argument 130 return readl(base + offset); in intel_readl() 133 static inline void intel_writel(void __iomem *base, int offset, int value) in intel_writel() argument 135 writel(value, base + offset); in intel_writel() 138 static inline u16 intel_readw(void __iomem *base, int offset) in intel_readw() argument [all …]
|
/linux-5.10/drivers/net/ipa/ |
D | ipa_main.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2018-2020 Linaro Ltd. 50 * currently supported. Despite that, some resources--including routing 51 * tables and filter tables--are defined in this driver because they must 57 * well-defined communication layer between the AP subsystem and the IPA 74 * ipa_suspend_handler() - Handle the suspend IPA interrupt 80 * to inform the AP that it should resume the endpoint. If we get 81 * one of these interrupts we just resume everything. 85 /* Just report the event, and let system resume handle the rest. in ipa_suspend_handler() [all …]
|
/linux-5.10/arch/csky/kernel/ |
D | ftrace.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. 21 * Gcc-csky with -pg will insert stub in function prologue: 27 * If the (callee - current_pc) is less then 64MB, we'll use bsr: 38 * (r26 is our reserved link-reg) 44 long offset; in make_jbsr() local 48 offset = (long) callee - (long) pc; in make_jbsr() 50 if (unlikely(offset < -67108864 || offset > 67108864)) { in make_jbsr() 58 offset = offset >> 1; in make_jbsr() 61 ((uint16_t)((unsigned long) offset >> 16) & 0x3ff); in make_jbsr() [all …]
|
/linux-5.10/tools/perf/util/ |
D | unwind-libunwind-local.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * Copyright (C) 2002-2007 Hewlett-Packard Co 10 * Contributed by David Mosberger-Tang <davidm@hpl.hp.com> 31 #include <libunwind-ptrace.h> 65 /* Pointer-encoding formats: */ 67 #define DW_EH_PE_ptr 0x00 /* pointer-sized unsigned value */ 68 #define DW_EH_PE_udata4 0x03 /* unsigned 32-bit value */ 69 #define DW_EH_PE_udata8 0x04 /* unsigned 64-bit value */ 70 #define DW_EH_PE_sdata4 0x0b /* signed 32-bit value */ 71 #define DW_EH_PE_sdata8 0x0c /* signed 64-bit value */ [all …]
|
/linux-5.10/drivers/visorbus/ |
D | visorbus_main.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright � 2010 - 2015 UNISYS CORPORATION 38 guid = visorchannel_get_guid(vdev->visorchannel); in modalias_show() 73 if (!guid_equal(&ch->chtype, expected_guid)) { in visor_check_channel() 76 &ch->chtype); in visor_check_channel() 82 if (ch->size < expected_min_bytes) { in visor_check_channel() 83 …dev_err(dev, "Channel mismatch on channel=%s(%pUL) field=size expected=0x%-8.8Lx actual=0x%-8.8Lx\… in visor_check_channel() 86 ch->size); in visor_check_channel() 92 if (ch->version_id != expected_version) { in visor_check_channel() 93 …dev_err(dev, "Channel mismatch on channel=%s(%pUL) field=version expected=0x%-8.8lx actual=0x%-8.8… in visor_check_channel() [all …]
|
/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_device.c | 161 return snprintf(buf, PAGE_SIZE, "%s\n", adev->product_name); in amdgpu_device_get_product_name() 183 return snprintf(buf, PAGE_SIZE, "%s\n", adev->product_number); in amdgpu_device_get_product_number() 205 return snprintf(buf, PAGE_SIZE, "%s\n", adev->serial); in amdgpu_device_get_serial_number() 212 * amdgpu_device_supports_boco - Is the device a dGPU with HG/PX power control 223 if (adev->flags & AMD_IS_PX) in amdgpu_device_supports_boco() 229 * amdgpu_device_supports_baco - Does the device support BACO 248 * amdgpu_device_vram_access - read/write a buffer in vram 251 * @pos: offset of the buffer in vram 254 * @write: true - write to vram, otherwise - read from vram 265 last = min(pos + size, adev->gmc.visible_vram_size); in amdgpu_device_vram_access() [all …]
|