/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 | 43 static int pm886_power_off_handler(struct sys_off_data *sys_off_data) in pm886_power_off_handler() argument 45 struct pm886_chip *chip = sys_off_data->cb_data; in pm886_power_off_handler()
|
H A D | tps65219.c | 35 static int tps65219_power_off_handler(struct sys_off_data *data) in tps65219_power_off_handler() 51 static int tps65219_restart_handler(struct sys_off_data *data) in tps65219_restart_handler()
|
/linux/kernel/ |
H A D | reboot.c | 53 int (*sys_off_cb)(struct sys_off_data *data); 340 struct sys_off_data data = {}; in sys_off_notify() 412 int (*callback)(struct sys_off_data *data), in register_sys_off_handler() 526 int (*callback)(struct sys_off_data *data), in devm_register_sys_off_handler() 553 int (*callback)(struct sys_off_data *data), in devm_register_power_off_handler() 575 int (*callback)(struct sys_off_data *data), in devm_register_restart_handler() 587 static int platform_power_off_notify(struct sys_off_data *data) in platform_power_off_notify() 640 static int legacy_pm_power_off(struct sys_off_data *data) in legacy_pm_power_off()
|
/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/power/reset/ |
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 | mt6323-poweroff.c | 25 static int mt6323_do_pwroff(struct sys_off_data *data) in mt6323_do_pwroff()
|
H A D | syscon-poweroff.c | 26 static int syscon_poweroff(struct sys_off_data *off_data) in syscon_poweroff()
|
H A D | gpio-poweroff.c | 29 static int gpio_poweroff_do_poweroff(struct sys_off_data *data) in gpio_poweroff_do_poweroff()
|
H A D | brcmstb-reboot.c | 32 static int brcmstb_restart_handler(struct sys_off_data *data) in brcmstb_restart_handler()
|
H A D | gpio-restart.c | 25 static int gpio_restart_notify(struct sys_off_data *data) in gpio_restart_notify()
|
/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/arch/xtensa/platforms/xt2000/ |
H A D | setup.c | 45 static int xt2000_power_off(struct sys_off_data *unused) in xt2000_power_off()
|