Home
last modified time | relevance | path

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

1234567

/Linux-v4.19/drivers/power/reset/
Dsyscon-poweroff.c76 if (pm_power_off) { in syscon_poweroff_probe()
77 lookup_symbol_name((ulong)pm_power_off, symname); in syscon_poweroff_probe()
80 pm_power_off, symname); in syscon_poweroff_probe()
84 pm_power_off = syscon_poweroff; in syscon_poweroff_probe()
91 if (pm_power_off == syscon_poweroff) in syscon_poweroff_remove()
92 pm_power_off = NULL; in syscon_poweroff_remove()
Drestart-poweroff.c29 if (pm_power_off != NULL) { in restart_poweroff_probe()
35 pm_power_off = &restart_poweroff_do_poweroff; in restart_poweroff_probe()
41 if (pm_power_off == &restart_poweroff_do_poweroff) in restart_poweroff_remove()
42 pm_power_off = NULL; in restart_poweroff_remove()
Dqnap-poweroff.c110 if (pm_power_off) { in qnap_power_off_probe()
111 lookup_symbol_name((ulong)pm_power_off, symname); in qnap_power_off_probe()
114 pm_power_off, symname); in qnap_power_off_probe()
117 pm_power_off = qnap_power_off; in qnap_power_off_probe()
124 pm_power_off = NULL; in qnap_power_off_remove()
Dgpio-poweroff.c56 if (pm_power_off != NULL) { in gpio_poweroff_probe()
75 pm_power_off = &gpio_poweroff_do_poweroff; in gpio_poweroff_probe()
81 if (pm_power_off == &gpio_poweroff_do_poweroff) in gpio_poweroff_remove()
82 pm_power_off = NULL; in gpio_poweroff_remove()
Das3722-poweroff.c67 if (!pm_power_off) in as3722_poweroff_probe()
68 pm_power_off = as3722_pm_power_off; in as3722_poweroff_probe()
75 if (pm_power_off == as3722_pm_power_off) in as3722_poweroff_remove()
76 pm_power_off = NULL; in as3722_poweroff_remove()
Dat91-poweroff.c180 pm_power_off = at91_poweroff; in at91_poweroff_probe()
195 pm_power_off = at91_lpddr_poweroff; in at91_poweroff_probe()
204 if (pm_power_off == at91_poweroff || in at91_poweroff_remove()
205 pm_power_off == at91_lpddr_poweroff) in at91_poweroff_remove()
206 pm_power_off = NULL; in at91_poweroff_remove()
Dpiix4-poweroff.c85 pm_power_off = piix4_poweroff; in piix4_poweroff_probe()
92 if (pm_power_off == piix4_poweroff) in piix4_poweroff_remove()
93 pm_power_off = NULL; in piix4_poweroff_remove()
Dat91-sama5d2_shdwc.c279 pm_power_off = at91_poweroff; in at91_shdwc_probe()
294 pm_power_off = at91_lpddr_poweroff; in at91_shdwc_probe()
305 if (pm_power_off == at91_poweroff || in at91_shdwc_remove()
306 pm_power_off == at91_lpddr_poweroff) in at91_shdwc_remove()
307 pm_power_off = NULL; in at91_shdwc_remove()
/Linux-v4.19/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()
/Linux-v4.19/arch/sh/kernel/
Dreboot.c15 void (*pm_power_off)(void); variable
16 EXPORT_SYMBOL(pm_power_off);
55 if (pm_power_off) in native_machine_power_off()
56 pm_power_off(); in native_machine_power_off()
/Linux-v4.19/arch/arm/kernel/
Dreboot.c25 void (*pm_power_off)(void); variable
26 EXPORT_SYMBOL(pm_power_off);
124 if (pm_power_off) in machine_power_off()
125 pm_power_off(); in machine_power_off()
/Linux-v4.19/arch/c6x/kernel/
Dprocess.c35 void (*pm_power_off)(void); variable
36 EXPORT_SYMBOL(pm_power_off);
78 if (pm_power_off) in machine_power_off()
79 pm_power_off(); in machine_power_off()
/Linux-v4.19/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()
Drn5t618.c131 if (!pm_power_off) in rn5t618_i2c_probe()
132 pm_power_off = rn5t618_power_off; in rn5t618_i2c_probe()
155 pm_power_off = NULL; in rn5t618_i2c_remove()
/Linux-v4.19/arch/x86/platform/iris/
Diris.c73 old_pm_power_off = pm_power_off; in iris_probe()
74 pm_power_off = &iris_power_off; in iris_probe()
81 pm_power_off = old_pm_power_off; in iris_remove()
/Linux-v4.19/arch/parisc/kernel/
Dprocess.c135 if (pm_power_off) in machine_power_off()
136 pm_power_off(); in machine_power_off()
150 void (*pm_power_off)(void); variable
151 EXPORT_SYMBOL(pm_power_off);
/Linux-v4.19/arch/hexagon/kernel/
Dreset.c36 void (*pm_power_off)(void) = NULL; variable
37 EXPORT_SYMBOL(pm_power_off);
/Linux-v4.19/arch/riscv/kernel/
Dreset.c18 void (*pm_power_off)(void) = machine_power_off; variable
19 EXPORT_SYMBOL(pm_power_off);
/Linux-v4.19/arch/arc/kernel/
Dreset.c33 void (*pm_power_off) (void) = NULL; variable
34 EXPORT_SYMBOL(pm_power_off);
/Linux-v4.19/arch/nds32/kernel/
Dprocess.c29 void (*pm_power_off) (void); variable
30 EXPORT_SYMBOL(pm_power_off);
56 if (pm_power_off) in machine_power_off()
57 pm_power_off(); in machine_power_off()
/Linux-v4.19/arch/sparc/kernel/
Dreboot.c23 void (*pm_power_off)(void) = machine_power_off; variable
24 EXPORT_SYMBOL(pm_power_off);
/Linux-v4.19/arch/um/kernel/
Dreboot.c16 void (*pm_power_off)(void); variable
17 EXPORT_SYMBOL(pm_power_off);
/Linux-v4.19/drivers/watchdog/
Dbcm2835_wdt.c214 if (pm_power_off == NULL) in bcm2835_wdt_probe()
215 pm_power_off = bcm2835_power_off; in bcm2835_wdt_probe()
223 if (pm_power_off == bcm2835_power_off) in bcm2835_wdt_remove()
224 pm_power_off = NULL; in bcm2835_wdt_remove()
/Linux-v4.19/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()
/Linux-v4.19/arch/unicore32/kernel/
Dprocess.c64 void (*pm_power_off)(void) = NULL; variable
65 EXPORT_SYMBOL(pm_power_off);
69 if (pm_power_off) in machine_power_off()
70 pm_power_off(); in machine_power_off()

1234567