/linux/drivers/power/reset/ |
H A D | reboot-mode.c | 45 struct reboot_mode_driver *reboot; in reboot_mode_notify() local 49 magic = get_reboot_mode_magic(reboot, cmd); in reboot_mode_notify() 51 reboot->write(reboot, magic); in reboot_mode_notify() 70 INIT_LIST_HEAD(&reboot->head); in reboot_mode_register() 85 devm_kfree(reboot->dev, info); in reboot_mode_register() 101 list_add_tail(&info->list, &reboot->head); in reboot_mode_register() 147 struct reboot_mode_driver *reboot) in devm_reboot_mode_register() argument 156 rc = reboot_mode_register(reboot); in devm_reboot_mode_register() 162 *dr = reboot; in devm_reboot_mode_register() 185 struct reboot_mode_driver *reboot) in devm_reboot_mode_unregister() argument [all …]
|
H A 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()
|
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 | Makefile | 9 obj-$(CONFIG_POWER_RESET_BRCMSTB) += brcmstb-reboot.o 13 obj-$(CONFIG_POWER_RESET_HISI) += hisi-reboot.o 27 obj-$(CONFIG_POWER_RESET_VERSATILE) += arm-versatile-reboot.o 29 obj-$(CONFIG_POWER_RESET_XGENE) += xgene-reboot.o 31 obj-$(CONFIG_POWER_RESET_SYSCON) += syscon-reboot.o 34 obj-$(CONFIG_REBOOT_MODE) += reboot-mode.o 35 obj-$(CONFIG_SYSCON_REBOOT_MODE) += syscon-reboot-mode.o 37 obj-$(CONFIG_NVMEM_REBOOT_MODE) += nvmem-reboot-mode.o
|
/linux/Documentation/devicetree/bindings/power/reset/ |
H A D | nvmem-reboot-mode.yaml | 4 $id: http://devicetree.org/schemas/power/reset/nvmem-reboot-mode.yaml# 7 title: Generic NVMEM reboot mode 13 This driver gets the reboot mode magic value from the reboot-mode driver 14 and stores it in the NVMEM cell named "reboot-mode". The bootloader can 19 const: nvmem-reboot-mode 24 magic value representing the reboot mode is stored. 29 - const: reboot-mode 32 - $ref: reboot-mode.yaml# 43 reboot-mode { 44 compatible = "nvmem-reboot-mode"; [all …]
|
H A D | syscon-reboot-mode.yaml | 4 $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 33 - $ref: reboot-mode.yaml# 45 reboot-mode { 46 compatible = "syscon-reboot-mode";
|
H A D | syscon-reboot.yaml | 4 $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). 66 reboot { 67 compatible = "syscon-reboot";
|
H A D | reboot-mode.yaml | 4 $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 {
|
/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
|
H A 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.
|
/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/mfd/ |
H A D | ti,nspire-misc.yaml | 30 reboot: 31 $ref: /schemas/power/reset/syscon-reboot.yaml# 36 - reboot 46 reboot { 47 compatible = "syscon-reboot";
|
H A D | canaan,k210-sysctl.yaml | 54 syscon-reboot: 57 $ref: /schemas/power/reset/syscon-reboot.yaml 61 Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml. 102 reboot: syscon-reboot { 103 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";
|
/linux/Documentation/devicetree/bindings/soc/loongson/ |
H A D | loongson,ls2k-pmc.yaml | 46 syscon-reboot: 47 $ref: /schemas/power/reset/syscon-reboot.yaml# 50 Node for reboot method 70 syscon-reboot { 71 compatible = "syscon-reboot";
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | pmk8550.dtsi | 12 reboot-mode { 13 compatible = "nvmem-reboot-mode"; 15 nvmem-cell-names = "reboot-mode"; 61 reboot_reason: reboot-reason@48 {
|
H A D | pmk8350.dtsi | 17 reboot-mode { 18 compatible = "nvmem-reboot-mode"; 20 nvmem-cell-names = "reboot-mode"; 86 reboot_reason: reboot-reason@48 {
|
/linux/Documentation/arch/x86/x86_64/ |
H A D | boot-options.rst | 47 in a reboot. On Intel systems it is enabled by default. 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 147 on reboot so there may be boot problems on some systems. 149 reboot=force 150 Don't stop other CPUs on reboot. This can make reboot more reliable 153 reboot=default 155 "reboot: <name> series board detected. Selecting <type> for reboots." [all …]
|
/linux/Documentation/devicetree/bindings/arm/hisilicon/controller/ |
H A D | sysctrl.yaml | 14 used to assist the slave core startup, reboot the system, etc. 67 reboot-offset: 68 description: offset in sysctrl for system reboot 121 reboot-offset = <0x4>; 134 reboot-offset = <0x4>;
|
/linux/Documentation/watchdog/ |
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.
|
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 …]
|
/linux/arch/mips/boot/dts/brcm/ |
H A D | bcm3368.dtsi | 69 reboot: syscon-reboot@fff8c008 { label 70 compatible = "syscon-reboot";
|
/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/Documentation/devicetree/bindings/soc/samsung/ |
H A D | exynos-pmu.yaml | 109 reboot-mode: 110 $ref: /schemas/power/reset/syscon-reboot-mode.yaml 121 syscon-reboot: 122 $ref: /schemas/power/reset/syscon-reboot.yaml# 125 Node for reboot method
|