Home
last modified time | relevance | path

Searched refs:reboot (Results 1 - 25 of 922) sorted by relevance

12345678910>>...37

/kernel/linux/linux-5.10/drivers/power/reset/
H A Dreboot-mode.c11 #include <linux/reboot.h>
12 #include <linux/reboot-mode.h>
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()
57 * reboot_mode_register - register a reboot mod
62 reboot_mode_register(struct reboot_mode_driver *reboot) reboot_mode_register() argument
121 reboot_mode_unregister(struct reboot_mode_driver *reboot) reboot_mode_unregister() argument
146 devm_reboot_mode_register(struct device *dev, struct reboot_mode_driver *reboot) devm_reboot_mode_register() argument
184 devm_reboot_mode_unregister(struct device *dev, struct reboot_mode_driver *reboot) devm_reboot_mode_unregister() argument
[all...]
H A Dsyscon-reboot-mode.c11 #include <linux/reboot.h>
14 #include <linux/reboot-mode.h>
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 in syscon_reboot_mode_probe()
[all...]
H A Dnvmem-reboot-mode.c12 #include <linux/reboot-mode.h>
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()
46 nvmem_rbm->cell = devm_nvmem_cell_get(&pdev->dev, "reboot in nvmem_reboot_mode_probe()
[all...]
H A Dqcom-pon.c11 #include <linux/reboot.h>
12 #include <linux/reboot-mode.h>
28 static int pm8916_reboot_mode_write(struct reboot_mode_driver *reboot, in pm8916_reboot_mode_write() argument
32 (reboot, struct pm8916_pon, reboot_mode); in pm8916_reboot_mode_write()
40 dev_err(pon->dev, "update reboot mode bits failed\n"); in pm8916_reboot_mode_write()
72 dev_err(&pdev->dev, "can't register reboot mode\n"); in pm8916_pon_probe()
/kernel/linux/linux-6.6/drivers/power/reset/
H A Dreboot-mode.c11 #include <linux/reboot.h>
12 #include <linux/reboot-mode.h>
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()
57 * reboot_mode_register - register a reboot mod
62 reboot_mode_register(struct reboot_mode_driver *reboot) reboot_mode_register() argument
121 reboot_mode_unregister(struct reboot_mode_driver *reboot) reboot_mode_unregister() argument
146 devm_reboot_mode_register(struct device *dev, struct reboot_mode_driver *reboot) devm_reboot_mode_register() argument
184 devm_reboot_mode_unregister(struct device *dev, struct reboot_mode_driver *reboot) devm_reboot_mode_unregister() argument
[all...]
H A Dsyscon-reboot-mode.c11 #include <linux/reboot.h>
14 #include <linux/reboot-mode.h>
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 in syscon_reboot_mode_probe()
[all...]
H A Dnvmem-reboot-mode.c12 #include <linux/reboot-mode.h>
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()
46 nvmem_rbm->cell = devm_nvmem_cell_get(&pdev->dev, "reboot in nvmem_reboot_mode_probe()
[all...]
H A Dqcom-pon.c11 #include <linux/reboot.h>
12 #include <linux/reboot-mode.h>
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()
42 dev_err(pon->dev, "update reboot mode bits failed\n"); in pm8916_reboot_mode_write()
78 dev_err(&pdev->dev, "can't register reboot mode\n"); in pm8916_pon_probe()
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-6.6/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);
/kernel/linux/linux-5.10/arch/arm/mach-zynq/
H A Dslcr.c9 #include <linux/reboot.h>
100 u32 reboot; in zynq_slcr_system_restart() local
103 * Clear 0x0F000000 bits of reboot status register to workaround in zynq_slcr_system_restart()
104 * the FSBL not loading the bitstream after soft-reboot in zynq_slcr_system_restart()
107 zynq_slcr_read(&reboot, SLCR_REBOOT_STATUS_OFFSET); in zynq_slcr_system_restart()
108 zynq_slcr_write(reboot & 0xF0FFFFFF, SLCR_REBOOT_STATUS_OFFSET); in zynq_slcr_system_restart()
/kernel/linux/linux-6.6/arch/arm/mach-zynq/
H A Dslcr.c9 #include <linux/reboot.h>
100 u32 reboot; in zynq_slcr_system_restart() local
103 * Clear 0x0F000000 bits of reboot status register to workaround in zynq_slcr_system_restart()
104 * the FSBL not loading the bitstream after soft-reboot in zynq_slcr_system_restart()
107 zynq_slcr_read(&reboot, SLCR_REBOOT_STATUS_OFFSET); in zynq_slcr_system_restart()
108 zynq_slcr_write(reboot & 0xF0FFFFFF, SLCR_REBOOT_STATUS_OFFSET); in zynq_slcr_system_restart()
/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A Dreset.c9 #include <linux/reboot.h>
15 #include <asm/reboot.h>
/kernel/linux/linux-5.10/arch/loongarch/loongson64/
H A Dreset.c13 #include <acpi/reboot.h>
17 #include <asm/reboot.h>
/kernel/linux/linux-5.10/arch/mips/kernel/
H A Dreset.c13 #include <linux/reboot.h>
19 #include <asm/reboot.h>
/kernel/linux/linux-5.10/arch/sh/kernel/
H A Dreboot.c5 #include <linux/reboot.h>
9 #include <asm/reboot.h>
/kernel/linux/linux-6.6/arch/mips/kernel/
H A Dreset.c13 #include <linux/reboot.h>
19 #include <asm/reboot.h>
/kernel/linux/linux-6.6/arch/sh/kernel/
H A Dreboot.c5 #include <linux/reboot.h>
9 #include <asm/reboot.h>
/kernel/linux/linux-5.10/kernel/
H A Dpid_namespace.c21 #include <linux/reboot.h>
275 if (pid_ns->reboot) in zap_pid_ns_processes()
276 current->signal->group_exit_code = pid_ns->reboot; in zap_pid_ns_processes()
332 pid_ns->reboot = SIGHUP; in reboot_pid_ns()
337 pid_ns->reboot = SIGINT; in reboot_pid_ns()
/kernel/linux/linux-6.6/kernel/
H A Dpid_namespace.c21 #include <linux/reboot.h>
271 if (pid_ns->reboot) in zap_pid_ns_processes()
272 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()
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A Dreset.c11 #include <linux/reboot.h>
15 #include <acpi/reboot.h>
/kernel/linux/linux-5.10/arch/m68k/hp300/
H A DMakefile6 obj-y := config.o time.o reboot.o
/kernel/linux/linux-6.6/arch/m68k/hp300/
H A DMakefile6 obj-y := config.o time.o reboot.o
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
H A Dam33xx-restart.c6 #include <linux/reboot.h>
13 * @mode: the "reboot mode", see arch/arm/kernel/{setup,process}.c
16 * Resets the SoC. For @cmd, see the 'reboot' syscall in
/kernel/linux/linux-5.10/arch/arm/mach-highbank/
H A Dcore.h5 #include <linux/reboot.h>

Completed in 6 milliseconds

12345678910>>...37