Home
last modified time | relevance | path

Searched refs:reboot (Results 1 – 25 of 251) sorted by relevance

1234567891011

/Linux-v5.4/drivers/power/reset/
Dreboot-mode.c22 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()
62 int reboot_mode_register(struct reboot_mode_driver *reboot) in reboot_mode_register() argument
66 struct device_node *np = reboot->dev->of_node; in reboot_mode_register()
70 INIT_LIST_HEAD(&reboot->head); in reboot_mode_register()
76 info = devm_kzalloc(reboot->dev, sizeof(*info), GFP_KERNEL); in reboot_mode_register()
[all …]
Dnvmem-reboot-mode.c15 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()
52 ret = devm_reboot_mode_register(&pdev->dev, &nvmem_rbm->reboot); in nvmem_reboot_mode_probe()
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
32 obj-$(CONFIG_NVMEM_REBOOT_MODE) += nvmem-reboot-mode.o
Dsyscon-reboot-mode.c18 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()
DKconfig116 power-on and reboot reason, Say Y.
166 bool "ARM Versatile family reboot driver"
230 tristate "Generic SYSCON regmap reboot mode driver"
235 Say y here will enable reboot mode driver. This will
236 get reboot mode arguments and store it in SYSCON mapped
250 tristate "Generic NVMEM reboot mode driver"
254 Say y here will enable reboot mode driver. This will
255 get reboot mode arguments and store it in a NVMEM cell,
Dqcom-pon.c28 static int pm8916_reboot_mode_write(struct reboot_mode_driver *reboot, in pm8916_reboot_mode_write() argument
32 (reboot, struct pm8916_pon, reboot_mode); in pm8916_reboot_mode_write()
/Linux-v5.4/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-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 value and 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 - value: the reset value written to the reboot register (32 bit access)
25 reboot {
26 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 {
Dqcom,pon.txt4 and resin along with the Android reboot-mode.
22 The rest of the properties should follow the generic reboot-mode description
23 found in reboot-mode.txt
/Linux-v5.4/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);
/Linux-v5.4/arch/arm/boot/dts/
Dexynos-syscon-restart.dtsi3 * Samsung's Exynos SoC syscon reboot/poweroff nodes common definition.
14 reboot: syscon-reboot { label
15 compatible = "syscon-reboot";
/Linux-v5.4/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:
20 "cancel": Cancel a pending reboot.
23 "cold": Cold reboot.
24 "disable-jump": Disable jump until next reboot.
/Linux-v5.4/Documentation/devicetree/bindings/arm/bcm/
Dbrcm,bcm63138.txt54 reboot
56 Two nodes are required for software reboot: a timer node and a syscon-reboot node.
63 Syscon reboot node:
65 See Documentation/devicetree/bindings/power/reset/syscon-reboot.txt for the
80 reboot {
81 compatible = "syscon-reboot";
/Linux-v5.4/Documentation/watchdog/
Dwdt.rst14 to within a timeout or the machine will reboot. Each write delays the reboot
16 reboot will depend on the state of the machines and interrupts. The hardware
18 will reboot from almost anything.
Dwatchdog-api.rst30 system (causing a reboot) after the timeout occurs.
41 activates as soon as /dev/watchdog is opened and will reboot unless
53 crashes the system will not reboot. Because of this, some of the
57 started. So, if the watchdog daemon crashes, the system will reboot
71 cause a reboot if the watchdog is not re-opened in sufficient time.
140 Get the number of seconds before reboot
144 before the system will reboot. The WDIOC_GETTIMELEFT is the ioctl
145 that returns the number of seconds before reboot::
155 the reason for the last reboot of the system. The GETSUPPORT ioctl is
210 The last reboot was caused by the watchdog card
[all …]
/Linux-v5.4/arch/arm/mach-zynq/
Dslcr.c100 u32 reboot; in zynq_slcr_system_restart() local
107 zynq_slcr_read(&reboot, SLCR_REBOOT_STATUS_OFFSET); in zynq_slcr_system_restart()
108 zynq_slcr_write(reboot & 0xF0FFFFFF, SLCR_REBOOT_STATUS_OFFSET); in zynq_slcr_system_restart()
/Linux-v5.4/arch/mips/boot/dts/brcm/
Dbcm3368.dtsi66 reboot: syscon-reboot@fff8c008 { label
67 compatible = "syscon-reboot";
Dbcm6362.dtsi66 reboot: syscon-reboot@10000008 { label
67 compatible = "syscon-reboot";
Dbcm63268.dtsi66 reboot: syscon-reboot@10000008 { label
67 compatible = "syscon-reboot";
Dbcm6328.dtsi98 reboot: syscon-reboot@10000068 { label
99 compatible = "syscon-reboot";
Dbcm6368.dtsi66 reboot: syscon-reboot@10000008 { label
67 compatible = "syscon-reboot";
Dbcm6358.dtsi66 reboot: syscon-reboot@fffe0008 { label
67 compatible = "syscon-reboot";
/Linux-v5.4/Documentation/x86/x86_64/
Dboot-options.rst47 in a reboot. On Intel systems it is enabled by default.
129 reboot=b[ios] | t[riple] | k[bd] | a[cpi] | e[fi] [, [w]arm | [c]old]
131 Use the CPU reboot vector for warm reset
133 Don't set the cold reboot flag
135 Set the cold reboot flag
142 the ACPI reset does not work, the reboot path attempts the reset
146 the EFI reset does not work, the reboot path attempts the reset using
152 on reboot so there may be boot problems on some systems.
154 reboot=force
155 Don't stop other CPUs on reboot. This can make reboot more reliable

1234567891011