/linux-6.12.1/drivers/power/reset/ |
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() 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 …]
|
D | nvmem-reboot-mode.c | 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() 52 ret = devm_reboot_mode_register(&pdev->dev, &nvmem_rbm->reboot); in nvmem_reboot_mode_probe()
|
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()
|
D | Makefile | 9 obj-$(CONFIG_POWER_RESET_BRCMSTB) += brcmstb-reboot.o 14 obj-$(CONFIG_POWER_RESET_HISI) += hisi-reboot.o 28 obj-$(CONFIG_POWER_RESET_VERSATILE) += arm-versatile-reboot.o 30 obj-$(CONFIG_POWER_RESET_XGENE) += xgene-reboot.o 32 obj-$(CONFIG_POWER_RESET_SYSCON) += syscon-reboot.o 35 obj-$(CONFIG_REBOOT_MODE) += reboot-mode.o 36 obj-$(CONFIG_SYSCON_REBOOT_MODE) += syscon-reboot-mode.o 38 obj-$(CONFIG_NVMEM_REBOOT_MODE) += nvmem-reboot-mode.o
|
D | Kconfig | 144 power-on and reboot reason, Say Y. 225 bool "ARM Versatile family reboot driver" 282 tristate "Generic SYSCON regmap reboot mode driver" 287 Say y here will enable reboot mode driver. This will 288 get reboot mode arguments and store it in SYSCON mapped 302 tristate "Generic NVMEM reboot mode driver" 306 Say y here will enable reboot mode driver. This will 307 get reboot mode arguments and store it in a NVMEM cell,
|
D | qcom-pon.c | 30 static int pm8916_reboot_mode_write(struct reboot_mode_driver *reboot, in pm8916_reboot_mode_write() argument 34 (reboot, struct pm8916_pon, reboot_mode); in pm8916_reboot_mode_write()
|
/linux-6.12.1/Documentation/ABI/testing/ |
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
|
D | sysfs-class-chromeos | 15 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.
|
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
|
/linux-6.12.1/include/linux/ |
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-6.12.1/arch/arm/boot/dts/samsung/ |
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-6.12.1/Documentation/devicetree/bindings/arm/bcm/ |
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";
|
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-6.12.1/arch/arm64/boot/dts/qcom/ |
D | pmk8550.dtsi | 12 reboot-mode { 13 compatible = "nvmem-reboot-mode"; 15 nvmem-cell-names = "reboot-mode"; 61 reboot_reason: reboot-reason@48 {
|
D | pmk8350.dtsi | 17 reboot-mode { 18 compatible = "nvmem-reboot-mode"; 20 nvmem-cell-names = "reboot-mode"; 86 reboot_reason: reboot-reason@48 {
|
D | sa8775p-pmics.dtsi | 92 reboot-mode { 93 compatible = "nvmem-reboot-mode"; 95 nvmem-cell-names = "reboot-mode"; 152 reboot_reason: reboot-reason@48 {
|
/linux-6.12.1/Documentation/arch/x86/x86_64/ |
D | boot-options.rst | 47 in a reboot. On Intel systems it is enabled by default. 122 reboot=b[ios] | t[riple] | k[bd] | a[cpi] | e[fi] | p[ci] [, [w]arm | [c]old] 124 Use the CPU reboot vector for warm reset 126 Don't set the cold reboot flag 128 Set the cold reboot flag 135 the ACPI reset does not work, the reboot path attempts the reset 139 the EFI reset does not work, the reboot path attempts the reset using 142 Use a write to the PCI config space register 0xcf9 to trigger reboot. 147 on reboot so there may be boot problems on some systems. 149 reboot=force [all …]
|
/linux-6.12.1/Documentation/watchdog/ |
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.
|
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 …]
|
/linux-6.12.1/arch/arm/mach-zynq/ |
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-6.12.1/arch/mips/boot/dts/brcm/ |
D | bcm3368.dtsi | 69 reboot: syscon-reboot@fff8c008 { label 70 compatible = "syscon-reboot";
|
/linux-6.12.1/Documentation/power/ |
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-6.12.1/kernel/ |
D | pid_namespace.c | 256 if (pid_ns->reboot) in zap_pid_ns_processes() 257 current->signal->group_exit_code = pid_ns->reboot; in zap_pid_ns_processes() 305 pid_ns->reboot = SIGHUP; in reboot_pid_ns() 310 pid_ns->reboot = SIGINT; in reboot_pid_ns()
|
/linux-6.12.1/arch/mips/boot/dts/img/ |
D | boston.dts | 215 reboot: syscon-reboot { label 216 compatible = "syscon-reboot";
|
/linux-6.12.1/Documentation/devicetree/bindings/mips/lantiq/ |
D | rcu.txt | 61 reboot@10 { 62 compatible = "syscon-reboot";
|