| /linux/drivers/power/reset/ |
| H A D | macsmc-reboot.c | 89 struct macsmc_reboot *reboot = data->cb_data; in macsmc_prepare_atomic() local 91 dev_info(reboot->dev, "Preparing SMC for atomic mode\n"); in macsmc_prepare_atomic() 93 apple_smc_enter_atomic(reboot->smc); in macsmc_prepare_atomic() 99 struct macsmc_reboot *reboot = data->cb_data; in macsmc_power_off() local 101 dev_info(reboot->dev, "Issuing power off (off1)\n"); in macsmc_power_off() 103 if (apple_smc_write_u32_atomic(reboot->smc, SMC_KEY(MBSE), SMC_KEY(off1)) < 0) { in macsmc_power_off() 104 dev_err(reboot->dev, "Failed to issue MBSE = off1 (power_off)\n"); in macsmc_power_off() 115 struct macsmc_reboot *reboot = data->cb_data; in macsmc_restart() local 117 dev_info(reboot->dev, "Issuing restart (phra)\n"); in macsmc_restart() 119 if (apple_smc_write_u32_atomic(reboot->smc, SMC_KEY(MBSE), SMC_KEY(phra)) < 0) { in macsmc_restart() [all …]
|
| H A D | reboot-mode.c | 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() 44 list_for_each_entry(info, &reboot->head, list) in get_reboot_mode_magic() 54 struct reboot_mode_driver *reboot; in reboot_mode_notify() local 57 reboot = container_of(this, struct reboot_mode_driver, reboot_notifier); in reboot_mode_notify() 58 magic = get_reboot_mode_magic(reboot, cmd); in reboot_mode_notify() 60 reboot->write(reboot, magic); in reboot_mode_notify() 71 int reboot_mode_register(struct reboot_mode_driver *reboot) in reboot_mode_register() argument 75 struct device_node *np = reboot->dev->of_node; in reboot_mode_register() 79 INIT_LIST_HEAD(&reboot->head); in reboot_mode_register() [all …]
|
| H A D | syscon-reboot-mode.c | 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()
|
| H A D | qcom-pon.c | 30 static int qcom_pon_reboot_mode_write(struct reboot_mode_driver *reboot, in qcom_pon_reboot_mode_write() argument 34 (reboot, struct qcom_pon, reboot_mode); in qcom_pon_reboot_mode_write()
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-kernel-reboot | 1 What: /sys/kernel/reboot 5 Description: Interface to set the kernel reboot behavior, similarly to 6 what can be done via the reboot= cmdline option. 9 What: /sys/kernel/reboot/mode 15 What: /sys/kernel/reboot/type 21 What: /sys/kernel/reboot/cpu 25 Description: CPU number to use to reboot. 27 What: /sys/kernel/reboot/force 31 Description: Don't wait for any other CPUs on reboot and 34 What: /sys/kernel/reboot/hw_protection [all …]
|
| H A D | sysfs-platform-intel-wmi-sbl-fw-update | 9 on next reboot, by writing a value of 1. 13 * 1 -> Attempt firmware update on next reboot
|
| H A D | sysfs-driver-toshiba_acpi | 17 a reboot for changes to take effect. 125 Note that toggling this value requires a reboot for changes to 174 Note that toggling this value requires a reboot for changes to 188 Note that toggling this value requires a reboot for changes to 201 Note that toggling this value requires a reboot for changes to
|
| /linux/include/linux/ |
| H A D | reboot-mode.h | 8 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/arch/arm/boot/dts/samsung/ |
| H A D | exynos-syscon-restart.dtsi | 3 * Samsung's Exynos SoC syscon reboot/poweroff nodes common definition. 14 reboot: syscon-reboot { label 15 compatible = "syscon-reboot";
|
| /linux/Documentation/devicetree/bindings/arm/bcm/ |
| H A D | brcm,bcm63138.txt | 54 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.yaml for the 80 reboot { 81 compatible = "syscon-reboot";
|
| H A D | brcm,brcmstb.txt | 68 Nodes that allow for support of SMP initialization and reboot are required: 98 reboot 103 The string property "brcm,brcmstb-reboot" for 40nm/28nm chips with 104 the new SYS_CTRL interface, or "brcm,bcm7038-reboot" for 65nm 115 reboot { 116 compatible = "brcm,brcmstb-reboot";
|
| /linux/Documentation/watchdog/ |
| H A D | watchdog-api.rst | 30 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 …]
|
| H A D | wdt.rst | 14 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.
|
| /linux/arch/arm/mach-zynq/ |
| H A D | slcr.c | 99 u32 reboot; in zynq_slcr_system_restart() local 106 zynq_slcr_read(&reboot, SLCR_REBOOT_STATUS_OFFSET); in zynq_slcr_system_restart() 107 zynq_slcr_write(reboot & 0xF0FFFFFF, SLCR_REBOOT_STATUS_OFFSET); in zynq_slcr_system_restart()
|
| /linux/arch/mips/boot/dts/brcm/ |
| H A D | bcm3368.dtsi | 69 reboot: syscon-reboot@fff8c008 { label 70 compatible = "syscon-reboot";
|
| /linux/tools/testing/selftests/kho/ |
| H A D | init.c | 87 if (reboot(RB_KEXEC)) in main() 93 reboot(RB_AUTOBOOT); in main()
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | lemans-pmics.dtsi | 92 reboot-mode { 93 compatible = "nvmem-reboot-mode"; 95 nvmem-cell-names = "reboot-mode"; 161 reboot_reason: reboot-reason@48 {
|
| /linux/arch/arm64/boot/dts/exynos/google/ |
| H A D | gs101-pixel-common.dtsi | 63 reboot-mode { 64 compatible = "nvmem-reboot-mode"; 66 nvmem-cell-names = "reboot-mode"; 71 mode-reboot-ab-update = <0x80000052>; 263 nvmem_reboot_mode: reboot-mode@0 {
|
| /linux/Documentation/power/ |
| H A D | s2ram.rst | 25 driver that doesn't resume and recompile and reboot). 41 - if it doesn't come back up (which is usually the problem), reboot by 72 survive a reboot. 84 As the clock keeps ticking it is also essential that the reboot is done
|
| /linux/arch/mips/boot/dts/img/ |
| H A D | boston.dts | 215 reboot: syscon-reboot { label 216 compatible = "syscon-reboot";
|
| /linux/kernel/ |
| H A D | pid_namespace.c | 278 if (pid_ns->reboot) in zap_pid_ns_processes() 279 current->signal->group_exit_code = pid_ns->reboot; in zap_pid_ns_processes() 327 pid_ns->reboot = SIGHUP; in reboot_pid_ns() 332 pid_ns->reboot = SIGINT; in reboot_pid_ns()
|
| /linux/Documentation/devicetree/bindings/mips/lantiq/ |
| H A D | rcu.txt | 61 reboot@10 { 62 compatible = "syscon-reboot";
|
| /linux/Documentation/driver-api/mtd/ |
| H A D | spi-intel.rst | 35 3) Add "spi_intel.writeable=1" to the kernel command line and reboot 63 7) Erase the SPI serial flash. After this step, do not reboot the 82 10) Now you can reboot your board and observe the new BIOS starting up
|
| /linux/arch/mips/boot/dts/mti/ |
| H A D | malta.dts | 95 reboot { 96 compatible = "syscon-reboot";
|
| /linux/Documentation/arch/s390/ |
| H A D | 3270.ChangeLog | 28 Apr 2002: Fix 3270 console reboot loop 29 * (Belated log entry) Fixed reboot loop if 3270 console,
|