Home
last modified time | relevance | path

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

12345678

/linux/drivers/power/reset/
H A Dmacsmc-reboot.c88 struct macsmc_reboot *reboot = data->cb_data; in macsmc_prepare_atomic() local
90 dev_info(reboot->dev, "Preparing SMC for atomic mode\n"); in macsmc_prepare_atomic()
92 apple_smc_enter_atomic(reboot->smc); in macsmc_prepare_atomic()
98 struct macsmc_reboot *reboot = data->cb_data; in macsmc_power_off() local
100 dev_info(reboot->dev, "Issuing power off (off1)\n"); in macsmc_power_off()
102 if (apple_smc_write_u32_atomic(reboot->smc, SMC_KEY(MBSE), SMC_KEY(off1)) < 0) { in macsmc_power_off()
103 dev_err(reboot->dev, "Failed to issue MBSE = off1 (power_off)\n"); in macsmc_power_off()
114 struct macsmc_reboot *reboot = data->cb_data; in macsmc_restart() local
116 dev_info(reboot->dev, "Issuing restart (phra)\n"); in macsmc_restart()
118 if (apple_smc_write_u32_atomic(reboot->smc, SMC_KEY(MBSE), SMC_KEY(phra)) < 0) { in macsmc_restart()
[all …]
H A 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()
H A Dqcom-pon.c30 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 Dsysfs-kernel-reboot1 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 Dsysfs-platform-intel-wmi-sbl-fw-update9 on next reboot, by writing a value of 1.
13 * 1 -> Attempt firmware update on next reboot
H A Dsysfs-driver-toshiba_acpi17 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 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/arch/arm/boot/dts/samsung/
H A Dexynos-syscon-restart.dtsi3 * 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 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.yaml for the
80 reboot {
81 compatible = "syscon-reboot";
H A Dbrcm,brcmstb.txt68 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/arch/arm/mach-zynq/
H A Dslcr.c99 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 Dbcm3368.dtsi69 reboot: syscon-reboot@fff8c008 { label
70 compatible = "syscon-reboot";
/linux/tools/testing/selftests/kho/
H A Dinit.c8 #include <sys/reboot.h>
67 if (reboot(RB_KEXEC)) in kexec_load()
73 reboot(RB_AUTOBOOT); in kexec_load()
/linux/Documentation/power/
H A Ds2ram.rst25 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 Dboston.dts215 reboot: syscon-reboot { label
216 compatible = "syscon-reboot";
/linux/Documentation/devicetree/bindings/mips/lantiq/
H A Drcu.txt61 reboot@10 {
62 compatible = "syscon-reboot";
/linux/Documentation/driver-api/mtd/
H A Dspi-intel.rst35 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 Dmalta.dts95 reboot {
96 compatible = "syscon-reboot";
/linux/arch/m68k/hp300/
H A DMakefile6 obj-y := config.o time.o reboot.o
/linux/Documentation/arch/s390/
H A D3270.ChangeLog28 Apr 2002: Fix 3270 console reboot loop
29 * (Belated log entry) Fixed reboot loop if 3270 console,
/linux/tools/testing/selftests/wireguard/qemu/arch/
H A Dx86_64.config8 CONFIG_CMDLINE="console=ttyS0 wg.success=vport0p1 panic_on_warn=1 reboot=t"
H A Di686.config9 CONFIG_CMDLINE="console=ttyS0 wg.success=vport0p1 panic_on_warn=1 reboot=t"
/linux/tools/include/nolibc/sys/
H A Dreboot.h15 #include <linux/reboot.h>
18 * int reboot(int cmd);
29 int reboot(int cmd) in reboot() function
/linux/Documentation/driver-api/firmware/
H A Drequest_firmware.rst57 Special optimizations on reboot
61 retained during system reboot. When such optimizations are used the driver
/linux/fs/lockd/
H A Dsvc4proc.c64 struct lockd_reboot reboot; member
925 struct lockd_reboot *reboot = &argp->reboot; in nlm4svc_proc_sm_notify() local
935 reboot->len = argp->xdrgen.notify.name.len; in nlm4svc_proc_sm_notify()
936 reboot->mon = (char *)argp->xdrgen.notify.name.data; in nlm4svc_proc_sm_notify()
937 reboot->state = argp->xdrgen.notify.state; in nlm4svc_proc_sm_notify()
938 memcpy(&reboot->priv.data, argp->xdrgen.private, in nlm4svc_proc_sm_notify()
939 sizeof(reboot->priv.data)); in nlm4svc_proc_sm_notify()
941 nlm_host_rebooted(SVC_NET(rqstp), reboot); in nlm4svc_proc_sm_notify()

12345678