| /kernel/linux/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 …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/linux-4.19/arch/arm/plat-samsung/include/plat/ |
| 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 <mach/gpio-samsung.h> 33 * struct samsung_gpio_pm - power management (suspend/resume) information 35 * @resume: Routine to resume the GPIO block. 39 void (*resume)(struct samsung_gpio_chip *chip); member 45 * struct samsung_gpio_chip - wrapper for specific implementation of gpio 50 * @config: special function and pull-resistor control information. 52 * @pm_save: Save information for suspend/resume support. [all …]
|
| /kernel/linux/linux-4.19/Documentation/power/ |
| D | swsusp-and-swap-files.txt | 10 already taken care of by the swap-handling code, but (2) has to be taken into 16 journaled, it cannot be mounted during resume from disk. For this reason to 18 and the offset from the beginning of the partition at which the swap file's 19 header is located. For convenience, this offset is expressed in <PAGE_SIZE> 32 offset, in <PAGE_SIZE> units, from the beginning of the partition which 37 resume=<swap_file_partition> resume_offset=<swap_file_offset> 40 and <swap_file_offset> is the offset of the swap header determined by the 42 by the same application that determines the swap file's header offset using the 47 Use a userland suspend application that will set the partition and offset 49 Documentation/power/userland-swsusp.txt (this is the only method to suspend [all …]
|
| D | userland-swsusp.txt | 13 are going to develop your own suspend/resume utilities. 23 assumed to be in the resume mode. The device cannot be open for simultaneous 33 SNAPSHOT_FREEZE - freeze user space processes (the current process is 37 SNAPSHOT_UNFREEZE - thaw user space processes frozen by SNAPSHOT_FREEZE 39 SNAPSHOT_CREATE_IMAGE - create a snapshot of the system memory; the 43 from it (0) (after resume the system finds itself finishing the 48 SNAPSHOT_ATOMIC_RESTORE - restore the system memory state from the 54 SNAPSHOT_FREE - free memory allocated for the snapshot image 56 SNAPSHOT_PREF_IMAGE_SIZE - set the preferred maximum size of the image 61 SNAPSHOT_GET_IMAGE_SIZE - return the actual size of the hibernation image [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/arm/ |
| D | al,alpine.txt | 2 --------------------------------------------------------------- 20 The Alpine platform includes cortex-a15 cores. 21 enable-method: must be "al,alpine-smp" to allow smp [1] 26 #address-cells = <1>; 27 #size-cells = <0>; 28 enable-method = "al,alpine-smp"; 31 compatible = "arm,cortex-a15"; 37 compatible = "arm,cortex-a15"; 43 compatible = "arm,cortex-a15"; 49 compatible = "arm,cortex-a15"; [all …]
|
| /kernel/linux/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);
|
| /kernel/linux/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 …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/gma500/ |
| D | gtt.c | 16 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 18 * Authors: Thomas Hellstrom <thomas-at-tungstengraphics.com> 30 * GTT resource allocator - manage page mappings in GTT space 34 * psb_gtt_mask_pte - generate GTT pte entry 59 * psb_gtt_entry - find the GTT entries for a gtt_range 63 * Given a gtt_range object return the GTT offset of the page table 68 struct drm_psb_private *dev_priv = dev->dev_private; in psb_gtt_entry() 69 unsigned long offset; in psb_gtt_entry() local 71 offset = r->resource.start - dev_priv->gtt_mem->start; in psb_gtt_entry() 73 return dev_priv->gtt_map + (offset >> PAGE_SHIFT); in psb_gtt_entry() [all …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/linux-4.19/drivers/gpio/ |
| D | gpio-arizona.c | 32 static int arizona_gpio_direction_in(struct gpio_chip *chip, unsigned offset) in arizona_gpio_direction_in() argument 35 struct arizona *arizona = arizona_gpio->arizona; in arizona_gpio_direction_in() 36 bool persistent = gpiochip_line_is_persistent(chip, offset); in arizona_gpio_direction_in() 40 ret = regmap_update_bits_check(arizona->regmap, in arizona_gpio_direction_in() 41 ARIZONA_GPIO1_CTRL + offset, in arizona_gpio_direction_in() 48 pm_runtime_mark_last_busy(chip->parent); in arizona_gpio_direction_in() 49 pm_runtime_put_autosuspend(chip->parent); in arizona_gpio_direction_in() 55 static int arizona_gpio_get(struct gpio_chip *chip, unsigned offset) in arizona_gpio_get() argument 58 struct arizona *arizona = arizona_gpio->arizona; in arizona_gpio_get() 62 reg = ARIZONA_GPIO1_CTRL + offset; in arizona_gpio_get() [all …]
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/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" \
|
| /kernel/linux/linux-4.19/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" \
|
| /kernel/linux/linux-4.19/drivers/crypto/ |
| D | atmel-sha.c | 6 * Copyright (c) 2012 Eukréa Electromatique - ATMEL 13 * Some ideas are from omap-sham.c drivers. 32 #include <linux/dma-mapping.h> 42 #include <linux/platform_data/crypto-atmel.h> 43 #include "atmel-sha-regs.h" 44 #include "atmel-authenc.h" 103 unsigned int offset; /* offset in current sg */ member 149 atmel_sha_fn_t resume; member 172 static const char *atmel_sha_reg_name(u32 offset, char *tmp, size_t sz, bool wr) in atmel_sha_reg_name() argument 174 switch (offset) { in atmel_sha_reg_name() [all …]
|
| /kernel/linux/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 …]
|