Home
last modified time | relevance | path

Searched full:reboot (Results 1 – 25 of 1794) sorted by relevance

12345678910>>...72

/kernel/linux/linux-5.10/drivers/power/reset/
Dreboot-mode.c11 #include <linux/reboot.h>
12 #include <linux/reboot-mode.h>
22 static unsigned int get_reboot_mode_magic(struct reboot_mode_driver *reboot, in get_reboot_mode_magic() argument
32 list_for_each_entry(info, &reboot->head, list) { in get_reboot_mode_magic()
45 struct reboot_mode_driver *reboot; in reboot_mode_notify() local
48 reboot = container_of(this, struct reboot_mode_driver, reboot_notifier); in reboot_mode_notify()
49 magic = get_reboot_mode_magic(reboot, cmd); in reboot_mode_notify()
51 reboot->write(reboot, magic); in reboot_mode_notify()
57 * reboot_mode_register - register a reboot mode driver
58 * @reboot: reboot mode driver
[all …]
Dnvmem-reboot-mode.c12 #include <linux/reboot-mode.h>
15 struct reboot_mode_driver reboot; member
19 static int nvmem_reboot_mode_write(struct reboot_mode_driver *reboot, in nvmem_reboot_mode_write() argument
25 nvmem_rbm = container_of(reboot, struct nvmem_reboot_mode, reboot); in nvmem_reboot_mode_write()
29 dev_err(reboot->dev, "update reboot mode bits failed\n"); in nvmem_reboot_mode_write()
43 nvmem_rbm->reboot.dev = &pdev->dev; in nvmem_reboot_mode_probe()
44 nvmem_rbm->reboot.write = nvmem_reboot_mode_write; in nvmem_reboot_mode_probe()
46 nvmem_rbm->cell = devm_nvmem_cell_get(&pdev->dev, "reboot-mode"); in nvmem_reboot_mode_probe()
48 dev_err(&pdev->dev, "failed to get the nvmem cell reboot-mode\n"); in nvmem_reboot_mode_probe()
52 ret = devm_reboot_mode_register(&pdev->dev, &nvmem_rbm->reboot); in nvmem_reboot_mode_probe()
[all …]
Dsyscon-reboot-mode.c11 #include <linux/reboot.h>
14 #include <linux/reboot-mode.h>
18 struct reboot_mode_driver reboot; member
23 static int syscon_reboot_mode_write(struct reboot_mode_driver *reboot, in syscon_reboot_mode_write() argument
29 syscon_rbm = container_of(reboot, struct syscon_reboot_mode, reboot); in syscon_reboot_mode_write()
34 dev_err(reboot->dev, "update reboot mode bits failed\n"); in syscon_reboot_mode_write()
48 syscon_rbm->reboot.dev = &pdev->dev; in syscon_reboot_mode_probe()
49 syscon_rbm->reboot.write = syscon_reboot_mode_write; in syscon_reboot_mode_probe()
62 ret = devm_reboot_mode_register(&pdev->dev, &syscon_rbm->reboot); in syscon_reboot_mode_probe()
64 dev_err(&pdev->dev, "can't register reboot mode\n"); in syscon_reboot_mode_probe()
[all …]
DMakefile8 obj-$(CONFIG_POWER_RESET_BRCMSTB) += brcmstb-reboot.o
12 obj-$(CONFIG_POWER_RESET_HISI) += hisi-reboot.o
24 obj-$(CONFIG_POWER_RESET_VERSATILE) += arm-versatile-reboot.o
26 obj-$(CONFIG_POWER_RESET_XGENE) += xgene-reboot.o
28 obj-$(CONFIG_POWER_RESET_SYSCON) += syscon-reboot.o
31 obj-$(CONFIG_POWER_RESET_ZX) += zx-reboot.o
32 obj-$(CONFIG_REBOOT_MODE) += reboot-mode.o
33 obj-$(CONFIG_SYSCON_REBOOT_MODE) += syscon-reboot-mode.o
35 obj-$(CONFIG_NVMEM_REBOOT_MODE) += nvmem-reboot-mode.o
DKconfig100 Reboot support for Hisilicon boards.
127 power-on and reboot reason, Say Y.
194 bool "ARM Versatile family reboot driver"
214 Reboot support for the APM SoC X-Gene Eval boards.
222 Reboot support for the KEYSTONE SoCs.
230 Reboot support for generic SYSCON mapped register reset.
245 Reboot support for Renesas R-Mobile and SH-Mobile SoCs.
252 Reboot support for ZTE SoCs.
258 tristate "Generic SYSCON regmap reboot mode driver"
263 Say y here will enable reboot mode driver. This will
[all …]
/kernel/linux/linux-4.19/drivers/power/reset/
Dreboot-mode.c15 #include <linux/reboot.h>
16 #include <linux/reboot-mode.h>
26 static unsigned int get_reboot_mode_magic(struct reboot_mode_driver *reboot, in get_reboot_mode_magic() argument
36 list_for_each_entry(info, &reboot->head, list) { in get_reboot_mode_magic()
49 struct reboot_mode_driver *reboot; in reboot_mode_notify() local
52 reboot = container_of(this, struct reboot_mode_driver, reboot_notifier); in reboot_mode_notify()
53 magic = get_reboot_mode_magic(reboot, cmd); in reboot_mode_notify()
55 reboot->write(reboot, magic); in reboot_mode_notify()
61 * reboot_mode_register - register a reboot mode driver
62 * @reboot: reboot mode driver
[all …]
Dsyscon-reboot-mode.c15 #include <linux/reboot.h>
18 #include <linux/reboot-mode.h>
22 struct reboot_mode_driver reboot; member
27 static int syscon_reboot_mode_write(struct reboot_mode_driver *reboot, in syscon_reboot_mode_write() argument
33 syscon_rbm = container_of(reboot, struct syscon_reboot_mode, reboot); in syscon_reboot_mode_write()
38 dev_err(reboot->dev, "update reboot mode bits failed\n"); in syscon_reboot_mode_write()
52 syscon_rbm->reboot.dev = &pdev->dev; in syscon_reboot_mode_probe()
53 syscon_rbm->reboot.write = syscon_reboot_mode_write; in syscon_reboot_mode_probe()
66 ret = devm_reboot_mode_register(&pdev->dev, &syscon_rbm->reboot); in syscon_reboot_mode_probe()
68 dev_err(&pdev->dev, "can't register reboot mode\n"); in syscon_reboot_mode_probe()
[all …]
DMakefile8 obj-$(CONFIG_POWER_RESET_BRCMSTB) += brcmstb-reboot.o
12 obj-$(CONFIG_POWER_RESET_HISI) += hisi-reboot.o
21 obj-$(CONFIG_POWER_RESET_VERSATILE) += arm-versatile-reboot.o
23 obj-$(CONFIG_POWER_RESET_XGENE) += xgene-reboot.o
25 obj-$(CONFIG_POWER_RESET_SYSCON) += syscon-reboot.o
28 obj-$(CONFIG_POWER_RESET_ZX) += zx-reboot.o
29 obj-$(CONFIG_REBOOT_MODE) += reboot-mode.o
30 obj-$(CONFIG_SYSCON_REBOOT_MODE) += syscon-reboot-mode.o
DKconfig99 Reboot support for Hisilicon boards.
115 power-on and reboot reason, Say Y.
165 bool "ARM Versatile family reboot driver"
185 Reboot support for the APM SoC X-Gene Eval boards.
193 Reboot support for the KEYSTONE SoCs.
201 Reboot support for generic SYSCON mapped register reset.
216 Reboot support for Renesas R-Mobile and SH-Mobile SoCs.
223 Reboot support for ZTE SoCs.
229 tristate "Generic SYSCON regmap reboot mode driver"
234 Say y here will enable reboot mode driver. This will
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/reset/
Dnvmem-reboot-mode.txt1 NVMEM reboot mode driver
3 This driver gets reboot mode magic value from reboot-mode driver
4 and stores it in a NVMEM cell named "reboot-mode". Then the bootloader
9 - compatible: should be "nvmem-reboot-mode".
10 - nvmem-cells: A phandle to the reboot mode provided by a nvmem device.
11 - nvmem-cell-names: Should be "reboot-mode".
13 The rest of the properties should follow the generic reboot-mode description
14 found in reboot-mode.txt
17 reboot-mode {
18 compatible = "nvmem-reboot-mode";
[all …]
Dsyscon-reboot.yaml4 $id: http://devicetree.org/schemas/power/reset/syscon-reboot.yaml#
16 mask defined in the reboot node. Default will be little endian mode, 32 bit
18 parental dt-node. So the SYSCON reboot node should be represented as a
24 const: syscon-reboot
32 description: Offset in the register map for the reboot register (in bytes).
39 the syscon-reboot node been a child of a system controller node.
43 description: The reset value written to the reboot register (32 bit access).
62 reboot {
63 compatible = "syscon-reboot";
Dsyscon-reboot-mode.yaml4 $id: http://devicetree.org/schemas/power/reset/syscon-reboot-mode.yaml#
7 title: Generic SYSCON reboot mode driver
13 This driver gets reboot mode magic value from reboot-mode driver
17 parental dt-node plus the offset. So the SYSCON reboot-mode node
22 const: syscon-reboot-mode
47 reboot-mode {
48 compatible = "syscon-reboot-mode";
Dreboot-mode.yaml4 $id: http://devicetree.org/schemas/power/reset/reboot-mode.yaml#
7 title: Generic reboot mode core map
13 This driver get reboot mode arguments and call the write
23 - normal: Normal reboot mode, system reboot with command "reboot".
33 Default value to set on a reboot if no command was provided.
43 reboot-mode {
/kernel/linux/linux-5.10/kernel/
Dreboot.c3 * linux/kernel/reboot.c
8 #define pr_fmt(fmt) "reboot: " fmt
15 #include <linux/reboot.h>
22 * this indicates whether you can reboot with ctrl-alt-del: the default is yes
39 * reboot_type is still set to its default value (i.e., reboot= hasn't
41 * suppress DMI scanning for reboot quirks. Without it, it's
42 * impossible to override a faulty reboot quirk without recompiling.
57 * emergency_restart - reboot the system
60 * reboot the system. This is called when we know we are in
61 * trouble so this is our best effort to reboot. This is
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/power/reset/
Dsyscon-reboot-mode.txt1 SYSCON reboot mode driver
3 This driver gets reboot mode magic value form reboot-mode driver
12 - compatible: should be "syscon-reboot-mode"
16 - mask: bits mask of the bits in the register to store the reboot mode magic value,
19 The rest of the properties should follow the generic reboot-mode description
20 found in reboot-mode.txt
27 reboot-mode {
28 compatible = "syscon-reboot-mode";
Dsyscon-reboot.txt6 with the mask defined in the reboot node.
9 - compatible: should contain "syscon-reboot"
11 - offset: offset in the register map for the reboot register (in bytes)
12 - mask: the reset value written to the reboot register (32 bit access)
18 reboot {
19 compatible = "syscon-reboot";
Dreboot-mode.txt1 Generic reboot mode core map driver
3 This driver get reboot mode arguments and call the write
13 - mode-normal: Normal reboot mode, system reboot with command "reboot".
20 reboot-mode {
/kernel/linux/linux-4.19/kernel/
Dreboot.c2 * linux/kernel/reboot.c
7 #define pr_fmt(fmt) "reboot: " fmt
14 #include <linux/reboot.h>
21 * this indicates whether you can reboot with ctrl-alt-del: the default is yes
37 * reboot_type is still set to its default value (i.e., reboot= hasn't
39 * suppress DMI scanning for reboot quirks. Without it, it's
40 * impossible to override a faulty reboot quirk without recompiling.
54 * emergency_restart - reboot the system
57 * reboot the system. This is called when we know we are in
58 * trouble so this is our best effort to reboot. This is
[all …]
/kernel/linux/linux-4.19/tools/power/pm-graph/
Dbootgraph.889 \fB-reboot\fR
90 Reboot the machine and generate a new timeline automatically. Works in 4 steps.
92 2. installs a cron job which re-runs the tool after reboot
99 2. reboot the system
134 \f(CW$ sudo bootgraph -reboot -addlogs -o "latest-{hostname)"\fR
138 \f(CW$ sudo bootgraph -reboot -f\fR
142 \f(CW$ sudo bootgraph -reboot -callgraph -mincg 5\fR
146 \f(CW$ sudo bootgraph -reboot -callgraph -func "acpi_ps_parse_aml,msleep"\fR
148 Capture a brand new boot timeline with manual reboot.
154 \f(CW$ sudo reboot # reboot the machine\fR
[all …]
/kernel/linux/linux-5.10/tools/power/pm-graph/
Dbootgraph.889 \fB-reboot\fR
90 Reboot the machine and generate a new timeline automatically. Works in 4 steps.
92 2. installs a cron job which re-runs the tool after reboot
99 2. reboot the system
134 \f(CW$ sudo bootgraph -reboot -addlogs -o "latest-{hostname)"\fR
138 \f(CW$ sudo bootgraph -reboot -f\fR
142 \f(CW$ sudo bootgraph -reboot -callgraph -mincg 5\fR
146 \f(CW$ sudo bootgraph -reboot -callgraph -func "acpi_ps_parse_aml,msleep"\fR
148 Capture a brand new boot timeline with manual reboot.
154 \f(CW$ sudo reboot # reboot the machine\fR
[all …]
/kernel/linux/linux-5.10/tools/testing/ktest/examples/include/
Ddefaults.conf66 # have directory for the scripts to reboot and power cycle the boxes
81 # and ktest will use that kernel to reboot into.
113 # by setting the variable REBOOT to: none, error, fail or
114 # something else, ktest will power cycle or reboot the target box
117 # REBOOT := none
120 # REBOOT := error
121 # Reboot the box if ktest detects an error
123 # REBOOT := fail
130 DEFAULTS IF ${REBOOT} == none
136 DEFAULTS ELSE IF ${REBOOT} == error
[all …]
/kernel/linux/linux-4.19/tools/testing/ktest/examples/include/
Ddefaults.conf66 # have directory for the scripts to reboot and power cycle the boxes
81 # and ktest will use that kernel to reboot into.
113 # by setting the variable REBOOT to: none, error, fail or
114 # something else, ktest will power cycle or reboot the target box
117 # REBOOT := none
120 # REBOOT := error
121 # Reboot the box if ktest detects an error
123 # REBOOT := fail
130 DEFAULTS IF ${REBOOT} == none
136 DEFAULTS ELSE IF ${REBOOT} == error
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-class-chromeos15 What: /sys/class/chromeos/<ec-device-name>/reboot
19 Tell the EC to reboot in various ways. Options are:
21 - "cancel": Cancel a pending reboot.
24 - "cold": Cold reboot.
25 - "disable-jump": Disable jump until next reboot.
27 - "at-shutdown": Reboot after an AP shutdown.
/kernel/linux/linux-4.19/include/linux/
Dreboot-mode.h8 int (*write)(struct reboot_mode_driver *reboot, unsigned int magic);
12 int reboot_mode_register(struct reboot_mode_driver *reboot);
13 int reboot_mode_unregister(struct reboot_mode_driver *reboot);
15 struct reboot_mode_driver *reboot);
17 struct reboot_mode_driver *reboot);
/kernel/linux/linux-5.10/include/linux/
Dreboot-mode.h8 int (*write)(struct reboot_mode_driver *reboot, unsigned int magic);
12 int reboot_mode_register(struct reboot_mode_driver *reboot);
13 int reboot_mode_unregister(struct reboot_mode_driver *reboot);
15 struct reboot_mode_driver *reboot);
17 struct reboot_mode_driver *reboot);

12345678910>>...72