| /OK3568_Linux_fs/kernel/drivers/power/reset/ |
| H A D | reboot-mode.c | 34 static int get_reboot_mode_magic(struct reboot_mode_driver *reboot, in get_reboot_mode_magic() argument 44 list_for_each_entry(info, &reboot->head, list) { in get_reboot_mode_magic() 56 static void reboot_mode_write(struct reboot_mode_driver *reboot, in reboot_mode_write() argument 61 magic = get_reboot_mode_magic(reboot, cmd); in reboot_mode_write() 63 magic = get_reboot_mode_magic(reboot, NULL); in reboot_mode_write() 65 reboot->write(reboot, magic); in reboot_mode_write() 73 struct reboot_mode_driver *reboot; in reboot_mode_notify() local 75 reboot = container_of(this, struct reboot_mode_driver, reboot_notifier); in reboot_mode_notify() 76 reboot_mode_write(reboot, cmd); in reboot_mode_notify() 84 struct reboot_mode_driver *reboot; in reboot_mode_pre_restart_notify() local [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() 39 static int syscon_reboot_mode_read(struct reboot_mode_driver *reboot) in syscon_reboot_mode_read() argument 44 syscon_rbm = container_of(reboot, struct syscon_reboot_mode, reboot); in syscon_reboot_mode_read() 59 syscon_rbm->reboot.dev = &pdev->dev; in syscon_reboot_mode_probe() 60 syscon_rbm->reboot.write = syscon_reboot_mode_write; in syscon_reboot_mode_probe() 61 syscon_rbm->reboot.read = syscon_reboot_mode_read; in syscon_reboot_mode_probe() 74 ret = devm_reboot_mode_register(&pdev->dev, &syscon_rbm->reboot); in syscon_reboot_mode_probe()
|
| 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 | Makefile | 8 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
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/reset/ |
| H A D | nvmem-reboot-mode.txt | 1 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 …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-initramfs/recipes-bsp/kexecboot/files/ |
| H A D | 0001-kexecboot-Use-new-reboot-API-with-klibc.patch | 4 Subject: [PATCH] kexecboot: Use new reboot() API with klibc 25 /* if ( -1 == reboot(LINUX_REBOOT_CMD_RESTART) ) { */ 26 - if ( -1 == reboot(RB_AUTOBOOT) ) { 27 + if ( -1 == reboot(RB_AUTOBOOT, NULL) ) { 28 log_msg(lg, "Can't initiate reboot: %s", ERRMSG); 34 /* if ( -1 == reboot(LINUX_REBOOT_CMD_POWER_OFF) ) { */ 35 - if ( -1 == reboot(RB_POWER_OFF) ) { 36 + if ( -1 == reboot(RB_POWER_OFF, NULL) ) {
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | reboot-mode.h | 8 int (*write)(struct reboot_mode_driver *reboot, unsigned int magic); 9 int (*read)(struct reboot_mode_driver *reboot); 15 int reboot_mode_register(struct reboot_mode_driver *reboot); 16 int reboot_mode_unregister(struct reboot_mode_driver *reboot); 18 struct reboot_mode_driver *reboot); 20 struct reboot_mode_driver *reboot);
|
| /OK3568_Linux_fs/buildroot/package/busybox/ |
| H A D | 0005-halt-Support-rebooting-with-arg.patch | 6 Support passing reboot arg(e.g. loader, fastboot, etc.) to kernel. 20 #include "reboot.h" 21 +#include <linux/reboot.h> 44 + /* Fork new thread to handle reboot */ 48 + /* Handle signal and reboot in child thread */ 60 + bb_error_msg("Ready to reboot"); 85 rc = reboot(magic[which]);
|
| /OK3568_Linux_fs/kernel/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";
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| 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";
|
| /OK3568_Linux_fs/kernel/Documentation/ABI/testing/ |
| 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.
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-python/recipes-extended/python-pykickstart/files/ |
| H A D | 0003-comment-out-sections-shutdown-and-environment-in-gen.patch | 15 pykickstart/commands/reboot.py | 3 +++ 19 diff --git a/pykickstart/commands/reboot.py b/pykickstart/commands/reboot.py 21 --- a/pykickstart/commands/reboot.py 22 +++ b/pykickstart/commands/reboot.py
|
| /OK3568_Linux_fs/external/rockchip-test/auto_reboot/ |
| H A D | autoreboot.service | 2 Description=rockchip test auto reboot service 7 ExecStart=/etc/init.d/S99-auto-reboot start 8 ExecStop=/etc/init.d/S99-auto-reboot stop
|
| /OK3568_Linux_fs/device/rockchip/common/data/ |
| H A D | busybox-reboot | 26 --reboot) 27 CMD=reboot 54 --reboot Reboot the machine
|
| /OK3568_Linux_fs/u-boot/arch/mips/dts/ |
| H A D | brcm,bcm6338.dtsi | 70 syscon-reboot { 71 compatible = "syscon-reboot"; 89 wdt-reboot { 90 compatible = "wdt-reboot";
|
| H A D | brcm,bcm6348.dtsi | 70 syscon-reboot { 71 compatible = "syscon-reboot"; 89 wdt-reboot { 90 compatible = "wdt-reboot";
|
| H A D | brcm,bcm6328.dtsi | 74 syscon-reboot { 75 compatible = "syscon-reboot"; 87 wdt-reboot { 88 compatible = "wdt-reboot";
|
| H A D | brcm,bcm3380.dtsi | 91 syscon-reboot { 92 compatible = "syscon-reboot"; 105 wdt-reboot { 106 compatible = "wdt-reboot";
|
| H A D | brcm,bcm6358.dtsi | 77 syscon-reboot { 78 compatible = "syscon-reboot"; 96 wdt-reboot { 97 compatible = "wdt-reboot";
|
| /OK3568_Linux_fs/kernel/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.
|
| /OK3568_Linux_fs/buildroot/package/android-tools/ |
| H A D | 0011-adbd-Support-reboot-loader.patch | 4 Subject: [PATCH 11/20] adbd: Support reboot loader 21 + system("reboot loader"); 27 snprintf(buf, sizeof(buf), "reboot failed: %s\n", strerror(errno));
|
| /OK3568_Linux_fs/u-boot/drivers/sysreset/ |
| H A D | sysreset-uclass.c | 89 void reboot(const char *mode) in reboot() function 99 reboot(argv[1]); in do_reset() 101 reboot(NULL); in do_reset()
|
| H A D | Kconfig | 57 bool "Enable support for mfd syscon reboot driver" 64 bool "Enable support for syscon reboot mode driver" 67 Reboot mode command, like: reboot bootloader, etc. 70 bool "Enable support for watchdog reboot driver"
|
| /OK3568_Linux_fs/rkbin/doc/release/ |
| H A D | RK3562_CN.md | 102 | 1 | 重要 | 解决reboot失败问题 | loader下进maskrom升级,reboot失败 | - | 219 1. 在休眠和reboot的时候将时钟源切换到常规pll。 246 | 2 | 重要 | 更新OS_REG使用规则 | OS_REG0受复位影响,导致reboot maskrom无法成功.使用不受复位影响的OS_REG8替代OS_RE…
|