Home
last modified time | relevance | path

Searched refs:pm_power_off (Results 1 – 25 of 168) sorted by relevance

1234567

/kernel/linux/linux-5.10/arch/csky/kernel/
Dpower.c6 void (*pm_power_off)(void); variable
7 EXPORT_SYMBOL(pm_power_off);
12 if (pm_power_off) in machine_power_off()
13 pm_power_off(); in machine_power_off()
20 if (pm_power_off) in machine_halt()
21 pm_power_off(); in machine_halt()
/kernel/linux/linux-5.10/arch/riscv/kernel/
Dreset.c15 void (*pm_power_off)(void) = NULL; variable
16 EXPORT_SYMBOL(pm_power_off);
26 if (pm_power_off != NULL) in machine_halt()
27 pm_power_off(); in machine_halt()
34 if (pm_power_off != NULL) in machine_power_off()
35 pm_power_off(); in machine_power_off()
/kernel/linux/linux-5.10/drivers/power/reset/
Dsyscon-poweroff.c67 if (pm_power_off) { in syscon_poweroff_probe()
68 lookup_symbol_name((ulong)pm_power_off, symname); in syscon_poweroff_probe()
71 pm_power_off, symname); in syscon_poweroff_probe()
75 pm_power_off = syscon_poweroff; in syscon_poweroff_probe()
82 if (pm_power_off == syscon_poweroff) in syscon_poweroff_remove()
83 pm_power_off = NULL; in syscon_poweroff_remove()
Drestart-poweroff.c26 if (pm_power_off != NULL) { in restart_poweroff_probe()
32 pm_power_off = &restart_poweroff_do_poweroff; in restart_poweroff_probe()
38 if (pm_power_off == &restart_poweroff_do_poweroff) in restart_poweroff_remove()
39 pm_power_off = NULL; in restart_poweroff_remove()
Dqnap-poweroff.c106 if (pm_power_off) { in qnap_power_off_probe()
107 lookup_symbol_name((ulong)pm_power_off, symname); in qnap_power_off_probe()
110 pm_power_off, symname); in qnap_power_off_probe()
113 pm_power_off = qnap_power_off; in qnap_power_off_probe()
120 pm_power_off = NULL; in qnap_power_off_remove()
Das3722-poweroff.c59 if (!pm_power_off) in as3722_poweroff_probe()
60 pm_power_off = as3722_pm_power_off; in as3722_poweroff_probe()
67 if (pm_power_off == as3722_pm_power_off) in as3722_poweroff_remove()
68 pm_power_off = NULL; in as3722_poweroff_remove()
Dgpio-poweroff.c55 if (pm_power_off != NULL) { in gpio_poweroff_probe()
77 pm_power_off = &gpio_poweroff_do_poweroff; in gpio_poweroff_probe()
83 if (pm_power_off == &gpio_poweroff_do_poweroff) in gpio_poweroff_remove()
84 pm_power_off = NULL; in gpio_poweroff_remove()
Dpiix4-poweroff.c81 pm_power_off = piix4_poweroff; in piix4_poweroff_probe()
88 if (pm_power_off == piix4_poweroff) in piix4_poweroff_remove()
89 pm_power_off = NULL; in piix4_poweroff_remove()
Dmt6323-poweroff.c68 pm_power_off = &mt6323_do_pwroff; in mt6323_pwrc_probe()
75 if (pm_power_off == &mt6323_do_pwroff) in mt6323_pwrc_remove()
76 pm_power_off = NULL; in mt6323_pwrc_remove()
/kernel/linux/linux-5.10/arch/mips/kernel/
Dreset.c28 void (*pm_power_off)(void); variable
30 EXPORT_SYMBOL(pm_power_off);
117 if (pm_power_off) in machine_power_off()
118 pm_power_off(); in machine_power_off()
/kernel/linux/linux-5.10/arch/sh/kernel/
Dreboot.c13 void (*pm_power_off)(void); variable
14 EXPORT_SYMBOL(pm_power_off);
49 if (pm_power_off) in native_machine_power_off()
50 pm_power_off(); in native_machine_power_off()
/kernel/linux/linux-5.10/arch/arm/kernel/
Dreboot.c22 void (*pm_power_off)(void); variable
23 EXPORT_SYMBOL(pm_power_off);
121 if (pm_power_off) in machine_power_off()
122 pm_power_off(); in machine_power_off()
/kernel/linux/linux-5.10/arch/c6x/kernel/
Dprocess.c31 void (*pm_power_off)(void); variable
32 EXPORT_SYMBOL(pm_power_off);
74 if (pm_power_off) in machine_power_off()
75 pm_power_off(); in machine_power_off()
/kernel/linux/linux-5.10/drivers/mfd/
Dab8500-sysctrl.c137 if (!pm_power_off) in ab8500_sysctrl_probe()
138 pm_power_off = ab8500_power_off; in ab8500_sysctrl_probe()
147 if (pm_power_off == ab8500_power_off) in ab8500_sysctrl_remove()
148 pm_power_off = NULL; in ab8500_sysctrl_remove()
Dene-kb3930.c173 if (!pm_power_off) in kb3930_probe()
174 pm_power_off = kb3930_pm_power_off; in kb3930_probe()
185 if (pm_power_off == kb3930_pm_power_off) in kb3930_remove()
186 pm_power_off = NULL; in kb3930_remove()
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dprocess.c120 if (pm_power_off) in machine_power_off()
121 pm_power_off(); in machine_power_off()
140 void (*pm_power_off)(void); variable
141 EXPORT_SYMBOL(pm_power_off);
/kernel/linux/linux-5.10/arch/x86/platform/iris/
Diris.c60 old_pm_power_off = pm_power_off; in iris_probe()
61 pm_power_off = &iris_power_off; in iris_probe()
68 pm_power_off = old_pm_power_off; in iris_remove()
/kernel/linux/linux-5.10/arch/hexagon/kernel/
Dreset.c23 void (*pm_power_off)(void) = NULL; variable
24 EXPORT_SYMBOL(pm_power_off);
/kernel/linux/linux-5.10/arch/arc/kernel/
Dreset.c30 void (*pm_power_off) (void) = NULL; variable
31 EXPORT_SYMBOL(pm_power_off);
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dreboot.c24 void (*pm_power_off)(void) = machine_power_off; variable
25 EXPORT_SYMBOL(pm_power_off);
/kernel/linux/linux-5.10/drivers/watchdog/
Dbcm2835_wdt.c208 if (pm_power_off == NULL) { in bcm2835_wdt_probe()
209 pm_power_off = bcm2835_power_off; in bcm2835_wdt_probe()
219 if (pm_power_off == bcm2835_power_off) in bcm2835_wdt_remove()
220 pm_power_off = NULL; in bcm2835_wdt_remove()
/kernel/linux/linux-5.10/arch/um/kernel/
Dreboot.c16 void (*pm_power_off)(void); variable
17 EXPORT_SYMBOL(pm_power_off);
/kernel/linux/linux-5.10/arch/nds32/kernel/
Dprocess.c30 void (*pm_power_off) (void); variable
31 EXPORT_SYMBOL(pm_power_off);
57 if (pm_power_off) in machine_power_off()
58 pm_power_off(); in machine_power_off()
/kernel/linux/linux-5.10/drivers/firmware/efi/
Dreboot.c71 orig_pm_power_off = pm_power_off; in efi_shutdown_init()
72 pm_power_off = efi_power_off; in efi_shutdown_init()
/kernel/linux/linux-5.10/arch/powerpc/platforms/83xx/
Dmcu_mpc8349emitx.c168 if (!pm_power_off) { in mcu_probe()
170 pm_power_off = mcu_power_off; in mcu_probe()
197 pm_power_off = NULL; in mcu_remove()

1234567