/linux-master/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-master/arch/m68k/hp300/ |
H A D | Makefile | 6 obj-y := config.o time.o reboot.o
|
/linux-master/arch/arm/mach-mmp/ |
H A D | common.h | 2 #include <linux/reboot.h>
|
/linux-master/drivers/power/reset/ |
H A D | reboot-mode.c | 11 #include <linux/reboot.h> 12 #include <linux/reboot-mode.h> 22 static unsigned int get_reboot_mode_magic(struct reboot_mode_driver *reboot, argument 32 list_for_each_entry(info, &reboot->head, list) { 45 struct reboot_mode_driver *reboot; local 48 reboot = container_of(this, struct reboot_mode_driver, reboot_notifier); 49 magic = get_reboot_mode_magic(reboot, cmd); 51 reboot->write(reboot, magic); 57 * reboot_mode_register - register a reboot mod 62 reboot_mode_register(struct reboot_mode_driver *reboot) argument 121 reboot_mode_unregister(struct reboot_mode_driver *reboot) argument 146 devm_reboot_mode_register(struct device *dev, struct reboot_mode_driver *reboot) argument 184 devm_reboot_mode_unregister(struct device *dev, struct reboot_mode_driver *reboot) argument [all...] |
H A D | nvmem-reboot-mode.c | 12 #include <linux/reboot-mode.h> 15 struct reboot_mode_driver reboot; member in struct:nvmem_reboot_mode 19 static int nvmem_reboot_mode_write(struct reboot_mode_driver *reboot, argument 25 nvmem_rbm = container_of(reboot, struct nvmem_reboot_mode, reboot); 29 dev_err(reboot->dev, "update reboot mode bits failed\n"); 43 nvmem_rbm->reboot.dev = &pdev->dev; 44 nvmem_rbm->reboot.write = nvmem_reboot_mode_write; 46 nvmem_rbm->cell = devm_nvmem_cell_get(&pdev->dev, "reboot [all...] |
H A D | syscon-reboot-mode.c | 11 #include <linux/reboot.h> 14 #include <linux/reboot-mode.h> 18 struct reboot_mode_driver reboot; member in struct:syscon_reboot_mode 23 static int syscon_reboot_mode_write(struct reboot_mode_driver *reboot, argument 29 syscon_rbm = container_of(reboot, struct syscon_reboot_mode, reboot); 34 dev_err(reboot->dev, "update reboot mode bits failed\n"); 48 syscon_rbm->reboot.dev = &pdev->dev; 49 syscon_rbm->reboot [all...] |
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-master/arch/arm/mach-tegra/ |
H A D | board.h | 17 #include <linux/reboot.h>
|
/linux-master/arch/arm/mach-omap2/ |
H A D | omap4-restart.c | 7 #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 21 /* XXX Should save 'cmd' into scratchpad for use after reboot */
|
H A D | am33xx-restart.c | 6 #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
|
H A D | omap3-restart.c | 12 #include <linux/reboot.h> 22 * @mode: the "reboot mode", see arch/arm/kernel/{setup,process}.c 25 * Resets the SoC. For @cmd, see the 'reboot' syscall in
|
H A D | ti81xx-restart.c | 4 #include <linux/reboot.h> 16 * @mode: the "reboot mode", see arch/arm/kernel/{setup,process}.c 19 * Resets the SoC. For @cmd, see the 'reboot' syscall in
|
/linux-master/arch/arm/mach-footbridge/ |
H A D | common.h | 2 #include <linux/reboot.h>
|
/linux-master/arch/arm/mach-versatile/ |
H A D | integrator.h | 2 #include <linux/reboot.h>
|
/linux-master/arch/arm/mach-highbank/ |
H A D | core.h | 5 #include <linux/reboot.h>
|
H A D | system.c | 7 #include <linux/reboot.h>
|
/linux-master/arch/csky/kernel/ |
H A D | power.c | 4 #include <linux/reboot.h>
|
/linux-master/arch/hexagon/kernel/ |
H A D | reset.c | 6 #include <linux/reboot.h>
|
/linux-master/arch/arm/mach-hisi/ |
H A D | core.h | 5 #include <linux/reboot.h>
|
/linux-master/arch/arm/kernel/ |
H A D | v7m.c | 6 #include <linux/reboot.h>
|
/linux-master/arch/arc/kernel/ |
H A D | reset.c | 8 #include <linux/reboot.h>
|
/linux-master/arch/riscv/kernel/ |
H A D | reset.c | 6 #include <linux/reboot.h>
|
/linux-master/arch/arm/mach-spear/ |
H A D | restart.c | 12 #include <linux/reboot.h>
|
/linux-master/arch/arm/mach-mvebu/ |
H A D | common.h | 15 #include <linux/reboot.h>
|
/linux-master/arch/microblaze/kernel/ |
H A D | reset.c | 12 #include <linux/reboot.h>
|