Home
last modified time | relevance | path

Searched +full:resume +full:- +full:offset (Results 1 – 25 of 1054) sorted by relevance

12345678910>>...43

/openbmc/linux/drivers/acpi/
H A Dacpi_fpdt.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * FPDT support for exporting boot and suspend/resume performance data
19 * performance data fields, for boot or suspend or resume phase.
83 return sprintf(buf, "%llu\n", record_##phase->name); \
88 FPDT_ATTR(resume, resume_prev);
89 FPDT_ATTR(resume, resume_avg);
101 return sprintf(buf, "%u\n", record_resume->resume_count); in resume_count_show()
116 .name = "resume",
168 u32 length, offset; in fpdt_process_subtable() local
173 return -EINVAL; in fpdt_process_subtable()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/arm/hisilicon/controller/
H A Dsysctrl.yaml1 # 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 …]
/openbmc/qemu/tests/qemu-iotests/
H A D04657 local offset=$1
63 for ((i=0;i<=$((sectors - 1));i++)); do
64 cur_sec=$((offset / 65536 + i))
67 echo "$op -P $pattern $((cur_sec * 64))k 64k"
74 _make_test_img -b "$TEST_IMG.base" -F $IMGFMT 6G
84 aio_write -P 10 0x18000 0x2000
87 aio_write -P 11 0x12000 0x2000
88 aio_write -P 12 0x1c000 0x2000
90 resume A
98 aio_write -P 20 0x28000 0x2000
[all …]
H A D07754 echo "open -o driver=$IMGFMT,file.align=4k blkdebug::$TEST_IMG"
57 aio_write -P 10 0x200 0x200
66 aio_write -P 10 $((off + 0x200)) 0x200
68 aio_write -P 11 $((off + 0x400)) 0x200
70 resume A
79 aio_write -P 10 0x5000 0x200
81 aio_write -P 11 0x5200 0x200
82 aio_write -P 12 0x5400 0x200
83 aio_write -P 13 0x5600 0x200
84 aio_write -P 14 0x5800 0x200
[all …]
H A D0554 # Tests for drive-backup and blockdev-backup
31 blockdev_target_img = os.path.join(iotests.test_dir, 'blockdev-target.img')
36 qemu_img('create', '-f', iotests.imgfmt, test_img, str(image_len))
37 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0x11 0 64k', test_img)
38 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0x00 64k 128k', test_img)
39 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0x22 162k 32k', test_img)
40 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0xd5 1M 32k', test_img)
41 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0xdc 32M 124k', test_img)
42 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0x33 67043328 64k', test_img)
50 qemu_img('create', '-f', iotests.imgfmt, blockdev_target_img, str(image_len))
[all …]
/openbmc/linux/Documentation/devicetree/bindings/arm/cpu-enable-method/
H A Dal,alpine-smp2 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 …]
/openbmc/linux/arch/arm/mach-s3c/
H A Dgpio-core.h1 /* 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 …]
/openbmc/linux/Documentation/power/
H A Duserland-swsusp.rst16 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 …]
H A Dswsusp-and-swap-files.rst13 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 …]
/openbmc/linux/drivers/platform/x86/intel/speed_select_if/
H A Disst_if_common.h1 /* SPDX-License-Identifier: GPL-2.0 */
37 * struct isst_if_cmd_cb - Used to register a IOCTL handler
41 * @offset: Offset to the first valid member in command structure.
42 * This will be the offset of the start of the command
49 * response to user ioctl buffer. The "resume" argument
51 * during system resume
63 int offset; member
66 long (*cmd_callback)(u8 *ptr, int *write_only, int resume);
/openbmc/linux/drivers/tee/optee/
H A Doptee_ffa.h1 /* SPDX-License-Identifier: BSD-2-Clause */
3 * Copyright (c) 2019-2021, Linaro Limited
7 * This file is exported by OP-TEE and is kept in sync between secure world
8 * and normal world drivers. We're using ARM FF-A 1.0 specification.
23 * defined in FF-A specification:
27 * w3-w7: Implementation defined, free to be used below
38 * Returns the API version implemented, currently follows the FF-A version.
41 * w4-w7: Not used (MBZ)
46 * w5-w7: Not used (MBZ)
51 * Returns the revision of OP-TEE.
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpio-arizona.c1 // SPDX-License-Identifier: GPL-2.0-or-later
26 static int arizona_gpio_direction_in(struct gpio_chip *chip, unsigned offset) in arizona_gpio_direction_in() argument
29 struct arizona *arizona = arizona_gpio->arizona; in arizona_gpio_direction_in()
30 bool persistent = gpiochip_line_is_persistent(chip, offset); in arizona_gpio_direction_in()
34 ret = regmap_update_bits_check(arizona->regmap, in arizona_gpio_direction_in()
35 ARIZONA_GPIO1_CTRL + offset, in arizona_gpio_direction_in()
42 pm_runtime_mark_last_busy(chip->parent); in arizona_gpio_direction_in()
43 pm_runtime_put_autosuspend(chip->parent); in arizona_gpio_direction_in()
49 static int arizona_gpio_get(struct gpio_chip *chip, unsigned offset) in arizona_gpio_get() argument
52 struct arizona *arizona = arizona_gpio->arizona; in arizona_gpio_get()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/powerpc/4xx/
H A Dcpm.txt4 - 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 …]
/openbmc/linux/drivers/crypto/
H A Datmel-sha.c1 // 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>
40 #include "atmel-sha-regs.h"
41 #include "atmel-authenc.h"
102 unsigned int offset; /* offset in current sg */ member
147 atmel_sha_fn_t resume; member
170 static const char *atmel_sha_reg_name(u32 offset, char *tmp, size_t sz, bool wr) in atmel_sha_reg_name() argument
172 switch (offset) { in atmel_sha_reg_name()
[all …]
H A Datmel-aes.c1 // 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
193 atmel_aes_fn_t resume; member
236 static const char *atmel_aes_reg_name(u32 offset, char *tmp, size_t sz) in atmel_aes_reg_name() argument
238 switch (offset) { in atmel_aes_reg_name()
[all …]
H A Dexynos-rng.c1 // 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 …]
/openbmc/u-boot/cmd/
H A Diotrace.c1 // SPDX-License-Identifier: GPL-2.0+
12 ulong start, size, needed_size, offset, count; in do_print_stats() local
15 iotrace_get_buffer(&start, &size, &needed_size, &offset, &count); in do_print_stats()
22 printf("Offset: %08lx\n", offset); in do_print_stats()
23 printf("Output: %08lx\n", start + offset); in do_print_stats()
30 ulong start, size, needed_size, offset, count; in do_print_trace() local
34 iotrace_get_buffer(&start, &size, &needed_size, &offset, &count); in do_print_trace()
43 if (cur_record->flags & IOT_WRITE) in do_print_trace()
44 printf("%08llu: 0x%08lx --> 0x%08llx\n", in do_print_trace()
45 cur_record->timestamp, in do_print_trace()
[all …]
/openbmc/linux/drivers/pinctrl/samsung/
H A Dpinctrl-samsung.h1 /* 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.
65 * enum eint_type - possible external interrupt types.
85 /* maximum length of a pin in pin descriptor (example: "gpa0-0") */
116 * struct samsung_pin_bank_data: represent a controller pin-bank (init data).
118 * @pctl_offset: starting offset of the pin-bank registers.
119 * @pctl_res_idx: index of base address for pin-bank registers.
[all …]
/openbmc/linux/arch/m68k/include/asm/
H A Dswitch_to.h1 /* 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" \
/openbmc/linux/drivers/gpu/drm/lima/
H A Dlima_device.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
2 /* Copyright 2017-2019 Qiang Yu <yuq825@gmail.com> */
8 #include <linux/dma-mapping.h>
25 int offset[lima_gpu_num]; member
29 int (*resume)(struct lima_ip *ip); member
41 .offset = { \
47 .resume = lima_##func##_resume, \
54 LIMA_IP_DESC(l2_cache1, false, true, -1, 0x01000, l2_cache, NULL),
55 LIMA_IP_DESC(l2_cache2, false, false, -1, 0x11000, l2_cache, NULL),
61 LIMA_IP_DESC(pp4, false, false, -1, 0x28000, pp, "pp4"),
[all …]
/openbmc/linux/include/uapi/linux/
H A Dapm_bios.h1 /* 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 */
/openbmc/linux/Documentation/ABI/testing/
H A 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
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 …]
/openbmc/u-boot/include/linux/
H A Dapm_bios.h1 /* SPDX-License-Identifier: GPL-2.0+ */
7 * Copyright 1994-2001 Stephen Rothwell (sfr@canb.auug.org.au)
18 __u32 offset; member
196 #define APM_CAP_RESUME_STANDBY_TIMER 0x0004 /* Timer resume from standby */
197 #define APM_CAP_RESUME_SUSPEND_TIMER 0x0008 /* Timer resume from suspend */
198 #define APM_CAP_RESUME_STANDBY_RING 0x0010 /* Resume on Ring fr standby */
199 #define APM_CAP_RESUME_SUSPEND_RING 0x0020 /* Resume on Ring fr suspend */
200 #define APM_CAP_RESUME_STANDBY_PCMCIA 0x0040 /* Resume on PCMCIA Ring */
201 #define APM_CAP_RESUME_SUSPEND_PCMCIA 0x0080 /* Resume on PCMCIA Ring */
/openbmc/linux/drivers/staging/media/meson/vdec/
H A Dvdec.h1 /* SPDX-License-Identifier: GPL-2.0+ */
13 #include <media/videobuf2-v4l2.h>
14 #include <media/v4l2-ctrls.h>
15 #include <media/v4l2-device.h>
16 #include <linux/soc/amlogic/meson-canvas.h>
20 /* 32 buffers in 3-plane YUV420 */
29 * struct amvdec_timestamp - stores a src timestamp along with a VIFIFO offset
34 * @offset: offset in the VIFIFO where the associated packet was written
42 u32 offset; member
50 * struct amvdec_core - device parameters, singleton
[all …]
/openbmc/linux/kernel/power/
H A Dhibernate.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * kernel/power/hibernate.c - Hibernation (a.k.a suspend-to-disk) support.
62 #define HIBERNATION_MAX (__HIBERNATION_AFTER_LAST-1)
75 return atomic_add_unless(&hibernate_atomic, -1, 0); in hibernate_acquire()
91 * hibernation_set_ops - Set the global hibernate operations.
98 if (ops && !(ops->begin && ops->end && ops->pre_snapshot in hibernation_set_ops()
99 && ops->prepare && ops->finish && ops->enter && ops->pre_restore in hibernation_set_ops()
100 && ops->restore_cleanup && ops->leave)) { in hibernation_set_ops()
145 * platform_begin - Call platform to start hibernation.
151 hibernation_ops->begin(PMSG_FREEZE) : 0; in platform_begin()
[all …]

12345678910>>...43