| /linux/include/linux/ |
| H A D | reboot.h | 135 struct sys_off_data { struct 145 int (*callback)(struct sys_off_data *data), argument 152 int (*callback)(struct sys_off_data *data), 156 int (*callback)(struct sys_off_data *data), 160 int (*callback)(struct sys_off_data *data),
|
| /linux/drivers/mfd/ |
| H A D | 88pm886.c | 44 static int pm886_power_off_handler(struct sys_off_data *sys_off_data) in pm886_power_off_handler() argument 46 struct pm886_chip *chip = sys_off_data->cb_data; in pm886_power_off_handler()
|
| /linux/kernel/ |
| H A D | reboot.c | 55 int (*sys_off_cb)(struct sys_off_data *data); 345 struct sys_off_data data = {}; in sys_off_notify() 417 int (*callback)(struct sys_off_data *data), in register_sys_off_handler() 531 int (*callback)(struct sys_off_data *data), in devm_register_sys_off_handler() 558 int (*callback)(struct sys_off_data *data), in devm_register_power_off_handler() 580 int (*callback)(struct sys_off_data *data), in devm_register_restart_handler() 592 static int platform_power_off_notify(struct sys_off_data *data) in platform_power_off_notify() 645 static int legacy_pm_power_off(struct sys_off_data *data) in legacy_pm_power_off()
|
| /linux/drivers/power/reset/ |
| H A D | spacemit-p1-reboot.c | 17 static int spacemit_p1_pwroff_handler(struct sys_off_data *data) in spacemit_p1_pwroff_handler() 32 static int spacemit_p1_restart_handler(struct sys_off_data *data) in spacemit_p1_restart_handler()
|
| H A D | th1520-aon-reboot.c | 23 static int th1520_aon_pwroff_handler(struct sys_off_data *data) in th1520_aon_pwroff_handler() 37 static int th1520_aon_restart_handler(struct sys_off_data *data) in th1520_aon_restart_handler()
|
| H A D | macsmc-reboot.c | 87 static int macsmc_prepare_atomic(struct sys_off_data *data) in macsmc_prepare_atomic() 97 static int macsmc_power_off(struct sys_off_data *data) in macsmc_power_off() 113 static int macsmc_restart(struct sys_off_data *data) in macsmc_restart()
|
| H A D | tdx-ec-poweroff.c | 76 static int tdx_ec_power_off(struct sys_off_data *data) in tdx_ec_power_off() 93 static int tdx_ec_restart(struct sys_off_data *data) in tdx_ec_restart()
|
| H A D | atc260x-poweroff.c | 164 static int atc260x_pwrc_pm_handler(struct sys_off_data *data) in atc260x_pwrc_pm_handler() 175 static int atc260x_pwrc_restart_handler(struct sys_off_data *data) in atc260x_pwrc_restart_handler()
|
| H A D | restart-poweroff.c | 17 static int restart_poweroff_do_poweroff(struct sys_off_data *data) in restart_poweroff_do_poweroff()
|
| H A D | brcm-kona-reset.c | 18 static int kona_reset_handler(struct sys_off_data *data) in kona_reset_handler()
|
| H A D | msm-poweroff.c | 18 static int do_msm_poweroff(struct sys_off_data *data) in do_msm_poweroff()
|
| H A D | regulator-poweroff.c | 21 static int regulator_poweroff_do_poweroff(struct sys_off_data *data) in regulator_poweroff_do_poweroff()
|
| H A D | tps65086-restart.c | 12 static int tps65086_restart_notify(struct sys_off_data *data) in tps65086_restart_notify()
|
| H A D | rmobile-reset.c | 22 static int rmobile_reset_handler(struct sys_off_data *data) in rmobile_reset_handler()
|
| H A D | as3722-poweroff.c | 22 static int as3722_pm_power_off(struct sys_off_data *data) in as3722_pm_power_off()
|
| H A D | axxia-reset.c | 29 static int axxia_restart_handler(struct sys_off_data *data) in axxia_restart_handler()
|
| H A D | xgene-reboot.c | 29 static int xgene_restart_handler(struct sys_off_data *data) in xgene_restart_handler()
|
| H A D | syscon-poweroff.c | 26 static int syscon_poweroff(struct sys_off_data *off_data) in syscon_poweroff()
|
| H A D | mt6323-poweroff.c | 25 static int mt6323_do_pwroff(struct sys_off_data *data) in mt6323_do_pwroff()
|
| /linux/arch/mips/loongson64/ |
| H A D | reset.c | 25 static int firmware_restart(struct sys_off_data *unusedd) in firmware_restart() 34 static int firmware_poweroff(struct sys_off_data *unused) in firmware_poweroff()
|
| /linux/drivers/platform/cznic/ |
| H A D | turris-omnia-mcu-sys-off-wakeup.c | 109 static int omnia_power_off(struct sys_off_data *data) in omnia_power_off() 142 static int omnia_restart(struct sys_off_data *data) in omnia_restart()
|
| /linux/arch/um/kernel/ |
| H A D | reboot.c | 63 static int sys_power_off_handler(struct sys_off_data *data) in sys_power_off_handler()
|
| /linux/drivers/firmware/efi/ |
| H A D | reboot.c | 54 static int efi_power_off(struct sys_off_data *data) in efi_power_off()
|
| /linux/arch/xtensa/platforms/iss/ |
| H A D | setup.c | 28 static int iss_power_off(struct sys_off_data *unused) in iss_power_off()
|
| /linux/drivers/soc/litex/ |
| H A D | litex_soc_ctrl.c | 74 static int litex_reset_handler(struct sys_off_data *data) in litex_reset_handler()
|